Re: USB keyboard in hostmode?

2008-08-21 Thread Geoff Ruscoe
On Wed, Aug 20, 2008 at 3:27 PM, Jay Vaughan [EMAIL PROTECTED] wrote:

  Do you have a source for this info? The only need for external
  components that
  I'm aware of is the 15k pulldowns when charging while in host mode.


 About two years ago I was working on getting USB Host mode working
 out of the box on the GP2X, and I ran into this problem - the
 missing cap/resistor combo meant that the USB Host controller
 interface wasn't able to accurately determine what sort of node it was
 communicating with, and thus the onboard Linux driver tried to treat
 it as a hub node when it was really just a 'terminal' node.  I don't
 have a reference for you on this, just going by memory ..


Can we have a keyboard with that includes batteries and supply juice to the
freerunner while in host mode?  That way when using the builkier setup with
the keyboard plugged into the usb, it could be charging the freerunner?  Or
are the host mode / charging mode multually exclusive?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: USB keyboard in hostmode?

2008-08-21 Thread Al Johnson
On Thursday 21 August 2008, Geoff Ruscoe wrote:
 On Wed, Aug 20, 2008 at 3:27 PM, Jay Vaughan [EMAIL PROTECTED] wrote:
   Do you have a source for this info? The only need for external
   components that
   I'm aware of is the 15k pulldowns when charging while in host mode.
 
  About two years ago I was working on getting USB Host mode working
  out of the box on the GP2X, and I ran into this problem - the
  missing cap/resistor combo meant that the USB Host controller
  interface wasn't able to accurately determine what sort of node it was
  communicating with, and thus the onboard Linux driver tried to treat
  it as a hub node when it was really just a 'terminal' node.  I don't
  have a reference for you on this, just going by memory ..

 Can we have a keyboard with that includes batteries and supply juice to the
 freerunner while in host mode?  That way when using the builkier setup with
 the keyboard plugged into the usb, it could be charging the freerunner?  Or
 are the host mode / charging mode multually exclusive?

http://wiki.openmoko.org/wiki/Neo1973_USB_host

You are essentially describing a variation on the three headed cable described 
in the wiki. A similar suggestion that has I think been done it to modify a 
battery powered hub to provide power to the Neo while it's in host mode.

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


Re: USB keyboard in hostmode?

2008-08-20 Thread Al Johnson
On Tuesday 19 August 2008, Jay Vaughan wrote:
  Maybe i should test it with a more simple usb keyboard without any
  extra
  functions.

 You should test your USB keyboard with the Freerunner, using a USB
 *HUB* in between, and see if that doesn't fix things.  IFAICT, there
 are details not-yet-well-understood regarding the nature of the
 termination and 'pull-up' resistor normally included on standard USB
 Host ports which may not be included with the Freerunner hardware
 design - meaning a simple female/female convertor isn't going to be
 enough, there will need to be a cap and a resistor included in the
 schematic in order to make the USB Host controller onboard the
 Freerunner believe it is talking to a proper USB hub node.  If this
 isn't there, the controller believes its only got a single device to
 talk with, physically, and in your case this isn't true - you've got
 two devices onboard.  So, you need the cap and resistor, I bet.

Do you have a source for this info? The only need for external components that 
I'm aware of is the 15k pulldowns when charging while in host mode. This 
information used to be in the wiki on the GTA02 Hardware page but has been 
moved or removed. It's still in the history though:
http://wiki.openmoko.org/index.php?title=Neo_FreeRunner_GTA02_Hardwareoldid=45860#USB_Host


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


Re: USB keyboard in hostmode?

2008-08-20 Thread Fox Mulder
For USB Hostmode to work with power from the internal battery no
hardware modification nor usb-hub is needed.
I found the problem why my usb keyboard doesn't work within X. I still
use 2007.2 with the newest daily builds but it seems that the
xserver-kdrive-glamo module is too old.
There was a bug in this module which prevents an external keyboard to be
used within X. The changelog says that it is fixed, but it seems that
this fixed version is not in the feeds for 2007.2. :(
The keyboard works fine for me when i stop X and use it just in the
console. As soon as i start X again the keyboard doesn't work anymore.

Here are the ticket for this problem:
http://docs.openmoko.org/trac/ticket/1796

which is solved in newer versions as this log shows:
http://git.openmoko.org/?p=xglamo.git;a=commit;h=cddd780c527fe923c55c1fa385fd909c419f024e

If someone find out how to upgrade to the newer fixed version of this
module than i'm happy to try it again. :)

Ciao,
 Rainer

Al Johnson wrote:
 On Tuesday 19 August 2008, Jay Vaughan wrote:
 Maybe i should test it with a more simple usb keyboard without any
 extra
 functions.
 You should test your USB keyboard with the Freerunner, using a USB
 *HUB* in between, and see if that doesn't fix things.  IFAICT, there
 are details not-yet-well-understood regarding the nature of the
 termination and 'pull-up' resistor normally included on standard USB
 Host ports which may not be included with the Freerunner hardware
 design - meaning a simple female/female convertor isn't going to be
 enough, there will need to be a cap and a resistor included in the
 schematic in order to make the USB Host controller onboard the
 Freerunner believe it is talking to a proper USB hub node.  If this
 isn't there, the controller believes its only got a single device to
 talk with, physically, and in your case this isn't true - you've got
 two devices onboard.  So, you need the cap and resistor, I bet.
 
 Do you have a source for this info? The only need for external components 
 that 
 I'm aware of is the 15k pulldowns when charging while in host mode. This 
 information used to be in the wiki on the GTA02 Hardware page but has been 
 moved or removed. It's still in the history though:
 http://wiki.openmoko.org/index.php?title=Neo_FreeRunner_GTA02_Hardwareoldid=45860#USB_Host
 
 
 ___
 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 keyboard in hostmode?

2008-08-19 Thread Joseph Reeves
Hi, that was me on the planet who used the usb keyboard for various
things on the Freerunner ( [1]  [2] )

I'm afraid I can't really give you much help as mine just worked.
Once power was applied it functioned like a usb keyboard on a desktop
pc.

How are you managing to connect your devices to the FreeRunner?

Not much help. I know, but I can tell you about how it *should* work;
basically OM2007.2 seems very keyboard friendly - whenever an
application has focus you should just be able to type away at it (like
the terminal in my example), you can also use the arrow keys to scroll
in the application menu or simply hit m to jump straight to the
mediaplayer, for example. You can also do ctrl + alt + f1 to change to
a second login terminal and return to matchbox with ctrl + alt + f2.
Numpty Physics works great with the keyboard shortcuts and I've sent
an email or two using my employers web based email system, the
keyboard and minimo. Essentially om2007.2 + keyboard = small sized
linux desktop machine.

There is a matchbox config file you can edit that will result in the
mouse cursor being displayed - this should help your efforts there.

Cheers,

Joseph


[1] http://blogs.thehumanjourney.net/finds/entry/20080716
[2] http://blogs.thehumanjourney.net/finds/entry/20080730


2008/8/19 Fox Mulder [EMAIL PROTECTED]:
 Hi,

 i tried to use my logitech usb keyboard with the freerunner with no luck so 
 far.
 I'm using 2007.2 with the latest uBoot Image and latest kernel/system updates.

 First i switched to usb hostmode and supplied the 5V to the usb port with the 
 following commands.

 echo host  /sys/devices/platform/s3c2410-ohci/usb_mode
 echo 1  /sys/devices/platform/neo1973-pm-host.0/hostmode

 After that i first tried it with an usb stick which works great. It was 
 recognized and i could
 access it as /dev/sda1.

 So far so good. Than i tried an usb mouse even when i didn't thought i could 
 use it, just for testing.
 I attached it (2x for testing) and it was recognized as hid device as shown 
 in the log. When i move the mouse
 and click the left button sometimes it seems to select applications in the 
 windowmanager, but i can't make
 any sensfull use with it.

 After that i came to the keyboard. I attached it (again 2x for testing) to 
 the neo it shows the enumeration
 in the logs and no errors. But now i can't do anything with the keyboard. In 
 an planet.openmoko.org article
 the keyboard is used in the terminal application. But i can't use it in any 
 application. I can't even change
 the led's for numlock oder shiftlock what makes me believe that the keyboard 
 isn't fully recognized by linux.
 I have no error messages like meantioned in the usb host wiki page, so i 
 think it should work without an usb
 hub.

 Has anybody successfully used an usb keyboard attached directly to the neo 
 and in which applications could it
 be used?
 Is there any step i'm missing after attaching the keyboard?


 Ciao,
 Rainer



 Log start for usb stick:
 
 Aug 18 21:53:44 IjonTichy user.warn kernel: s3c2410: changing usb to host

 Aug 18 21:54:53 IjonTichy user.info kernel: usb 1-2: new full speed USB 
 device using s3c2410-ohci and address 119
 Aug 18 21:54:54 IjonTichy user.info kernel: usb 1-2: configuration #1 chosen 
 from 1 choice
 Aug 18 21:54:54 IjonTichy user.notice kernel: SCSI subsystem initialized
 Aug 18 21:54:55 IjonTichy user.info kernel: Initializing USB Mass Storage 
 driver...
 Aug 18 21:54:55 IjonTichy user.info kernel: scsi0 : SCSI emulation for USB 
 Mass Storage devices
 Aug 18 21:54:55 IjonTichy user.info kernel: usbcore: registered new interface 
 driver usb-storage
 Aug 18 21:54:55 IjonTichy user.info kernel: USB Mass Storage support 
 registered.
 Aug 18 21:54:55 IjonTichy user.debug kernel: usb-storage: device found at 119
 Aug 18 21:54:55 IjonTichy user.debug kernel: usb-storage: waiting for device 
 to settle before scanning
 Aug 18 21:55:00 IjonTichy user.debug kernel: usb-storage: device scan complete
 Aug 18 21:55:00 IjonTichy user.notice kernel: scsi 0:0:0:0: Direct-Access 
 Corsair  VoyagerGT1100 PQ: 0 ANSI: 0 CCS
 Aug 18 21:55:00 IjonTichy user.warn kernel: Driver 'sd' needs updating - 
 please use bus_type methods
 Aug 18 21:55:00 IjonTichy user.notice kernel: sd 0:0:0:0: [sda] 4046848 
 512-byte hardware sectors (2072 MB)
 Aug 18 21:55:00 IjonTichy user.notice kernel: sd 0:0:0:0: [sda] Write Protect 
 is off
 Aug 18 21:55:00 IjonTichy user.debug kernel: sd 0:0:0:0: [sda] Mode Sense: 43 
 00 00 00
 Aug 18 21:55:00 IjonTichy user.err kernel: sd 0:0:0:0: [sda] Assuming drive 
 cache: write through
 Aug 18 21:55:00 IjonTichy user.notice kernel: sd 0:0:0:0: [sda] 4046848 
 512-byte hardware sectors (2072 MB)
 Aug 18 21:55:00 IjonTichy user.notice kernel: sd 0:0:0:0: [sda] Write Protect 
 is off
 Aug 18 21:55:00 IjonTichy user.debug kernel: sd 0:0:0:0: [sda] Mode Sense: 43 
 00 00 00
 Aug 18 

Re: USB keyboard in hostmode?

2008-08-19 Thread Fox Mulder
I use an usb female to female adapter with the standard neo usb cable to
attach the usb devices.
I think the problem is the keyboard itself. The keyboard has also a
mouse like scrollwheel integrated. And when i take a look in the
messages log i see that two devices appear when attaching the keyboard.
One keyboard and one mouse. After a few tests i can say that the
keyboard part isn't working at all, but the scrollwheel (mouse part)
seems to works. I can use the wheel to change between the three sections
at the bottom of the screen when the focus is on them.
Maybe i should test it with a more simple usb keyboard without any extra
functions.

Ciao,
 Rainer

Joseph Reeves wrote:
 Hi, that was me on the planet who used the usb keyboard for various
 things on the Freerunner ( [1]  [2] )
 
 I'm afraid I can't really give you much help as mine just worked.
 Once power was applied it functioned like a usb keyboard on a desktop
 pc.
 
 How are you managing to connect your devices to the FreeRunner?
 
 Not much help. I know, but I can tell you about how it *should* work;
 basically OM2007.2 seems very keyboard friendly - whenever an
 application has focus you should just be able to type away at it (like
 the terminal in my example), you can also use the arrow keys to scroll
 in the application menu or simply hit m to jump straight to the
 mediaplayer, for example. You can also do ctrl + alt + f1 to change to
 a second login terminal and return to matchbox with ctrl + alt + f2.
 Numpty Physics works great with the keyboard shortcuts and I've sent
 an email or two using my employers web based email system, the
 keyboard and minimo. Essentially om2007.2 + keyboard = small sized
 linux desktop machine.
 
 There is a matchbox config file you can edit that will result in the
 mouse cursor being displayed - this should help your efforts there.
 
 Cheers,
 
 Joseph
 
 
 [1] http://blogs.thehumanjourney.net/finds/entry/20080716
 [2] http://blogs.thehumanjourney.net/finds/entry/20080730
 
 
 2008/8/19 Fox Mulder [EMAIL PROTECTED]:
 Hi,

 i tried to use my logitech usb keyboard with the freerunner with no luck so 
 far.
 I'm using 2007.2 with the latest uBoot Image and latest kernel/system 
 updates.

 First i switched to usb hostmode and supplied the 5V to the usb port with 
 the following commands.

 echo host  /sys/devices/platform/s3c2410-ohci/usb_mode
 echo 1  /sys/devices/platform/neo1973-pm-host.0/hostmode

 After that i first tried it with an usb stick which works great. It was 
 recognized and i could
 access it as /dev/sda1.

 So far so good. Than i tried an usb mouse even when i didn't thought i could 
 use it, just for testing.
 I attached it (2x for testing) and it was recognized as hid device as shown 
 in the log. When i move the mouse
 and click the left button sometimes it seems to select applications in the 
 windowmanager, but i can't make
 any sensfull use with it.

 After that i came to the keyboard. I attached it (again 2x for testing) to 
 the neo it shows the enumeration
 in the logs and no errors. But now i can't do anything with the keyboard. In 
 an planet.openmoko.org article
 the keyboard is used in the terminal application. But i can't use it in any 
 application. I can't even change
 the led's for numlock oder shiftlock what makes me believe that the keyboard 
 isn't fully recognized by linux.
 I have no error messages like meantioned in the usb host wiki page, so i 
 think it should work without an usb
 hub.

 Has anybody successfully used an usb keyboard attached directly to the neo 
 and in which applications could it
 be used?
 Is there any step i'm missing after attaching the keyboard?


 Ciao,
 Rainer



 Log start for usb stick:
 
 Aug 18 21:53:44 IjonTichy user.warn kernel: s3c2410: changing usb to host

 Aug 18 21:54:53 IjonTichy user.info kernel: usb 1-2: new full speed USB 
 device using s3c2410-ohci and address 119
 Aug 18 21:54:54 IjonTichy user.info kernel: usb 1-2: configuration #1 chosen 
 from 1 choice
 Aug 18 21:54:54 IjonTichy user.notice kernel: SCSI subsystem initialized
 Aug 18 21:54:55 IjonTichy user.info kernel: Initializing USB Mass Storage 
 driver...
 Aug 18 21:54:55 IjonTichy user.info kernel: scsi0 : SCSI emulation for USB 
 Mass Storage devices
 Aug 18 21:54:55 IjonTichy user.info kernel: usbcore: registered new 
 interface driver usb-storage
 Aug 18 21:54:55 IjonTichy user.info kernel: USB Mass Storage support 
 registered.
 Aug 18 21:54:55 IjonTichy user.debug kernel: usb-storage: device found at 119
 Aug 18 21:54:55 IjonTichy user.debug kernel: usb-storage: waiting for device 
 to settle before scanning
 Aug 18 21:55:00 IjonTichy user.debug kernel: usb-storage: device scan 
 complete
 Aug 18 21:55:00 IjonTichy user.notice kernel: scsi 0:0:0:0: Direct-Access
  Corsair  VoyagerGT1100 PQ: 0 ANSI: 0 CCS
 Aug 18 21:55:00 IjonTichy user.warn kernel: Driver 'sd' needs 

Re: USB keyboard in hostmode?

2008-08-19 Thread Joseph Reeves
I wonder if the FreeRunner is simply not supplying enough power for
the keyboard? There's probably a way of finding out, but I don't know
it off the top of my head. A three headed cable might fix your
problems (as described on the wiki), but you're right in saying that
the best test might be to use a simpler keyboard.

Cheers,

Joseph



2008/8/19 Fox Mulder [EMAIL PROTECTED]:
 I use an usb female to female adapter with the standard neo usb cable to
 attach the usb devices.
 I think the problem is the keyboard itself. The keyboard has also a
 mouse like scrollwheel integrated. And when i take a look in the
 messages log i see that two devices appear when attaching the keyboard.
 One keyboard and one mouse. After a few tests i can say that the
 keyboard part isn't working at all, but the scrollwheel (mouse part)
 seems to works. I can use the wheel to change between the three sections
 at the bottom of the screen when the focus is on them.
 Maybe i should test it with a more simple usb keyboard without any extra
 functions.

 Ciao,
 Rainer

 Joseph Reeves wrote:
 Hi, that was me on the planet who used the usb keyboard for various
 things on the Freerunner ( [1]  [2] )

 I'm afraid I can't really give you much help as mine just worked.
 Once power was applied it functioned like a usb keyboard on a desktop
 pc.

 How are you managing to connect your devices to the FreeRunner?

 Not much help. I know, but I can tell you about how it *should* work;
 basically OM2007.2 seems very keyboard friendly - whenever an
 application has focus you should just be able to type away at it (like
 the terminal in my example), you can also use the arrow keys to scroll
 in the application menu or simply hit m to jump straight to the
 mediaplayer, for example. You can also do ctrl + alt + f1 to change to
 a second login terminal and return to matchbox with ctrl + alt + f2.
 Numpty Physics works great with the keyboard shortcuts and I've sent
 an email or two using my employers web based email system, the
 keyboard and minimo. Essentially om2007.2 + keyboard = small sized
 linux desktop machine.

 There is a matchbox config file you can edit that will result in the
 mouse cursor being displayed - this should help your efforts there.

 Cheers,

 Joseph


 [1] http://blogs.thehumanjourney.net/finds/entry/20080716
 [2] http://blogs.thehumanjourney.net/finds/entry/20080730


 2008/8/19 Fox Mulder [EMAIL PROTECTED]:
 Hi,

 i tried to use my logitech usb keyboard with the freerunner with no luck so 
 far.
 I'm using 2007.2 with the latest uBoot Image and latest kernel/system 
 updates.

 First i switched to usb hostmode and supplied the 5V to the usb port with 
 the following commands.

 echo host  /sys/devices/platform/s3c2410-ohci/usb_mode
 echo 1  /sys/devices/platform/neo1973-pm-host.0/hostmode

 After that i first tried it with an usb stick which works great. It was 
 recognized and i could
 access it as /dev/sda1.

 So far so good. Than i tried an usb mouse even when i didn't thought i 
 could use it, just for testing.
 I attached it (2x for testing) and it was recognized as hid device as shown 
 in the log. When i move the mouse
 and click the left button sometimes it seems to select applications in the 
 windowmanager, but i can't make
 any sensfull use with it.

 After that i came to the keyboard. I attached it (again 2x for testing) to 
 the neo it shows the enumeration
 in the logs and no errors. But now i can't do anything with the keyboard. 
 In an planet.openmoko.org article
 the keyboard is used in the terminal application. But i can't use it in any 
 application. I can't even change
 the led's for numlock oder shiftlock what makes me believe that the 
 keyboard isn't fully recognized by linux.
 I have no error messages like meantioned in the usb host wiki page, so i 
 think it should work without an usb
 hub.

 Has anybody successfully used an usb keyboard attached directly to the neo 
 and in which applications could it
 be used?
 Is there any step i'm missing after attaching the keyboard?


 Ciao,
 Rainer



 Log start for usb stick:
 
 Aug 18 21:53:44 IjonTichy user.warn kernel: s3c2410: changing usb to host

 Aug 18 21:54:53 IjonTichy user.info kernel: usb 1-2: new full speed USB 
 device using s3c2410-ohci and address 119
 Aug 18 21:54:54 IjonTichy user.info kernel: usb 1-2: configuration #1 
 chosen from 1 choice
 Aug 18 21:54:54 IjonTichy user.notice kernel: SCSI subsystem initialized
 Aug 18 21:54:55 IjonTichy user.info kernel: Initializing USB Mass Storage 
 driver...
 Aug 18 21:54:55 IjonTichy user.info kernel: scsi0 : SCSI emulation for USB 
 Mass Storage devices
 Aug 18 21:54:55 IjonTichy user.info kernel: usbcore: registered new 
 interface driver usb-storage
 Aug 18 21:54:55 IjonTichy user.info kernel: USB Mass Storage support 
 registered.
 Aug 18 21:54:55 IjonTichy user.debug kernel: usb-storage: device found at 
 

Re: USB keyboard in hostmode?

2008-08-19 Thread Fox Mulder
I think the power supply isn't the problem because the mouse part works.
I could also press the function key (a special led indicates the
success) which sets the function keys to F1 - F12 and not to special
logitech functions. On the back of the keyboard the specification says
that it only needs 75mA current, which should be no problem at all.
I think i will try it with a normal usb keyboard at work.

Ciao,
 Rainer

Joseph Reeves wrote:
 I wonder if the FreeRunner is simply not supplying enough power for
 the keyboard? There's probably a way of finding out, but I don't know
 it off the top of my head. A three headed cable might fix your
 problems (as described on the wiki), but you're right in saying that
 the best test might be to use a simpler keyboard.
 
 Cheers,
 
 Joseph
 
 
 
 2008/8/19 Fox Mulder [EMAIL PROTECTED]:
 I use an usb female to female adapter with the standard neo usb cable to
 attach the usb devices.
 I think the problem is the keyboard itself. The keyboard has also a
 mouse like scrollwheel integrated. And when i take a look in the
 messages log i see that two devices appear when attaching the keyboard.
 One keyboard and one mouse. After a few tests i can say that the
 keyboard part isn't working at all, but the scrollwheel (mouse part)
 seems to works. I can use the wheel to change between the three sections
 at the bottom of the screen when the focus is on them.
 Maybe i should test it with a more simple usb keyboard without any extra
 functions.

 Ciao,
 Rainer

 Joseph Reeves wrote:
 Hi, that was me on the planet who used the usb keyboard for various
 things on the Freerunner ( [1]  [2] )

 I'm afraid I can't really give you much help as mine just worked.
 Once power was applied it functioned like a usb keyboard on a desktop
 pc.

 How are you managing to connect your devices to the FreeRunner?

 Not much help. I know, but I can tell you about how it *should* work;
 basically OM2007.2 seems very keyboard friendly - whenever an
 application has focus you should just be able to type away at it (like
 the terminal in my example), you can also use the arrow keys to scroll
 in the application menu or simply hit m to jump straight to the
 mediaplayer, for example. You can also do ctrl + alt + f1 to change to
 a second login terminal and return to matchbox with ctrl + alt + f2.
 Numpty Physics works great with the keyboard shortcuts and I've sent
 an email or two using my employers web based email system, the
 keyboard and minimo. Essentially om2007.2 + keyboard = small sized
 linux desktop machine.

 There is a matchbox config file you can edit that will result in the
 mouse cursor being displayed - this should help your efforts there.

 Cheers,

 Joseph


 [1] http://blogs.thehumanjourney.net/finds/entry/20080716
 [2] http://blogs.thehumanjourney.net/finds/entry/20080730


 2008/8/19 Fox Mulder [EMAIL PROTECTED]:
 Hi,

 i tried to use my logitech usb keyboard with the freerunner with no luck 
 so far.
 I'm using 2007.2 with the latest uBoot Image and latest kernel/system 
 updates.

 First i switched to usb hostmode and supplied the 5V to the usb port with 
 the following commands.

 echo host  /sys/devices/platform/s3c2410-ohci/usb_mode
 echo 1  /sys/devices/platform/neo1973-pm-host.0/hostmode

 After that i first tried it with an usb stick which works great. It was 
 recognized and i could
 access it as /dev/sda1.

 So far so good. Than i tried an usb mouse even when i didn't thought i 
 could use it, just for testing.
 I attached it (2x for testing) and it was recognized as hid device as 
 shown in the log. When i move the mouse
 and click the left button sometimes it seems to select applications in the 
 windowmanager, but i can't make
 any sensfull use with it.

 After that i came to the keyboard. I attached it (again 2x for testing) to 
 the neo it shows the enumeration
 in the logs and no errors. But now i can't do anything with the keyboard. 
 In an planet.openmoko.org article
 the keyboard is used in the terminal application. But i can't use it in 
 any application. I can't even change
 the led's for numlock oder shiftlock what makes me believe that the 
 keyboard isn't fully recognized by linux.
 I have no error messages like meantioned in the usb host wiki page, so i 
 think it should work without an usb
 hub.

 Has anybody successfully used an usb keyboard attached directly to the neo 
 and in which applications could it
 be used?
 Is there any step i'm missing after attaching the keyboard?


 Ciao,
 Rainer



 Log start for usb stick:
 
 Aug 18 21:53:44 IjonTichy user.warn kernel: s3c2410: changing usb to host

 Aug 18 21:54:53 IjonTichy user.info kernel: usb 1-2: new full speed USB 
 device using s3c2410-ohci and address 119
 Aug 18 21:54:54 IjonTichy user.info kernel: usb 1-2: configuration #1 
 chosen from 1 choice
 Aug 18 21:54:54 IjonTichy user.notice kernel: SCSI subsystem 

Re: USB keyboard in hostmode?

2008-08-19 Thread Fox Mulder
Now i tested it with an usb hub but the behaviour is the same.
In the log it shows that it found the hub and after attaching the
keyboard it found both hid devices (keyboard and mouse). But again only
the mouse part works and the keyboard does nothing. The log doesn't show
any relevant difference when i connect the keyboard through the hub
compared to directly attached.

Ciao,
 Rainer

PS: The keyboard works with windows without any special driver. ;)

