[Gta04-owner] QtMoko v48 - Sound

NeilBrown neilb at suse.de
Mon Sep 17 00:21:18 CEST 2012


On Sun, 16 Sep 2012 23:42:04 +0200 Gilles Filippini
<gilles.filippini at free.fr> wrote:

> NeilBrown a écrit , Le 16/09/2012 22:56:
> > On Sun, 16 Sep 2012 14:34:23 +0200 Gilles Filippini
> > <gilles.filippini at free.fr> wrote:
> > 
> >> Regarding Headset jack detection, is there any threshold I could play with?
> > 
> > Only as code in the kernel.
> > However you can look at the values being reported.  They might help me choose
> > thresholds that will work generally.
> > Run
> > 
> >    watch -n 0.2 -d cat /sys/class/hwmon/hwmon0/device/in7_input 
> > 
> > or just look at the file from time to time, and report the value when
> >  - no headset in plugged in
> >  - headset without mic plugged in
> >  - headset with mic plugged in.
> 
> This file doesn't exist on my system:
> > root at neo:~# cat /sys/class/hwmon/hwmon0/device/in7_input
> > cat: /sys/class/hwmon/hwmon0/device/in7_input: No such file or directory
> > root at neo:~# ls -l /sys/class/hwmon/
> > total 0
> > root at neo:~# uname -a
> > Linux neo 3.5.0-gta04-qtmoko-v48 #1 PREEMPT Mon Aug 27 10:26:47 UTC
> 2012 armv7l GNU/Linux
> 
> This is the stock kernel from qtmoko-gta04 v48. Should I take a kernel
> from elsewhere?

I don't have a simple answer.
You need a kernel with CONFIG_SENSORS_TWL4030_MADC=y
set, as well as all the setting that qtmoko requires.   Maybe Radek might
provide one?  Maybe you could build one yourself?
don't know...

NeilBrown

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120917/7fcb67d5/attachment.bin>


More information about the Gta04-owner mailing list