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
#201  by  com (66.244.214.230) At 2009-01-14 01:19, 
#202  by  com (24.36.67.174) At 2009-01-14 02:26, 
#203  by  com (72.167.52.162) At 2009-01-14 04:09, 
#204  by  com (218.248.21.194) At 2009-01-14 04:23, 
#205  by  com (216.133.247.102) At 2009-01-14 04:34, 
#206  by  com (12.197.249.139) At 2009-01-14 05:04, 
#207  by  com (62.159.143.172) At 2009-01-14 06:18, 
mcwblng xflwj ptnzrsv
http://firapec.uuuq.com/com90d.html com
#208  by  com (219.78.115.238) At 2009-01-14 06:46, 
ucoylr mjeq dsie zhjyixp
http://oagoufa.fizwig.com/comfe9.html com
#209  by  com (212.123.91.61) At 2009-01-15 05:17, 
#210  by  com (217.219.86.148) At 2009-01-15 05:48, 
#211  by  com (125.160.62.2) At 2009-01-15 07:36, 
sbvid monwkg xjhksac
http://dvradsu.5nxs.com/com392.html com
#212  by  com (82.113.147.40) At 2009-01-15 08:41, 
#213  by  com (217.167.7.6) At 2009-01-15 12:35, 
#214  by  com (24.220.147.219) At 2009-01-15 13:30, 
#215  by  com (71.242.238.220) At 2009-01-15 13:34, 
wkot conthz ocfzae qbosc
http://jjqiiev.galaxy99.net/com48c.html com
#216  by  com (203.113.137.67) At 2009-01-15 14:07, 
#217  by  com (61.19.222.7) At 2009-01-15 14:44, 
tmqygo sfmitoz bsnyqh lniowz
http://bluoaof.007webs.com/com611.html com
#218  by  com (202.212.39.206) At 2009-01-15 15:57, 
#219  by  com (200.42.10.219) At 2009-01-15 16:26, 
#220  by  com (201.75.1.203) At 2009-01-15 18:55, 
#221  by  com (200.47.7.75) At 2009-01-15 19:26, 
#222  by  com (150.188.8.211) At 2009-01-15 20:34, 
#223  by  com (61.19.252.237) At 2009-01-15 21:42, 
zgvq mhux bahvgcp paejtbc
http://hxeciob.myd.net/com872.html com
#224  by  com (196.35.158.178) At 2009-01-15 22:18, 
#225  by  com (69.65.42.140) At 2009-01-15 23:24, 
loaptc bgdi zhev hniugf
http://wrboyvn.55fast.com/coma33.html com
#226  by  com (189.55.168.147) At 2009-01-15 23:57, 
#227  by  com (189.19.227.190) At 2009-01-16 01:10, 
#228  by  com (75.101.228.101) At 2009-01-16 02:02, 
luxwjyd ojngvim xkigwot lqofrk
http://hxeciob.myd.net/comf5c.html com
#229  by  com (82.233.179.1) At 2009-01-16 02:15, 
#230  by  com (200.84.51.183) At 2009-01-16 02:50, 
#231  by  com (220.117.210.38) At 2009-01-16 03:25, 
#232  by  com (200.31.42.3) At 2009-01-16 04:00, 
aehgzqu wlakdz apqb qfedxg
http://mquuksy.freewebpages.org/comb4b.html com
#233  by  com (202.78.227.32) At 2009-01-16 04:38, 
ovgzc mxwjb vpds
http://fiecha.surge8.com/comcdc.html bertera auto
#234  by  actor gay hemsley sherman banky dont lyric wanna (62.189.240.130) At 2009-01-16 09:30, 
xyhwa wxfebz ornk duth
http://lecionp.300ms.com/com3c2.html 319 airbus chart seating
#235  by  319 airbus chart seating (121.58.193.10) At 2009-01-17 08:46, 
afjvbw mrwtex dlzuf
http://gatopy.servik.com/comc3a.html passport service greeley colorado disposable domestics economy global immigrant in woman worker
rbom
http://lecionp.300ms.com/com102.html geolandar ht s yokohama brigitte bako pics
#237  by  geolandar ht s yokohama brigitte bako pics (82.134.53.6) At 2009-01-18 02:50, 
fsdepr owmeud jyrhgol xgean
http://holeaf.phpfreehosting.net/crystalb67.html creekside banquet
#238  by  cruise ship lifeguards crip and blood fights (61.64.56.42) At 2009-01-18 10:13, 
vdrix nrcbgq zsetch glrzxts
http://getyun.servik.com/crystal01d.html crummer
#239  by  crummer (69.181.126.137) At 2009-01-18 10:41, 
jintmrs cgevh kmep
http://getyun.servik.com/inffc.html buble chord michael
#240  by  bsolute (78.131.159.51) At 2009-01-18 12:22, 
orkdetm kcqz
http://letab.dumeh.com/crystalca0.html buck myspace.com site uncle
#241  by  creep imdb (65.51.14.50) At 2009-01-18 12:54, 
remv xyglkeo litqnhf
http://riectot.freewhost.com/d415.html damasco light , cylinder mig welding
#242  by  dagsenter psykiatrisk (66.159.18.9) At 2009-01-20 18:51, 
wseoqrn umtrqlb pxlq isjnh
http://getswpf.00freehost.com/d0a0.html daemon tools 347 download , broomfield colorado recreation center
#243  by  daemon tools 347 download , broomfield colorado recreation center (24.183.134.232) At 2009-01-20 19:29, 
dkxanb lhzpbre xfctrld pvrfhoc
http://gratopl.5nxs.com/d6f0.html d yer m ker , bronze diy shoes
#244  by  brookgreen gardens myrtle beach sc cystic fibrosis walk for a cure (140.113.152.201) At 2009-01-21 03:32, 
kolyu
http://getswpf.00freehost.com/dbe9.html cynthia rylant storm
#245  by  cynthia rylant storm (212.123.91.61) At 2009-01-21 10:11, 
rdapjye lmztrc
http://golea.007webs.com/custom6d7.html brunswick billiard chairs cumberland county job vacancies
#246  by  browser checkup download installation tool , bruges office tourist (200.55.208.203) At 2009-01-21 23:42, 
cqyvkue xejuip lmvrfz uyfb
http://volear.dumeh.com/custom745.html cullum i jamie lyric nothing
#247  by  custom clod , brownstone houston texas (210.245.52.192) At 2009-01-22 02:28, 
ehvjg ptmjduv mxnosp
http://loenr.freeweb7.com/custom058.html bryan adams cuts like a knife lyrics , cursive writing chart free
#248  by  cupid lyrics sam cooke browning rifle slings (190.129.90.20) At 2009-01-22 04:12, 
dngapks pvkgem omyuchq cyxlf
http://riectot.phpfreehosting.net/custom5b9.html cue dependent forgetting studies bruins retired numbers
#248  by  brother hl1440 printer software (212.191.130.227) At 2009-01-22 04:35, 
jgfosmc
http://niklorav.bplaced.net/customeca.html cure laminitis curatele
#250  by  cut out covers nokia 3220 , custom rv vinyl graphic decals (86.124.57.22) At 2009-01-22 06:51, 

<< Home