9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] USB ethernet driver issue
@ 2010-10-13 13:21 Thorben Krueger
  2010-10-13 13:31 ` Francisco J Ballesteros
  0 siblings, 1 reply; 9+ messages in thread
From: Thorben Krueger @ 2010-10-13 13:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I configured my mobile phone to share all it's connectivity (gprs,
wifi) via usb, i.e., act as a usb router (including a dhcp server).

When I attach it to a linux machine, dmesg says:

usb 2-2: new high speed USB device using ehci_hcd and address 14
cdc_acm 2-2:1.6: This device cannot do calls on its own. It is not a modem.
cdc_acm 2-2:1.6: ttyACM0: USB ACM device
cdc_ether 2-2:1.8: usb0: register 'cdc_ether' at usb-0000:00:1d.7-2,
CDC Ethernet Device, da:fc:05:9a:bd:95

then I simply do "ifconfig usb0 up; dhcpcd usb0" and I have connectivity.

When I attach it to a native plan9 machine and run "usb/ether -D", I
get the following output:

usb/ether: fsioproc pid 212
<- Tversion tag 65535 msize 8216 version '9P2000'
-> Rversion tag 65535 msize 8192 version '9P2000'
<- Tauth tag 6 afid 299 uname glenda aname
-> Rerror tag 6 ename permission denied
<- Tattach tag 6 fid 299 afid -1 uname glenda aname
-> Rattach tag 6 qid (000000000000000 0 d)
usb/ether: startdevs: opening #0 /dev/usb/ep5.0
usb/ether: devmain: no data from device
usb/ether: no unhandled devices found

When I run "usb/usbd", I get:
...
usb/usbd: /dev/usb/ep5.0: no port information

I am pretty much out of ideas here.

Any help?

--

benthor



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-10-13 15:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-13 13:21 [9fans] USB ethernet driver issue Thorben Krueger
2010-10-13 13:31 ` Francisco J Ballesteros
2010-10-13 13:42   ` Thorben Krueger
2010-10-13 13:57     ` Francisco J Ballesteros
2010-10-13 14:04       ` Thorben Krueger
2010-10-13 14:33         ` Thorben Krueger
2010-10-13 14:39           ` Thorben Krueger
2010-10-13 15:01             ` Thorben Krueger
2010-10-13 15:04               ` Francisco J Ballesteros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).