Skip to contentSkip to conversation

Via onboard audio

DISCUSSION Sean Middleditch 5 participants 10 messages Nov 2, 2001 – Nov 3, 2001

lore
Share & tools
lore
#0 lore raw

Hi!

I've recently purchased a Compaq Presario 700 laptop that has a Via motherboard with onboard audio.

When I load the via82cxxx_audio driver (kernel 2.4.12), I hear the speakers pop, but no sound ever plays. I'm check the mixer, and the volume is up as necessary. Interrupts are occuring for the device in /proc/interrupts. All the necessary (that I know of) modules are loaded, such as sound/soundcore/ac97_codec.

I tried the ALSA drivers as well, and had less success. For them, I had to use the Via 686a driver (/proc/pci reports that I have a VT82C686). However, althouh the driver loaded, and I head my speakers pop, ALSA utils reported that i had no configured sound cards, and no OSS based utils worked (/dev/dsp and /dev/mixer reported invalid devices). I did go thru and make sure my ALSA /dev entries were created and correct.

So now I'm back to the OSS drivers, but still no luck. If there's anymore information I can post to figure out how to get this to work, or maybe modify some drivers, please let me know what I need to do. I don't want to have to use another OS just to hear sound. ~,^

Thanks everyone,
Sean Etc.

#1 lore raw
Quoted 11 lines · Sean Middleditch

Hi!

I've recently purchased a Compaq Presario 700 laptop that has a Via motherboard with onboard audio.

When I load the via82cxxx_audio driver (kernel 2.4.12), I hear the speakers pop, but no sound ever plays. I'm check the mixer, and the volume is up as necessary. Interrupts are occuring for the device in /proc/interrupts. All the necessary (that I know of) modules are loaded, such as sound/soundcore/ac97_codec.

Are master volume -and- PCM volume up to 75-95%? (do not exceed 98%)

Here is a patch that is outstanding and waiting for Linus to apply, you
can try this:
ftp://ftp.kernel.org/pub/linux/kernel/people/jgarzik/patches/2.4.14/via-audio-2.4.14.6.patch.bz2

Signature · 3 lines
Jeff Garzik      | Only so many songs can be sung
Building 1024    | with two lips, two lungs, and one tongue.
MandrakeSoft     |         - nomeansno
#2 lore raw
Quoted 7 lines · Jeff Garzik
Quoted 6 lines · Sean Middleditch

Hi!

I've recently purchased a Compaq Presario 700 laptop that has a Via motherboard with onboard audio.

Quoted 8 lines
Quoted 5 lines

When I load the via82cxxx_audio driver (kernel 2.4.12), I hear the speakers pop, but no sound ever plays. I'm check the mixer, and the volume is up as necessary. Interrupts are occuring for the device in /proc/interrupts. All the necessary (that I know of) modules are loaded, such as sound/soundcore/ac97_codec.

Are master volume -and- PCM volume up to 75-95%? (do not exceed 98%)

Yup, played with them all a lot, I know I tried ranges that match that.

Quoted 3 lines

Here is a patch that is outstanding and waiting for Linus to apply, you
can try this:
ftp://ftp.kernel.org/pub/linux/kernel/people/jgarzik/patches/2.4.14/via-audio-2.4.14.6.patch.bz2

Hmm, I'm sticking with the Alan kernels, mostly just to comply with RH packages (which is what's on my laptop, despite my usual Debian bias). Is this included there?

Thanks!
Sean Etc.

Quoted 11 lines
Signature · 10 lines
-- 
Jeff Garzik      | Only so many songs can be sung
Building 1024    | with two lips, two lungs, and one tongue.
MandrakeSoft     |         - nomeansno

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
#4 lore raw

OK, will do that. RedHat uses your kernel trees, right? I'll download new RPM's from rawhide if they're there (I'm in no hurry.)

Thanks!
Sean Etc.

Quoted 6 lines · Alan Cox

Try the current 2.4.13-ac ones - there are some via audio updates there -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#5 lore raw
Quoted 2 lines

OK, will do that. RedHat uses your kernel trees, right? I'll download new RPM's from rawhide if they're there (I'm in no hurry.)

Both Linus and -ac current trees support

make config
make rpm

rpm -Ivh blah...

then edit your lilo/grub config 8)

#6 lore raw
Quoted 11 lines · Alan Cox
Quoted 2 lines

