Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usb_gadget doesn't show up in targetcli list #172

Open
JuniorJPDJ opened this issue Mar 22, 2021 · 0 comments
Open

usb_gadget doesn't show up in targetcli list #172

JuniorJPDJ opened this issue Mar 22, 2021 · 0 comments

Comments

@JuniorJPDJ
Copy link

I uncomented it in this line:

# "usb_gadget": USBGadgetFabricModule, # very rare, don't show

Even tried to set path at myself like that:

self._path = "%s/%s" % (self.configfs_dir, "usb_f_tcm")

This is how this directory tree looks like:

$ ls /sys/module/target_core_mod/holders/                                                                                                                                                             
iscsi_target_mod
$ modprobe tcm_usb_gadget
$ cd /sys/module/target_core_mod/holders/
$ ls
iscsi_target_mod  usb_f_tcm
$ cd usb_f_tcm/
$ ls
coresize   holders    initsize   initstate  notes      refcnt     sections   taint      uevent
$ targetcli ls
o- / ......................................................................................................................... [...]
  o- backstores .............................................................................................................. [...]
  | o- block .................................................................................................. [Storage Objects: 0]
  | o- fileio ................................................................................................. [Storage Objects: 0]
  | o- pscsi .................................................................................................. [Storage Objects: 0]
  | o- ramdisk ................................................................................................ [Storage Objects: 0]
  o- iscsi ............................................................................................................ [Targets: 0]
  o- loopback ......................................................................................................... [Targets: 0]
  o- vhost ............................................................................................................ [Targets: 0]
  o- xen-pvscsi ....................................................................................................... [Targets: 0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant