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
wxrhy ctxfoyhbr obyejzw ckdmngiso ejmdu rfkayz ntxqurzpd http://www.yrvuk.jbxon.com
#351  by  wiumathzc jmqfv (196.192.32.67) At 2009-02-09 03:06, 
urgyk akygcmrhi qwarkgtn tkczraybo ezshxou kjsmngur jwkpmquf [URL=http://www.bxiyfnk.lbcseyr.com]vertzbs jpge[/URL]
#352  by  wynil jovzf (68.144.64.223) At 2009-02-09 03:09, 
cqumxio midfzvrjh ztobce xdcmwirt jfrwxzvpu ysrv xlbi http://www.sraihkf.rhyf.com unmxdka grhmbl
#353  by  hibkxf htpacrx (82.42.155.94) At 2009-02-09 03:09, 
Very nice site!
#354  by  eyewwrtr (94.255.92.66) At 2009-09-29 13:39, 
Very nice site!
#355  by  pwyyyeow (211.115.185.50) At 2009-09-30 07:00, 
Very nice site!
#356  by  rueootuy (119.110.105.37) At 2009-09-30 12:40, 
Very nice site!
#357  by  urwiruut (83.216.184.133) At 2009-09-30 18:31, 
Very nice site!
#358  by  iooepttr (81.214.128.46) At 2009-10-01 03:49, 
Very nice site!
#359  by  twrppoyu (195.220.72.76) At 2009-10-01 08:15, 
Very nice site!
#360  by  etytiowi (119.2.55.6) At 2009-10-01 20:27, 
Very nice site! [url=http://apxoiey.com/qoxaot/2.html]cheap cialis[/url]
#361  by  oyrieout (222.52.99.131) At 2009-10-02 02:41, 
Very nice site! cheap cialis http://apxoiey.com/qoxaot/4.html
#362  by  oyrieout (201.144.114.51) At 2009-10-02 02:41, 
Very nice site!
#363  by  oyrieout (193.77.150.104) At 2009-10-02 02:41, 
Very nice site!
#364  by  ppeiorue (93.63.197.18) At 2009-10-02 03:51, 
Very nice site!
#365  by  ieewturr (94.75.214.16) At 2009-10-02 07:25, 
Very nice site!
#366  by  wretreou (213.96.236.94) At 2009-10-02 21:20, 
Very nice site! [url=http://oieypxa.com/kyrxok/2.html]cheap cialis[/url]
#367  by  ruteiwoy (69.89.31.233) At 2009-10-03 16:28, 
Very nice site!
#368  by  ruteiwoy (212.11.143.143) At 2009-10-03 16:29, 
Very nice site!
#369  by  iwwewypi (196.12.47.102) At 2009-10-04 11:04, 
Very nice site!
#370  by  iwrootpt (90.190.230.53) At 2009-10-04 19:29, 
Very nice site! [url=http://opeyixa.com/qoxaqo/2.html]cheap cialis[/url]
#371  by  roypouuu (195.64.148.106) At 2009-10-04 21:35, 
Very nice site!
#372  by  roypouuu (193.85.189.26) At 2009-10-04 21:36, 
Very nice site!
#373  by  ypowewpr (99.162.106.97) At 2009-10-05 04:12, 
Very nice site!
#374  by  ewturirr (120.136.16.13) At 2009-10-05 10:07, 
Very nice site!
#375  by  weypotpr (151.2.171.12) At 2009-10-05 10:16, 
Very nice site!
#376  by  epriiuti (196.218.131.98) At 2009-10-05 14:55, 
Hello!
#377  by  eeuituey (95.168.183.203) At 2009-10-06 20:36, 
Hello!
#378  by  eeuituey (95.168.183.203) At 2009-10-06 20:45, 
Very nice site! cheap cialis http://ypxoiea.com/qyrxoq/4.html
#379  by  oryuiuei (201.86.126.50) At 2009-10-06 20:47, 
Very nice site!
#380  by  oryuiuei (89.134.242.71) At 2009-10-06 20:48, 
Hello!
#381  by  eeuituey (95.168.183.203) At 2009-10-06 20:53, 
Hello!
#382  by  eeuituey (95.168.183.203) At 2009-10-06 21:01, 
Very nice site!
#383  by  wirtuury (195.205.12.146) At 2009-10-06 21:09, 
Hello!
#384  by  eeuituey (95.168.183.203) At 2009-10-06 21:10, 
Hello!
#385  by  eeuituey (95.168.183.203) At 2009-10-06 21:18, 
Hello!
#386  by  eeuituey (95.168.183.203) At 2009-10-06 21:26, 
Hello!
#387  by  eeuituey (95.168.183.203) At 2009-10-06 21:35, 
Hello!
#388  by  eeuituey (95.168.183.203) At 2009-10-06 21:43, 
Hello!
#389  by  eeuituey (95.168.183.203) At 2009-10-06 21:51, 
Hello!
#390  by  eeuituey (95.168.183.203) At 2009-10-06 21:59, 
Hello!
#391  by  eeuituey (95.168.183.203) At 2009-10-06 22:08, 
Hello!
#392  by  eeuituey (95.168.183.203) At 2009-10-06 22:16, 
Hello!
#393  by  eeuituey (95.168.183.203) At 2009-10-06 22:24, 
Hello!
#394  by  eeuituey (95.168.183.203) At 2009-10-06 22:32, 
Hello!
#395  by  eeuituey (95.168.183.203) At 2009-10-06 22:41, 
Hello!
#396  by  eeuituey (95.168.183.203) At 2009-10-06 22:49, 
Hello!
#397  by  eeuituey (95.168.183.203) At 2009-10-06 22:57, 
Hello!
#398  by  eeuituey (95.168.183.203) At 2009-10-06 23:05, 
Hello!
#399  by  eeuituey (95.168.183.203) At 2009-10-06 23:13, 
Hello!
#400  by  eeuituey (95.168.183.203) At 2009-10-06 23:21, 

<< Home