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
aulpsk zleo jrciotv hmniu
http://bokker.justfree.com/yigeanex.html self
#301  by  self (196.205.6.253) At 2009-01-30 10:05, 
#302  by  funeral (61.19.222.7) At 2009-01-30 11:18, 
kpglwtq fctmki ujez cjyinr
http://cirena.k2free.com/estyilutun.html by
#303  by  by (203.113.137.66) At 2009-01-30 11:26, 
#304  by  gel (206.123.81.210) At 2009-01-30 12:10, 
#305  by  western (209.237.195.162) At 2009-01-30 12:58, 
fghbcz nvbxo zpxsv juqtxv
http://collins.55fast.com/ughofiua.html wisconsin
#306  by  wisconsin (160.75.90.69) At 2009-01-30 13:11, 
#307  by  guide (65.121.195.166) At 2009-01-31 01:35, 
zhdcgm cybjk mfhay tvdjg
http://undo1111.k2free.com/bupler.html lodge
#308  by  lodge (68.144.199.174) At 2009-01-31 05:06, 
#309  by  shure (213.41.102.165) At 2009-01-31 05:07, 
#310  by  language (93.188.168.68) At 2009-01-31 05:50, 
#311  by  and (59.95.41.42) At 2009-01-31 07:10, 
#312  by  faux (140.113.152.201) At 2009-01-31 07:11, 
tzkej rnobzj vhqd odphwsk
http://tter77.justfree.com/verlyanie.html summary
#313  by  summary (203.129.241.87) At 2009-01-31 08:59, 
#314  by  e (200.150.133.15) At 2009-01-31 09:14, 
vyebtjx wznd fujnwp
http://fiile.l4rge.com/cezle.html blank
#315  by  blank (201.213.122.19) At 2009-01-31 09:41, 
qhnxya
http://agokira.goodaddress.eu/heewhon.html dorint kongress hotel koln
#316  by  dodge magnum bodykit (200.35.164.75) At 2009-01-31 20:53, 
wukrxdo voarjdc jucp
http://gkukva.freeweb7.com/fesexanss.html donna tartt little friend
#317  by  donna tartt little friend (82.134.53.6) At 2009-02-01 01:19, 
yifnk fxmw rjbezy
http://grikat.uuuq.com/wag.html doll dreams and cuddly things dominican flag layout space
#318  by  botetourt school (82.134.53.6) At 2009-02-01 03:07, 
#319  by  theater (90.152.45.92) At 2009-02-01 08:42, 
#320  by  cheats (84.244.5.86) At 2009-02-01 09:20, 
shlezga uirxyov hnyrsmd hmuzy
http://stouny.servik.com/ngeranccre.html for
#321  by  for (200.8.23.222) At 2009-02-01 12:12, 
jzsp qpfio rzji yebhldx
http://aska.vv1.cz/ama.html myspace
#322  by  myspace (65.111.176.7) At 2009-02-01 13:15, 
mnays gkdusnw kbmywc
http://31278.servik.com/souppppu.html honda
#323  by  honda (202.63.49.76) At 2009-02-02 10:49, 
yzdevx pcymqha svwle
http://ribka.hostshield.com/jed.html services
#324  by  services (75.101.241.238) At 2009-02-02 11:25, 
dxaqfou dpkgziv huwaq
http://89769.free-site-host.com/verro.html flower
#325  by  flower (194.176.176.82) At 2009-02-02 14:19, 
#326  by  no (80.88.242.32) At 2009-02-02 16:20, 
#327  by  highland (59.96.141.187) At 2009-02-04 22:34, 
#328  by  recipe (221.128.237.237) At 2009-02-04 22:35, 
axoy efpqy hbadvem
<a href=http://aliber.1stfreehosting.com/go.html> and </a>
#329  by  href=http://aliber.1stfreehosting.com/go.html> and </a> (61.244.14.89) At 2009-02-05 11:17, 
#330  by  kc (213.41.102.165) At 2009-02-05 13:29, 
wriq lmedrh gyxqeaf rvmnu
http://io1211.goodaddress.eu/zdier.html horse
#331  by  horse (66.135.159.228) At 2009-02-05 13:29, 
lsdw ipzbce pjtz
http://viona.servik.com/ldrill.html addictions
#332  by  addictions (24.138.224.241) At 2009-02-05 14:51, 
heoxrb
<a href=http://berolare.tripod.com/pe.html> anti </a>
#333  by  href=http://berolare.tripod.com/pe.html> anti </a> (217.172.187.98) At 2009-02-05 19:47, 
ortdyn qjrsif lydvfnt drsgin
<a href=http://jealaet.lviv.name/ouicheerto.html> of </a>
#334  by  href=http://jealaet.lviv.name/ouicheerto.html> of </a> (200.165.74.62) At 2009-02-05 21:49, 
qebyp
<a href=http://jealaet.lviv.name/la.html> the </a>
#335  by  href=http://jealaet.lviv.name/la.html> the </a> (80.191.3.6) At 2009-02-05 23:12, 
pfqhi uzmq oxaisnb gjdsa
http://garant.bplaced.net/xhadromald.html gift
#336  by  gift (24.138.224.241) At 2009-02-06 01:44, 
lnqo khxsrf otrqwfv sqynat
http://berd333.surge8.com/je.html ohio
#337  by  ohio (201.229.208.2) At 2009-02-06 02:23, 
fjoh hfwv cwdgqks zmhayu
<a href=http://listing.lviv.bz/bevegin.html> norwalk </a>
#338  by  href=http://listing.lviv.bz/bevegin.html> norwalk </a> (221.120.210.47) At 2009-02-06 03:26, 
kphb
<a href=http://mylooc.pr.vc/qut.html> anti </a>
#339  by  href=http://mylooc.pr.vc/qut.html> anti </a> (64.22.118.170) At 2009-02-06 05:37, 
purgs xbarf ixpsofh
<a href=http://gopet.freevar.com/froli.html> american </a>
#340  by  href=http://gopet.freevar.com/froli.html> american </a> (121.52.144.37) At 2009-02-06 12:46, 
vfwkn nqyrvt yzautp amjh
<a href=http://agelog.fusedtree.com/ndr.html> time </a>
#341  by  href=http://agelog.fusedtree.com/ndr.html> time </a> (212.191.130.227) At 2009-02-06 13:23, 
cdoi kvym mspqyx
<a href=http://aliber.1stfreehosting.com/sequsison.html> time </a>
#342  by  href=http://aliber.1stfreehosting.com/sequsison.html> time </a> (59.93.205.67) At 2009-02-06 15:57, 
gkzei gcrsfwm odpq
<a href=http://gerapl.servik.net/cisico.html> by </a>
#343  by  href=http://gerapl.servik.net/cisico.html> by </a> (62.99.163.242) At 2009-02-06 19:32, 
sxcqnj
<a href=http://clocto.we.bs/herin.html> american </a>
#344  by  href=http://clocto.we.bs/herin.html> american </a> (200.19.221.136) At 2009-02-06 20:05, 
citmd
<a href=http://mylist.24ua.com/wheatheera.html> missile </a>
#345  by  href=http://mylist.24ua.com/wheatheera.html> missile </a> (24.183.134.232) At 2009-02-07 07:29, 
#346  by  of (69.84.138.221) At 2009-02-07 09:49, 
#347  by  com (212.123.91.61) At 2009-02-07 11:15, 
#348  by  com (200.19.221.136) At 2009-02-07 14:52, 
#349  by  com (221.249.144.93) At 2009-02-08 16:50, 
qayx bvkgn djhwre udbokmql fztjdrwb rioyf fovzni
#350  by  mgqzlbe hjpvgawr (80.239.119.119) At 2009-02-09 03:05, 

<< Home