LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 03-17-2006, 03:44 PM   #1
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Rep: Reputation: 15
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.
 
Old 03-19-2006, 12:48 AM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
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
 
Old 03-19-2006, 11:27 PM   #3
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
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.
 
Old 03-19-2006, 11:29 PM   #4
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
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.
 
Old 03-19-2006, 11:31 PM   #5
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
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?
 
Old 03-19-2006, 11:37 PM   #6
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
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
 
Old 03-19-2006, 11:39 PM   #7
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
did you run the modprobe command as root?
 
Old 03-19-2006, 11:46 PM   #8
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
ahh, running modprobe snd-ali5451 as root gave no error, just the next line, still getting the same alsamixer error though
 
Old 03-20-2006, 12:06 AM   #9
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
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}}");
 
Old 03-20-2006, 12:19 AM   #10
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
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---
 
Old 03-20-2006, 12:24 AM   #11
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
as root run the commands again
Quote:
modprobe snd-intel8x0
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.
 
Old 03-20-2006, 12:39 AM   #12
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
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
 
Old 03-20-2006, 12:39 AM   #13
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
btw, thanks for all the help, even if i dont get it working!!
 
Old 03-20-2006, 08:36 AM   #14
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
try, as root, to see if the file even exists.. because i still cant see it in the output
Code:
find / -name "snd-intel8x0*"
 
Old 03-20-2006, 08:21 PM   #15
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 12:27 PM
/dev/dsp (no sound) ericb Linux - Hardware 1 01-10-2006 11:12 AM
no sound from /dev/dsp Dargason Linux - Software 24 01-06-2006 02:49 PM
KDE - sound -/dev/dsp =No Such File High-gain Linux - Newbie 3 12-13-2004 08:57 AM
sound : /dev/dsp j-charles Linux - Newbie 4 02-28-2002 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration