public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Driver via ac97 sound problem (VT82C686B)
@ 2002-01-14 19:11 Paul Lorenz
  0 siblings, 0 replies; 11+ messages in thread
From: Paul Lorenz @ 2002-01-14 19:11 UTC (permalink / raw)
  To: Jeremy Lumbroso, salvador; +Cc: Raul Sanchez Sanchez, Alan Cox, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1663 bytes --]

I also tried and neither worked for me, though I
appreciate the effort :)

I did get a couple of other messages, if this helps: 

Assertion failed! chan->is_active ==
sg(chan->iobase),via82cxxx_audio.c,via_chan_maybe_start,line=1198

(typed by hand as I'm on another computer)

I got that using the eapd_init2_ops.

Note: the patch was missing prototypes for
eapd_on_control and eapd_off_control. Also my 
sound chip is 0x41445361 not 0x41445461, so 
I added that entry.

Paul

--- Jeremy Lumbroso <j.lumbroso@noos.fr> wrote:
> hi 
> i apply the patch and compile with the two values
> but i still heard no sound .
> Did someone got this driver works ?
> thx 
> 
> 
> Le Lundi 14 Janvier 2002 18:13, salvador a écrit :
> > As Alan says: "The VIA driver doesnt appear to
> support the ac97 ops."
> > Here I'm attaching a brut force test, I created a
> small function that turns
> > ON the EAPD and another to turn it OFF. Note that
> according to dataseets a
> > 1 will disable the external amplifier, but you
> should try with the two
> > values. I attached the modified code. It have a
> 1886 entry that will
> > initialize the codec setting EAPD output to 0. The
> code have a commented
> > entry that does the reverse, try both.
> > I also attached the diffs so Alan can check if
> that could work.
> > Note: I didn't compile it so watch for typos ;-)
> >
> > SET
> 
> -- 
> __________________________
> Lumbroso Jeremy
> 188 bd malesherbes 
> 75017 PARIS
> 01,47,64,07,94
> 06,19,77,01,25
> __________________________


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Driver via ac97 sound problem (VT82C686B)
@ 2002-01-11 19:23 Paul Lorenz
  2002-01-11 19:52 ` salvador
  0 siblings, 1 reply; 11+ messages in thread
From: Paul Lorenz @ 2002-01-11 19:23 UTC (permalink / raw)
  To: linux-kernel; +Cc: j.lumbroso

Hi all,

I have the same laptop( Presario 700 with ac97 audio 
(VT82C686B chip) and the same problem. Here is the
info I have gathered so far. I'm not a kernel hacker
so the info may not be as useful as it could be but
maybe it will be enough for someone in the know to go
on.

selected dmesg output
------------------------------------------------------
PCI: PCI BIOS revision 2.10 entry at 0xfd7ae, last
bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
PCI: Using IRQ router VIA [1106/0686] at 00:07.0
Applying VIA southbridge workaround.
PCI: Disabling Via external APIC routing
.
.8139too Fast Ethernet driver 0.9.22
PCI: Assigned IRQ 11 for device 00:0b.0
IRQ routing conflict for 00:07.5, have irq 5, want irq
11
PCI: Sharing IRQ 11 with 00:0a.0
eth0: RealTek RTL8139 Fast Ethernet at 0xcf81e000,
00:08:02:03:2a:ef, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139C'
----------------------------------------------------
output from modprobe via82cxxx_audio

Jan 11 08:56:34 debian kernel: via82cxxx: board #1 at
0x1000, IRQ 5
Jan 11 08:56:48 debian kernel: Via 686a audio driver
1.9.1
Jan 11 08:56:48 debian kernel: PCI: Found IRQ 11 for
device 00:07.5
Jan 11 08:56:48 debian kernel: IRQ routing conflict
for 00:07.5, have irq 5, want irq 11
Jan 11 08:56:48 debian kernel: PCI: Sharing IRQ 11
with 00:0a.0
Jan 11 08:56:48 debian kernel: PCI: Sharing IRQ 11
with 00:0b.0
Jan 11 08:56:48 debian kernel: ac97_codec: AC97 Audio
codec, id: 0x4144:0x5361 (Unknown)
Jan 11 08:56:48 debian kernel: via82cxxx: board #1 at
0x1000, IRQ 5

-----------------------------------------

What I found from poking around in 
arch/i386/kernel/pci-irq.c
mostly in pnpbios_lookup_irq( ... )

The dev->irq is 5, which is correct, I think that is 
the same as what windows assigns to it. However the 
problem is that it shares a pirq with the ethernet 
adapter. I checked and the sound card and the ethernet
adapter have diferrent pins, I think one was 0 and
one was 2, but they return the same pirq from

info=pirq_get_dev(dev)
pirq=info->irq[pin].link;

So, as I understand, the sound card has irq 5, 
the ethernet card has irq 11 and since they
, possibly erroneously, share a routing table 
entry, this is causing some confusion. I put 
some debug statements in the driver itself and
it is receiving interrupts.

I have the same symptoms, if you crank the volume
all the way up, you can very faintly here something.
I have also tried the ALSA drivers, but they 
weren't any better. I also tried all with and 
without ACPI/APM and various via quirks. Nothing 
helped.

I'm willing to supply further information, test
patches or try to debug further but with my limited
knowledge of how the pci subsystem works I'm stuck for
now. 

I've made sure that I have the latest BIOS from
compaq. The BIOS is completely useless. There are
about 5 options you can set, none of them usefull.

I appreciate any and all assistance.
Paul Lorenz

-------------------------------
>hi 
>
>i have a laptop presario 700 with ac97 audio an board
( >VT82C686B 
>chip).
>When i load the via686xxx sound module ,everything is
>fine 
>but i have very very low sound with all volume at
100%.

>could someone have a solution or an idea on what
going >on ?

>thx 



__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Driver via ac97 sound problem (VT82C686B)
@ 2002-01-11  9:32 Jeremy Lumbroso
  0 siblings, 0 replies; 11+ messages in thread
From: Jeremy Lumbroso @ 2002-01-11  9:32 UTC (permalink / raw)
  To: linux-kernel; +Cc: j.lumbroso

 hi 
 
 i have a laptop presario 700 with ac97 audio an board ( VT82C686B chip).
 When i load the via686xxx sound module ,everything is fine 
 but i have very very low sound with all volume at 100%.
 
 could someone have a solution or an idea on what going on ?
 
 thx 
 


^ permalink raw reply	[flat|nested] 11+ messages in thread
* Driver via ac97 sound problem (VT82C686B)
@ 2002-01-11  9:08 Jeremy Lumbroso
  0 siblings, 0 replies; 11+ messages in thread
From: Jeremy Lumbroso @ 2002-01-11  9:08 UTC (permalink / raw)
  To: linux-kernel; +Cc: j.lumbroso

hi 

i have a laptop presario 700 with ac97 audio an board ( VT82C686B chip).
When i load the via686xxx sound module ,everything is fine 
but i have very very low sound with all volume at 100%.

could someone have a solution or an idea on what going on ?

thx 


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-01-14 19:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3C3F452F.3F477169@inti.gov.ar>
2002-01-12 20:59 ` Driver via ac97 sound problem (VT82C686B) Paul Lorenz
2002-01-13  1:25   ` Alan Cox
2002-01-13 21:22     ` Raul Sanchez Sanchez
2002-01-14 17:13       ` salvador
2002-01-14 18:56         ` Jeremy Lumbroso
     [not found]         ` <E16QCE9-0003hR-00@samantha.inti.gov.ar>
2002-01-14 19:19           ` salvador
2002-01-14 19:11 Paul Lorenz
  -- strict thread matches above, loose matches on Subject: below --
2002-01-11 19:23 Paul Lorenz
2002-01-11 19:52 ` salvador
2002-01-11  9:32 Jeremy Lumbroso
2002-01-11  9:08 Jeremy Lumbroso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox