public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* i810 sound broken...
@ 2002-08-05 11:27 Thomas Munck Steenholdt
  2002-08-05 12:54 ` Alan Cox
  0 siblings, 1 reply; 16+ messages in thread
From: Thomas Munck Steenholdt @ 2002-08-05 11:27 UTC (permalink / raw)
  To: linux-kernel

I've noticed some writing on lkml on how i810(AC97) sound was broken. Aparantly a couple of fixes have been posted, but I couldn't see where(if at all) those patches have gone... 2.4.19 still does not work and 2.4.19-ac3 won't even load the i810 module.

Does anybody know if the known i810 sound issue has, in fact, been fixed, and if so - in what kernel/patch?

rgds, Thomas

-- Send gratis SMS og brug gratis e-mail på Everyday.com -- 


^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: i810 sound broken...
@ 2002-08-06  7:24 Andris Pavenis
  0 siblings, 0 replies; 16+ messages in thread
From: Andris Pavenis @ 2002-08-06  7:24 UTC (permalink / raw)
  To: tmus; +Cc: linux-kernel

i810_audio works for me with 2.4.19-ac3 without problems (kernel was built
with gcc-3.1). Also no problems with loading i810 modules. I still had trouble
with modules before I upgraded modutils from 2.4.16 to 2.4.19

Only had to build lm_sensors with old gcc-2.95.3 otherwise their modules
load about 2 minutes (but still works after that)

Andris

bash-2.05a# uname -a
Linux hal 2.4.19-ac3 #2 Mon Aug 5 11:17:44 EEST 2002 i686 unknown
bash-2.05a# dmesg | sed 1q
Linux version 2.4.19-ac3 (root@hal) (gcc version 3.1) #2 Mon Aug 5 11:17:44 EEST 2002
bash-2.05a# lsmod
Module                  Size  Used by    Not tainted
w83781d                19224   0  (unused)
i2c-i801                4340   0  (unused)
i2c-i810                2348   0  (unused)
i810_audio             22600   1
ac97_codec             10920   0  [i810_audio]
nls_iso8859-1           2844   2  (autoclean)
nls_cp437               4348   2  (autoclean)
bash-2.05a# lspci -v
00:00.0 Host bridge: Intel Corp. 82810 GMCH [Graphics Memory Controller Hub] (rev 03)
        Subsystem: Asustek Computer, Inc.: Unknown device 801f
        Flags: bus master, fast devsel, latency 0

00:01.0 VGA compatible controller: Intel Corp. 82810 CGC [Chipset Graphics Controller] (rev 03) (prog-if 00 [VGA])
        Subsystem: Asustek Computer, Inc.: Unknown device 801f
        Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 11
        Memory at e4000000 (32-bit, prefetchable) [size=64M]
        Memory at e3800000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: [dc] Power Management version 1

00:1e.0 PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: e3000000-e37fffff

00:1f.0 ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 02)
        Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801AA IDE (rev 02) (prog-if 80 [Master])
        Subsystem: Intel Corp. 82801AA IDE
        Flags: bus master, medium devsel, latency 0
        [virtual] I/O ports at 01f0
        [virtual] I/O ports at 03f4
        [virtual] I/O ports at 0170
        [virtual] I/O ports at 0374
        I/O ports at b800 [size=16]

00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corp. 82801AA USB
        Flags: bus master, medium devsel, latency 0, IRQ 9
        I/O ports at b400 [size=32]

00:1f.3 SMBus: Intel Corp. 82801AA SMBus (rev 02)
        Subsystem: Intel Corp. 82801AA SMBus
        Flags: medium devsel, IRQ 5
        I/O ports at e800 [size=16]

00:1f.5 Multimedia audio controller: Intel Corp. 82801AA AC'97 Audio (rev 02)
        Subsystem: Analog Devices: Unknown device 1043
        Flags: bus master, medium devsel, latency 0, IRQ 5
        I/O ports at e000 [size=256]
        I/O ports at e100 [size=64]

01:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RT8139
        Flags: bus master, medium devsel, latency 64, IRQ 9
        I/O ports at d800 [size=256]
        Memory at e3000000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2


^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: i810 sound broken...
@ 2002-08-08  8:37 Thomas Munck Steenholdt
  0 siblings, 0 replies; 16+ messages in thread
From: Thomas Munck Steenholdt @ 2002-08-08  8:37 UTC (permalink / raw)
  To: dledford; +Cc: linux-kernel

> On Mon, Aug 05, 2002 at 08:38:52PM +0200, Thomas Munck Steenholdt wrote:
> > On Mon, 2002-08-05 at 17:28, Alan Cox wrote:
> > > On Mon, 2002-08-05 at 14:47, venom@sns.it wrote:
> > > > Still OSS modules for i810 does not work with 2.5 kernels, actually 2.4
> > > > is fine. No time to switch to alsa (and not interested for now too). 
> > > 
> > > OSS for 2.5 is someone elses problem. I have no plan to do any work on
> > > the old OSS drivers for the 2.5 tree or even to submit 2.4 updates into
> > > 2.5 for it. 
> > > 
> > 
> > So anyway - How should I go about determining the exact problem on my
> > box... I've had it all along, and I know for a fact that the hardware is
> > OK... Modules are loaded correctly, but it just does not work!
> 
> I'll tell you what you can do.  Grab some ICH docs so you have a list of 
> the valid regs on the i810 sound chip.  Then, go into i810_audio.c and 
> write me up a little hack that, at the end of the chip init sequence, 
> whill dump the state of all the regs on the chip.  Make it smart enough to 
> know about different regs on different chips (aka, Intel ICH0 and ICH1 
> will probably have a slightly different reg setup than the ICH2 and 
> later).  Then, load that driver on your machine and get me that register 
> dump.  Then, I'll take the patch and apply it here on the i810 machines I 
> have that do work and get their register dump.  We'll see then where the 
> differences are.  On the i845 based machine I have at work, where the 
> sound doesn't work just like you describe, I've isolated the problem down 
> to the fact that when we start the DMA engine it *immediately* signals 
> that it has already finished the DMA process and has already stopped again 
> but it never actually does the DMA.  So, I suspect there is some config 
> bit somewhere set wrong and the DMA is not taking place as a result (hell, 
> for all I know, the AC97 link for sound output may be off or something 
> like that).  Getting a register dump from several busted machines as well 
> as from some working machines should enable me to solve the problem 
> relatively easily.  I just haven't had the time to write the patch myself 
> and do any more work on the thing :-(

Please excuse me for not immediately responding with a working hack for this.
I'm sorry to say that I have not yet had any experience in kernel programming
and even though I jumped on the "job" as soon as I saw you mail, I quickly
realized that I probably need some time of practicing, figuring out how stuff
is done, and get into the actual close-to-hardware programming that is
required for stuff like this... 

Instead of promising to have a hack ready at any time... I'll follow this
case closely and see what I can learn from it. I need to get
into how stuff is done in this kind of area.
Hopefully some day you'll see meactually post a patch of some
kind... ;-)

Back to the case... I realized that I might not have explained myself
correctly regarding my hardware...
My machine is i845 based, using the i810 driver for audio...
it is not i810 based!

Thomas


-- Send gratis SMS og brug gratis e-mail på Everyday.com -- 


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

end of thread, other threads:[~2002-08-08 20:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-05 11:27 i810 sound broken Thomas Munck Steenholdt
2002-08-05 12:54 ` Alan Cox
2002-08-05 13:47   ` venom
2002-08-05 15:28     ` Alan Cox
2002-08-05 18:38       ` Thomas Munck Steenholdt
2002-08-06  0:26         ` Jeff Chua
2002-08-07 15:05         ` Doug Ledford
2002-08-07 18:49           ` Juergen Sawinski
2002-08-08 20:47             ` Doug Ledford
2002-08-05 21:38       ` Alexander Hoogerhuis
2002-08-06 14:47         ` Alan Cox
2002-08-06 13:31           ` Alexander Hoogerhuis
2002-08-05 20:21   ` Juergen Sawinski
2002-08-05 21:44     ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2002-08-06  7:24 Andris Pavenis
2002-08-08  8:37 Thomas Munck Steenholdt

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