Re: USB gadget target & targetcli

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

 



W dniu 27.09.2015 o 04:08, Nicholas A. Bellinger pisze:
On Fri, 2015-09-25 at 15:08 -0700, Andy Grover wrote:
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.


Btw, it's possible to test using dummy_hcd.


Hi Guys,

Thanks for your responses.
Actually I've been into usb gadget for quite a long time now,
and for the purpose of the above tests I use dwc3 UDC/OTG
on an Odroid XU3 which is Exynos 5422 based. In other words
I want to test tcm on real hardware connected with a real
USB cable to a PC.

I will let you know if I am able to go any further with the fixes
from Nicholas.

Thanks,

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