Re: usb network dongle (was Re: dhcp on usb0)

2007-12-07 Thread Jay Vaughan

this is kind of going off at a tangent, but are there any decent usb
network interfaces with linux drivers included in OM? personally, i
would rather connect my neo direct to the router in my house than have
to boot a computer as well, whenever i want to update packages. or are
there other reasons to make this impractical?




The question I have about this is how do we connect USB devices to  
the neo?  Isn't it so that the USB Host port is only on the debug  
board?  If so, thats mighty fidgety to plug in and get set up with a  
USB hub and so .. I must confess I have cursed at the ribbon cable  
and its feeble, wimpy, connectors more than a few times since I got  
my neo ..


;
--
Jay Vaughan





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


Re: usb network dongle (was Re: dhcp on usb0)

2007-12-07 Thread Al Johnson
On Friday 07 December 2007, Jay Vaughan wrote:
  this is kind of going off at a tangent, but are there any decent usb
  network interfaces with linux drivers included in OM? personally, i
  would rather connect my neo direct to the router in my house than have
  to boot a computer as well, whenever i want to update packages. or are
  there other reasons to make this impractical?

 The question I have about this is how do we connect USB devices to
 the neo?  Isn't it so that the USB Host port is only on the debug
 board?  If so, thats mighty fidgety to plug in and get set up with a
 USB hub and so .. I must confess I have cursed at the ribbon cable
 and its feeble, wimpy, connectors more than a few times since I got
 my neo ..

The USB connector on the Neo can be switched from client to host mode, but 
last I heard (some time ago now) the code to do the switching hadn't been 
implemented. You also need the host mode cable which IIRC only comes with the 
developers' version, or you can make one yourself. Then you either need 
self-powered devices, a self-powered hub or a cable mod to provide the 5V 
because the GTA01 can't provide the power for devices.


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


Re: usb network dongle (was Re: dhcp on usb0)

2007-12-07 Thread Joe Pfeiffer
Jay Vaughan writes:

The question I have about this is how do we connect USB devices to  
the neo?  Isn't it so that the USB Host port is only on the debug  
board?  If so, thats mighty fidgety to plug in and get set up with a  
USB hub and so .. I must confess I have cursed at the ribbon cable  
and its feeble, wimpy, connectors more than a few times since I got  
my neo ..

No, the USB connector on the NEO is a mini-AB.  That means you can
connect either type of cable to it, and hardware-wise it can be either
host or device.  I'm not sure whether the host driver is working yet,
though.

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


Re: usb network dongle (was Re: dhcp on usb0)

2007-12-07 Thread Jay Vaughan
The USB connector on the Neo can be switched from client to host  
mode, but
last I heard (some time ago now) the code to do the switching  
hadn't been

implemented.


Thats very interesting - if anyone has any technical details on how  
this works I'd like to hear about it because there are USB devices  
(MIDI interface) I'd very much like to get working with my neo if I  
can ..



You also need the host mode cable which IIRC only comes with the
developers' version, or you can make one yourself. Then you either  
need
self-powered devices, a self-powered hub or a cable mod to provide  
the 5V

because the GTA01 can't provide the power for devices.



Okay, I have two advanced developers kits (with boards), but I don't  
have any special cable .. or do I?  How does it work?



;
--
Jay Vaughan





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


Re: usb network dongle (was Re: dhcp on usb0)

2007-12-07 Thread Jeff Andros
On 12/7/07, Al Johnson [EMAIL PROTECTED] wrote:

 On Friday 07 December 2007, Jay Vaughan wrote:
   The USB connector on the Neo can be switched from client to host
   mode, but
   last I heard (some time ago now) the code to do the switching
   hadn't been
   implemented.
 
  Thats very interesting - if anyone has any technical details on how
  this works I'd like to hear about it because there are USB devices
  (MIDI interface) I'd very much like to get working with my neo if I
  can ..

 Just found this - looks like there's now a patch
 http://wiki.openmoko.org/wiki/Neo1973_USB_host

   You also need the host mode cable which IIRC only comes with the
  
   developers' version, or you can make one yourself. Then you either
   need
   self-powered devices, a self-powered hub or a cable mod to provide
   the 5V
   because the GTA01 can't provide the power for devices.
 
  Okay, I have two advanced developers kits (with boards), but I don't
  have any special cable .. or do I?  How does it work?

 Sean's 'New Oceans' announcement on 27/06/2007 said the dev kit would
 include
 a USB host mode cable that wouldn't be included with the base model. This
 doesn't appear in the specs at openmoko.com though, so perhaps they never
 shipped them. See the link above for instructions on a DIY cable.

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


I looked for this when my advanced kit showed up, the response I got was
that the host mode cable had been canceled:
http://lists.openmoko.org/pipermail/device-owners/2007-August/000219.html

-- 
Jeff
O|||O
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: usb network dongle (was Re: dhcp on usb0)

2007-12-07 Thread Al Johnson
On Friday 07 December 2007, Jay Vaughan wrote:
  The USB connector on the Neo can be switched from client to host
  mode, but
  last I heard (some time ago now) the code to do the switching
  hadn't been
  implemented.

 Thats very interesting - if anyone has any technical details on how
 this works I'd like to hear about it because there are USB devices
 (MIDI interface) I'd very much like to get working with my neo if I
 can ..

Just found this - looks like there's now a patch
http://wiki.openmoko.org/wiki/Neo1973_USB_host

  You also need the host mode cable which IIRC only comes with the
 
  developers' version, or you can make one yourself. Then you either
  need
  self-powered devices, a self-powered hub or a cable mod to provide
  the 5V
  because the GTA01 can't provide the power for devices.

 Okay, I have two advanced developers kits (with boards), but I don't
 have any special cable .. or do I?  How does it work?

Sean's 'New Oceans' announcement on 27/06/2007 said the dev kit would include 
a USB host mode cable that wouldn't be included with the base model. This 
doesn't appear in the specs at openmoko.com though, so perhaps they never 
shipped them. See the link above for instructions on a DIY cable.

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


usb network dongle (was Re: dhcp on usb0)

2007-12-06 Thread Robin Paulson
On 07/12/2007, Joe Pfeiffer [EMAIL PROTECTED] wrote:
 But I'd like it to do this automatically when plug the usb cable in,
 and haven't been able to find a way to get that to happen.  I didn't
 have any luck with either

 auto usb0
 allow-hotplug usb0

 in /etc/network/interfaces

 In both cases, I still need to start up the terminal and do an
 ifup usb0...

this is kind of going off at a tangent, but are there any decent usb
network interfaces with linux drivers included in OM? personally, i
would rather connect my neo direct to the router in my house than have
to boot a computer as well, whenever i want to update packages. or are
there other reasons to make this impractical?

yes, i realise there's a power issue, but there are many powered USB
hubs out there. and power over ethernet is also a solution. ditto for
charging the neo

seems a whole lot easier way of connecting as well

cross-posted to community

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


Re: usb network dongle (was Re: dhcp on usb0)

2007-12-06 Thread Rod Whitby
Robin Paulson wrote:
 this is kind of going off at a tangent, but are there any decent usb
 network interfaces with linux drivers included in OM? personally, i
 would rather connect my neo direct to the router in my house than have
 to boot a computer as well, whenever i want to update packages. or are
 there other reasons to make this impractical?

If your router has a USB host port, and is listed as supported on
toh.openwrt.org, or on nslu2-linux.org (look under SlugOS or Optware),
then you can run the neo as a client of the router directly through USB.

No need for another dongle, and no power issue, and the neo charges
while it's connected to.

-- Rod

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