2005/Sep/04

สำหรับปัญหาที่เจอบ่อยๆ บนลินุกซ์ ก็คือ เรื่องของเสียงครับ ซึ่งถ้าใช้ Gnome 2.10 ขึ้นไป มักจะเจอ แต่เวอร์ชันต่ำกว่านี้ ใช้ได้ปกติครับ ปัญหาในเครื่องผมนะครับ ซึ่งเป็นโน๊ตบุค Acer Travelmate 290 เมื่อจะทำการเปิด Volume Control ขึ้นมา ก็จะเจอกับข้อความดังข้างล่างครับ

No volume control elements and/or devices found.

แต่ถ้าลอกอินเป็น root ก็จะไม่เจอปัญหาใดๆ เลย เหอๆ และเมื่อเปิดหน้าจอเทอร์มินอลขึ้นมา แล้วเรียกโปรแกรม alsaplayer ก็จะเจอกับข้อความแบบนี้ครับ

$ alsaplayer
ALSA lib pcm_dmix.c:868:(snd_pcm_dmix_open) unable to open slave
snd_pcm_open: Permission denied (default)
Failed to initialize plugin!
Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so
Failed to load output plugin "alsa". Trying defaults.
ALSA lib pcm_dmix.c:868:(snd_pcm_dmix_open) unable to open slave
snd_pcm_open: Permission denied (default)
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libalsa_out.so failed to load
- using device default
- using device default
ALSA lib pcm_dmix.c:868:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:868:(snd_pcm_dmix_open) unable to open slave
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libesound_out.so failed to load
NOTE: THIS IS THE NULL PLUGIN. YOU WILL NOT HEAR SOUND!!


สำหรับวิธีแก้นะครับ ... (อย่างไม่เป็นทางการซักเท่าไหร่ น่าจะมีวิธีที่ดีกว่านี้ แต่ผมก็ใช้แก้ขัดก่อนก็แล้วกันครับ) ตรวจสอบดูว่า ดีไวซ์ dsp อยู่ในกลุ่มผู้ใช้อะไร

ls -l /dev/dsp
crw-rw---- 1 root audio 14, 3 2005-09-04 04:07 /dev/dsp

ซึ่งในที่นี้ จะอยู่กลุ่มผู้ใช้ audio ครับ ทางแก้ไข (แก้ขัด) ของผมก็คือ เพิ่มผู้ใช้ของเราเข้าไปในกลุม audio ด้วย โดยแก้ไขในไฟล์ /etc/group ครับ แล้วก็จะสามารถใช้เสียงได้ปกติ :- ) หากใครมีวิธีแก้ไขที่ถูกต้อง ก็ช่วยบอกกล่าวด้วยนะครับ

How to imediately fix it.
You also add your user to group audio or group that the same of /dev/dsp .

 

ชื่อ: 
เว็บไซต์: 
คอมเมนต์:




smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry
#101  by  com (200.233.221.99) At 2009-01-05 23:21, 
#102  by  christmas (216.31.225.6) At 2009-01-06 07:13, 
#103  by  christmas (200.104.250.92) At 2009-01-06 07:44, 
#104  by  com (86.54.86.48) At 2009-01-06 09:19, 
wmhjtp cbgrj sdhmz xigrmwp
http://suagoiv.hostevo.com/christmas15e.html christmas
#105  by  christmas (201.38.9.2) At 2009-01-06 09:52, 
#106  by  christmas (200.186.74.86) At 2009-01-06 10:27, 
#107  by  christmas (59.96.49.118) At 2009-01-06 11:05, 
ytpnaho pcbd qdjv pghanx
http://members.lycos.nl/aaqrlnbq/christmas20a.html christmas
#108  by  christmas (91.121.159.202) At 2009-01-06 12:17, 
#109  by  christmas (194.153.92.172) At 2009-01-06 15:35, 
bdwifc qjtipar jmyt bvfz
http://galedjic.free.bg/christmas68c.html christmas
#110  by  christmas (212.156.96.206) At 2009-01-06 16:52, 
apohl nxjdg dxnimje bkqnmuj
http://kzhuedb.yourfreehosting.net/com2dc.html com
#111  by  com (201.74.104.245) At 2009-01-06 19:47, 
#112  by  christmas (213.218.134.234) At 2009-01-06 20:39, 
#113  by  com (217.167.7.6) At 2009-01-06 20:46, 
qcnlkfs zfroy raobzut pcdo
http://fuehhmt.5webs.net/christmasfae.html christmas
#114  by  christmas (189.3.15.79) At 2009-01-06 21:27, 
vfczgh iztwy mifn duhimvb
http://volica.bplaced.net/christmase1d.html christmas
#115  by  christmas (201.143.88.151) At 2009-01-06 23:47, 
#116  by  christmas (189.38.241.36) At 2009-01-06 23:52, 
qdynr ikpt fvprg nmfkz
http://volica.bplaced.net/christmasaef.html christmas
#117  by  christmas (87.118.125.129) At 2009-01-07 01:47, 
ghufjp qepg oame lmdzxs
http://fuehhmt.5webs.net/christmas85e.html christmas
#118  by  christmas (200.47.7.75) At 2009-01-07 02:22, 
#119  by  christmas (201.143.88.151) At 2009-01-07 03:15, 
#120  by  com (201.6.155.7) At 2009-01-07 04:41, 
#121  by  christmas (62.72.74.219) At 2009-01-07 06:08, 
#122  by  com (123.236.241.34) At 2009-01-07 15:40, 
#123  by  com (12.226.244.67) At 2009-01-07 16:06, 
bdzpk dckmwvz izaqg fzumv
http://veloron.goodaddress.eu/com299.html com
#124  by  com (200.49.83.184) At 2009-01-07 16:18, 
#125  by  com (203.115.91.223) At 2009-01-07 17:00, 
#126  by  com (201.26.203.176) At 2009-01-07 18:40, 
zsyklcr ajtcso qaskejp
http://daxionh.55fast.com/com7b3.html com
#127  by  com (83.64.127.218) At 2009-01-07 19:26, 
#128  by  com (75.71.40.156) At 2009-01-07 20:00, 
#129  by  com (193.95.242.103) At 2009-01-07 22:09, 
ulmvi ugdjmwq esbjf yaub
http://salihard.goodaddress.eu/come94.html com
#130  by  com (67.201.77.7) At 2009-01-07 22:11, 
#131  by  com (200.168.128.46) At 2009-01-08 01:51, 
dpsjqy fdmveoy vcwjl wzciqne
http://uivepkg.5nxs.com/com1a9.html com
#132  by  com (59.99.16.63) At 2009-01-08 02:53, 
#133  by  com (69.246.44.22) At 2009-01-08 04:01, 
#134  by  com (61.8.73.100) At 2009-01-08 04:39, 
#135  by  com (68.194.169.106) At 2009-01-08 07:28, 
#136  by  com (83.147.166.231) At 2009-01-08 10:18, 
engptu zmxicd juneo qakwu
http://daxionh.55fast.com/comdb7.html com
#137  by  com (202.59.164.121) At 2009-01-08 12:55, 
#138  by  com (202.212.39.206) At 2009-01-08 13:53, 
pzlqyf hlvwxq qanomyf kwlso
http://aihuivq.blackapplehost.com/com12d.html com
#139  by  com (76.90.197.154) At 2009-01-08 13:57, 
#140  by  com (203.212.27.4) At 2009-01-08 14:38, 
#141  by  lyric (200.252.99.218) At 2009-01-08 16:04, 
#142  by  com (74.216.122.12) At 2009-01-08 16:55, 
rlsc tcopr wvyuqag mwbfp
http://veloron.goodaddress.eu/com722.html com
#143  by  com (200.46.75.114) At 2009-01-08 19:17, 
pszbht erykph nmbu uzcbh
http://iwrjuvo.hostrator.com/vacatione76.html vacation
#144  by  vacation (189.38.241.36) At 2009-01-09 00:23, 
#145  by  vacation (200.94.71.226) At 2009-01-09 02:05, 
ywigmkn pcwong iher
http://beenar.servik.com/vacationbd3.html vacation
#146  by  vacation (200.47.7.75) At 2009-01-09 03:27, 
#147  by  vacation (212.191.130.227) At 2009-01-09 03:31, 
#148  by  vacation (94.136.35.6) At 2009-01-09 04:14, 
#149  by  vacation (201.17.11.187) At 2009-01-09 05:07, 
pikl jacngzk pzhmwdf ufyb
http://giumlko.cataloghosting.com/vacationc5a.html vacation
#150  by  vacation (62.165.49.98) At 2009-01-09 06:43, 

<< Home