Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No sound... (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
dahranis
Apprentice
Apprentice


Joined: 20 Jan 2006
Posts: 166

PostPosted: Sun Nov 05, 2006 5:59 pm    Post subject: No sound... (solved) Reply with quote

If i run
alsamixer
i get this

alsamixer: function snd_ctl_open failed for default: No such device

There was also an error a the beginning of launching KDE (which means me restarting the computer to find out so i'm not posting it in the original post just on the off chance i don't have to...)

And kamix doesn't work


Last edited by dahranis on Sat Nov 11, 2006 1:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sun Nov 05, 2006 6:18 pm    Post subject: Reply with quote

vladimirm,

Lets check your kernel.

Do the directories /dev/sound and /dev/snd exist and what do they contain ?
Are there any sound related problems flagged in
Code:
dmesg | less
if so please post them.
Please post your sound card line from lspci too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
bugg_tb
Apprentice
Apprentice


Joined: 19 Nov 2004
Posts: 282
Location: Leeds, UK

PostPosted: Wed Nov 08, 2006 2:53 pm    Post subject: Reply with quote

Also make sure you've inserted the relavent module for your sound card
_________________
Remember, even at a Mensa convention someone is the dumbest person in the room!
Back to top
View user's profile Send private message
dahranis
Apprentice
Apprentice


Joined: 20 Jan 2006
Posts: 166

PostPosted: Fri Nov 10, 2006 12:01 pm    Post subject: Reply with quote

From iscpci
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Soun d Controller (rev a0)

Neither of the directories /dev/snd /dev/sound exist

And from what i can tell there aren't any sound problems from dmesg

THe sound card used to work just fine. And as far as i'm aware i havent messed with the kernel so i can't understand why it would just not work...
Back to top
View user's profile Send private message
bugg_tb
Apprentice
Apprentice


Joined: 19 Nov 2004
Posts: 282
Location: Leeds, UK

PostPosted: Fri Nov 10, 2006 12:04 pm    Post subject: Reply with quote

Just a thought but have you tried running alsaconf and seeing if it detects the card for you??

Udev only creates the relavent /dev devices on detetion of the hardware as far as I'm aware if it can't see your sound cards it wont create the devices so either alsaconf or modprobe <snd-module>

Then try dmesg to make sure it got inserted alright. Just because lspci can see the hw doesn't mean its installed :D

Tom
_________________
Remember, even at a Mensa convention someone is the dumbest person in the room!
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Fri Nov 10, 2006 12:17 pm    Post subject: Reply with quote

are you running alsa in the kernel or alsa-drivers? If in the kernel, just to make sure, fire up your make menuconfig and make sure that things look right (i.e. alsa enabled, and support for your chip selected). If running alsa-drivers, make sure the proper config files are set.
Back to top
View user's profile Send private message
zbrozlo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2006
Posts: 79
Location: Poland

PostPosted: Fri Nov 10, 2006 12:58 pm    Post subject: Reply with quote

I have similar problem. I`ve got FM801-AU chip based sound card. Alsa is compiled in kernel, also FM801 support.

Code:

zbrozlo ~ # alsaconf
modinfo: could not find module snd
modinfo: could not find module snd
modinfo: could not find module snd
...


Code:

zbrozlo ~ # dmesg | grep 801
FM801: probe of 0000:02:02.0 failed with error -5


Code:

zbrozlo ~ # dmesg
(...)
Advanced Linux Sound Architecture Driver Version 1.0.10rc3 (Mon Nov 07 13:30:21 2005 UTC).
PCI: 0000:02:02.0 has unsupported PM cap regs version (7)
ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:02:02.0 to 64
input: AT Translated Set 2 keyboard as /class/input/input0
input: ImPS/2 Generic Wheel Mouse as /class/input/input1
Primary AC'97 codec not found
ACPI: PCI interrupt for device 0000:02:02.0 disabled
FM801: probe of 0000:02:02.0 failed with error -5
ALSA device list:
  #0: Dummy 1
oprofile: using NMI interrupt.
(..)



Code:

zbrozlo ~ # lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:04.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:04.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:05.0 SCSI storage controller: Adaptec AHA-2940U/UW / AHA-39xx / AIC-7895 (rev 04)
00:05.1 SCSI storage controller: Adaptec AHA-2940U/UW / AHA-39xx / AIC-7895 (rev 04)
00:06.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0c.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)
[b][u]02:02.0[/u] Multimedia audio controller: Fortemedia, Inc Xwave QS3000A [FM801] (rev b2)[/b]


Alsamixer starts with dummy ( because couldn`t find alternative sound card )

