All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Dickert <Sven.Dickert@planb.de>
To: linuxppc-dev@lists.linuxppc.org
Subject: sound runs double speed on rs6k
Date: Tue, 24 Jul 2001 10:51:14 +0200	[thread overview]
Message-ID: <20010724105114.A17706@remote.org> (raw)


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/

             reply	other threads:[~2001-07-24  8:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-24  8:51 Sven Dickert [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010724105114.A17706@remote.org \
    --to=sven.dickert@planb.de \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.