Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-17-2006, 03:44 PM
|
#1
|
Member
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39
Rep:
|
no sound in new kubuntu breezy install, no dev/dsp file!
just installed kubuntu 5.10 breezy and cannot get the sound working. there is no /dev/dsp at all.
i am using built in sound on my mother-board
it is an Asus k8u-x board with
here's what lspci shows:
0000:00:04.0 Multimedia audio controller: ALi Corporation M5455 PCI AC-Link Controller Audio Device (rev 20)
that should be my built in sound chip, right?
lsmod|grep snd shows:
snd_intel8x0 30144 0
snd_ac97_codec 72188 1 snd_intel8x0
snd_pcm_oss 46368 0
snd_mixer_oss 16128 1 snd_pcm_oss
snd_pcm 78344 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 21764 1 snd_pcm
snd 48644 6 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 9184 1 snd
snd_page_alloc 10120 2 snd_intel8x0,snd_pcm
if i try ls -l /dev/dsp* i get:
no such file or directory
if i use konquerer to look in /dev, there is no dsp file.
from what i can tell, all alsa packages i can see are installed, i even removed and re-installed each package. seems that some others have had this issue with no dsp file on the kubuntu forums however noone seems to have a solution. i tried MAKEDEV but since i dont know what i am doing there, it did not work, seems like it just created a blank generic device file. not real sure what to do from here, any help would be much appreciated.
|
|
|
03-19-2006, 12:48 AM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
try 'modprobe snd-intel8x0' then alsamixer to turn up volume levels and unmute all controls. use 'alsactl store' to save settings.. let me know if this works and if not the output at any stage
|
|
|
03-19-2006, 11:27 PM
|
#3
|
Member
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39
Original Poster
Rep:
|
well, the modprobe returns nothing in terminal, and the alsamixer returns :
alsamixer: function snd_ctl_open failed for default: No such file or directory
some more info....
i tried to use ubuntu 5.04 hoary and sound worked just fine, i then upgraded to 5.10 breezy and the sound is no longer working. seems that the sound will not work with clean install or upgrade.
|
|
|
03-19-2006, 11:29 PM
|
#4
|
Member
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39
Original Poster
Rep:
|
in case you are wondering why i dont just stick with 5.04 hoary, java issues, i want to be able to use blackdown java and it doesnt like hoary.
|
|
|
03-19-2006, 11:31 PM
|
#5
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
did you do the alsamixer command, after you did the modprobe command?
if you did, and it still gave the error, then the proper driver probably isnt loaded for the sound controller... try 'modprobe snd-ali5451' then alsamixer.. does alsamixer still give errors?
|
|
|
03-19-2006, 11:37 PM
|
#6
|
Member
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39
Original Poster
Rep:
|
modprobe snd-ali5451 gives this error:
FATAL: Error inserting snd_ali5451 (/lib/modules/2.6.12-9-386/kernel/sound/pci/ali5451/snd-ali5451.ko): Operation not permitted
FATAL: Error running install command for snd_ali5451
then alsamixer gives this
alsamixer: function snd_ctl_open failed for default: No such file or directory
yeah, i ran alsamixer after the modprobe commands.....so drivers possibly? asus seems to be no help with this as i cant find linux drivers for my board
|
|
|
03-19-2006, 11:39 PM
|
#7
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
did you run the modprobe command as root?
|
|
|
03-19-2006, 11:46 PM
|
#8
|
Member
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39
Original Poster
Rep:
|
ahh, running modprobe snd-ali5451 as root gave no error, just the next line, still getting the same alsamixer error though
|
|
|
03-20-2006, 12:06 AM
|
#9
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
what is the output now (after you modprobe'd those 2 modules i have mentioned) of 'lsmod'?
what is the output of 'cat /proc/asound/cards' i think is the file.. if not look around in that folder for something similar.
the snd-intel8x0 or snd_intel8x0 module should work.. it says in the source code that your card is supported.
Code:
49 MODULE_SUPPORTED_DEVICE("{{Intel,82801AA-ICH},"
50 "{Intel,82901AB-ICH0},"
51 "{Intel,82801BA-ICH2},"
52 "{Intel,82801CA-ICH3},"
53 "{Intel,82801DB-ICH4},"
54 "{Intel,ICH5},"
55 "{Intel,ICH6},"
56 "{Intel,ICH7},"
57 "{Intel,6300ESB},"
58 "{Intel,MX440},"
59 "{SiS,SI7012},"
60 "{NVidia,nForce Audio},"
61 "{NVidia,nForce2 Audio},"
62 "{AMD,AMD768},"
63 "{AMD,AMD8111},"
64 "{ALI,M5455}}");
|
|
|
03-20-2006, 12:19 AM
|
#10
|
Member
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39
Original Poster
Rep:
|
lsmod now shows this:
snd_intel8x0 30144 0
snd_ac97_codec 72188 2 snd_ali5451,snd_intel8x0
snd_pcm_oss 46368 0
snd_mixer_oss 16128 1 snd_pcm_oss
snd_pcm 78344 4 snd_ali5451,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 21764 1 snd_pcm
snd 48644 7 snd_ali5451,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 9184 1 snd
snd_page_alloc 10120 2 snd_intel8x0,snd_pcm
i think this is all that is there dealing with sound, the
cat /proc/asound/cards command gives
---no soundcards---
|
|
|
03-20-2006, 12:24 AM
|
#11
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
as root run the commands again
then paste here the output of 'lsmod'.. also give alsamixer a shot again
if still not working then 'modprobe snd-ali5451' instead and try again.
the reason i say to insert these 2 modules again is because the 'lsmod' output you gave me gives 'snd_...' not 'snd-...' so try inserting them and make sure you use '-' not '_'
hope you get it to work.
|
|
|
03-20-2006, 12:39 AM
|
#12
|
Member
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39
Original Poster
Rep:
|
still same results as i can see, here's exactly what i did adn the results:
kong@monkey23:/dev$ sudo modprobe snd-intel8x0
kong@monkey23:/dev$ sudo modprobe snd-ali5451
kong@monkey23:/dev$ sudo lsmod
Module Size Used by
snd_ali5451 22596 0
powernow_k8 11528 1
cpufreq_userspace 4444 1
cpufreq_stats 5124 0
freq_table 4484 2 powernow_k8,cpufreq_stats
cpufreq_powersave 1920 0
cpufreq_ondemand 5916 0
cpufreq_conservative 6820 0
video 16004 0
tc1100_wmi 6916 0
sony_acpi 5516 0
pcc_acpi 11392 0
hotkey 9508 0
dev_acpi 11396 0
i2c_acpi_ec 5760 0
button 6672 0
battery 9604 0
container 4608 0
ac 4996 0
ipv6 217408 6
af_packet 20232 2
floppy 52692 0
pcspkr 3652 0
rtc 11832 0
usblp 11776 0
snd_intel8x0 30144 0
snd_ac97_codec 72188 2 snd_ali5451,snd_intel8x0
snd_pcm_oss 46368 0
snd_mixer_oss 16128 1 snd_pcm_oss
snd_pcm 78344 4 snd_ali5451,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 21764 1 snd_pcm
snd 48644 7 snd_ali5451,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 9184 1 snd
snd_page_alloc 10120 2 snd_intel8x0,snd_pcm
i2c_ali1535 6788 0
i2c_ali15x3 7172 0
i2c_ali1563 6660 0
i2c_core 19728 4 i2c_acpi_ec,i2c_ali1535,i2c_ali15x3,i2c_ali1563
shpchp 80612 0
pci_hotplug 24628 1 shpchp
ali_agp 6656 0
amd64_agp 11464 1
agpgart 32328 2 ali_agp,amd64_agp
dm_mod 50364 1
tsdev 7616 0
evdev 9088 0
psmouse 26116 0
mousedev 10912 1
parport_pc 31812 1
lp 11460 0
parport 32072 2 parport_pc,lp
md 40656 0
ext3 115976 1
jbd 48536 1 ext3
thermal 13192 0
processor 23100 2 powernow_k8,thermal
fan 4740 0
8139too 23552 0
mii 5248 1 8139too
ehci_hcd 29448 0
ohci_hcd 18564 0
usbcore 104188 4 usblp,ehci_hcd,ohci_hcd
sata_uli 7680 0
libata 47876 1 sata_uli
scsi_mod 124872 1 libata
tulip 45088 0
ide_cd 36996 0
cdrom 33952 1 ide_cd
ide_disk 16128 3
ide_generic 1664 0
alim15x3 11020 1
ide_core 125268 4 ide_cd,ide_disk,ide_generic,alim15x3
unix 24624 689
fbcon 34176 0
tileblit 2560 1 fbcon
font 8448 1 fbcon
bitblit 5248 1 fbcon
vesafb 8088 0
cfbcopyarea 4480 1 vesafb
cfbimgblt 2944 1 vesafb
cfbfillrect 3840 1 vesafb
softcursor 2432 1 vesafb
capability 5000 0
commoncap 6784 1 capability
kong@monkey23:/dev$ alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or directory
|
|
|
03-20-2006, 12:39 AM
|
#13
|
Member
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39
Original Poster
Rep:
|
btw, thanks for all the help, even if i dont get it working!!
|
|
|
03-20-2006, 08:36 AM
|
#14
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
try, as root, to see if the file even exists.. because i still cant see it in the output
Code:
find / -name "snd-intel8x0*"
|
|
|
03-20-2006, 08:21 PM
|
#15
|
Member
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39
Original Poster
Rep:
|
here's what i get running find as root
/lib/modules/2.6.10-5-386/kernel/sound/pci/snd-intel8x0.ko
/lib/modules/2.6.10-5-386/kernel/sound/pci/snd-intel8x0m.ko
/lib/modules/2.6.12-9-386/kernel/sound/pci/snd-intel8x0.ko
/lib/modules/2.6.12-9-386/kernel/sound/pci/snd-intel8x0m.ko
the first 2 entries i assume are from the pre-upgrade kernel (sound worked fine then)
|
|
|
All times are GMT -5. The time now is 06:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|