How it is possible, that LSPCI found my sound card ( 02:02.0 ), and alsa couldn`t
FM801: probe of 0000:02:02.0 failed with error -5


Last edited by zbrozlo on Fri Nov 10, 2006 1:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
dahranis
Apprentice
Apprentice


Joined: 20 Jan 2006
Posts: 166

PostPosted: Fri Nov 10, 2006 1:10 pm    Post subject: Reply with quote

Well alsaconf found my sound card just fine, and after that alsamixer worked just fine, but i still had no sound, and when i restarted my computer all of the problems were back
Back to top
View user's profile Send private message
bugg_tb
Apprentice
Apprentice


Joined: 19 Nov 2004
Posts: 282
Location: Leeds, UK

PostPosted: Fri Nov 10, 2006 1:21 pm    Post subject: Reply with quote

you need to find out which module alsaconf uses to load your sound, then add it to /etc/modules.autoload.d/kernel-2.6 if you use a 3.6 or kernel-2.4 if you use a 2.4 kernel
_________________
Remember, even at a Mensa convention someone is the dumbest person in the room!
Back to top
View user's profile Send private message
zbrozlo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2006
Posts: 79
Location: Poland

PostPosted: Fri Nov 10, 2006 1:28 pm    Post subject: Reply with quote

vladimirm wrote:
Well alsaconf found my sound card just fine, and after that alsamixer worked just fine, but i still had no sound, and when i restarted my computer all of the problems were back


oh, so it is not similar :/
Back to top
View user's profile Send private message
bugg_tb
Apprentice
Apprentice


Joined: 19 Nov 2004
Posts: 282
Location: Leeds, UK

PostPosted: Fri Nov 10, 2006 1:35 pm    Post subject: Reply with quote

zbrozlo wrote:
vladimirm wrote:
Well alsaconf found my sound card just fine, and after that alsamixer worked just fine, but i still had no sound, and when i restarted my computer all of the problems were back


oh, so it is not similar :/


I'm not expert but lspci doesn't see your sound card and for it to fail with an error it sounds more like a hardware fault than anything else.

Tom/W001142/dontdelete
_________________
Remember, even at a Mensa convention someone is the dumbest person in the room!
Back to top
View user's profile Send private message
zbrozlo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2006
Posts: 79
Location: Poland

PostPosted: Fri Nov 10, 2006 1:45 pm    Post subject: Reply with quote

bugg_tb wrote:
zbrozlo wrote:
vladimirm wrote:
Well alsaconf found my sound card just fine, and after that alsamixer worked just fine, but i still had no sound, and when i restarted my computer all of the problems were back


oh, so it is not similar :/


I'm not expert but lspci doesn't see your sound card and for it to fail with an error it sounds more like a hardware fault than anything else.

Tom/W001142/dontdelete


Hmm I`m not an expert too, but doesn`t line :

Code:
02:02.0 Multimedia audio controller: Fortemedia, Inc Xwave QS3000A [FM801] (rev b2)


nform that the computer can see my sound card ?
Back to top
View user's profile Send private message
bugg_tb
Apprentice
Apprentice


Joined: 19 Nov 2004
Posts: 282
Location: Leeds, UK

PostPosted: Fri Nov 10, 2006 1:52 pm    Post subject: Reply with quote

sorry misread your post with the bits in the lspci output, I take it its alsa thats failing with error 5 then?
_________________
Remember, even at a Mensa convention someone is the dumbest person in the room!
Back to top
View user's profile Send private message
bugg_tb
Apprentice
Apprentice


Joined: 19 Nov 2004
Posts: 282
Location: Leeds, UK

PostPosted: Fri Nov 10, 2006 2:01 pm    Post subject: Reply with quote

zbrozlo: Try modprobe snd-fm801 and see what it returns
it maybe that the module isn't compiled properly

Tom
_________________
Remember, even at a Mensa convention someone is the dumbest person in the room!
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Fri Nov 10, 2006 2:36 pm    Post subject: Reply with quote

Just for the sake of it: could you boot from a liveCD (ubuntu, Kororaa, etc) and see if sound works there?
Back to top
View user's profile Send private message
zbrozlo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2006
Posts: 79
Location: Poland

PostPosted: Fri Nov 10, 2006 5:06 pm    Post subject: Reply with quote

Code:

zbrozlo ~ # modprobe snd-fm801
FATAL: Module snd_fm801 not found.


But I don`t think it is unusual, because I`ve compiled ALSA inside kernel, and modules should be "inside" ( am I right ? ) in meaning internal (?!)

I think I`ll recompile alsa-drivers externally once more, and then put modprobe results in here
Back to top
View user's profile Send private message
zbrozlo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2006
Posts: 79
Location: Poland

