Re: tcm_usb_gadget - how to use?

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

 



>> Now I'm looking for a switch to enable UAS. As far as I understand the
>> code in tcm_usb_gadget.c, BOT is the hard-coded default, right? In
>> usbg_setup you test for USBG_IS_BOT and bail out with an error if the
>> flag is not set. Would this be the place to add another if-then-else
>> branch and call usbg_uas_setup? Although that particular function is
>> missing right now.
>
>
> The device side should be good. On the host side there is no exclude.
> That means if usb-storage grabs the device first, it will use it. What
> should work is to rmmod usb-storage and uas and then modprobe uas. The
> uas driver on host should then notice the uas altsetting on the gadget
> and enable it.

Ah, yes, that worked. Except for the fact that the usb3380 does not
support streams :( I just found that out browsing the device's data
book ... The syslog also contains warnings/errors mentioning streams
... so much for that.
--
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