I am going to build USB port,need help. - Upgrading, Modifying and Unlocking

Well guys,i am going (me and other guys who have good experience in e-circuits)to try build a USB port to the Himalaya..
Now I understand by the http://wiki.xda-developers.com/wiki/Connectors link that only the large connector have the pins for USB..
During this time,any help,new informations about himalaya's USB will be appreciated.

In fact the project "USB port" is actually at level zero. (really busy previous week)
I am trying to make this to connect especially a Mouse to XDA2
So,I really need a help from you,MattM and others..
Can someone build or convert a generic windows mouse driver to pocket pc?
Or maybe is more easy to make a serial connector for mouse?
Then does we need a pointer?
-Is this factible? or just a dream?
(Laucher Prog based on Flash like PocketWin has a Pointer add-on)
Waiting for your replyes!
Regards,Ser

i read something about it in this forum, try searching for home made keyboard or mouse & you might find some answers to the basic questions

Come on guys!
I will use the DC adapter connector and USB female connector.(You can see the photos attached)
-But first explain me closely about UDC- and UDC+ does they are for data transmission or power?
Also USB_VDD is for?
-If I connect a USB device to the XDA2 does it will give power to it?(for mouse,etc..) or do I need to connect an external power alimentation? If yes,6V?
-If I build a Serial port can you explain more about:
RS232_DCD
RS232_CTS
RS232_TXD
RS232_RTS
RS232_RXD
RS232_DTR
Maybe is simply make the serial cable like on the "Connector's Page" (http://wiki.xda-developers.com/wiki/Connectors) and attach a serial Female-Female to connect Mouses and others?
Please post your comments,suggestions,ideas.
Regards,Ser.

UDC- and UDC+ are data
USB_VDD is for power
I don't think anyone yet knows if the XDAII can work as a USB host anyway.
For rs232 you will normally only need RS232_RXD, RS232_TXD and ground.
I'm sure someone did a serial mouse program before....
Jamie

RS232_RXD, RS232_TXD are for data?
I hope someone did the program but i've searched over i-net and didn't find anything about it!
I've also read about the built-in USB port of Toshiba,some people connected their HDD and all went perfectly.
So,I hope connect a mouse will not be so hard..
Regards

Have a look here for a mouse driver http://www.windowsfordevices.com/articles/AT3401319437.html

Yeah,i've seen it before but don't sure if it will function properly,but let's take it for that moment.
Thanx!
After a short search over i-net I found the prog. that uses Toshiba for its serial devices like mouse,keyboards: Click n'type and Point n'type..let's figure more about.

OK,now I will connect the female usb to the connector like:
RED (USB_VDD +5V) to Pin 13
GREEN (UDC+) to pin 14
GOLD (UDC-) to pin 15
BLUE (GROUND) to pin 16
Correct me if it isn't.
But I can't find a scheme of the connector that I will use,I can't understand which is the pin 1..2..
Can someone give me help about?

Thanx to RUDEGAR that provided me the link,http://www.deje.gmxhome.de/software.html
I have the USB drivers and pointer for Mouse,also support for Mass storage.

i have disambled this connector 2 times
let me look it up for you
[UPSIDE]
[1] [5] [9] [13] [17] [21]
[3] [7] [11] [15] [19]
---------------------------------
[4] [8] [12] [16] [20]
[2] [6] [10] [14] [18] [22]
[DOWNSIDE]
now the upside is when you hold the connector flat and you see the 2 cutout lines in the plastic wich goes into the xda
topleft from that is pin 1

Well,the cable doesn't work! :x
-XDA2 does not give power to the usb device (tryed with a optical mouse)
(N:we verified with a VoltMeter and all cables seems to be ok)
-Also the DeJe Drivers (originally built to Toshiba) don't work. But the driver's are compatible with all WM2003 OS..
-I verified that on my pc(Win XP) when I connect the Optical mouse,it will no give power to the device once it load the drivers,so I guess maybe the same on Pocket Pc?
What do you think about?
-Probably I will build a Serial Cable for the Mouse
Regards, Ser

have you tryed a usb pen yet.. I see you mentioned storage before

yes,in fact I have't installed the Mass storage drivers for a Pen Drive,etc..
But I verified that no led (on pen drive) and no optical light was lightening so is easy to understand that XDA2 don't gives power to the USB devices... :?:

would they light anyway ? do they only light when the correct drivers are used and its told to light. I think it would be a awesome idea to add usb to the xda.. you could then use it for loads of other things..

unapproachable2kx said:
Well,the cable doesn't work! :x
Click to expand...
Click to collapse
It cannot work. Never will.
There are two different types of USB devices: hosts and clients. You can only ever connect a client to a host. Connecting client to client does not work. It's a bit like two people picking up the phone, none of them dialing a number, but still hoping they'd get connected. Not going to happen.
All USB mice are USB clients. The XDA II also is a USB client. The USB chip in the XDA II can only handle being a client. It does not support host mode, so no software in the world can change the XDA II to a USB host.
So, connecting a USB client to an XDA II will never work.
For serial communication (RS232), there is no such problem, so it may be possible to connect a serial mouse to the XDA II. The first thing you have to make sure is that the voltage is correct. "Normal" RS232 uses +12V/-12V, whereas most small devices (and quite likely also the XDA II) uses 0V/5V. You may have to add a MAX232 (or compatible) level shifter chip to your cable.
I strongly suggest you search the 'net for RS232 and read as much as you can find. If you just experiment with cables without really understanding the implications, you might damage your XDA II.
Once you sorted that out, make sure you connect all the handshake lines your mouse uses. I would imagine that some mice may need at least the DTR line assigned before they will start doing anything.
After that, the rest is software. Your driver will have to a) pick the correct baud rate, b) drive the handshake lines correctly, and then c) it can start receiving data.
Good luck!
Daniel

