[9fans] USB ethernet driver issue

2010-10-13 Thread Thorben Krueger
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-: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 (000 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



Re: [9fans] USB ethernet driver issue

2010-10-13 Thread Thorben Krueger
Ok, when I reboot (I don't know how to reset usdb) and run usb/usbd -dd I get:
...
usb/usbd: /dev/usb/ep5.0 starting
usb/usbd: opendev 0x60b90 /dev/usb/ep5.0
usb/usbd: /dev/usb/ep5.0: no port information
usb/usbd: /dev/usb/ep5.0: ports 2 maxpkt 64

What now?

On 13 October 2010 15:31, Francisco J Ballesteros n...@lsub.org wrote:
 It seems usbd is not getting the descriptors it needs.
 You may try running usbd -dd to see which requests
 have problems.
 We could try to see how to proceed then, depending
 on what's going on.

 On Wed, Oct 13, 2010 at 3:21 PM, Thorben Krueger
 thkru...@googlemail.com wrote:
 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-: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 (000 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







Re: [9fans] USB ethernet driver issue

2010-10-13 Thread Thorben Krueger
wow, this produces an incredible amount of text... typing it is not an
option... let me see if I can figure something out

On 13 October 2010 15:57, Francisco J Ballesteros n...@lsub.org wrote:
 kill usbd, yes, it's not supported. I mean, if you kill it and it fails,
 the man page says that you are not supposed to do that. But do it anyway :)

 Then, usb/usbd -dd
 and see what happens.

 BTW I assume that you are not using a usb kbd/mouse to execute such commands.
 If you are, then we can set usbdebug in plan9.ini, IIRC, and go from there.


 On Wed, Oct 13, 2010 at 3:42 PM, Thorben Krueger
 thkru...@googlemail.com wrote:
 Ok, when I reboot (I don't know how to reset usdb) and run usb/usbd -dd I 
 get:
 ...
 usb/usbd: /dev/usb/ep5.0 starting
 usb/usbd: opendev 0x60b90 /dev/usb/ep5.0
 usb/usbd: /dev/usb/ep5.0: no port information
 usb/usbd: /dev/usb/ep5.0: ports 2 maxpkt 64

 What now?

 On 13 October 2010 15:31, Francisco J Ballesteros n...@lsub.org wrote:
 It seems usbd is not getting the descriptors it needs.
 You may try running usbd -dd to see which requests
 have problems.
 We could try to see how to proceed then, depending
 on what's going on.

 On Wed, Oct 13, 2010 at 3:21 PM, Thorben Krueger
 thkru...@googlemail.com wrote:
 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-: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 (000 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











Re: [9fans] USB ethernet driver issue

2010-10-13 Thread Thorben Krueger
See attached debug log. (Transfered via USB pendrive from the plan9
machine, so at least that part seems to work)

On 13 October 2010 16:04, Thorben Krueger thkru...@googlemail.com wrote:
 wow, this produces an incredible amount of text... typing it is not an
 option... let me see if I can figure something out

 On 13 October 2010 15:57, Francisco J Ballesteros n...@lsub.org wrote:
 kill usbd, yes, it's not supported. I mean, if you kill it and it fails,
 the man page says that you are not supposed to do that. But do it anyway :)

 Then, usb/usbd -dd
 and see what happens.

 BTW I assume that you are not using a usb kbd/mouse to execute such commands.
 If you are, then we can set usbdebug in plan9.ini, IIRC, and go from there.


 On Wed, Oct 13, 2010 at 3:42 PM, Thorben Krueger
 thkru...@googlemail.com wrote:
 Ok, when I reboot (I don't know how to reset usdb) and run usb/usbd -dd I 
 get:
 ...
 usb/usbd: /dev/usb/ep5.0 starting
 usb/usbd: opendev 0x60b90 /dev/usb/ep5.0
 usb/usbd: /dev/usb/ep5.0: no port information
 usb/usbd: /dev/usb/ep5.0: ports 2 maxpkt 64

 What now?

 On 13 October 2010 15:31, Francisco J Ballesteros n...@lsub.org wrote:
 It seems usbd is not getting the descriptors it needs.
 You may try running usbd -dd to see which requests
 have problems.
 We could try to see how to proceed then, depending
 on what's going on.

 On Wed, Oct 13, 2010 at 3:21 PM, Thorben Krueger
 thkru...@googlemail.com wrote:
 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-: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 (000 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











usbdebug
Description: Binary data


Re: [9fans] USB ethernet driver issue

2010-10-13 Thread Thorben Krueger
Addendum: My phone also exposes some block devices via usb, although
they only become mountable when I flip a software switch in the phone
(which I didn't).

Maybe that accounts for some of the output

On 13 October 2010 16:33, Thorben Krueger thkru...@googlemail.com wrote:
 See attached debug log. (Transfered via USB pendrive from the plan9
 machine, so at least that part seems to work)

 On 13 October 2010 16:04, Thorben Krueger thkru...@googlemail.com wrote:
 wow, this produces an incredible amount of text... typing it is not an
 option... let me see if I can figure something out

 On 13 October 2010 15:57, Francisco J Ballesteros n...@lsub.org wrote:
 kill usbd, yes, it's not supported. I mean, if you kill it and it fails,
 the man page says that you are not supposed to do that. But do it anyway :)

 Then, usb/usbd -dd
 and see what happens.

 BTW I assume that you are not using a usb kbd/mouse to execute such 
 commands.
 If you are, then we can set usbdebug in plan9.ini, IIRC, and go from there.


 On Wed, Oct 13, 2010 at 3:42 PM, Thorben Krueger
 thkru...@googlemail.com wrote:
 Ok, when I reboot (I don't know how to reset usdb) and run usb/usbd -dd I 
 get:
 ...
 usb/usbd: /dev/usb/ep5.0 starting
 usb/usbd: opendev 0x60b90 /dev/usb/ep5.0
 usb/usbd: /dev/usb/ep5.0: no port information
 usb/usbd: /dev/usb/ep5.0: ports 2 maxpkt 64

 What now?

 On 13 October 2010 15:31, Francisco J Ballesteros n...@lsub.org wrote:
 It seems usbd is not getting the descriptors it needs.
 You may try running usbd -dd to see which requests
 have problems.
 We could try to see how to proceed then, depending
 on what's going on.

 On Wed, Oct 13, 2010 at 3:21 PM, Thorben Krueger
 thkru...@googlemail.com wrote:
 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-: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 (000 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













Re: [9fans] Very Off-Topic: Anybody here reads Sci-Fi? :)

2008-12-03 Thread Thorben Krueger
Anathem by Neil Stephenson. Not incredibly fast-paced but loads of
idea-porn. Apart from some (convincing) nano-technological concepts,
the science is pretty much hard (i.e realistic).


2008/12/3 Fernan Bolando [EMAIL PROTECTED]:
 Hi all

 I am not sure if anybody here reads Sci-Fi novels. Any recommendations?


 --
 http://www.fernski.com





Re: [9fans] An Observation

2008-11-14 Thread Thorben Krueger
because this kitchen has access to the better cooking utensils.

2008/11/14 hiro [EMAIL PROTECTED]:
 why are you staying, all that time, when your cousin is chef and gets
 a great award every other year and works in the restaurant just the
 other side of the road?

 (No, I'm not arrogant enough to consider myself the egg, the omelette, the
 cook, or the critic. I'm the hungry soul looking into the restaurant from
 behind the glass walls.)