Re: usb bus monitoring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tilman wrote:
> I am in the process of writing firmware for an USB device based on
> an 8051 core.

What device is that? Is it a Cypress FX2 or an SiLabs C8051?


> I am testing it against linux kernel driver.

Depending on the device it may be worth exploring also the libusb
alternative, allowing you to work only in userspace.


> The urb eventually times out. Via debug FS I can see that the urb is
> indeed submitted. I suspect the firmware to be responsible for this.

That's quite likely.


> I would like to exclude the linux test driver owever,

That doesn't make a lot of sense - if you take the driver away then
there is nothing that will talk to your device, so there will be no
traffic.


> and wonder if there is a cheap way to monitor what is happening on
> the USB bus itself.

usbmon in debugfs is as good as it gets with no dedicated hardware
bus analyzer.


//Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux