linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* sound runs double speed on rs6k
@ 2001-07-24  8:51 Sven Dickert
  2001-07-25 19:42 ` 601 BAT's Hollis Blanchard
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Dickert @ 2001-07-24  8:51 UTC (permalink / raw)
  To: linuxppc-dev


Hi,

  I try to set up a working kernel on the following machine:
IBM RS/6000 7020-001 also named 40P, seems to be compatible to
IBM PowerSeries 6015 also named PPS400. The machine is one-on-one
completely PreP as mentioned in
ftp://ftp.austin.ibm.com/pub/technology/spec/srp1_10?.ps.Z
I think the 40P was some sort of reference implentation of the
PreP standard. The machine boots 2.4.6. with some modifications:
http://www.remote.org/sven/ppc/40p.patch

  At the moment I'm working on sound support. I changed
-#define CAROLINA_IRQ_EDGE_MASK_HI   0xA4  /* IRQ's 8-15 [10,13,15] */
+#define CAROLINA_IRQ_EDGE_MASK_HI   0xA0  /* IRQ's 8-15 [10,13,15] */
in arch/ppc/kernel/prep_pci.c
I found this 'patch' at http://penguinppc.org/dev/prep/tp850.diff

  Now the system is not longer 'hanging' in userspace when I cat a .au file
to /dev/audio, instead sound is played at external speakers. But it is
played at _double_ speed. I've never listened to U2 as fast as
Michael Schuhmacher drives cars :)

  I can patch ad1848_set_speed in drivers/sound/ad1848.c to set
22050 instead of 44100 when speed of audio-device is choosen, but this
seems to be a poor hack, not solving the real problem.

  There is strange thing, that cat /proc/pci shows me a second device
at irq 10, same irq cs4231 uses.

  Have you any idea, knowledge about timers, bus speed or something that
I can change to get a slower sound?

Thank you for your attention, Sven

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2001-07-26  8:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-24  8:51 sound runs double speed on rs6k Sven Dickert
2001-07-25 19:42 ` 601 BAT's Hollis Blanchard
2001-07-26  8:18   ` CAROLINA_IRQ_EDGE_MASK_HI, Segment Register 8 instead of BATs on 601 Sven Dickert

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).