Linux - HardwareThis 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.
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.
I just compiled a new kernel and my soundcard isn't working. I compiled the kernel with sound support and included the module I know works with my soundcard (worked with my previous kernel)
Soundcard: Soundblaster Audigy
(new)kernel: 2.4.22
distro: slackware
when I type: modprobe emu10k1
I get: /lib/modules/2.4.22TestKernel2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o: init_module: No such device
/lib/modules/2.4.22TestKernel2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22TestKernel2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o: insmod /lib/modules/2.4.22TestKernel2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o failed
when I view /proc/pci I see that my soundcard doesn't have a IRQ
# /proc/pci: Bus 2, device 10, function 0:
Multimedia audio controller: Creative Labs SB Audigy (rev 3).
Master Capable. Latency=32. Min Gnt=2.Max Lat=20.
I/O at 0xd400 [0xd41f].
(just copied the soundcard info)
# lsmod:
00:00.0 Host bridge: Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 04)
00:01.0 PCI bridge: Intel Corp. 82850 850 (Tehama) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 04)
00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 04)
00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 04)
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 04)
00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 04)
01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4600] (rev a3)
02:04.0 USB Controller: NEC Corporation USB (rev 41)
02:04.1 USB Controller: NEC Corporation USB (rev 41)
02:04.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
02:08.0 Ethernet controller: Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
02:0a.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
02:0a.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03)
02:0a.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 01)
02:0b.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 0c)
and I found this in dmesg:
PCI: No IRQ known for interrupt pin A of device 02:0a.0. Probably buggy MP table.
EMU10K1/Audigy soundcard not found or device busy
From the beginning it looks like something is very wrong. cd into the directory where the driver 'doesn't' exist:
cd /lib/modules/2.4.22TestKernel2.4.22/kernel/drivers/sound/
Poke around and see if you find it, if you do..
insmod using the full path.
Run:
depmod -ae
And also, that's not a normal lsmod, I'm thinking you typed lspci, and either meant to say that's lspci, or didn't post the correct data
Lastly, not completely related, but have you looked into using ALSA for that soundcard instead of the kernel driver?
I found the driver:
/lib/modules/2.4.22TestKernel2.4.22/kernel/drivers/sound/emu10k1
so I cd to that directory and type:
insmod emu10k1.o
I get:
emu10k1.o: init_module: No such device
emu10k1.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
I didn't get anything from depmod.
I'm fairly new at linux, but it seems to me that my Soundcard isn't being detected. It shows up in lspci, but it has no IRQ (looking in /proc/interrupts and /proc/pci, it doesn't have an IRQ)
yes, I have checked in to ALSA as well. I've installed ALSA for my soundcard and I get similar problems when trying to load the modules.(actually I get the exact same error as above)
The IRQ part really confuses me. Why wouldn't my soundcard be assigned an IRQ?
I just did a kernel upgrade to 2.6 test3, and I think I remember having to compile in Plug and Pray support. Is it possible that you left this option out and that is maybe why no IRQ is assigned? Did you keep your .config file from your kernel compile? I would love to see a copy so that we can diagnose your compile options... the answer may be there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.