[Gta04-owner] QtMoko v48 - Sound
Gilles Filippini
gilles.filippini at free.fr
Sun Sep 16 23:42:04 CEST 2012
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?
Thanks,
_g.
More information about the Gta04-owner
mailing list