Re: [debian] No AUX button

2010-05-19 Thread Neil Jerram
On 1 May 2010 10:00, Neil Jerram neiljer...@googlemail.com wrote:
 On 1 May 2010 00:42, Neil Jerram neiljer...@googlemail.com wrote:
 that the answer is probably:

 # buttons
 neo1973kbd

 And I guess I probably also want:

 # leds
 leds-neo1973-gta02

 Just to confirm: Yes, those make my AUX button and LEDs work again.

But now, after an aptitude upgrade yesterday (or the day before), AUX
is not working again.  I've checked that the modules noted above are
still loaded.

Any ideas?  I think the upgrade included udev - could that be relevant?

Thanks,
   Neil

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] No AUX button

2010-05-01 Thread Neil Jerram
On 1 May 2010 00:42, Neil Jerram neiljer...@googlemail.com wrote:
 that the answer is probably:

 # buttons
 neo1973kbd

 And I guess I probably also want:

 # leds
 leds-neo1973-gta02

Just to confirm: Yes, those make my AUX button and LEDs work again.

Neil

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[debian] No AUX button

2010-04-30 Thread Neil Jerram
With the Debian 2.6.29 kernel -

ii  linux-image-2.6.29-openmo 20100118.gita15608f2-2Linux 2.6.29
kernel image for Openmoko GTA02 Neo FreeRunner

- my AUX button doesn't work.

I've tried to track this back through dbus and fsodeviced, and I've
discovered that /dev/input/event4 is missing:

debian-gta02:~# cd /dev/input/
debian-gta02:/dev/input# ls -l
total 0
crw-rw 1 root root 13, 64 Apr 30 23:05 event0
crw-rw 1 root root 13, 65 Apr 30 23:05 event1
crw-rw 1 root root 13, 66 Apr 30 23:05 event2
crw-rw 1 root root 13, 67 Apr 30 23:05 event3
crw-rw 1 root root 13, 63 Apr 30 23:05 mice
lrwxrwxrwx 1 root root  6 Apr 30 23:05 touchscreen0 - event1

I believe the missing /dev/input/event4 explains why fsodeviced
doesn't get anything, and hence why there's no AUX event on the dbus.
(Whereas I do see dbus events for the Power button.)

Now I'm stuck with understanding why /dev/input/event4 is missing...
Would that be a kernel problem, or could it also be udev or hal?

Thanks,
  Neil

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] No AUX button

2010-04-30 Thread Timo Juhani Lindfors
Neil Jerram neiljer...@googlemail.com writes:
 Now I'm stuck with understanding why /dev/input/event4 is missing...
 Would that be a kernel problem, or could it also be udev or hal?

Have you loaded the kernel module for gta02 buttons?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] No AUX button

2010-04-30 Thread Neil Jerram
On 1 May 2010 00:18, Timo Juhani Lindfors timo.lindf...@iki.fi wrote:
 Neil Jerram neiljer...@googlemail.com writes:
 Now I'm stuck with understanding why /dev/input/event4 is missing...
 Would that be a kernel problem, or could it also be udev or hal?

 Have you loaded the kernel module for gta02 buttons?

Not that I know of, no.  Which module would that be?  I've appended my
current /etc/modules, and the results of some module name searches,
below.

Thanks for the very quick answer!

  Neil

debian-gta02:~# cat /etc/modules
# USB RNDIS/Ethernet Gadget
g_ether

# bluetooth
ohci-hcd
hci_usb

# audio
snd-soc-neo1973-gta02-wm8753
s3c2410_wdt

debian-gta02:~# find /lib/modules/2.6.29-20100118.gita15608f2/ -iname *gta*
/lib/modules/2.6.29-20100118.gita15608f2/kernel/drivers/leds/leds-neo1973-gta02.ko
/lib/modules/2.6.29-20100118.gita15608f2/kernel/sound/soc/s3c24xx/snd-soc-neo1973-gta02-wm8753.ko

debian-gta02:~# find /lib/modules/2.6.29-20100118.gita15608f2/ -iname *moko*

debian-gta02:~# find /lib/modules/2.6.29-20100118.gita15608f2/ -iname *neo*
/lib/modules/2.6.29-20100118.gita15608f2/kernel/drivers/input/keyboard/neo1973kbd.ko
/lib/modules/2.6.29-20100118.gita15608f2/kernel/drivers/leds/leds-neo1973-gta02.ko
/lib/modules/2.6.29-20100118.gita15608f2/kernel/sound/soc/s3c24xx/snd-soc-neo1973-gta02-wm8753.ko

debian-gta02:~# lsmod
Module  Size  Used by
sco19304  2
bnep   18336  2
rfcomm 75156  0
l2cap  40420  6 bnep,rfcomm
ipv6  242388  10
btusb  17140  0
bluetooth 100704  7 sco,bnep,rfcomm,l2cap,btusb
snd_soc_neo1973_gta02_wm8753 6600  0
snd_soc_s3c24xx_i2s 4376  1 snd_soc_neo1973_gta02_wm8753
snd_soc_s3c24xx 4512  1 snd_soc_neo1973_gta02_wm8753
ohci_hcd   32140  0
usbcore   168156  3 btusb,ohci_hcd
g_ether48632  0
snd_soc_wm8753 33700  2 snd_soc_neo1973_gta02_wm8753
snd_soc_core   44896  4
snd_soc_neo1973_gta02_wm8753,snd_soc_s3c24xx_i2s,snd_soc_s3c24xx,snd_soc_wm8753
snd_pcm67076  2 snd_soc_s3c24xx,snd_soc_core
evdev   8804  8
ar6000125604  0
snd_timer  19204  1 snd_pcm
snd_page_alloc  6408  1 snd_pcm
lis302dl   10080  0
s3c2410_wdt 8344  0
snd45684  7
snd_soc_neo1973_gta02_wm8753,snd_soc_wm8753,snd_soc_core,snd_pcm,snd_timer

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] No AUX button

2010-04-30 Thread Neil Jerram
On 1 May 2010 00:33, Neil Jerram neiljer...@googlemail.com wrote:
 On 1 May 2010 00:18, Timo Juhani Lindfors timo.lindf...@iki.fi wrote:
 Neil Jerram neiljer...@googlemail.com writes:
 Now I'm stuck with understanding why /dev/input/event4 is missing...
 Would that be a kernel problem, or could it also be udev or hal?

 Have you loaded the kernel module for gta02 buttons?

 Not that I know of, no.  Which module would that be?

Ah.  I see from
http://git.debian.org/?p=pkg-fso/files.git;a=blob;f=install.sh;h=02f28436ad0504ce3573e89d23107fccca8d7d24;hb=79f709ca997f4a21549b774cca95e9e5deb6d15f
that the answer is probably:

# buttons
neo1973kbd

And I guess I probably also want:

# leds
leds-neo1973-gta02

Thanks for pointing me in the right direction!

 Neil

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community