I decided to rig a better setup for USB host. What I did was open the hub and short the +5v provided to client ports to the +5 on the uplink port. This makes the hub unusable for other purposes, but gives me a nice single-cable solution for a neo hub. I just needed to add a female usb a to mini usb adapter.
The usb device in the picture provides speedy data through verizon cdma/evdo.
I was able to get fastcharge to work on connection. In /etc/udev/rules.d/neohub.rules:
SUBSYSTEM=="usb", ACTION=="add", PRODUCT=="1410/2110/0", RUN+="/etc/udev/scripts/neohub.sh"
and in /etc/udev/scripts/neohub.sh:
#!/bin/sh
echo -n fast_cccv > /sys/devices/platform/s3c2410-i2c/i2c-adapter/i2c-0/0-0008/chgmode
/etc/rcS.d/S98host:
#!/bin/sh
echo host >/sys/devices/platform/s3c2410-ohci/usb_mode
Some issues remain:
- this would need to be reworked for freerunner
- there are no decent linux drivers for usb wifi that give us master mode to make an AP
1 comment:
I think this can also be accomplished by getting a USB MiniB cable with two USB Male-A connectors on either end. They come with drives that require more power than just one USB connection can provide. You plug the data/power Male-A into the hub's host port with a female-female gender changer and the only-for-power Male-A into one of the ports on the hub. This way power is fed back into the device and it will change. (powered hub obviously needed)
Post a Comment