I have Thesyscon driver, but someho wit is not working. I have contacted the author to request guidance.
Let's hope the global Linux community fixes the RNDIS support and then (I think) we would be home free. --- Ron K. Jeffries On Sun, Feb 27, 2011 at 00:26, kyak <[email protected]> wrote: > Hi Ron, > > The USB ethernet gadget driver in linux supports two modes of operation: > CDC Ethernet (ECM) and RNDIS. > > When Ben is plugged into a Linux, the ethernet gadget driver will choose > CDC Ethernet (ECM) operation mode. When you plug Ben into Windows, it > will choose RNDIS mode. > > The problem is that RNDIS support is broken in Linux kernel. In some > kernel version it is working okay, but then it's broken again (you can > find such complaints spread everywhere in google). > > Since RNDIS is not working, your obvious idea would be to have CDC > Ethernet (ECM) support in Windows. But there are two problems: > - USB gadget driver always tries to set RNDIS operation mode when > plugged into Windows. > - Windows must support CDC Ethernet (ECM) operation. > > For the first problem, we disable CONFIG_USB_ETH_RNDIS in Linux kernel, > therefore USB ethernet driver always works in CDC Ethernet (ECM) mode. > For the second problem, there is a proprietary driver > (http://www.thesycon.de/eng/usb_cdcecm.shtml) that has a demo mode > limitation of working 4 hours in a row (you have to reboot your computer > for the driver to work again). You could try searching for free/fully > functional CDC/ECM drivers for Windows, but i doubt you'll succeed. > > So this is how it works now for Ben and Windows - better 4 hours than > nothing. > > On Sat, 2011-02-26 at 14:13 -0800, Ron K. Jeffries wrote: >> There is a valid use case for making it possible for Ben to attach >> to a Windows host as a USB device. IMO the sales opportunity >> this would enable could be an order of magnitude greater than Wolfgang's >> sales of maybe 1,500 or fewer Ben Nanonotes to date. >> >> This is above my technical depth, but Jay7 (thanks!) found this: >> http://www.linux-usb.org/gadget/ says: >> >> Ethernet over USB ... the USB peripheral will enumerate to the host as >> an Ethernet device, >> using the "usbnet" driver with Linux hosts or Microsoft's RNDIS driver >> with Windows hosts. >> >> Set it up like any other two-host Ethernet link; bridging it to the >> LAN from the USB host >> may be the easiest way to run. Linux hosts do this with CONFIG_BRIDGE and >> tools >> like "brctl". >> >> Windows XP hosts have a GUI for bridging; it comes up when the RNDIS driver >> creates a second network link. >> --- >> Ron K. Jeffries >> >> _______________________________________________ >> Qi Hardware Discussion List >> Mail to list (members only): [email protected] >> Subscribe or Unsubscribe: >> http://lists.en.qi-hardware.com/mailman/listinfo/discussion > > > > _______________________________________________ > Qi Hardware Discussion List > Mail to list (members only): [email protected] > Subscribe or Unsubscribe: > http://lists.en.qi-hardware.com/mailman/listinfo/discussion > _______________________________________________ Qi Hardware Discussion List Mail to list (members only): [email protected] Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion

