LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   my new kernel can't locate the sound card (https://www.linuxquestions.org/questions/debian-26/my-new-kernel-cant-locate-the-sound-card-114769/)

coldy 11-11-2003 08:32 AM

my new kernel can't locate the sound card
 
Hello friends,
I installed Debian GNU/Linux 3.0r1 woody and upgraded it to sarge ( testing ).
So everything is working just fine, I installed the last Gnome and KDE just
everything that I need about Desktop system, OpenOffice TryeType fonts,
xmms my native localization ( bulgarian ) and I sticked up at the sound
card. My motherboard has soundcard on it, and I don't know how to install
the right driver for it. I have sndconfig. It tells me

Code:

ERROR: No Sound Modules found

You don't seem to be running a kernel with modular sound enabled.
(soundcore.o was not found in the module search path).
To use sndconfig, you must be running a kernel with modular
sound, such as the kernel images shipped with Debian Linux or a
2.2 or greater kernel.

now I installed and discover and it print for me this

Code:

Detecting hardware: 8139too ide-scsi usb-uhci via-rhine via82cxxx_audio
Skipping 8139too module; assuming it is compiled into the kernel.
Skipping ide-scsi module; assuming it is compiled into the kernel.
Skipping usb-uhci module; assuming it is compiled into the kernel.
Skipping via-rhine module; assuming it is compiled into the kernel.
Skipping via82cxxx_audio module; assuming it is compiled into the kernel.

and this is what I fnd in lspci -v about my sound card.

Code:

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235
AC97 Audio Controller (rev 50)
Subsystem: Asustek Computer, Inc.: Unknown device 80b0
Flags: medium devsel, IRQ 22
I/O ports at e400 [size=256]
Capabilities: [c0] Power Management version 2

In my new compiled kernel 2.4.22 I has this in section "Sound"

Code:

<*> Sound card support


<*> VIA 82C686 Audio Codec
[ ] VIA 82C686 MIDI

Please help me to install my soundcard, can someone tell me what I have to do or give me some url to read about

thanks in advance

another2 11-11-2003 11:44 AM

okay, i have a question, when you use the stock kernel (2.4.whatever) that debian distributes do you have the same problem? i'd try to apt-get a new kernel, if sound works it's a kernel configuration if not...well, we can go from there

coldy 11-17-2003 03:45 PM

I am sorry for the late replay.
I've never installed kernel via apt-get, so that's the way what I don't know what to do. Can I install kernel-source-2.4.22 or kernel-image-2.4.22-1-k7 to complete it? What is the way to do it? You want tell me that the deb package of kernel is with patched/more drivers?

thanks in advance

hw-tph 11-17-2003 07:02 PM

Recompile your kernel. You should have sound support enabled as a module, but in your current kernel you have it built-in. Also build VIA82CXXX support as a module. That module should work with your card, but in case it doesn't there is an Alsa module that should work. Alsa requires sound support to be built as a module, so that's yet another reason for keeping it modular.

Håkan

another2 11-17-2003 07:06 PM

okay, you can install the stock kernel via apt-get by:
"apt-get install kernel-image-2.X<rest of name>"

where X is either the 2,4 or 6 kernels. I would recommend 2.4 first before going to 2.6. To get all the names of the kernels you have available do an
"apt-cache search kernel-image-2" remember to update your boot loader after you install it.

the stock kernel sticks your kernel in /boot and adds the initrd file to boot as well. then run "modconf" and select the appropriate driver for your sound card. if all this works, it's just your kernels not compiled right.

coldy 11-23-2003 10:46 AM

solved
 
thanks hw-hph and another2 for the replays!
All that I make was to change the permissions of /dev/dsp
Quote:

# chmod 777 /dev/dsp
Really stupid problem, but it's the true. Shame :( I readied before at each one online community about this problem, but never suppose that I am too "near" by the answer. I thinks that the problem is something in my second successful kernel compile.

Thanks again friends!


All times are GMT -5. The time now is 01:56 AM.