you can enable debug diagnostics for devices by using the usbd ctl file.
I don´t remember which ones are the strings (see the man, probably) but
I remember you can enable debug flags without restarting it.

You could try to locate them and enable debug for that, plug the disk
again, disable
debug for that.

IIRC, that is.

On Thu, Jan 12, 2012 at 12:25 PM, Richard Miller <9f...@hamnavoe.com> wrote:
>> /dev/usb/ep4.0 lun 0: inquiry Generic Flash Disk      8.07 geometry 8007680 
>> 512
>>
>> ... so I'd think this is ok ...
>
> My next step would be to get more diagnostic output from usb/disk.
> This is no longer easy with the new monolithic usb driver
> architecture.  You can't just start 'usb/disk -d' because the usb/disk
> embedded into usb/usbd will have started automatically and seized
> control of the device when you plugged it in.
>
> I think you will need to generate a new usbd with the disk driver
> configured out (see /sys/src/cmd/usb/usbd/usbdb), then kill the usbd
> which is embedded into the kernel and start your new one, before
> running usb/disk.
>
>

Reply via email to