linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ConfigFS: bcdUSB forced to 0x0210
@ 2020-09-29  2:40 Sid Spry
  2020-09-29  6:33 ` Felipe Balbi
  0 siblings, 1 reply; 6+ messages in thread
From: Sid Spry @ 2020-09-29  2:40 UTC (permalink / raw)
  To: linux-usb

Hi, I can't enable USB3 with e.g. f_ncm because bcdUSB is always reset to 0x0210:

$ sudo sh -c 'echo "0x0300" > /sys/kernel/config/usb_gadget/g11/bcdUSB'
$ cat /sys/kernel/config/usb_gadget/g11/bcdUSB 
0x0300
$ sudo sh -c 'echo "fe800000.usb" > /sys/kernel/config/usb_gadget/g11/UDC'
$ cat /sys/kernel/config/usb_gadget/g11/bcdUSB 
0x0210
$ tree /sys/kernel/config/usb_gadget/g11
/sys/kernel/config/usb_gadget/g11
├── bcdDevice
├── bcdUSB
├── bDeviceClass
├── bDeviceProtocol
├── bDeviceSubClass
├── bMaxPacketSize0
├── configs
│   └── c.1
│       ├── bmAttributes
│       ├── MaxPower
│       ├── ncm.0 -> ../../../../usb_gadget/g11/functions/ncm.0
│       └── strings
│           └── 0x409
│               └── configuration
├── functions
│   └── ncm.0
│       ├── dev_addr
│       ├── host_addr
│       ├── ifname
│       ├── os_desc
│       │   └── interface.ncm
│       │       ├── compatible_id
│       │       └── sub_compatible_id
│       └── qmult
├── idProduct
├── idVendor
├── max_speed
├── os_desc
│   ├── b_vendor_code
│   ├── qw_sign
│   └── use
├── strings
│   └── 0x409
│       ├── manufacturer
│       ├── product
│       └── serialnumber
└── UDC

Board is a RK3399 based RockPro64.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-10-03  6:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-29  2:40 ConfigFS: bcdUSB forced to 0x0210 Sid Spry
2020-09-29  6:33 ` Felipe Balbi
2020-09-29 23:16   ` Sid Spry
2020-10-02  6:54     ` Felipe Balbi
2020-10-03  2:07       ` Sid Spry
2020-10-03  6:07         ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).