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-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 via email to