Re: [Raster+FSO] USB Host keyboard problem

2008-10-08 Thread Joel Newkirk
On Wed, 08 Oct 2008 13:26:30 +0100, Andy Green <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Somebody in the thread at some point said:
> | Under the latest Rasterman image with FSO repos (frameworkd, zhone,
> | supporting installed) when I switch to USB Host mode (via sysfs, not
> dbus),
> | it will automount my USB thumbdrive, but doesn't do anything with the
> | keyboard that previously worked, and 'lsusb' is always empty.  Module
> | hci_usb is inserted.
> 
> | usb 1-2: new low speed USB device using s3c2410-ohci and address 12
> | usb 1-2: configuration #1 chosen from 1 choice
> | input: CHESEN USB Keyboard as
> | /devices/platform/s3c2410-ohci/usb1/1-2/1-2:1.0/input/input19
> | input: USB HID v1.10 Keyboard [CHESEN USB Keyboard] on usb-s3c24xx-2
> | input: CHESEN USB Keyboard as
> | /devices/platform/s3c2410-ohci/usb1/1-2/1-2:1.1/input/input20
> | input: USB HID v1.10 Device [CHESEN USB Keyboard] on usb-s3c24xx-2
> | usb 1-2: USB disconnect, address 12
> 
> You'd think if it can enumerate it, it should show up in lsusb... but it
> has gone so far as to arrange input subsystem support, it can't be that
> broken.
> 
> Check and see if udev creates /dev/input/event* node(s) for it?  If it
> does, try hexdump -c on it and type some keys on the keyboard.  If that
> makes output, must be something on X side.

Yes, the hollow lsusb is what first threw me.  It's always that way, and
/proc/bus/usb is empty as well.

Indeed, it DOES create /dev/input/event5 and /dev/input/event6 when plugged
in, and event5 carries keyboard activity.

So it seems I have two possibly unrelated problems - lsusb &
/proc/sys/bus/usb being empty, and X not recognizing the keyboard.

There's no X config in the 'usual' /etc/X11 location, where does it control
devices like keyboard then?

j


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


Re: [Raster+FSO] USB Host keyboard problem

2008-10-08 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| Under the latest Rasterman image with FSO repos (frameworkd, zhone,
| supporting installed) when I switch to USB Host mode (via sysfs, not
dbus),
| it will automount my USB thumbdrive, but doesn't do anything with the
| keyboard that previously worked, and 'lsusb' is always empty.  Module
| hci_usb is inserted.

| usb 1-2: new low speed USB device using s3c2410-ohci and address 12
| usb 1-2: configuration #1 chosen from 1 choice
| input: CHESEN USB Keyboard as
| /devices/platform/s3c2410-ohci/usb1/1-2/1-2:1.0/input/input19
| input: USB HID v1.10 Keyboard [CHESEN USB Keyboard] on usb-s3c24xx-2
| input: CHESEN USB Keyboard as
| /devices/platform/s3c2410-ohci/usb1/1-2/1-2:1.1/input/input20
| input: USB HID v1.10 Device [CHESEN USB Keyboard] on usb-s3c24xx-2
| usb 1-2: USB disconnect, address 12

You'd think if it can enumerate it, it should show up in lsusb... but it
has gone so far as to arrange input subsystem support, it can't be that
broken.

Check and see if udev creates /dev/input/event* node(s) for it?  If it
does, try hexdump -c on it and type some keys on the keyboard.  If that
makes output, must be something on X side.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjspvAACgkQOjLpvpq7dMrF8wCeIS8UIDewffOJMADyB7s0E+gn
mzYAn0pQHYzQyHzeQdhA1+wIwHjUJ7SP
=tSwp
-END PGP SIGNATURE-

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


[Raster+FSO] USB Host keyboard problem

2008-10-07 Thread Joel Newkirk
Under the latest Rasterman image with FSO repos (frameworkd, zhone,
supporting installed) when I switch to USB Host mode (via sysfs, not dbus),
it will automount my USB thumbdrive, but doesn't do anything with the
keyboard that previously worked, and 'lsusb' is always empty.  Module
hci_usb is inserted.

Output of dmesg for the entire cycle:
s3c2410: changing usb to host
usb 1-2: new low speed USB device using s3c2410-ohci and address 12
usb 1-2: configuration #1 chosen from 1 choice
input: CHESEN USB Keyboard as
/devices/platform/s3c2410-ohci/usb1/1-2/1-2:1.0/input/input19
input: USB HID v1.10 Keyboard [CHESEN USB Keyboard] on usb-s3c24xx-2
input: CHESEN USB Keyboard as
/devices/platform/s3c2410-ohci/usb1/1-2/1-2:1.1/input/input20
input: USB HID v1.10 Device [CHESEN USB Keyboard] on usb-s3c24xx-2
usb 1-2: USB disconnect, address 12
s3c2410: changing usb to device
usb0: full speed config #1: 500 mA, Ethernet Gadget, using CDC Ethernet

So it sees the keyboard and knows what it is, but no keys work.  Is the
problem with X?

j



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