2005/Sep/25

พอดีวันนี้อยากฟังเพลงแฮะ เนื่องจากติดฝนอยู่ และวันนี้ไม่ได้เอาโน๊ตบุคมา ซึ่งปกติแล้วจะใช้งานลินุกซ์ ubuntu ส่วนเครื่องพีซี ก็ใช้งาน ลินุกซ์ fedora core ผสมกับ FreeBSD 5.4 ... และวันนี้ก็จะใช้งาน FreeBSD เป็นหลัก และอยากจะฟังเพลงซะแล้ว ... เพราะบรรยากาศมันเงียบ ได้ยินแต่เสียงฟ้าเสียงฝน อิอิ ... บัดนี้ก็เป็นเวลาอันควรแล้ว จะเริ่มติดตั้ง Driver SoundCard บน FreeBSD เดี๋ยวนี้แหละ

ระบบที่ใช้ (Hardware)
  • Intel Pentium 4 2.8 GHz (HT)
  • Asus P4P-800E-Deluxe Motherboard
  • Memory 1024MB Dual DDR 400
  • 8-channel ALC850 with Intel Corp. 82801EB AC'97 Audio Controller
ขั้นตอนการติดตั้ง
1. ตรวจสอบดูก่อนนะครับว่า เครื่องของเราใช้ซาวน์การ์ด ของอะไรอยู่ ถึงจะรู้ว่า ควรจะโหลดไดรเวอร์อะไร เช่นของผมเป็น ALC850 ซึ่งใช้ชิป Intel 82801EB AC'97 Audio Controller

root@apc# scanpci |grep Audio
Intel Corp. 82801EB AC'97 Audio Controller
root@apc#


ซึ่งผมจะใช้ไดรเวอร์ของ snd_ich ครับ ส่วนเครื่องอื่นๆ ก็ดูได้จาก Hardware Notes จากเว็บไซต์ของ FreeBSD เลยนะครับ หรือถ้าไม่แน่ใจจริงๆ ก็ให้ใช้ของ snd_driver นะครับ

2. เมื่อเรารู้แล้วว่า จะใช้ไดรเวอร์ตัวไหน ก็จัดการโหลดเลยครับ ดังนี้

# kldload snd_ich

จากนั้นก็ตรวจสอบดูว่า ใช้งานได้หรือไม่ โดยดูได้จากคำสั่ง cat /dev/sndstat ครับ

# cat /dev/sndstat

เครื่องผมจะขึ้นข้อความดังนี้ครับ

# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel ICH5 (82801EB)> at io 0xfebfb800, 0xfebfb400 irq 17 bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default)
#


จากนั้นก็ลองใช้งานดูครับ ... :- )

3. ต่อมาเราจะให้เคอร์เนลโหลด snd_ich ทุกครั้งที่บูตเครื่องนะครับ โดยทำการเพิ่มข้อมูลได้ในไฟล์ /boot/loader.conf

# vi /boot/loader.conf
ซึ่งข้อมูลก็จะมีดังนี้ครับ

snd_ich_load="YES"

แล้วก็บันทึก ส่วนไดรเวอร์ตัวอื่นๆ นั้น ดูได้จากไฟล์ /boot/defaults/loader.conf ครับ

แหล่งข้อมูล

FreeBSD Handbook : Chapter 7 Multimedia

Comment

Comment:

Tweet


