FWIW.
I had with my Kobo Aura (the original one, NOT Ed 2, ONE, H2O) the same problem as 'ttrek' was facing in post
260 of this thread :
after attempting to enable usb in KSM8,
- USB support stayed disabled
- the menu was stripped from all extras as eg. koreader, start vlasovsoftlauncher, ...
- Only a reboot helped to get everything back.
On the other hand, I was able to get usbnet working so I could access the device in that way. Next, I installed tshering's
usb_test.zip and ran "usb enable test.sh" but that lead to the same problem.
After this, I ran usb_enable_test.sh from kbterminal.sh, which produced some sensible output.
In the saved output (with usbnet, file /adds/kbmenu/kbterminal/output<timestamp>.txt) I found :
<...>
+ echo 3
+ umount -l /mnt/onboard
+ umount -l /mnt/sd
umount: can't forcibly umount /mnt/sd: Invalid argument
+ /sbin/insmod /drivers/mx50-ntx/usb/gadget/arcotg_udc.ko
+ sleep 2
+ /sbin/insmod /drivers/mx50-ntx/usb/gadget/g_file_storage.ko file=/dev/mmcblk0p3,/dev/mmcblk1p1 stall=1 removable=1 vendor=0x2237 product=0x4163 vendor_id=Kobo product_id=eReader-0.0.0 SN=N000000000000
insmod: can't insert '/drivers/mx50-ntx/usb/gadget/g_file_storage.ko': No such device or address
+ sleep 1
Clearly there was a problem with unmounting the extra SD card of the Kobo Aura. No surprise there ... as there was no SD card in the slot. When looking in the script usb_enable_test.sh, I saw :
if [ -e /dev/mmcblk1p1 ]; then
LUNS=/dev/mmcblk0p3,/dev/mmcblk1p1
The existence of the device is tested, but not if there is something mounted or not. With no SD card present, the chosen option gives an error when inserting the g_file_storage.ko module.
And that gives the above mentioned problems.
Once an SD card was inserted in the slot, enabling USB is no longer a problem.
Now I can change the runmenu setting to 'always'.
Merry Christmas everybody !
Cheers, Ben