well there are CF cards which have usb master support
and with the backpack the xda2 can use CF cards
of cause the driver issue could be troublesome and i'm
not sure about the speed dec going that interface to interface way
but i would not rule out that it could work
with the right drivers mind you

How about connecting a serial to USB convertor to the serial port on the XDA II?, surely that would leave you with a USB host port that you could plug a mouse into?

In this case is more simple to connect serial mouse to the serial port.
Dunno if how u tell the usb will work.. :?:

http://www.expansys-usa.com/product.asp?code=113389
Would this do the trick?
It says host ports, can the XDA2 handle it?

Related

USB GPS Receiver capable?

Hey guys...
After reading the last wm6 vanilla thread, i can imagine how annoying i was w/ the wm6 black 2.0 release b*ing and whining about how i coudln't my wireless to work...
anyways, i'll try to cut the stupidity posts to a minimum but in the meantime maybe someone has tried using a usb gps receiver on their phone.
i'm trying to configure ports and stuff via usb, but not too sure what baud rate, which com port etc to set everything at for maximum usage... in fact i don't even know if the darn thing works with my phone either
about to reinstall googlemaps to see if the usb will work....
i know everyone is using bluetooth, but i had this garmin usb 18 laying around for my laptop and bought a usb --> mini usb adapter and thought i'd try it
if anyone has tried, please help me out... thanks
wrong forum
Not a stupid question, a stupid place to ask it. Try here http://forum.xda-developers.com/forumdisplay.php?f=307
you can't connect a USB GPS to the phone.
the USB GPSs require a server side USB port, the phone is only a client USB port. Hence, you can't connect peripherals to it such as GPSs, printers etc...
Bluetooth GPS units work very well with the Hermes though!?
ygeller said:
you can't connect a USB GPS to the phone.
the USB GPSs require a server side USB port, the phone is only a client USB port. Hence, you can't connect peripherals to it such as GPSs, printers etc...
Click to expand...
Click to collapse
well i guess that ends this thread
dangit, guess i have to go invest in a BT one ... moderator, shut me down
dmenshunzz said:
well i guess that ends this thread
dangit, guess i have to go invest in a BT one ... moderator, shut me down
Click to expand...
Click to collapse
yes please close this thread... the if the hermes supported USB Host then it would be a possibility of having it working... but no chance....

RS-232 for Serial Access