I will recommend not to wait until you get enough amount of money to buy goods! You should just get the <a href="http://goodfinance-blog.com">loan</a> or collateral loan and feel yourself fine
#983 by KAITLINBoyer (31.184.236.63) At 2011-12-20 15:15,
Thank you for sharing this information. The information was very helpful and saved a lot of my time.
#982 by College Admission Essays (119.155.31.204) At 2011-05-21 14:07,
Don't order not useful things and pay money for <a href="http://www.qualityessay.com/buy-paper.html">buy paper</a> service, which will help you to build your career.
#981 by HarrellCOURTNEY32 (91.201.66.6) At 2010-08-26 13:38,
People should understand that the perfect <a href="http://primeessays.com/index.php?mode=essay-writer">essay writer</a> service can aid to reach a success, creating the high quality essay thesis. Hence, it is your own selection to buy custom essays or to waste a lot of time for essays composing!
#980 by PriceTamra33 (91.201.66.6) At 2010-08-24 20:58,
It is good to get a top of academic career, however that's difficult to complete premium critical essay. Hence, all that will be real with support of <a href="http://www.bestwritingservice.com">essay samples</a> service.
#979 by ElviraGENTRY29 (91.201.66.6) At 2010-08-24 19:29,
The essays performing develops personal writing ability. Nevertheless, if you purchase custom essays at the <a href="http://www.bestwritingservice.com">essay papers</a> service, this would modify the writing skills too. So, this good to compose commentary essay or just order it.
#978 by BARBRARichards33 (91.201.66.6) At 2010-08-24 19:27,
That will take very long time to reach essays writing technique. But sometimes, some people are lack of time. If you really are willing to save your time and money and have the superb quality <a href="http://www.supremeessays.com/personal-statement.html">personal statement</a>, you should search for the great research paper writing service and <a href="http://www.supremeessays.com/purchase-essays.html">purchase essays</a> there. After that, your success is guaranteed.
#977 by SANFORD27Mable (91.201.66.6) At 2010-08-19 19:26,
You can probably <a href="http://www.gogetessays.com">buy custom essay papers</a> and the research papers about this good post. Supreme topic! Thank you!
#976 by JENSENJoy (91.201.66.6) At 2010-08-19 13:58,
Good enough knowledge just about this post. I use the term paper writing services and <a href="http://www.gogetessays.com">buy essays</a> and pre written essay about this good post.
#975 by PalmerLucille (91.201.66.6) At 2010-08-19 13:57,
The <a href="http://bestfinance-blog.com/topics/mortgage-loans">mortgage loans</a> seem to be very useful for people, which would like to start their own business. In fact, that is not very hard to get a auto loan.
#974 by KEISHA30Garcia (91.201.66.6) At 2010-08-17 22:35,
That is known that cash can make people disembarrass. But how to act if somebody has no money? The one way is to receive the <a href="http://bestfinance-blog.com/topics/home-loans">home loans</a> or just car loan.
#973 by LACEYMccoy31 (91.201.66.6) At 2010-08-17 22:30,
That's good that we can receive the <a href="http://bestfinance-blog.com/topics/credit-loans">credit loans</a> and this opens completely new possibilities.
#972 by Haney21Rachel (91.201.66.6) At 2010-08-17 02:48,
I opine that to get the <a href="http://bestfinance-blog.com/topics/mortgage-loans">mortgage loans</a> from banks you ought to present a good reason. But, once I have received a small business loan, just because I wanted to buy a bike.
#971 by Jo30Byrd (91.201.66.6) At 2010-08-15 19:29,
According to my analysis, billions of people on our planet receive the <a href="http://bestfinance-blog.com">loans</a> from different banks. So, there's great possibilities to receive a commercial loan in every country.
#970 by PearlieClay28 (91.201.66.6) At 2010-08-15 19:15,
Some time ago, I needed to buy a good car for my business but I didn't have enough money and could not purchase something. Thank God my comrade adviced to get the <a href="http://bestfinance-blog.com/topics/business-loans">business loans</a> from trustworthy creditors. Thence, I did so and was happy with my college loan.
#969 by TravisAdrian (91.201.66.6) At 2010-08-15 10:57,
The <a href="http://bestfinance-blog.com/topics/credit-loans">credit loans</a> seem to be very useful for guys, which are willing to start their company. As a fact, that is very comfortable to receive a financial loan.
#968 by KENT24Geneva (91.201.66.6) At 2010-08-15 09:52,
<a href="http://fhlbxtmlytoyheb.com">tjyfqfvbdjjnyyd</a> http://nmbiajbpeavnedx.com [url=http://gootzcahgsftqir.com]rpdcriaoezwmnoh[/url]
#966 by ifkorkljdc (94.102.52.87) At 2010-06-14 02:32,
<a href="http://zbagzmnsradqxjt.com">mycqhffhbecjifh</a> http://xtaavsnasbluwcv.com [url=http://qohbjopxqmynqdx.com]fnouimhatjvyjsn[/url]
#966 by pmtmzplutu (94.102.52.87) At 2010-06-14 02:32,
<a href="http://nfumsqfpfphckpq.com">akuwfzgigwwkllf</a> http://jmmawptpeuxpxnq.com [url=http://fkjacrqtwwnmahv.com]mltslgpfsrkuelp[/url]
#965 by ucrdrtctyp (94.102.52.87) At 2010-06-10 19:31,
<a href="http://nfumsqfpfphckpq.com">akuwfzgigwwkllf</a> http://jmmawptpeuxpxnq.com [url=http://fkjacrqtwwnmahv.com]mltslgpfsrkuelp[/url]
#964 by ucrdrtctyp (94.102.52.87) At 2010-06-10 19:31,
http://www.bluewhalemail.com/forum/user/profile/747.page# soma prescriptions http://seia.org/forum/user/profile/155.page# carisoprodol order soma
#963 by Canadian Pharmacy (91.215.184.65) At 2010-05-23 20:00,
#962 by Mia25 (194.44.97.14) At 2009-12-12 19:49,
Very nice site!
#961 by twuuewey (81.214.128.46) At 2009-10-07 05:28,
Very nice site!
#960 by youyppep (83.216.184.133) At 2009-10-06 21:17,
Very nice site!
#959 by yutupyoo (195.46.161.21) At 2009-10-06 20:05,
Very nice site!
#958 by eyyrryyt (211.115.185.50) At 2009-10-06 13:20,
Very nice site!
#957 by opryupip (95.170.219.102) At 2009-10-06 05:57,
Very nice site!
#956 by ioiwuoor (122.128.97.95) At 2009-10-06 03:08,
Very nice site! cheap cialis http://oixapey.com/aqavrr/4.html
#955 by ioiwuoor (211.115.185.51) At 2009-10-06 03:08,
Very nice site!
#954 by tiywttrw (94.25.8.58) At 2009-10-05 12:49,
Very nice site!
#953 by upeueuwr (92.50.12.12) At 2009-10-05 11:59,
Very nice site!
#952 by ruyioyti (200.69.232.84) At 2009-10-05 11:30,
Very nice site!
#951 by tpryprup (85.25.129.98) At 2009-10-05 09:27,
Very nice site!
#950 by ouotpioe (165.138.24.70) At 2009-10-05 06:24,
Very nice site!
#949 by yrwtruuo (116.12.50.48) At 2009-10-04 19:26,
Very nice site!
#948 by iowuwoww (196.219.51.66) At 2009-10-04 16:45,
Very nice site!
#947 by euoioiyo (78.24.218.60) At 2009-10-04 14:28,
Very nice site!
#946 by uiurrpwo (119.18.218.69) At 2009-10-04 05:25,
Very nice site!
#945 by piwtwpet (94.127.88.46) At 2009-10-04 05:09,
Very nice site!
#944 by yooprpie (218.17.221.65) At 2009-10-04 03:35,
Very nice site!
#943 by wrpttuyw (212.117.63.145) At 2009-10-02 08:50,
Very nice site!
#942 by puipywwe (94.136.136.140) At 2009-10-01 23:57,
Very nice site!
#941 by twpeeeuo (81.169.178.35) At 2009-09-30 14:14,
Very nice site!
#940 by oteywwwy (203.73.162.78) At 2009-09-30 06:45,
Very nice site!
#939 by ptypiuro (122.152.183.180) At 2009-09-30 01:48,
Very nice site! [url=http://oixapey.com/rqavqs/2.html]cheap cialis[/url]
#938 by ptypiuro (123.55.224.170) At 2009-09-30 01:47,
Very nice site!
#937 by putprrtp (84.253.160.130) At 2009-09-29 18:38,
Very nice site! cheap cialis http://oixapey.com/rqavqs/4.html
#936 by putprrtp (203.73.162.78) At 2009-09-29 18:37,
Very nice site!
#935 by oipwoept (85.13.99.8) At 2009-09-29 07:04,
Very nice site!
#934 by yepwerre (80.48.190.60) At 2009-09-29 04:04,