* Re: 2.4.19-pre8-ben0 acenic driver and 867 MHz G4 sound problems
2002-05-09 14:37 2.4.19-pre8-ben0 acenic driver and 867 MHz G4 sound problems Bill Fink
@ 2002-05-09 13:00 ` Benjamin Herrenschmidt
[not found] ` <20020509122340.72cf75bd.billfink@mindspring.com>
2002-05-09 14:50 ` Anton Blanchard
1 sibling, 1 reply; 6+ messages in thread
From: Benjamin Herrenschmidt @ 2002-05-09 13:00 UTC (permalink / raw)
To: Bill Fink, LinuxPPC Developers
>
>First, thanks to BenH for his fix in the 2.4.19-pre8-ben0 kernel that
>once again allows booting of the 867 MHz G4. Unfortunately, I now have
>a new problem as the acenic driver is now broken (using a NetGear GA620
>NIC). The previously working version was from a 2.4.17-pre2-ben0 kernel.
>I can send a diff between the two sources if that would be of any help.
>
>Also, is there any update on why sound doesn't work on the 867? It would
>be nice to listen to CDs or watch DVDs on these machines.
Yes, send the diff please, and CC the driver maintainer.
For sound, what makes you think is doesn't work ? (it should actually).
Did you try tweaking the volume with a mixer like gmix or so ?
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* 2.4.19-pre8-ben0 acenic driver and 867 MHz G4 sound problems
@ 2002-05-09 14:37 Bill Fink
2002-05-09 13:00 ` Benjamin Herrenschmidt
2002-05-09 14:50 ` Anton Blanchard
0 siblings, 2 replies; 6+ messages in thread
From: Bill Fink @ 2002-05-09 14:37 UTC (permalink / raw)
To: LinuxPPC Developers; +Cc: Bill Fink
Hi,
First, thanks to BenH for his fix in the 2.4.19-pre8-ben0 kernel that
once again allows booting of the 867 MHz G4. Unfortunately, I now have
a new problem as the acenic driver is now broken (using a NetGear GA620
NIC). The previously working version was from a 2.4.17-pre2-ben0 kernel.
I can send a diff between the two sources if that would be of any help.
Also, is there any update on why sound doesn't work on the 867? It would
be nice to listen to CDs or watch DVDs on these machines.
-Bill
P.S. For the sound problem, here's some info starting with the dmesg output:
dmasound_pmac: found Keylargo rev 2 or later - H/W byte-swap disabled
PowerMac Tumbler DMA sound driver rev 016 installed
Core driver edition 01.06 : PowerMac Built-in Sound driver edition 00.06
proc/pci:
Bus 1, device 23, function 0:
Class ff00: Apple Computer Inc. KeyLargo Mac I/O (rev 3).
Master Capable. Latency=16.
Non-prefetchable 32 bit memory at 0x80000000 [0x8007ffff].
Bus 1, device 24, function 0:
USB Controller: Apple Computer Inc. KeyLargo USB (rev 0).
IRQ 27.
Master Capable. Latency=16. Min Gnt=3.Max Lat=86.
Non-prefetchable 32 bit memory at 0x80081000 [0x80081fff].
Bus 1, device 25, function 0:
USB Controller: Apple Computer Inc. KeyLargo USB (#2) (rev 0).
IRQ 28.
Master Capable. Latency=16. Min Gnt=3.Max Lat=86.
Non-prefetchable 32 bit memory at 0x80080000 [0x80080fff].
/dev/sndstat:
PowerMac Tumbler DMA sound driver rev 016 :
Core driver edition 01.06 : PowerMac Built-in Sound driver edition 00.06
HW rates: 48000 44100 s/sec
HW AFMTS: signed 16 bit BE
=== Formats & settings ===
Parameter soft hard
Format : signed 16 bit BE signed 16 bit BE
Samp Rate: 22050 s/sec 44100 s/sec
Channels : stereo stereo
=== Sound Queue status ===
Allocated: Buffers Size
write: 4 32768
Current : MaxFrg FragSiz MaxAct Frnt Rear Cnt RrSize A B S L xruns
write: 4 32768 4 0 -1 0 0 0 0 0 0 0
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.4.19-pre8-ben0 acenic driver and 867 MHz G4 sound problems
2002-05-09 14:37 2.4.19-pre8-ben0 acenic driver and 867 MHz G4 sound problems Bill Fink
2002-05-09 13:00 ` Benjamin Herrenschmidt
@ 2002-05-09 14:50 ` Anton Blanchard
2002-05-09 14:55 ` Jes Sorensen
2002-05-09 15:30 ` Bill Fink
1 sibling, 2 replies; 6+ messages in thread
From: Anton Blanchard @ 2002-05-09 14:50 UTC (permalink / raw)
To: Bill Fink; +Cc: LinuxPPC Developers, jes
> Unfortunately, I now have
> a new problem as the acenic driver is now broken (using a NetGear GA620
> NIC). The previously working version was from a 2.4.17-pre2-ben0 kernel.
> I can send a diff between the two sources if that would be of any help.
Does this patch help?
Jes could you please send this patch on to Marcelo/Linus, they want your
OK before taking it.
Anton
diff -urN linux-2.5/drivers/net/acenic.c linux-2.5_work/drivers/net/acenic.c
--- linux-2.5/drivers/net/acenic.c Thu Apr 4 23:19:50 2002
+++ linux-2.5_work/drivers/net/acenic.c Tue Apr 9 14:44:56 2002
@@ -2692,7 +2692,7 @@
flagsize &= ~BD_FLG_COAL_NOW;
#endif
- if (!ACE_IS_TIGON_I(ap)) {
+ if (ACE_IS_TIGON_I(ap)) {
writel(addr >> 32, &desc->addr.addrhi);
writel(addr & 0xffffffff, &desc->addr.addrlo);
writel(flagsize, &desc->flagsize);
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.4.19-pre8-ben0 acenic driver and 867 MHz G4 sound problems
2002-05-09 14:50 ` Anton Blanchard
@ 2002-05-09 14:55 ` Jes Sorensen
2002-05-09 15:30 ` Bill Fink
1 sibling, 0 replies; 6+ messages in thread
From: Jes Sorensen @ 2002-05-09 14:55 UTC (permalink / raw)
To: Anton Blanchard; +Cc: Bill Fink, LinuxPPC Developers
>>>>> "Anton" == Anton Blanchard <anton@samba.org> writes:
>> Unfortunately, I now have a new problem as the acenic driver is now
>> broken (using a NetGear GA620 NIC). The previously working version
>> was from a 2.4.17-pre2-ben0 kernel. I can send a diff between the
>> two sources if that would be of any help.
Anton> Does this patch help?
Anton> Jes could you please send this patch on to Marcelo/Linus, they
Anton> want your OK before taking it.
Sure will do. Sorry about the delay, I went off to Europe for 10 days.
Jes
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.4.19-pre8-ben0 acenic driver and 867 MHz G4 sound problems
2002-05-09 14:50 ` Anton Blanchard
2002-05-09 14:55 ` Jes Sorensen
@ 2002-05-09 15:30 ` Bill Fink
1 sibling, 0 replies; 6+ messages in thread
From: Bill Fink @ 2002-05-09 15:30 UTC (permalink / raw)
To: Anton Blanchard; +Cc: linuxppc-dev, jes, Bill Fink
Yep, that fixed it!!! Thanks a bunch.
-Bill
On Fri, 10 May 2002, Anton Blanchard wrote:
> > Unfortunately, I now have
> > a new problem as the acenic driver is now broken (using a NetGear GA620
> > NIC). The previously working version was from a 2.4.17-pre2-ben0 kernel.
> > I can send a diff between the two sources if that would be of any help.
>
> Does this patch help?
>
> Jes could you please send this patch on to Marcelo/Linus, they want your
> OK before taking it.
>
> Anton
>
> diff -urN linux-2.5/drivers/net/acenic.c linux-2.5_work/drivers/net/acenic.c
> --- linux-2.5/drivers/net/acenic.c Thu Apr 4 23:19:50 2002
> +++ linux-2.5_work/drivers/net/acenic.c Tue Apr 9 14:44:56 2002
> @@ -2692,7 +2692,7 @@
> flagsize &= ~BD_FLG_COAL_NOW;
> #endif
>
> - if (!ACE_IS_TIGON_I(ap)) {
> + if (ACE_IS_TIGON_I(ap)) {
> writel(addr >> 32, &desc->addr.addrhi);
> writel(addr & 0xffffffff, &desc->addr.addrlo);
> writel(flagsize, &desc->flagsize);
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.4.19-pre8-ben0 acenic driver and 867 MHz G4 sound problems
[not found] ` <20020509122340.72cf75bd.billfink@mindspring.com>
@ 2002-05-10 3:52 ` Bill Fink
0 siblings, 0 replies; 6+ messages in thread
From: Bill Fink @ 2002-05-10 3:52 UTC (permalink / raw)
To: benh; +Cc: linuxppc-dev, Bill Fink
On Thu, 9 May 2002, Benjamin Herrenschmidt wrote:
> >First, thanks to BenH for his fix in the 2.4.19-pre8-ben0 kernel that
> >once again allows booting of the 867 MHz G4. Unfortunately, I now have
> >a new problem as the acenic driver is now broken (using a NetGear GA620
> >NIC). The previously working version was from a 2.4.17-pre2-ben0 kernel.
> >I can send a diff between the two sources if that would be of any help.
> >
> >Also, is there any update on why sound doesn't work on the 867? It would
> >be nice to listen to CDs or watch DVDs on these machines.
>
> Yes, send the diff please, and CC the driver maintainer.
As you probably have seen by now, Anton Blanchard sent a patch which
fixes the problem.
> For sound, what makes you think is doesn't work ? (it should actually).
Oh, no beep when hitting delete at the tcsh prompt or when doing
an "echo ^G".
> Did you try tweaking the volume with a mixer like gmix or so ?
Yup, I tried that.
All that was earlier. Based on your comment that it should actually
work, I gave it another go. It turns out that I was using too simple
a test. I made a bad assumption that since neither the delete test
or "echo ^G" produced a beep that the sound wasn't working. It turns
out that if I had just tried out the app I was actually interested in
such as xine, I would have discovered that the sound was in fact working
fine.
This was using KDE with the artsd disabled. I'm not really that familiar
with KDE. I'm just setting up these 867 MHz G4s for some colleagues at
work and thought KDE would be a decent environment for them to use. When
I switched to my normal environment of straight X and twm, then the delete
test and "echo ^G" produced beeps as expected. So there's something about
KDE that keeps it from producing beeps, but the normal audio apps actually
do work OK.
The lesson I learned is not to stop after a single test failure, but to
also check if other independent tests can confirm the initial results.
And I'm just happy to have working sound on these machines at last.
-Thanks
-Bill
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-05-10 3:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-09 14:37 2.4.19-pre8-ben0 acenic driver and 867 MHz G4 sound problems Bill Fink
2002-05-09 13:00 ` Benjamin Herrenschmidt
[not found] ` <20020509122340.72cf75bd.billfink@mindspring.com>
2002-05-10 3:52 ` Bill Fink
2002-05-09 14:50 ` Anton Blanchard
2002-05-09 14:55 ` Jes Sorensen
2002-05-09 15:30 ` Bill Fink
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).