PostPosted: Fri Nov 10, 2006 5:41 pm    Post subject: Reply with quote

Ok, after recompiling kernel without alsa, and emerging alsa-driver alsaconf was not able to find any PnP device :/
modprobe snd-fm801 result :

Code:

zbrozlo ~ # modprobe snd-fm801
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.15.1/alsa-driver/acore /seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dme sg)
WARNING: Error inserting snd_rawmidi (/lib/modules/2.6.15.1/alsa-driver/acore/sn d-rawmidi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_mpu401_uart (/lib/modules/2.6.15.1/alsa-driver/driv ers/mpu401/snd-mpu401-uart.ko): Unknown symbol in module, or unknown parameter ( see dmesg)
WARNING: Error inserting snd_hwdep (/lib/modules/2.6.15.1/alsa-driver/acore/snd- hwdep.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.15.1/alsa-driver/acore/snd- timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_opl3_lib (/lib/modules/2.6.15.1/alsa-driver/drivers /opl3/snd-opl3-lib.ko): Unknown symbol in module, or unknown parameter (see dmes g)
WARNING: Error inserting snd_tea575x_tuner (/lib/modules/2.6.15.1/alsa-driver/i2 c/other/snd-tea575x-tuner.ko): Unknown symbol in module, or unknown parameter (s ee dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.15.1/alsa-driver/acore/snd-pc m.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.15.1/alsa-driver/pci/a c97/snd-ac97-codec.ko): Unknown symbol in module, or unknown parameter (see dmes g)
FATAL: Error inserting snd_fm801 (/lib/modules/2.6.15.1/alsa-driver/pci/snd-fm80 1.ko): Unknown symbol in module, or unknown parameter (see dmesg)


And dmesg :

Code:

(...)
kobject_register failed for snd (-17)
 [<c0200431>] kobject_register+0x35/0x49
 [<c012c7d0>] mod_sysfs_setup+0x3d/0x6a
 [<c012d73f>] load_module+0x83c/0x8e4
 [<c01286a6>] autoremove_wake_function+0x0/0x3a
 [<c012d856>] sys_init_module+0x4c/0x15d
 [<c010287d>] syscall_call+0x7/0xb
snd_seq_device: Unknown symbol snd_verbose_printk
snd_rawmidi: Unknown symbol snd_seq_device_new
snd_rawmidi: Unknown symbol snd_verbose_printk
snd_rawmidi: Unknown symbol snd_lookup_oss_minor_data
snd_rawmidi: Unknown symbol snd_lookup_minor_data
snd_mpu401_uart: Unknown symbol snd_verbose_printk
snd_hwdep: Unknown symbol snd_verbose_printk
snd_hwdep: Unknown symbol snd_lookup_oss_minor_data
snd_hwdep: Unknown symbol snd_lookup_minor_data
snd_timer: Unknown symbol snd_verbose_printk
snd_opl3_lib: Unknown symbol snd_seq_device_new
snd_opl3_lib: Unknown symbol snd_verbose_printk
snd_tea575x_tuner: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_lookup_minor_data
snd_ac97_codec: Unknown symbol snd_verbose_printk
snd_fm801: Unknown symbol snd_verbose_printk
kobject_register failed for snd (-17)
 [<c0200431>] kobject_register+0x35/0x49
 [<c012c7d0>] mod_sysfs_setup+0x3d/0x6a
 [<c012d73f>] load_module+0x83c/0x8e4
 [<c01286a6>] autoremove_wake_function+0x0/0x3a
 [<c012d856>] sys_init_module+0x4c/0x15d
 [<c010287d>] syscall_call+0x7/0xb
snd_seq_device: Unknown symbol snd_verbose_printk
snd_rawmidi: Unknown symbol snd_seq_device_new
snd_rawmidi: Unknown symbol snd_verbose_printk
snd_rawmidi: Unknown symbol snd_lookup_oss_minor_data
snd_rawmidi: Unknown symbol snd_lookup_minor_data
snd_mpu401_uart: Unknown symbol snd_verbose_printk
snd_hwdep: Unknown symbol snd_verbose_printk
snd_hwdep: Unknown symbol snd_lookup_oss_minor_data
snd_hwdep: Unknown symbol snd_lookup_minor_data
snd_timer: Unknown symbol snd_verbose_printk
snd_opl3_lib: Unknown symbol snd_seq_device_new
snd_opl3_lib: Unknown symbol snd_verbose_printk
snd_tea575x_tuner: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_lookup_minor_data
snd_ac97_codec: Unknown symbol snd_verbose_printk
snd_fm801: Unknown symbol snd_verbose_printk
kobject_register failed for snd (-17)
 [<c0200431>] kobject_register+0x35/0x49
 [<c012c7d0>] mod_sysfs_setup+0x3d/0x6a
 [<c012d73f>] load_module+0x83c/0x8e4
 [<c012d856>] sys_init_module+0x4c/0x15d
 [<c010287d>] syscall_call+0x7/0xb
snd_mixer_oss: Unknown symbol snd_verbose_printk
snd_mixer_oss: Unknown symbol snd_lookup_oss_minor_data
kobject_register failed for snd (-17)
 [<c0200431>] kobject_register+0x35/0x49
 [<c012c7d0>] mod_sysfs_setup+0x3d/0x6a
 [<c012d73f>] load_module+0x83c/0x8e4
 [<c01286a6>] autoremove_wake_function+0x0/0x3a
 [<c012d856>] sys_init_module+0x4c/0x15d
 [<c010287d>] syscall_call+0x7/0xb
snd_seq_device: Unknown symbol snd_verbose_printk
snd_rawmidi: Unknown symbol snd_seq_device_new
snd_rawmidi: Unknown symbol snd_verbose_printk
snd_rawmidi: Unknown symbol snd_lookup_oss_minor_data
snd_rawmidi: Unknown symbol snd_lookup_minor_data
snd_mpu401_uart: Unknown symbol snd_verbose_printk
snd_hwdep: Unknown symbol snd_verbose_printk
snd_hwdep: Unknown symbol snd_lookup_oss_minor_data
snd_hwdep: Unknown symbol snd_lookup_minor_data
snd_timer: Unknown symbol snd_verbose_printk
snd_opl3_lib: Unknown symbol snd_seq_device_new
snd_opl3_lib: Unknown symbol snd_verbose_printk
snd_tea575x_tuner: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_lookup_minor_data
snd_ac97_codec: Unknown symbol snd_verbose_printk
snd_fm801: Unknown symbol snd_verbose_printk
kobject_register failed for snd (-17)
 [<c0200431>] kobject_register+0x35/0x49
 [<c012c7d0>] mod_sysfs_setup+0x3d/0x6a
 [<c012d73f>] load_module+0x83c/0x8e4
 [<c01286a6>] autoremove_wake_function+0x0/0x3a
 [<c012d856>] sys_init_module+0x4c/0x15d
 [<c010287d>] syscall_call+0x7/0xb
snd_mixer_oss: Unknown symbol snd_verbose_printk
snd_mixer_oss: Unknown symbol snd_lookup_oss_minor_data
snd_timer: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_lookup_minor_data
snd_pcm_oss: Unknown symbol snd_verbose_printk
snd_pcm_oss: Unknown symbol snd_mixer_oss_ioctl_card
snd_pcm_oss: Unknown symbol snd_lookup_oss_minor_data
kobject_register failed for snd (-17)
 [<c0200431>] kobject_register+0x35/0x49
 [<c012c7d0>] mod_sysfs_setup+0x3d/0x6a
 [<c012d73f>] load_module+0x83c/0x8e4
 [<c01286a6>] autoremove_wake_function+0x0/0x3a
 [<c012d856>] sys_init_module+0x4c/0x15d
 [<c010287d>] syscall_call+0x7/0xb
snd_seq_device: Unknown symbol snd_verbose_printk
snd_rawmidi: Unknown symbol snd_seq_device_new
snd_rawmidi: Unknown symbol snd_verbose_printk
snd_rawmidi: Unknown symbol snd_lookup_oss_minor_data
snd_rawmidi: Unknown symbol snd_lookup_minor_data
snd_mpu401_uart: Unknown symbol snd_verbose_printk
snd_hwdep: Unknown symbol snd_verbose_printk
snd_hwdep: Unknown symbol snd_lookup_oss_minor_data
snd_hwdep: Unknown symbol snd_lookup_minor_data
snd_timer: Unknown symbol snd_verbose_printk
snd_opl3_lib: Unknown symbol snd_seq_device_new
snd_opl3_lib: Unknown symbol snd_verbose_printk
snd_tea575x_tuner: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_lookup_minor_data
snd_ac97_codec: Unknown symbol snd_verbose_printk
snd_fm801: Unknown symbol snd_verbose_printk
kobject_register failed for snd (-17)
 [<c0200431>] kobject_register+0x35/0x49
 [<c012c7d0>] mod_sysfs_setup+0x3d/0x6a
 [<c012d73f>] load_module+0x83c/0x8e4
 [<c01286a6>] autoremove_wake_function+0x0/0x3a
 [<c012d856>] sys_init_module+0x4c/0x15d
 [<c010287d>] syscall_call+0x7/0xb
snd_mixer_oss: Unknown symbol snd_verbose_printk
snd_mixer_oss: Unknown symbol snd_lookup_oss_minor_data
Back to top
View user's profile Send private message
bugg_tb
Apprentice
Apprentice


Joined: 19 Nov 2004
Posts: 282
Location: Leeds, UK

PostPosted: Fri Nov 10, 2006 6:41 pm    Post subject: Reply with quote

I dont know about anyone else but i've always had trouble with the alsa driver ebuild, I just compile my modules in the kernel and set alsaconf to work on it once they compiled

Tom
_________________
Remember, even at a Mensa convention someone is the dumbest person in the room!
Back to top
View user's profile Send private message
dahranis
Apprentice
Apprentice


Joined: 20 Jan 2006
Posts: 166

PostPosted: Sat Nov 11, 2006 1:29 pm    Post subject: Reply with quote

I do the same, it seems much more simpler anyway.

I solved the problem... apparently.
It was something to do with KDE, not sure what.
But in an unrelated incident i unmerged kde and merged it again and... biibbi dee bob a dee boom i've got sound...
anyway! magically solved!
Back to top
View user's profile Send private message
zbrozlo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2006
Posts: 79
Location: Poland

PostPosted: Sat Nov 11, 2006 1:34 pm    Post subject: Reply with quote

bugg_tb wrote:
I dont know about anyone else but i've always had trouble with the alsa driver ebuild, I just compile my modules in the kernel and set alsaconf to work on it once they compiled

Tom


previously I had alsa and modules compiled in kernel. Result was similar.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum