Reply
Thread Tools
Posts: 32 | Thanked: 0 times | Joined on Jun 2007
#1
Okay, so i'm trying out the usb host mode on my n770 running OS 2006, but the 770 isn't recognizing anything. The OS itself is newly flashed, so it's pretty clean. I have enabled r&d-mode and usb-host-mode through the flasher. Hardware wise, i'm running a modified radio shack 4-port powered usb 1.1 hub. I desoldered the upstream port and one of the downstream ports. I connected the two upstream data lines and the two downstream power lines to the 770s USB connector (following the pinout, of course). I get absolutely no response when a thumb drive is plugged in, not from the hub (it has activity lights), nor the 770. All of the hardware components have been tested individually and they all work fine, and i'm pretty sure it's not a soldering error.

I assume I have some drivers to install, but I honestly have no idea where to go from here.
 
Posts: 32 | Thanked: 0 times | Joined on Jun 2007
#2


C'mon, someone's gotta know something. Anything, please. Really, if you know anything at all about USB Host on 770, please feel free to shout it out, i'm really desperate.
 
Posts: 437 | Thanked: 90 times | Joined on Nov 2006
#3
It would help if you connected everything and posted the last 50 or so lines of the output of dmesg (in Xterm).
 
Posts: 32 | Thanked: 0 times | Joined on Jun 2007
#4
Hell yes! I got it working. I decided to ditch the usb hub idea, so I just built a simple Y cable. Man, there is nothing like that feeling of browsing your usb pen drive from your 770 for the first time . Thanks for the help. I went to go read the dmesg log ( a command I embarrassingly did not know about ) and I saw all the proper USB power up messages, so I tried to mount /dev/sda1 and it worked! I can't wait to try out all my other little gadgets!
 
Posts: 437 | Thanked: 90 times | Joined on Nov 2006
#5
Originally Posted by thecompkid View Post
Man, there is nothing like that feeling of browsing your usb pen drive from your 770 for the first time
... except browsing your 120GB HDD from your 770 for the first time
 
Posts: 32 | Thanked: 0 times | Joined on Jun 2007
#6
I'd be able to swing 200gb if I could just port over some HFS+ drivers.

Step 1: Learn how to port drivers.
Step 2: ???
 
Posts: 1 | Thanked: 0 times | Joined on Jun 2007
#7
If you ditched the hub, what method are you using for sending power to the USB ports?
 
Posts: 35 | Thanked: 1 time | Joined on Apr 2006
#8
Yeah. So what exactly did you do to get this to work? It sounds much easier than the hub route, but it can't be as simple as a modified(?) Y-cable and "/dev/sda1".

Thanks in advance.
 
Posts: 437 | Thanked: 90 times | Joined on Nov 2006
#9
All that is needed is a Y cable that has the following connectors:
1. 5-pin male (type B?) to connect to the 770
2. Female type A to connect your devices to
3. 5V input

1. and 2. should have all four lines + shield connected; and connect 3. to their +5V and ground lines. Add a 9V->5V or a 3V->5V convertor, the appropriate batteries, and you have portable usb host access. Very handy indeed.
 
Posts: 32 | Thanked: 0 times | Joined on Jun 2007
#10
Yeah, that's exactly what I did. Basically, I took the power adapter from the hub (after double checking the voltage of course), cut off the connector and soldered on a standard usb port, essentially making a usb charger. Then it was just a matter of making a Y cable with all the right connections. The power lines are connected between all three, but the data lines obviously only go between the 770 and the peripheral. It works excellently, but, unfortunately, it's also a tad bulky. I specifically didn't solder the power adapter directly to the cable so that I can use any usb power source. My ultimate pipe dream would be to modify the circuitry inside the 770 to not only provide power (goodbye battery, ), but to also switch easily (maybe not automatically) between host and peripheral mode. There are way too many issues to actually try, so for once, I think i'll leave this to the experts.
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:33.