Hi there,
I was searching the forums for an RS-232 for serial access and can't find any information as I was wondering if there is a RS-232 cable avaiable for serial access. Like the cables RS-232 to USB converter for laptops to config cisco, juipters and Huawei. I have a RS-232 to USB but it is using a regular USB A plug. So the other question is that is possible to use the regual RS-232 to USB converter with gender change, but I don't think there are any drivers for the accessory for WM6. So it sounds like I have answered my own question . BTW, I am using the Kasier and it would be a great help if I can buy one instead of DIY one like -> http://forum.xda-developers.com/showthread.php?t=257858
Kengie
would believe it is required for such a device to work that the pda support usb host only Athena does that
Thanks. I though that the Kasier has the OTG (yes it does), but you are right. It doesn't support the USB Host features. Thanks.
if you by OTG mean usb on the go then htc dont seem to use that feature in any of their devices even if the cpu have it included it seems they use their own usb chip

Can you plug a Thumb Drive to your WM Device?

Can you use the Mini USB connector on a WM Phone (I've got an Ultimate 9502) to successfully connect directly to a USB Thumb Drive (if you get a gender changer)?
Thanks
Nathan
works on my u1000...but as you mentioned it uses the 4-in-1 cable to adapt the standard usb plug to my unit's mini usb. i recall a similar question like this in the forum...and i remember rudegar's response that only a few wm devices accept usb thumb drives. not sure which ones though...so for your unit you may need to do some additional research and / or ask the manufacturer if this is possible.
but fyi, when i plug in a usb thumb drive, it comes up as "hard disk" when i use file explorer. this is separate from the sd card and the microdrive.
cheers
Thanks (did try searching first but did not find the post) - I've posted the Q at the IMate forum but I guess I'll find a gender changer and just try it

[Q] USB Host on Touch HD?

Does anyone tried this Program?
http://htc-blackstone-100.handster.com/software.php?id=3339&for=HTC+Blackstone+100
Just found it by accident and don't have a fitting cable
It's look like a fake, because: http://htc-unexisting-model.handster.com/product.php?id=3339
Bluetooth
On the Teksoft homepage there's a driver for bluetooth input too, seems to work in the demo videos?
Teksoft BlueInput and Dell Mouse
http://www.youtube.com/watch?v=MEoQWN9gzHc
http://www.youtube.com/watch?v=DhdUQZxZLoQ
Has anyone tried this and found it to work / not work.
I want to connect a Leica Total Station (Surveying Equipment) (http://www.leica-geosystems.com/uk/en/lgs_67104.htm) to my Blackstone and use the Leica "Pocket Instrument Explorer" to get the two talking to each other.
On the PC the computer and instrument are connected with a Prolific USB-Serial Converter cable on a standard male Type A USB.
I have a USB Type A to USB Minin converter to physically connnect the Blackstone to Instrument. The software (which, has installed fine and seems to work) has all sorts of settings for COM3 and COM4.
I know that the USB on the Blackstone is not a HOST but I suspect that this is the case on many PDAs and if the case I see no reason why Leica would develope the software if there is not a way to connect them.
Anyone who wants to try this will need the PIE software which is a locked download for Leica Members. I will email a copy to you if desired but do not want to post it here for general distribution.

USB OTG host mode (ANY USB keyboard support!) TUT

USE ANY USB KEYBOARD WITH YOUR USB OTG SUPPORTED ANDROID DEVICE!!!!
I've been experimenting with Wifi cards and the samsung galaxy sII
and realized people where having the same problem as i was having with plugging in usb keyboards.
turns out it all has to do with a vendors permission issue. if your device is not in the list, it will seen as "unknown".
As it turns out you can simply add your device and it'll work. mind you it was to be a simple input device and will have the power constraints of 100mW. But if u can compile a driver and splice in dc power.... skies the limit!
steps:
1. Android must be rooted (not going over that) and must support USB OTG (on-the-go)
2. You can either buy a USB OTG micro to female adapter on ebay for like 4 bucks. i decided to make one myself since i have lots of spare parts.
Heads up: a simple micro usb to female usb connector IS NOT THE SAME AS A USB OTG CABLE, they may look the same but the OTG cable has Pin 4 grounded to pin 5 on the micro usb side. This is how the device distinguishes aach type of cable. WARNING: IF MAKING THIS YOURSELF DO NOT CROSS BLACK AND RED, this WILL fry your PHONE.if you don't know you rway around a soldering iron, just buy one
3. Check what manufacturer your device is on this chart, if it's not there, check on the internet or plug the usb device into a linux box and run "lsusb" in the command promt and look for your device, the number will look like this:
Bus ### Device ###:ID <THIS ONE!>:<more numbers> " Company"
here's the chart: (taken from here :http://developer.android.com/guide/developing/device.html)
Code:
Company USB Vendor ID
Acer 0502
ASUS 0b05
Dell 413c
Foxconn 0489
Garmin-Asus 091E
Google 18d1
HTC 0bb4
Huawei 12d1
K-Touch 24e3
KT Tech 2116
Kyocera 0482
Lenevo 17EF
LG 1004
Motorola 22b8
NEC 0409
Nook 2080
Nvidia 0955
OTGV 2257
Pantech 10A9
Philips 0471
PMC-Sierra 04da
Qualcomm 05c6
SK Telesys 1f53
Samsung 04e8
Sharp 04dd
Sony Ericsson 0fce
Toshiba 0930
ZTE 19D2
eg my keyboard is lenovo , so code is 17EF, you get it
4. log in as root, mount system as read-writeable, Create this file: /etc/udev/rules.d/51-android.rules
if its already there, then just append the command you want after.
if you dont have root explorer or otherwise installed here is how to in bash:
Code:
su
su
mount -o remount,rw system /system
mkdir -p /etc/udev/rules.d/
cd /etc/udev/rules.d/
now in the "51-android.rules" file add this line (or more for more device support):
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="<VENDOR CODE>", MODE "0666", NAME=="<VENDOR>"
my example with my lenovo keyboard:
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="17EF", MODE "0666", NAME=="lenovo"
save.
5. plug in the USB OTG cable and plug in your keyboard or other device. it sould say "usb host cable" then "usb device".
on some keyboards the numlock light wont work, due to the fact of power contraints on the phone, you can add support by plicing in 5v DC in to the line (soldering needed) or you can probably jsut attach a powered usb hub
And thats IT, now you can actually type documents at a reasonable pace, without paying an arm and a leg for a supported bluetooth keyboard!!!
-td8f4
* to moderators i know i have less than 50 posts hopefully i dont get banned, i thought this was considered dev*
Wow, really nice work - I wonder if some kindly ROM devs could just bake in support for all in their ROMs?
NZtechfreak said:
Wow, really nice work - I wonder if some kindly ROM devs could just bake in support for all in their ROMs?
Click to expand...
Click to collapse
wow really good work.
just another info on the price of an BT keyboard:
http://www.amazon.de/s?ie=UTF8&search-type=ss&index=ce-de&field-keywords=CHIN FAI
40 euro are not an arm and a leg
and this i ok to type on
Indeed, you can get some BT keyboards quite cheaply. I already have one, but I'd still like full USB keyboard support (I don't always have my keyboard on me, but lots of people have USB keyboards).
I tested this on an unrooted SGS (Logitech K340 unifying keyboard) and it worked fine without having to change any settings. Just plugged it into the USB OTG adapter and then plugged the adapter into the phone. It said the device was unknown but the keyboard worked when I went to type in the apps. Mice also worked. The logitech MX Performance worked fine. A bit weird seeing a mouse pointer on the phone though.
How about keyboard remapping?
Sent from my GT-I9100 using XDA Premium App
At first I thought:
"1) plug in OTG cable, 2) plug in USB keyb., 3) use"
*lol*
No, seriously, this information is VERY usefull and might open up the way not only for keyboard (as the OP stated, "get a driver compiled and the sky is the limit".
Will definitaly bookmark this thread and when I'm done with some other tinkerings try to "get the drivers compiled"
*clicksthanks*
reply
my ultimate goal is to have a external usb wifi adapter plugged into my phone so i can use it to pentest with a Backtrack 5 chroot session.
i'm working on cross compiling the RTL8187 driver for the ARM architecture.
look here for updates
HTML:
http://forum.xda-developers.com/showthread.php?p=16333147
and @ karl999999
40 euro are not an arm and a leg
and this i ok to type on
Click to expand...
Click to collapse
i know it's not expensive, but i'd really rather use something i already have, i've got a small flexible usb keyboard which works great.
As I'm trying to add joystick support on SGSII, I tried to add an xbox 360 controller and my device was not recognized. I tried this method and added "045E" as vendor but no luck, still not recognized... Any idea ?
Thanks
alx5962 said:
As I'm trying to add joystick support on SGSII, I tried to add an xbox 360 controller and my device was not recognized. I tried this method and added "045E" as vendor but no luck, still not recognized... Any idea ?
Thanks
Click to expand...
Click to collapse
Also interested in this... Sadly I dont have the skills to compile a driver myself...
Sent from my GT-I9100 using XDA Premium App
Thanks. This is so cool and I gotta try it at home later (Tried 2 different keyboards at home before but didn't work). Hopefully you could find a way to use PS3 joystick as well.
Maybe we collect a list of device code and update it a single file. Then rom developer can incorporate it into their roms.
Don't worry about post counts. The is definitively a very good finding and development progress for S2.
alx5962 said:
As I'm trying to add joystick support on SGSII, I tried to add an xbox 360 controller and my device was not recognized. I tried this method and added "045E" as vendor but no luck, still not recognized... Any idea ?
Thanks
Click to expand...
Click to collapse
We might have more luck with generic USB gamepads. I think all we need is someone who has the required knowledge to compile joydev.ko for our kernel.
testando said:
Also interested in this... Sadly I dont have the skills to compile a driver myself...
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
My skill is quite limited too but with some reading it's not that hard (and I can give some help too).
I am looking for support for my Plantronics USB Headset. I am able to control volume through the headset when connected to OTG, but can't route audio through them.
I believe we do need generic drivers for USB Headsets. Hope one of the elite developers can help us. I will be happy to donate 5 euros for the same
Also, my Microsoft Wireless combo (Desktop 6000 v3) do not work while my wireless mouse 1000 do work absolutely fine on the Phone.
I am also looking for NTFS Mass Storage support which seems to be currently limited to FAT32 (and possibly FAT16) only.
Prankey said:
I am looking for support for my Plantronics USB Headset. I am able to control volume through the headset when connected to OTG, but can't route audio through them.
I believe we do need generic drivers for USB Headsets. Hope one of the elite developers can help us. I will be happy to donate 5 euros for the same
Also, my Microsoft Wireless combo (Desktop 6000 v3) do not work while my wireless mouse 1000 do work absolutely fine on the Phone.
I am also looking for NTFS Mass Storage support which seems to be currently limited to FAT32 (and possibly FAT16) only.
Click to expand...
Click to collapse
There is a solution for that already. Search ntfs-3g or posts started by me.
Just tried my logitech wireless keyboard but doesn't work. May need to dig out some old wired keyboard to try later.
somebody can get the USB ID of EuroCase? i can't get it from the internet
takato23 said:
somebody can get the USB ID of EuroCase? i can't get it from the internet
Click to expand...
Click to collapse
Actually, you may found the id by S2 itself. Just install a terminal emulator and do the same lsusb command.
jackleung said:
Actually, you may found the id by S2 itself. Just install a terminal emulator and do the same lsusb command.
Click to expand...
Click to collapse
Okay i could get the usb id from eurocase (i've a keyboard+mouse 2.4ghz pack) It's 1D57. Now when i connect the recivier, says "connected a usb device". But when i try to use mouse or keyboard it get stuck on one letter. I've try with a genius keyboard also (ID 0566) and it does the same... the only device that it works is a Razer mouse (without doing a thing)
My Microsoft Wireless Mouse 1000 works perfectly fine. However my other Microsoft Wireless Desktop combo (6000 v3) doesn't.
Also, I am looking for a way to use my USB headsets. I am able to control volume through it, but can't route audio through it.
Hope one of the devs here would be generous enough to help us get our devices working
Writing a driver and firmware from scrarch is quite a bit more arguous than finding one that works with linux. Look for one.
Once I get this porting business figured out ill post a tut on porting. Maybe even a small vm of the ubuntu box, to avoid rebuilding the setup
Sent from my GT-I9100 using XDA App

Categories

Resources