Jay Vaughan wrote:
 Maybe i should test it with a more simple usb keyboard without any  
 extra
 functions.

 
 You should test your USB keyboard with the Freerunner, using a USB  
 *HUB* in between, and see if that doesn't fix things.  IFAICT, there  
 are details not-yet-well-understood regarding the nature of the  
 termination and 'pull-up' resistor normally included on standard USB  
 Host ports which may not be included with the Freerunner hardware  
 design - meaning a simple female/female convertor isn't going to be  
 enough, there will need to be a cap and a resistor included in the  
 schematic in order to make the USB Host controller onboard the  
 Freerunner believe it is talking to a proper USB hub node.  If this  
 isn't there, the controller believes its only got a single device to  
 talk with, physically, and in your case this isn't true - you've got  
 two devices onboard.  So, you need the cap and resistor, I bet.
 
 Easiest way to get them: put a USB hub in between, and see if that  
 makes things better.
 
 
 ;
 --
 Jay Vaughan
 
 
 
 
 
 ___
 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 keyboard in hostmode?

2008-08-19 Thread Fox Mulder
I think i found the problem why the keyboard isn't working.
I went to a friend and after a few tests with his usb keyboard we found
out, that the keyboard works, but only within the console and not in the
X environment. After a short search i found a ticket which exactly
describes my problem:

http://docs.openmoko.org/trac/ticket/1796
which is related to
http://git.openmoko.org/?p=xglamo.git;a=commit;h=cddd780c527fe923c55c1fa385fd909c419f024e

As solution zecke meantioned to upgrade to the latest Xglamo version
which fixes this bug. But for my currently installed 2007.2 the latest
version in the repository is

xserver-kdrive-glamo-1:1.3.0.0+git1+4067470ea4d569bae7b4161ca998645a0c9b96e7-r6

which seems to be broken. And i don't want to install 2008.8 because it
lacks too much at the moment.

So how could i update my xserver-kdrive-glamo to a newer version where
the usb keyboard problem is fixed?

Ciao,
 Rainer

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