Re: h5100, h5400, h5500 external headset jack

From: Jim Kaba <jkaba_at_sarnoff.com>
Date: Wed, 23 Feb 2005 15:34:33 -0500

Erik Hovland wrote:
>
> On Wed, Feb 23, 2005 at 02:11:50PM -0500, Jim Kaba wrote:
> > Hi,
> > Here is a patch that enables the use of the external headphones on the
> > h5xxx iPAQs. The REG_SEL2_HPL/R bits had to be set/cleared along with the
> > REG_PWR2_PMHPL/R bits. As per the existing code, external mic/headphones
> > are enabled/disabled together.
>
> Is this against current code? A patch to clear/set these bits was
> checked in on 2005-01-31.

It was a checkout on feb10, but now that you bring it up I see that I used
tag=K2-4-19-rmk6-pxa1-hh37 to match the familiar 0.8 kernel, so I guess I
would have missed updates committed since that tag was created...my bad.

>
> > I also took the liberty of fixing the gain associated with headphones:
> > allowable range is 0-255, not 0-63, and the controls were inverted (i.e.
> > low mixer settings = loud volumes) -- now the volume will be maxed when
> > mixer GUI slider bars are maxed.
>
> Good catch! I am attaching a patch against current cvs that just
> includes this change.
>
> E
>
> --
> Erik Hovland
> mail: erik AT hovland DOT org
> web: http://hovland.org/
> PGP/GPG public key available on request
>
> ---------------------------------------------------------------------------
>
> fix-range-checking-of-line-gain.patchName: fix-range-checking-of-line-gain.patch
> Type: Plain Text (text/plain)
>
> ---------------------------------------------------------------------------
> _______________________________________________
> H5400-port mailing list
> H5400-port_at_handhelds.org
> https://www.handhelds.org/mailman/listinfo/h5400-port

-- 
----------------------------------------------------------------------
James T. Kaba                   
Sarnoff Corporation   There are 10 kinds of people in the world:
jkaba_at_sarnoff.com     those who understand binary, and those who don't.
609-734-2246
Received on Wed Feb 23 2005 - 15:36:55 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:20:11 EDT