Treo 650 USB Host

Discussion of the Treo 650 smartphone

Moderator:kocoman

Post Reply
gumby
Newbie
Posts:4
Joined:Mon Apr 19, 2010 6:57 pm
Treo 650 USB Host

Post by gumby » Thu Aug 19, 2010 2:18 am

I'm trying to turn a treo 650 into a robot controller. I have gotten linux to run and can ssh into root. Now all I need to do is configure the usb port to run in host mode. Here is a bit of code I found from someone who has done this. Problem is I have no idea where it goes. If anyone can help I would appreciate it.

I then configured USB port 2 in host mode and powered it up.

UP2OCR = UP2OCR_HXS | UP2OCR_HXOE;
UHCRHDA |= UHCRHDA_NOCP;
UHCHR &= ~(UHCHR_SSEP2 | UHCHR_SSE);

User avatar
Shadowmite
PDAPhone Hacker Team
Posts:777
Joined:Tue Jan 04, 2005 5:58 pm
Location:Grand Prairie
Contact:

Re: Treo 650 USB Host

Post by Shadowmite » Tue Aug 24, 2010 11:11 pm

gumby wrote:I'm trying to turn a treo 650 into a robot controller. I have gotten linux to run and can ssh into root. Now all I need to do is configure the usb port to run in host mode. Here is a bit of code I found from someone who has done this. Problem is I have no idea where it goes. If anyone can help I would appreciate it.

I then configured USB port 2 in host mode and powered it up.

UP2OCR = UP2OCR_HXS | UP2OCR_HXOE;
UHCRHDA |= UHCRHDA_NOCP;
UHCHR &= ~(UHCHR_SSEP2 | UHCHR_SSE);
I'm honestly not sure. That looks like register setting code for a AVR to be honest. And it's been so long since I looked at the treo... Where you found this snippet might help.
---
Shadowmite

gumby
Newbie
Posts:4
Joined:Mon Apr 19, 2010 6:57 pm

Re: Treo 650 USB Host

Post by gumby » Wed Sep 01, 2010 2:55 pm

Found the code here.

http://hhtinker.blogspot.com/2008/10/us ... o-650.html

Other stuff I've found on PXA development sites lead me to believe you are right about it being a registry setting.

What I can't find is the plain english idiots guide to changing those settings.

Thanks again

Post Reply