Re: PROBLEM: Oops when unbinding an inactive gadget configfs configuration from UDC

2016-11-30 Thread Felix Hädicke
Hello, > I had expected that writing "dummy_udc.0" to > /sys/kernel/config/usb_gadget/gser/UDC would fail, because the UDC is > already bound to another gadget configuration > (/sys/kernel/config/usb_gadget/acm/UDC). However, this doesn't give me > an error, but the ACM configuration remains activ

PROBLEM: Oops when unbinding an inactive gadget configfs configuration from UDC

2016-11-29 Thread Felix Hädicke
Hello, in 4.8.11 and 4.9-rc7, I get an Oops (see below), when I try to activate and afterward deactivate a second gadget configfs configuration, like this: mkdir /sys/kernel/config/usb_gadget/acm cd /sys/kernel/config/usb_gadget/acm echo 0x0200 > bcdUSB echo 0x0525 > idVendor echo 0xa4a7 > idProd