Re: Kernel USB unit tests

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

 



On Mon, Dec 05, 2011 at 08:54:57PM +0000, Jeff Cooper wrote:
> I'm trying to track down an issue a client is reporting with corrupted USB 
> transfers from a USB pen drive in the 3.0 kernel.  The platform is a OMAP 
> 35x LogicPD Torpedo module on a custom base board.
> 
> The problem that they're seeing is when they read a file from USB pen 
> drive, the md5sum some doesn't always match the expected value.  I 
> haven't been able to duplicate the issue they're seeing myself yet, but 
> one of my coworkers suggested running the USB unit tests in the kernel.
> 
> I'm following the instructions at: http://www.linux-usb.org/usbtest/.  
> I've built a kernel with CONFIG_USB_TEST enabled and with 
> CONFIG_USB_STORAGE set to a module.  Then I put the USB pen drive I'm 
> going to run the tests against into the board and boot the kernel.  Then 
> I do the following:
> 
> cat /proc/bus/usb/devices to get the vendor/product ID's and the device 
> number in /proc/bus/usb
> modprobe usbtest vendor=0x1234 product=0x5678
> ./testusb -D /proc/bus/usb/001/003

I thought the testusb tool would only work with devices that you could
download the firmware to.  Perhaps that is why it's not working properly
for you?

thanks,

greg k-h
--
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