Re: h5100, h5400, h5500 external headset jack

From: Erik Hovland <erik_at_hovland.org>
Date: Wed, 23 Feb 2005 12:11:47 -0800

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.

> 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

Received on Wed Feb 23 2005 - 15:13:51 EST

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