TBone Posted June 29, 2016 Posted June 29, 2016 Hi Forum, "modprobe g_mass_storage file=/dev/sda1 removable=yes stall=0" doesn't work on 3.4.112 but works on 4.6.2. [ 363.575922] [sw_udc]: [sw_usb_udc]: binding gadget driver 'g_mass_storage' [ 363.581661] [sw_udc]: alloc request: ep(0xc0a75608, ep0, 64), req(0xee461c00) [ 363.590722] WRN:L2728(drivers/usb/sunxi_usb/udc/sw_udc.c):ERR: usb device is not active [ 363.597754] usb open backing file: /dev/sda1, 0xee42fa00 [ 363.604178] g_mass_storage gadget: Mass Storage Function, version: 2009/09/11 [ 363.608029] g_mass_storage gadget: Number of LUNs=1 [ 363.612001] lun0: LUN: removable file: /dev/sda1 [ 363.619227] ep_matches, wrn: endpoint already claimed, ep(0xc0a75654, 0xbf2e277c, ep1-bulk) [ 363.626785] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11 [ 363.632834] g_mass_storage gadget: userspace failed to provide iSerialNumber [ 363.637030] g_mass_storage gadget: g_mass_storage ready [ 363.641055] WRN:L2762(drivers/usb/sunxi_usb/udc/sw_udc.c):ERR: usb device is not active Any idea what to do? Thanks T
Recommended Posts