9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Thorben Krueger <thkruege@googlemail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] USB ethernet driver issue
Date: Wed, 13 Oct 2010 16:04:56 +0200	[thread overview]
Message-ID: <AANLkTimHDb3baOOJDikdOhLa49e3Uu_=2ZL0pCi0d7xW@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikt0-AsMXL7sXDahKSwCi4Gg7NAibm97xoyxduE@mail.gmail.com>

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 <nemo@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
> <thkruege@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 <nemo@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
>>> <thkruege@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-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
>>>>
>>>>
>>>
>>>
>>
>>
>
>



  reply	other threads:[~2010-10-13 14:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13 13:21 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTimHDb3baOOJDikdOhLa49e3Uu_=2ZL0pCi0d7xW@mail.gmail.com' \
    --to=thkruege@googlemail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).