Re: USB gadget target & targetcli

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

 



On 09/24/2015 03:25 AM, Andrzej Pietrasiewicz wrote:
Hello All,

I am trying to set up a tcm_usb_gadget on a board with DWC3 UDC.
When targetcli deb package was installed, a bunch of messages
appeared, including this:

[....] Fabric module tcm_usb_gadget is not loaded ... (warning).

Any idea why is that?
Comparing startup and running configs...
Invalid fabric identifier 'usb_gadget': expected type 'loopback',
'iscsi', 'ib_srpt', 'vhost', 'tcm_fc', 'qla2xxx'

Why is 'usb_gadget' fabric unknown?

The gadget goes alive, I can list it on my Linux host, but I
repeatedly get:

[  177.628876] g_target gadget: high-speed config #1: Linux Target
[  177.633411] Using the BOT protocol
[  198.459512] ERR bot_status_complete(64)
[  198.621077] g_target gadget: high-speed config #1: Linux Target
[  198.625607] Using the BOT protocol
[  219.451560] ERR bot_status_complete(64)
...

Any ideas, why?

I don't think the usb gadget fabric gets much use. There's no way to use it or test it because a regular PC doesn't have the hardware to be a downstream USB device.

Or maybe it does get use, but by embedded devs who don't post their issues here?

In any case it looks like you got it working! So you just need to modify the scripts a little to silence the warnings?

Regards -- Andy

p.s. sbp-2 fabric is also supported for 1394, kind of the same situation. It worked at one point but if it broke, it would be a long time before somebody noticed...
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux