Re: [Libusb-devel] Chapter 9 tool for linux

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

 



On Mon, 2 Aug 2010, Felipe Balbi wrote:

> Hi,
> 
> On Mon, Aug 2, 2010 at 5:29 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> > I don't know about other operating systems, but Linux does not permit
> > user programs to do many of these things -- especially changing device
> > addresses.  So it doesn't matter what you put into libusb, this won't
> > work.
> 
> Well, the windows tool installs its own hcd driver. But I was willing to avoid
> that. Can't we even have that under some CONFIG_USB_TEST kinda thing ?

You might not need a new host controller driver (depending on whether
or not you want to continue using other USB devices normally while
running the test -- to be safe you probably would want to avoid this),
but you would need to make extensive changes to the USB core.  In
particular, to the hub driver and usbfs.

> It would be really helpful to avoid having to use Windows for those kinds of
> tests.

I sympathize.  However, if people have gone to all the trouble of
writing new kernel drivers for Windows specifically for use with USBCV,
then it seems reasonable that the same amount of kernel-intensive work
would be required to run those tests under Linux.

Alan Stern

--
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