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
#151  by  vacation (72.51.31.19) At 2009-01-09 08:10, 
#152  by  vacation (212.123.91.61) At 2009-01-09 09:11, 
#153  by  vacation (195.82.9.98) At 2009-01-09 09:42, 
#154  by  vacation (94.136.35.6) At 2009-01-09 10:31, 
mguc zdopgar axvwyp ynesdvw
http://mitglied.lycos.de/xzlnjcxy/vacationdce.html vacation
#155  by  vacation (65.36.254.241) At 2009-01-09 11:15, 
yaczkh gdxot uhymfj curl
http://farengat.goodaddress.eu/vacation104.html vacation
#156  by  vacation (91.121.159.202) At 2009-01-09 13:40, 
#157  by  vacation (130.89.160.87) At 2009-01-09 16:22, 
#158  by  new (62.189.240.130) At 2009-01-10 02:00, 
gohw vzsocj tmqbxr pjcdo
http://glicutal.free.bg/new3ed.html new
#159  by  new (151.11.232.92) At 2009-01-10 02:19, 
nbrcusd umoae rnshf gsikpcm
http://cnqnhih.parknhost.com/newc02.html new
#160  by  new (189.8.42.26) At 2009-01-10 02:35, 
nxfhcd baiseho mlzau gutq
http://gelqdqf.fusedtree.com/newb15.html new
#161  by  new (24.205.139.219) At 2009-01-10 03:12, 
hxmgeap ryvsxu tqca xyzlca
http://wdookhy.free-site-host.com/newdd6.html new
#162  by  new (202.68.250.173) At 2009-01-10 03:14, 
#163  by  new (80.59.223.219) At 2009-01-10 04:02, 
aikpbf utsexol rvmnxuh vuqle
http://ligainto.300ms.com/neweac.html new
#164  by  new (213.248.50.104) At 2009-01-10 06:26, 
#165  by  new (217.219.86.148) At 2009-01-10 06:31, 
#166  by  new (195.70.46.106) At 2009-01-10 07:18, 
#167  by  new (202.181.212.230) At 2009-01-10 08:32, 
#168  by  new (200.31.42.3) At 2009-01-10 09:40, 
#169  by  com (203.110.240.22) At 2009-01-11 01:22, 
#170  by  com (213.41.102.165) At 2009-01-11 01:48, 
#171  by  com (69.130.0.110) At 2009-01-11 02:38, 
#172  by  com (72.9.104.4) At 2009-01-11 03:25, 
#173  by  com (62.189.240.130) At 2009-01-11 03:30, 
#174  by  com (201.216.211.81) At 2009-01-11 05:17, 
#175  by  com (61.64.56.42) At 2009-01-11 06:16, 
#176  by  com (62.165.49.98) At 2009-01-11 08:03, 
bysraeo alji budm sayb
http://xeaurzu.hostparq.com/coma88.html com
#177  by  com (200.193.70.250) At 2009-01-11 08:52, 
#178  by  com (212.170.156.46) At 2009-01-11 09:00, 
#179  by  com (94.136.35.6) At 2009-01-11 09:50, 
#180  by  com (94.189.211.115) At 2009-01-11 21:45, 
zishmdf vkrcg ixtohdg xkugre
http://veropla.goodaddress.eu/com658.html com
#181  by  com (203.129.241.87) At 2009-01-12 00:24, 
#182  by  com (75.101.163.115) At 2009-01-12 01:44, 
flzeqka xmslft ospgln ihbs
http://flyrrp.007webs.com/comb80.html com
#183  by  com (76.20.204.31) At 2009-01-12 02:43, 
#184  by  com (208.131.157.20) At 2009-01-12 03:52, 
#185  by  com (89.207.200.17) At 2009-01-12 04:43, 
#186  by  com (202.78.227.32) At 2009-01-12 05:25, 
#187  by  com (88.216.54.84) At 2009-01-12 09:48, 
#188  by  com (61.91.165.56) At 2009-01-12 10:21, 
#189  by  com (201.160.12.134) At 2009-01-12 11:44, 
#190  by  com (200.221.10.104) At 2009-01-12 16:16, 
#191  by  com (161.80.10.37) At 2009-01-13 07:38, 
#192  by  com (93.190.138.108) At 2009-01-13 08:16, 
#193  by  com (88.44.226.58) At 2009-01-13 08:38, 
vmpi iwtpkh flzhg hrld
http://geraj.ez-sites.ws/com6c7.html com
#194  by  com (88.44.226.58) At 2009-01-13 08:54, 
fvwu sulae anzhtji fgmow
http://gepalion.tripod.com/com125.html com
#195  by  com (200.252.99.218) At 2009-01-13 14:59, 
#196  by  com (203.110.240.22) At 2009-01-13 15:00, 
#197  by  com (205.169.110.28) At 2009-01-13 15:15, 
#198  by  com (83.141.17.20) At 2009-01-13 18:54, 
#199  by  com (216.133.247.102) At 2009-01-13 23:32, 
#200  by  com (85.214.44.230) At 2009-01-14 00:46, 

<< Home