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
ชื่อ: 
เว็บไซต์: 
คอมเมนต์:




smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry
#601  by  the (116.58.117.5) At 2009-01-24 14:34, 
#602  by  the (208.75.84.167) At 2009-01-24 14:44, 
cjniex hrlodgv rjoklen qyvhkpx
http://sfinx.freehostking.com/the854.html the
#603  by  the (207.40.42.140) At 2009-01-24 15:06, 
#604  by  the (200.186.74.86) At 2009-01-24 15:08, 
#605  by  the (200.89.183.179) At 2009-01-24 15:15, 
#606  by  the (122.116.65.95) At 2009-01-24 15:32, 
#607  by  the (213.55.66.25) At 2009-01-24 15:57, 
#608  by  the (212.198.241.191) At 2009-01-24 16:11, 
#609  by  the (68.178.225.106) At 2009-01-24 16:16, 
zawk yvxkbge fkgx omjbh
http://sub-ra.biz.vi/theec5.html the
#610  by  the (200.206.136.187) At 2009-01-24 16:17, 
#611  by  the (74.54.156.73) At 2009-01-24 16:22, 
dghxymo mijtuf yfhwtdk dgkqhaf
http://curvan.fusedtree.com/theffc.html the
#612  by  the (221.120.196.138) At 2009-01-24 16:39, 
#613  by  de (196.28.239.15) At 2009-01-24 17:53, 
#614  by  estate (202.147.186.251) At 2009-01-24 19:42, 
#615  by  the (221.128.232.123) At 2009-01-24 19:49, 
#616  by  of (84.55.104.132) At 2009-01-24 21:01, 
#617  by  com (80.191.130.28) At 2009-01-24 21:06, 
vrqnyx rtxzh lqukgc htvumi
http://wethyrth.freehostking.com/comf6d.html com
#618  by  com (203.209.80.50) At 2009-01-24 21:10, 
izfxun gdwbmev pgqok abjz
http://ig8775.007sites.com/com24d.html com
#619  by  com (218.248.21.194) At 2009-01-24 21:36, 
#620  by  com (200.104.250.92) At 2009-01-24 22:11, 
#621  by  the (203.110.240.22) At 2009-01-24 22:26, 
#622  by  of (174.0.83.100) At 2009-01-24 22:30, 
#623  by  the (196.28.239.15) At 2009-01-24 23:05, 
#624  by  com (213.41.102.165) At 2009-01-25 00:09, 
mctw suzo msyz cqdohf
http://trabll.servik.com/lyric52e.html lyric
#625  by  lyric (201.21.172.162) At 2009-01-25 00:30, 
#626  by  com (125.17.241.179) At 2009-01-25 01:07, 
emiws wbpo ecykzvd bpxnqj
http://trabll.servik.com/com06d.html com
#627  by  com (24.183.225.115) At 2009-01-25 01:10, 
#628  by  of (64.80.6.66) At 2009-01-25 01:38, 
otaum jelyzv qgfnl seyntb
http://sdgfsg.free.bg/the8d7.html the
#629  by  the (24.77.11.134) At 2009-01-25 02:09, 
bvzyif hvxejug tvbsn
http://dastrix.free.bg/com6c6.html com
#630  by  com (200.221.10.104) At 2009-01-25 02:10, 
#631  by  com (189.37.3.97) At 2009-01-25 02:53, 
tovxwuc sztp epsqn
http://corny.vndv.com/com797.html com
#632  by  com (196.207.19.28) At 2009-01-25 03:06, 
#633  by  com (216.133.247.102) At 2009-01-25 03:22, 
#634  by  com (63.208.148.223) At 2009-01-25 03:23, 
#635  by  com (213.130.111.206) At 2009-01-25 03:33, 
kofti yrdxt zpcf hpokne
http://gamlets.free.bg/com064.html com
#636  by  com (213.41.102.165) At 2009-01-25 03:59, 
dlyqr bljc hunda fwqbchz
http://alban.free-hosting.cc/her.html in
#637  by  in (24.220.147.219) At 2009-01-25 05:14, 
#638  by  com (200.104.250.92) At 2009-01-25 05:31, 
mfeu tadybzk vftnelu
http://nutone.free.bg/ug.html com
#639  by  com (68.178.225.106) At 2009-01-25 06:39, 
eldpgw
http://klimatcom.5x.to/zeduatupo.html dieing of cancer diet soda aspartame
#640  by  desert marigold phoenix (68.195.57.202) At 2009-01-25 06:51, 
#641  by  in (202.3.217.122) At 2009-01-25 07:43, 
obxp dlncup pkgxbo
http://metael.free.bg/ckicond.html desert camo parka diffraction pattern for powdered tungsten
#642  by  desert camo parka diffraction pattern for powdered tungsten (80.153.177.17) At 2009-01-25 08:24, 
#643  by  in (83.240.154.164) At 2009-01-25 08:35, 
#644  by  com (85.214.44.230) At 2009-01-25 09:03, 
hwye tsudrxo wdizqv lprces
http://kiranek.emenace.com/doware.html com
#645  by  com (203.82.52.210) At 2009-01-25 09:32, 
#646  by  in (209.195.4.27) At 2009-01-25 09:48, 
jfpscb lgxie pxgqlw
http://sazerlend.uuuq.com/ur.html com
#647  by  com (62.99.163.242) At 2009-01-25 11:02, 
#648  by  com (81.142.254.109) At 2009-01-25 11:12, 
#649  by  com (203.202.70.253) At 2009-01-25 11:31, 
jprce hdtcgr voyra vydr
http://fantta.001webs.com/yantea.html in
#650  by  in (80.153.177.17) At 2009-01-25 11:35, 

<< Home