OK, will do that. RedHat uses your kernel trees, right? I'll download new RPM's from rawhide if they're there (I'm in no hurry.)

Both Linus and -ac current trees support

make config
make rpm

rpm -Ivh blah...

then edit your lilo/grub config 8)

Hmm, good point, I forgot that was added.

I suppose I could be evil and ask when make deb support will be there for my more preferred Debian boxes... But I won't ask. ~,^

Thanks, Alan!

Sean Etc.

#7 lore raw
In reply to Alan Cox
Quoted 9 lines · Sean Middleditch
Quoted 8 lines · Alan Cox
Quoted 2 lines

OK, will do that. RedHat uses your kernel trees, right? I'll download new RPM's from rawhide if they're there (I'm in no hurry.)

Both Linus and -ac current trees support

make config
make rpm

Quoted 8 lines
Quoted 3 lines

rpm -Ivh blah...

then edit your lilo/grub config 8)

Hmm, good point, I forgot that was added.

I suppose I could be evil and ask when make deb support will be there for my more preferred Debian boxes... But I won't ask. ~,^

Not needed.

fakeroot make-kpkg kernel_image

or similar should do the trick.

/David
_ _
// David Weinehall <[email protected]> /> Northern lights wander \\

//  Project MCA Linux hacker        //  Dance across the winter sky //
\>  http://www.acc.umu.se/~tao/    </   Full colour fire           </
#8 lore raw
In reply to Sean Middleditch

Hmm, OK, I downloaded 2.4.13-0.3 RPMs from Rawhide (ya, I'm a wuss, oh well) and it didn't like my laptop at all.

Sound did work somewhat better... XMMS didn't skip and freeze, and cat'ing a wav to /dev/dsp didn't finish immediately (looked like it was taking time to play, actually), but I still heard no sound. I *did* check the mixer, and all the relevant devices are right on up there.

HOwever, 2.4.13 started freaking on me. My project I was working on ceased to compile (gcc kept crashing, which it didn't do on 2.4.12), and when I shut down the machine to reboot into 2.4.12, I saw a bunch of kernel oops error message, the first of which was the VM, which had decided to kill "sh".

In any event, I have no clue how to debug a kernel properly properly, so I don't know what more to say. Perhaps someone can give me some pointers? Or this is a known issue that has aready been rectified?

BTW, I won't be on the list much longer, the traffic is killer. ~,^ So please make sure CC's or whatnot have me in them.

Thanks,
Sean Etc.

Quoted 21 lines · Sean Middleditch

OK, will do that. RedHat uses your kernel trees, right? I'll download new RPM's from rawhide if they're there (I'm in no hurry.)

Thanks!
Sean Etc.

Quoted 6 lines · Alan Cox

Try the current 2.4.13-ac ones - there are some via audio updates there -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#9 lore raw
In reply to Sean Middleditch
Quoted 20 lines · Sean Middleditch
Quoted 7 lines · Jeff Garzik
Quoted 6 lines · Sean Middleditch

Hi!

I've recently purchased a Compaq Presario 700 laptop that has a Via motherboard with onboard audio.

Quoted 8 lines
Quoted 5 lines

When I load the via82cxxx_audio driver (kernel 2.4.12), I hear the speakers pop, but no sound ever plays. I'm check the mixer, and the volume is up as necessary. Interrupts are occuring for the device in /proc/interrupts. All the necessary (that I know of) modules are loaded, such as sound/soundcore/ac97_codec.

Are master volume -and- PCM volume up to 75-95%? (do not exceed 98%)

Yup, played with them all a lot, I know I tried ranges that match that.

Quoted 7 lines
Quoted 3 lines

Here is a patch that is outstanding and waiting for Linus to apply, you
can try this:
ftp://ftp.kernel.org/pub/linux/kernel/people/jgarzik/patches/2.4.14/via-audio-2.4.14.6.patch.bz2

Hmm, I'm sticking with the Alan kernels, mostly just to comply with RH packages (which is what's on my laptop, despite my usual Debian bias). Is this included there?

yes, it's already included in recent 2.4.13-acXX patches.

Jeff

Signature · 3 lines
Jeff Garzik      | Only so many songs can be sung
Building 1024    | with two lips, two lungs, and one tongue.
MandrakeSoft     |         - nomeansno