View Single Post
Posts: 32 | Thanked: 94 times | Joined on Jun 2012
#146
Originally Posted by pali View Post
Hi, if somebody has problem with usbmode (usb device is not detected), please write now. I want to release new version (which show current state in status bar) but I'd like to fix other problems...
Thank you very much, Pali, for this awesome application.

- With the old h-e-n app, I often had problems enumerating some devices and with this app, it works far better (don't know why, maybe due to the flat delay between vbus boost on and enumeration ?)
- With the old h-e-n app, when trying to enumerate a few different devices in a row, it did a mess with my usb port, disabling it until a reboot. With this app, it doesn't happen anymore, so it seems cleaner.

Anyway, I've spotted a few minor problems.
I still haven't tried "hostmode with charging" as I don't already own an Y USB cable, so the following points are only related to "USB Host mode with boost".

- Sometimes, after enumerating a simple device such as a mouse or a keyboard, I get the message "unable to connect, no file system available".
- The same message always appears when the enumeration fails.
- Hotplug doesn't seem to be handled (even when unplugging and plugging the same device). Is it normal ?
- When unplugging an enumerated device, and plugging a new one, pressing "USB host mode" only says "device already visible in system". I have to go in USB peripheral mode then go again to USB host mode to enumerate the new device.
- I own a D-Link powered USB-Hub : DUB-H7. The enumeration fails about one time out of three (or four). Once associated, it works like a charm (even hotplug). It works powered AND unpowered.
- I own a SD-card reader : Cardette Moshi (which is also a mini unpowered 2-ports USB-hub). The enumeration works but the mount often fails when the SD card is already plugged during enumeration ("unable to connect, no file system available"). I have to remove the SD card and plug it again. The unpowered USB-hub works well (even hotplug)
- When enumerating a full speed device (such as a sd card reader), going through the three speeds turns the device on/off on each change. Couldn't it stress the device a bit and (lightly) shorten it's lifetime ?

If you care about, I have some improvement suggestions :

- Get a new "Peripheral without charging" mode. I often use my phone as an USB key to store files, and I don't like to keep plugged when battery is already at full charge. Being able to connect the phone whitout charging it would be great !
- Handle direct hotplug. Because hotplug is possible through an USB hub, I think it could work directly on the phone too.
- Being able to choose between the three speeds (such as h-e-n) AND automatic detection. If the appropriate speed is already known, directly setting it would speed up enumeration and avoid the usb device to be turned on/off too many times.

Last edited by Bearserker; 2013-01-24 at 10:42.