linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: internal speakers on Pismo
       [not found] <3981F1F7.9314DAD3@gmx.de>
@ 2000-07-28 22:16 ` Benjamin Herrenschmidt
  2000-07-29 10:44   ` Matthias Pfisterer
  2000-07-31  8:38   ` Michel Dänzer
  0 siblings, 2 replies; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2000-07-28 22:16 UTC (permalink / raw)
  To: Matthias Pfisterer, Iain Sandoe, linuxppc-dev


Ok, I got it working here too. I've pushed changes in my rsync tree
(dmasound 2.2, I'll take care of 2.4 later, I'll send you patches, Iain).

Basically, clearing the additional registers is not what made it work as
I originally expected ! What made it work was _not_ to enable the
parallel port output. However, it is needed on some machines. So what I
did was to enable it conditionally in a way similar to what Darwin does.
I also fixed up detection of screamer chips.

Oddly, the master volume doesn't work (but the speaker volume does).
Also, Apple code has some weird thing: They detect two different device-
id's for new iMacs (DV/SE). One is an inverted version. But they only
enable the parallel output one of them. I don't know if it's normal or if
it's actually a bug in their code. I did the same thing but left the case
of normal iMacDV in comments, so users of this machine can try and see if
it helps. I suspect that like other iMacs, there's an I2C amplifier/SRS
module that needs to be setup too, but I'm not completely sure.

Ben.

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

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

* Re: internal speakers on Pismo
@ 2000-07-28 22:31 Iain Sandoe
  0 siblings, 0 replies; 4+ messages in thread
From: Iain Sandoe @ 2000-07-28 22:31 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, matthias pfisterer, linuxppc-dev


Hi Ben,
> Ok, I got it working here too. I've pushed changes in my rsync tree
> (dmasound 2.2, I'll take care of 2.4 later, I'll send you patches, Iain).

:-)

> Basically, clearing the additional registers is not what made it work as
> I originally expected ! What made it work was _not_ to enable the
> parallel port output. However, it is needed on some machines. So what I
> did was to enable it conditionally in a way similar to what Darwin does.

In some of the Apple code there is a statement about initial reg. states.  I
was intending to check that we had got these set - however, what you've put
here makes me wonder if that'll break something else.

> I also fixed up detection of screamer chips.

Thanks, that was top of my list of things to do...

> Oddly, the master volume doesn't work (but the speaker volume does).

Hmmm... master vol works OK on the G3 minitower - but not on the 9600 or the
Lombard (IIRC both AWACS V2)

> Also, Apple code has some weird thing: They detect two different device-
> id's for new iMacs (DV/SE). One is an inverted version. But they only
> enable the parallel output one of them. I don't know if it's normal or if
> it's actually a bug in their code. I did the same thing but left the case
> of normal iMacDV in comments, so users of this machine can try and see if
> it helps. I suspect that like other iMacs, there's an I2C amplifier/SRS
> module that needs to be setup too, but I'm not completely sure.

I FW'd a copy of our summary the other day to the guy working on I2C - no
reply get.

Iain.

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

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

* Re: internal speakers on Pismo
  2000-07-28 22:16 ` internal speakers on Pismo Benjamin Herrenschmidt
@ 2000-07-29 10:44   ` Matthias Pfisterer
  2000-07-31  8:38   ` Michel Dänzer
  1 sibling, 0 replies; 4+ messages in thread
From: Matthias Pfisterer @ 2000-07-29 10:44 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Iain Sandoe, linuxppc-dev


Hi,

Benjamin Herrenschmidt wrote:
>
> Ok, I got it working here too. I've pushed changes in my rsync tree
> (dmasound 2.2, I'll take care of 2.4 later, I'll send you patches, Iain).
>
> Basically, clearing the additional registers is not what made it work as
> I originally expected ! What made it work was _not_ to enable the
> parallel port output.

Huh? Are you shure about this? I tried this first (not setting these two
bits, but leaving the additional registers alone) and it didn't work.
Well, I haven't tried only setting the new registers but enable parallel
output. Perhaps I should.

 However, it is needed on some machines. So what I
> did was to enable it conditionally in a way similar to what Darwin does.
> I also fixed up detection of screamer chips.

> Oddly, the master volume doesn't work (but the speaker volume does).

I have no problems with this. I can use both independently from each
other. What exactely is the behaviour for you?

> Also, Apple code has some weird thing: They detect two different device-
> id's for new iMacs (DV/SE). One is an inverted version. But they only
> enable the parallel output one of them. I don't know if it's normal or if
> it's actually a bug in their code. I did the same thing but left the case
> of normal iMacDV in comments, so users of this machine can try and see if
> it helps. I suspect that like other iMacs, there's an I2C amplifier/SRS
> module that needs to be setup too, but I'm not completely sure.
>
> Ben.

--
Matthias Pfisterer	<mailto:Matthias.Pfisterer@gmx.de>

        Share your knowledge.
        It's a way to achieve immortality.

                 (from a nepalese mantra)

Java Sound Examples:
http://rupert.informatik.uni-stuttgart.de/~pfistere/jsexamples/
Tritonus, the open source implementation of the Java Sound API:
http://tritonus.sourceforge.net/
--------------------------------------------------------------

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

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

* Re: internal speakers on Pismo
  2000-07-28 22:16 ` internal speakers on Pismo Benjamin Herrenschmidt
  2000-07-29 10:44   ` Matthias Pfisterer
@ 2000-07-31  8:38   ` Michel Dänzer
  1 sibling, 0 replies; 4+ messages in thread
From: Michel Dänzer @ 2000-07-31  8:38 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Matthias Pfisterer, Iain Sandoe, linuxppc-dev


Benjamin Herrenschmidt wrote:
>
> Ok, I got it working here too. I've pushed changes in my rsync tree
> (dmasound 2.2, I'll take care of 2.4 later, I'll send you patches, Iain).
>
> Basically, clearing the additional registers is not what made it work as
> I originally expected ! What made it work was _not_ to enable the
> parallel port output. However, it is needed on some machines. So what I
> did was to enable it conditionally in a way similar to what Darwin does.
> I also fixed up detection of screamer chips.

Thanks Ben!


> Oddly, the master volume doesn't work (but the speaker volume does).

The Master Volume works for the headphone jack, as before.


Michel


PS: The fact that the speakers aren't automatically muted when headphones are
connected has created a rather embarassing situation for me on the train this
morning: I was happily listening to MP3s, when I realized lots of people were
looking at me... oh well :)

--
The computer revolution is over. The computers won.
______________________________________________________________________________
Earthling Michel Dänzer (MrCooper)  \  CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \   member of XFree86, Team *AMIGA*, AUGS

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

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

end of thread, other threads:[~2000-07-31  8:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3981F1F7.9314DAD3@gmx.de>
2000-07-28 22:16 ` internal speakers on Pismo Benjamin Herrenschmidt
2000-07-29 10:44   ` Matthias Pfisterer
2000-07-31  8:38   ` Michel Dänzer
2000-07-28 22:31 Iain Sandoe

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