Re: openmoko works as an usb keyboard now
2011/11/4 Raphael Wimmer raphael.wim...@ifi.lmu.de: This is great! I have been waiting for such a gadget driver since I got my first Zaurus. Is there already a mouse gadget? I remember a quite similar project (not tested) allowing to use the Neo as an input. But it is non-standard: need to install a software on PC and NEO. http://projets.paulk.fr/neoinput/ (in french) -- Guilhem BONNEFILLE -=- JID: gu...@im.apinc.org MSN: guilhem_bonnefi...@hotmail.com -=- mailto:guilhem.bonnefi...@gmail.com -=- http://nathguil.free.fr/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
openmoko works as an usb keyboard now
Hi, 2.6.39 includes g_hid.ko that can be used to make the system appear as a usb keyboard to some usb host. It seems this is a platform driver but no platform in linux includes it. http://lindi.iki.fi/lindi/git/linux-hid-gadget.git/ is a fork of g_hid that works as an out-of-tree module and not a platform driver. I tested this with the unofficial linux-image-2.6.39-gta02-gta02 2.6.39-1gta021 package from http://lindi.iki.fi/lindi/openmoko/linux-2.6-gta02/ and it works! From /var/log/Xorg.0.log: ... (II) config/udev: Adding input device Linux 2.6.39-gta02-gta02 with s3c2410_udc HID Gadget (/dev/input/event7) (**) Linux 2.6.39-gta02-gta02 with s3c2410_udc HID Gadget: Applying InputClass evdev keyboard catchall (**) Linux 2.6.39-gta02-gta02 with s3c2410_udc HID Gadget: always reports core events (**) Linux 2.6.39-gta02-gta02 with s3c2410_udc HID Gadget: Device: /dev/input/event7 (II) Linux 2.6.39-gta02-gta02 with s3c2410_udc HID Gadget: Found keys (II) Linux 2.6.39-gta02-gta02 with s3c2410_udc HID Gadget: Configuring as keyboard (II) XINPUT: Adding extended input device Linux 2.6.39-gta02-gta02 with s3c2410_udc HID Gadget (type: KEYBOARD) (**) Option xkb_rules evdev (**) Option xkb_model pc105 (**) Option xkb_layout fi ... -Timo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: openmoko works as an usb keyboard now
This is great! I have been waiting for such a gadget driver since I got my first Zaurus. Is there already a mouse gadget? Raphael On Fri, 04 Nov 2011 16:07:27 +0100, Timo Juhani Lindfors timo.lindf...@iki.fi wrote: Hi, 2.6.39 includes g_hid.ko that can be used to make the system appear as a usb keyboard to some usb host. It seems this is a platform driver but no platform in linux includes it. http://lindi.iki.fi/lindi/git/linux-hid-gadget.git/ is a fork of g_hid that works as an out-of-tree module and not a platform driver. I tested this with the unofficial linux-image-2.6.39-gta02-gta02 2.6.39-1gta021 package from http://lindi.iki.fi/lindi/openmoko/linux-2.6-gta02/ and it works! From /var/log/Xorg.0.log: ... (II) config/udev: Adding input device Linux 2.6.39-gta02-gta02 with s3c2410_udc HID Gadget (/dev/input/event7) (**) Linux 2.6.39-gta02-gta02 with s3c2410_udc HID Gadget: Applying InputClass evdev keyboard catchall (**) Linux 2.6.39-gta02-gta02 with s3c2410_udc HID Gadget: always reports core events (**) Linux 2.6.39-gta02-gta02 with s3c2410_udc HID Gadget: Device: /dev/input/event7 (II) Linux 2.6.39-gta02-gta02 with s3c2410_udc HID Gadget: Found keys (II) Linux 2.6.39-gta02-gta02 with s3c2410_udc HID Gadget: Configuring as keyboard (II) XINPUT: Adding extended input device Linux 2.6.39-gta02-gta02 with s3c2410_udc HID Gadget (type: KEYBOARD) (**) Option xkb_rules evdev (**) Option xkb_model pc105 (**) Option xkb_layout fi ... -Timo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community -- Dipl.-Medieninf. Raphael Wimmer Wiss. Mitarbeiter / Research Assistant Doktorand / PhD student Ludwig-Maximilians-Universität München E-Mail: raphael.wim...@ifi.lmu.de LFE Medieninformatik Skype: real_raphman Amalienstr. 17 / Raum 206WWW: http://www.medien.ifi.lmu.de 80333 MünchenTel:+49 (89) 2180-4659 Germany Fax:+49 (89) 2180-99-4659 ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: openmoko works as an usb keyboard now
Raphael Wimmer raphael.wim...@ifi.lmu.de writes: I have been waiting for such a gadget driver since I got my first Zaurus. Is there already a mouse gadget? The same driver supports mouse too but needs small changes. -Timo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community