Re: tcm_usb_gadget - how to use?

2012-08-29 Thread Thomas Knauth
>> 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. > > > The driver does not support usb3 streams or the hardwa

Re: tcm_usb_gadget - how to use?

2012-08-29 Thread Thomas Knauth
>> 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

Re: tcm_usb_gadget - how to use?

2012-08-28 Thread Thomas Knauth
> There are two ways: targetcli (userland package from linux-iscsi.org) > or manual. With targetcli you should be able to setup "disk" device and > add this to the gadget. > > This is part of a script I use for testing (the manual way): > > |modprobe dummy_hcd > |modprobe target_core_mod > |modprob