Re: USB keyboards "silent" in terminal (FSO)
On Mon, 25 Aug 2008 00:48:24 +0200 Fredrik Wendt <[EMAIL PROTECTED]> babbled: > ons 2008-08-20 klockan 11:09 +1000 skrev Carsten Haitzler: > > > aaah excellent. my "hardware keyboard detection" works... reported with > > bluetooth and usb... excellent! happiness is me. :) > > When is it supposed to kick in? I just can't get it to work ... Under > FSO M2 I got /dev/input/event5 populated (after manually switching to > USB host mode), and it works in console but ran into > http://docs.openmoko.org/trac/ticket/1796 regarding X. oh i just worried about detecting a "real physical keyboard" is there. didn't worry about it actually delivering events in x... :) > Using > openmoko-openmoko-devel-image-glibc-ipk--20080824-om-gta02.rootfs.jffs2 > uImage-2.6.24+git36 > +a1e97c611253511ffc2d8c45e3e6d6894fa03fa3-r2-om-gta02.bin > from buildhost/daily/freerunner/ I get zip out of the same keyboard that > worked with FSO M2. > > I tried connecting the USB keyboard after my FreeRunner was connected to > my laptop (first: FR connected to laptop, unplug, plug keyboard to FR) > and also have the USB keyboard connected on boot (first: FR is off, > connect keyboard, power on FR). > > Not having pand in that devel-image really made things more difficult to > test. I guess I could try getting FR to use wifi and ssh from my > computer to see what's going on, but using bluetooth is just easier to > set up. > > / Fredrik > -- Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]> ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: USB keyboards "silent" in terminal (FSO)
ons 2008-08-20 klockan 11:09 +1000 skrev Carsten Haitzler: > aaah excellent. my "hardware keyboard detection" works... reported with > bluetooth and usb... excellent! happiness is me. :) When is it supposed to kick in? I just can't get it to work ... Under FSO M2 I got /dev/input/event5 populated (after manually switching to USB host mode), and it works in console but ran into http://docs.openmoko.org/trac/ticket/1796 regarding X. Using openmoko-openmoko-devel-image-glibc-ipk--20080824-om-gta02.rootfs.jffs2 uImage-2.6.24+git36 +a1e97c611253511ffc2d8c45e3e6d6894fa03fa3-r2-om-gta02.bin from buildhost/daily/freerunner/ I get zip out of the same keyboard that worked with FSO M2. I tried connecting the USB keyboard after my FreeRunner was connected to my laptop (first: FR connected to laptop, unplug, plug keyboard to FR) and also have the USB keyboard connected on boot (first: FR is off, connect keyboard, power on FR). Not having pand in that devel-image really made things more difficult to test. I guess I could try getting FR to use wifi and ssh from my computer to see what's going on, but using bluetooth is just easier to set up. / Fredrik signature.asc Description: Detta är en digitalt signerad meddelandedel ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: USB keyboards "silent" in terminal (FSO)
xserver-kdrive-glamo - 1:1.3.0.0+git2839+4067470ea4d569bae7b4161ca998645a0c9b96e7-r6 - OM2008.08 pointing at Zecke testing feeds, 'opkg update'd daily. j On Wed, 20 Aug 2008 11:58:15 +0200, Benito Torres <[EMAIL PROTECTED]> wrote: > On Tue, Aug 19, 2008 at 21:04 (-0400), Joel Newkirk wrote: >> With 2008.08 when I plug in any simple (IE single USB >> device, no extraneous lighted keys) keyboard it is >> functional, and the onscreen keyboard silently goes away as >> long as it's plugged in. > > Would you tell me which version of xserver-kdrive-glamo you're using? > > Thx, > /Ben > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: USB keyboards "silent" in terminal (FSO)
On Tue, Aug 19, 2008 at 21:04 (-0400), Joel Newkirk wrote: > With 2008.08 when I plug in any simple (IE single USB > device, no extraneous lighted keys) keyboard it is > functional, and the onscreen keyboard silently goes away as > long as it's plugged in. Would you tell me which version of xserver-kdrive-glamo you're using? Thx, /Ben ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: USB keyboards "silent" in terminal (FSO)
On Wed, 20 Aug 2008 11:09:56 +1000, Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]> wrote: > On Tue, 19 Aug 2008 21:04:41 -0400 "Joel Newkirk" <[EMAIL PROTECTED]> > babbled: > >> With 2008.08 when I plug in any simple (IE single USB >> device, no extraneous lighted keys) keyboard it is >> functional, and the onscreen keyboard silently goes away as > > aaah excellent. my "hardware keyboard detection" works... reported with > bluetooth and usb... excellent! happiness is me. :) And me as well... Thank you sir for your myriad efforts to allow us to actually type something useful unto our Freerunners. j > -- > Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]> ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: USB keyboards "silent" in terminal (FSO)
On Tue, 19 Aug 2008 21:04:41 -0400 "Joel Newkirk" <[EMAIL PROTECTED]> babbled: > With 2008.08 when I plug in any simple (IE single USB > device, no extraneous lighted keys) keyboard it is > functional, and the onscreen keyboard silently goes away as aaah excellent. my "hardware keyboard detection" works... reported with bluetooth and usb... excellent! happiness is me. :) -- Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]> ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: USB keyboards "silent" in terminal (FSO)
I've gotten a few keyboards to work successfully in 2008.08, and a few would not work. One that would not work was no surprise to me - a Dell keyboard with a builtin USB hub - the keyboard and volume knob appear as individual USB devices, requiring an internal hub in the keyboard. That particular keyboard, unlike most, actually tells me on the bottom label that it requires 1.5A, which is why I was unsurprised. I don't know what current the Freerunner is capable of supplying to the USB port, but I'd be surprised if it could pump out 1.5A... (and even if it could it seems unlikely to last more than an hour or so ;) With 2008.08 when I plug in any simple (IE single USB device, no extraneous lighted keys) keyboard it is functional, and the onscreen keyboard silently goes away as long as it's plugged in. I'm awaiting a powerable USB hub I ordered to test if that permits the more complex keyboard to work as well. j - Original Message - From: Benito Torres <[EMAIL PROTECTED]> To: community@lists.openmoko.org Subject: Re: USB keyboards "silent" in terminal (FSO) Date: Tue, 19 Aug 2008 21:44:05 +0200 > On Tue, Aug 19, 2008 at 20:57 (+0200), Benito wrote: > > I dare to jump in as I have the same problem. > > Just found this: http://docs.openmoko.org/trac/ticket/1796 > (see Message-ID: <[EMAIL PROTECTED]> on this list). > > And this: > http://downloads.openmoko.org/framework/milestone2/updates/armv4t/xserver-kdrive-glamo_1.3.0.0+git4147f80c0bfedaff7749bccbd1e1d566dee0e04c-r7_armv4t.ipk > On my FSO-system there's > 1:1.3.0.0+gita51364e2f23d4b6331c5ed613ce3f7e15f8e540f-r6 > installed, which according to the git-commit-dates is > older than the afore mentioned ipk. For some reason the > ipk is not included in the fso-arm4vt-feed. > > After installation of the newer package and a reboot I had > to find that this sadly doesn't help with my > keyboard-problem. I'll try a real usb-keyboard (without > that usb<->ps/2-converter) before complaining further, but > as both mice (usb and ps/2) now work (funny thing without > a cursor :) I suppose the additional converter is not the > problem. > > So for now there's more light shed on the issue but the > story continues... > > Cheers, > /Ben > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: USB keyboards "silent" in terminal (FSO)
On Tue, Aug 19, 2008 at 20:57 (+0200), Benito wrote: > I dare to jump in as I have the same problem. Just found this: http://docs.openmoko.org/trac/ticket/1796 (see Message-ID: <[EMAIL PROTECTED]> on this list). And this: http://downloads.openmoko.org/framework/milestone2/updates/armv4t/xserver-kdrive-glamo_1.3.0.0+git4147f80c0bfedaff7749bccbd1e1d566dee0e04c-r7_armv4t.ipk On my FSO-system there's 1:1.3.0.0+gita51364e2f23d4b6331c5ed613ce3f7e15f8e540f-r6 installed, which according to the git-commit-dates is older than the afore mentioned ipk. For some reason the ipk is not included in the fso-arm4vt-feed. After installation of the newer package and a reboot I had to find that this sadly doesn't help with my keyboard-problem. I'll try a real usb-keyboard (without that usb<->ps/2-converter) before complaining further, but as both mice (usb and ps/2) now work (funny thing without a cursor :) I suppose the additional converter is not the problem. So for now there's more light shed on the issue but the story continues... Cheers, /Ben ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: USB keyboards "silent" in terminal (FSO)
I dare to jump in as I have the same problem. On Sun, Aug 10, 2008 at 12:39 (+0200), Fredrik Wendt wrote: > sön 2008-08-10 klockan 13:00 +0300 skrev Timo Juhani Lindfors: > > What does "lsof | grep glamo" print? glamo-spi 172 root cwdDIR 31,6 0 1 / glamo-spi 172 root rtdDIR 31,6 0 1 / (Same with and without keyboard plugged in.) > > What appears to dmesg when you plug the keyboard in? usb-keyboard (through an usb-socket to mini-usb-plug-converter). usb 1-2: new low speed USB device using s3c2410-ohci and address 2 usb 1-2: configuration #1 chosen from 1 choice input: HID 046a:0021 as /devices/platform/s3c2410-ohci/usb1/1-2/1-2:1.0/input/input7 input: USB HID v1.11 Keyboard [HID 046a:0021] on usb-s3c24xx-2 input: HID 046a:0021 as /devices/platform/s3c2410-ohci/usb1/1-2/1-2:1.1/input/input8 input: USB HID v1.11 Device [HID 046a:0021] on usb-s3c24xx-2 ps/2-keyboard (through an additional usb<->ps/2-converter): usb 1-2: new low speed USB device using s3c2410-ohci and address 2 usb 1-2: configuration #1 chosen from 1 choice input: CHESEN PS2 to USB Converter as /devices/platform/s3c2410-ohci/usb1/1-2/1-2:1.0/input/input9 input: USB HID v1.10 Keyboard [CHESEN PS2 to USB Converter] on usb-s3c24xx-2 input: CHESEN PS2 to USB Converter as /devices/platform/s3c2410-ohci/usb1/1-2/1-2:1.1/input/input10 input: USB HID v1.10 Mouse [CHESEN PS2 to USB Converter] on usb-s3c24xx-2 Any ideas? Cheers, /Ben ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: USB keyboards "silent" in terminal (FSO)
sön 2008-08-10 klockan 13:00 +0300 skrev Timo Juhani Lindfors: > Hi, > > Fredrik Wendt <[EMAIL PROTECTED]> writes: > > I've been able to connect two keyboards, they light up but doesn't > > "work" in the terminal (FSO). Is there something I can do to enable > > input from these external devices? > > Does it work outside X? Yes. As stated in my mail, I used it in the console without problems. > What does "lsof | grep glamo" print? > > What appears to dmesg when you plug the keyboard in? Can't tell, my phone's completely dead after it drained the battery tonight. I'm waiting for support@ to help me get it to boot again. :( / Fredrik Wendt signature.asc Description: Detta är en digitalt signerad meddelandedel ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: USB keyboards "silent" in terminal (FSO)
Hi, Fredrik Wendt <[EMAIL PROTECTED]> writes: > I've been able to connect two keyboards, they light up but doesn't > "work" in the terminal (FSO). Is there something I can do to enable > input from these external devices? Does it work outside X? What does "lsof | grep glamo" print? What appears to dmesg when you plug the keyboard in? ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: USB keyboards "silent" in terminal (FSO)
sön 2008-08-10 klockan 10:50 +0200 skrev Peter Trapp: > Von: "Fredrik Wendt" > Do you want to use a USB keyboard with your FR? Yes. > I found in the community ML following answer, but I have not tested though... > > HTH Well, that's the first basic step (which I did of course) - to setup the FR in host mode but that basic step doesn't make HID keyboards/devices work in X which is what I'm after. Thanks anyway. :) / Fredrik signature.asc Description: Detta är en digitalt signerad meddelandedel ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: USB keyboards "silent" in terminal (FSO)
Von: "Fredrik Wendt" > I bought a USB gender changer (5€) and today I've played with it to see > what the smartphone's capable of. I really only have one goal and that > is to avoid having to buy a BT keyboard for faster input in the > terminal. > > I've been able to connect two keyboards, they light up but doesn't > "work" in the terminal (FSO). Is there something I can do to enable > input from these external devices? > Do you want to use a USB keyboard with your FR? I found in the community ML following answer, but I have not tested though... In [1] Michael Sheldon said: -- I am, it's pretty simple, just run: echo "host" > /sys/devices/platform/s3c2410-ohci/usb_mode echo "1" > /sys/devices/platform/neo1973-pm-host.0/hostmode This'll put the Freerunner in to powered USB host mode, then just plug in the keyboard and it'll work. Personally I've made a .desktop file to switch into and out of host mode. To switch back to unpowered device mode just run: echo "device" > /sys/devices/platform/s3c2410-ohci/usb_mode echo "0" > /sys/devices/platform/neo1973-pm-host.0/hostmode - HTH -homyx [1] http://lists.openmoko.org/pipermail/community/2008-August/025729.html -- for Windows problems reboot for Linux problems be root ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
USB keyboards "silent" in terminal (FSO)
Hi. I bought a USB gender changer (5€) and today I've played with it to see what the smartphone's capable of. I really only have one goal and that is to avoid having to buy a BT keyboard for faster input in the terminal. I've been able to connect two keyboards, they light up but doesn't "work" in the terminal (FSO). Is there something I can do to enable input from these external devices? In X: Neither keyboard worked = generated characters in the terminal under X. If I chvt 1 to the console (actually had to /etc/init.d/xserver-nodm stop for chvt to work properly): Characters do appear but the keyboard is not recognized as a swedish one. I can't get either of € or £ to appear. I'd be very happy if anyone could tell me what to do. Thanks in advance, Fredrik Wendt Devices tested: lsusb: ID 0781:5406 SanDisk Corp. Cruzer Micro 4GB Flash Drive dmesg: scsi 5:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 4.04 PQ: 0 ANSI: 2 note: memory stick result: Seemed to work as it should. lsusb: ID 1050:0010 dmesg: input,hidraw0: USB HID v1.11 Keyboard [Yubico Yubico Yubikey] note: miniature keyboard from Yubico.com - used for authentication (I use it with OpenID) result: dmesg happily reports that it's inserted. Something creates /dev/input/input5 and if I cat/echo that I get data when the button/key on the Yubikey is pressed. The terminal doesn't get the input though (having the built in keyboard visible/hidden makes no difference). lsusb: ID 0a5c:200a Broadcom Corp. Bluetooth dongle dmesg: - note: bluetooth dongle from Broadcom (I've used it extensively listening to music with my A2DP headset) result: Seems to work just fine - dmesg mentions it and hciconfig shows the device. Will use this interface/device to compare A2DP performance with the built-in bluetooth interface/device. lsusb: ID 04b3:3025 IBM Corp. dmesg: input,hidraw0: USB HID v1.10 Keyboard [LITE-ON Technology USB NetVista Full Width Keyboard.] note: the keyboard I got from Lenovo with my ThinkPad T61 result: Seems to work just fine. NumLock is lit/turned off when pressed. /dev/input/event5 is created when the keyboard is inserted and data comes running in when keys are pressed. The terminal doesn't get the input though (having the built in keyboard visible/hidden makes no difference). signature.asc Description: Detta är en digitalt signerad meddelandedel ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community