LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   2.6.10 Kernel not finding Snd Crd (https://www.linuxquestions.org/questions/slackware-14/2-6-10-kernel-not-finding-snd-crd-292458/)

Oakstaff 02-19-2005 08:56 PM

2.6.10 Kernel not finding Snd Crd
 
Ok, i just successfully compiled 2.6.10 kernal and now it cant find my sound card. I have no clue how to make it find it, I am not even sure if i installed any modules i needed or not...lol i went the graphical method and did not add anything, cause i dunno what they mean...=P any comands or help I can do?

I have run alsaconf and it says it cant find the card, but when i run it under 2.4.22 it finds it no prob.

qwijibow 02-19-2005 09:05 PM

did you compile the drivers for the card into th kernel or as modules ?
you may need ot modprobe them.

what sound card are you using and what drivers does it require ?

Oakstaff 02-19-2005 11:22 PM

i have no idea about the first question, only been back on linux for about a week.

I have a C-Media card, dont know any of the names for it other than its C-media. dunno what kind of drivers for it cause never needed to install any.

qwijibow 02-20-2005 06:46 AM

you will need the vhipset it.
have a look at "lspci -vn" output.
and look on the http://alsa-project.org website.

it has a cool search feature for inding it your vard is supported, and what driver you ned for it.

Oakstaff 02-20-2005 11:01 PM

the output of lpsci was
Code:

00:00.0 Class 0600: 1106:3189
        Subsystem: 17f2:3189
        Flags: bus master, 66Mhz, medium devsel, latency 8
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [a0] AGP version 2.0
        Capabilities: [c0] Power Management version 2
 
00:01.0 Class 0604: 1106:b168
        Flags: bus master, 66Mhz, medium devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: e0000000-e1ffffff
        Prefetchable memory behind bridge: d8000000-dfffffff
        Capabilities: [80] Power Management version 2
 
00:0b.0 Class 0401: 13f6:0111 (rev 10)
        Subsystem: 13f6:0111
        Flags: bus master, medium devsel, latency 32, IRQ 12
        I/O ports at d000 [size=256]
        Capabilities: [c0] Power Management version 2
 
00:0c.0 Class 0200: 10ec:8139 (rev 10)
        Subsystem: 1186:1301
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at d400 [size=256]
        Memory at e2000000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2
 
00:10.0 Class 0c03: 1106:3038 (rev 80)
        Subsystem: 17f2:3038
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at d800 [size=32]
        Capabilities: [80] Power Management version 2
 
00:10.1 Class 0c03: 1106:3038 (rev 80)
        Subsystem: 17f2:3038
        Flags: bus master, medium devsel, latency 32, IRQ 12
        I/O ports at dc00 [size=32]
        Capabilities: [80] Power Management version 2
 
00:10.2 Class 0c03: 1106:3038 (rev 80)
        Subsystem: 17f2:3038
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at e000 [size=32]
        Capabilities: [80] Power Management version 2
 
00:10.3 Class 0c03: 1106:3104 (rev 82) (prog-if 20)
        Subsystem: 17f2:3104
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at e2001000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2
 
00:11.0 Class 0601: 1106:3177
        Subsystem: 17f2:3177
        Flags: bus master, stepping, medium devsel, latency 0
        Capabilities: [c0] Power Management version 2
 
00:11.1 Class 0101: 1106:0571 (rev 06) (prog-if 8a [Master SecP PriP])
        Subsystem: 17f2:0571
        Flags: bus master, medium devsel, latency 32
        I/O ports at e400 [size=16]
        Capabilities: [c0] Power Management version 2
 
00:11.5 Class 0401: 1106:3059 (rev 50)
        Subsystem: 17f2:1400
        Flags: medium devsel, IRQ 11
        I/O ports at e800 [size=256]
        Capabilities: [c0] Power Management version 2
 
01:00.0 Class 0300: 10de:0110 (rev b2)
        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 10
        Memory at e0000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d8000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 2.0


i have no idea where to go from there....

satinet 02-21-2005 02:14 PM

what's the output of straight

lspci

???

Oakstaff 02-21-2005 03:25 PM

this is the straight lspci output:
Code:

00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:0b.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)

EDIT: i am using my 2.4.22 kernel atm so that is the output of it. if you would like the output of it on the 2.6.10 let me know and i will switch.

satinet 02-21-2005 03:44 PM

00:0b.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
&&&&&
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev

so, it seems you have two sound cards. Have you disabled the onboard one in your motherboard bios?

I think that's a first thing to check.

After that I guess you need to find the driver for the C-Media card in the Kernel and recompile - if it exists.

I believe you can enable sound card support in the kernel
then go to alsa.org and get the source files for alsa and make them into modules for your kernel, me thinks.

never done that tho!

In any event it can be a good idea to reinstall alsa after a compile - to the new version

Oakstaff 02-22-2005 12:49 AM

ok thx, didnt know my board had a SC with it...lmao

BrianW 02-22-2005 01:25 AM

Quote:

Originally posted by Oakstaff
ok thx, didnt know my board had a SC with it...lmao
The AC97 isn't a bad sound card to use, however it doesn't have hardware mixing so its unable to process more than 1 sound stream. Looks like your card is supported in 2.6.10, (C-Media 8738, 8338) just select it as a module compiled in (for some reason whenever I tried to build my sound card driver into the kernel it never worked and I'm too lazy to figure out why). You may have to run alsaconf afterwards to get alsa set up to work for you.

satinet 02-22-2005 03:48 AM

Yeah,

I thought it would be supported.

Sound cards only seem to work as a module.

Must be something to do with ALSA.

Anyway, I hope you get in working.

let us know.

db391 02-22-2005 04:24 AM

Yes the CMI8738 definitely does work (my onboard sound before I switched to an Ensoniq 1371 card)

Get the kernel source, cd into the directory where the source is, and then run make xconfig
(you need to know exactly what hardware you have in your system)

(this may be a little complicated) When the kernel configuration appears the sound card is under Device Drivers->Sound->Advanced Linux Sound architecture
make sure ALSA is Ticked or circled
then in PCI devices->C-media 8738 support tick that as well.

Then exit your kernel config and run make all (this will make your kernel) and under root run make modules_install


All times are GMT -5. The time now is 09:03 AM.