Related
Hi fellow Xda-devs,
I'm a software engineer.
I do alot with honda ecu software. This goes for programming and datalogging. The problem is honda talks TTL. I have an ttl->usb and ttl->db9 serial.
I really wanna use my app i created for pocket pc. I'm gonna buy a wizard now, i had an qtek s100 first. Both don't support serial port nor usb host stuff. I use a pl-2003 chip for usb->ttl. Which has a pocket pc driver.
I'm think of buying a BT->serial. So i will use BT->Serial->TTL.
This is a link i have found.
http://cgi.ebay.com/100m-Class1-Blu...ryZ44999QQssPageNameZWD1VQQrdZ1QQcmdZViewItem
Please give advice/comments if it will work
CJ
Found a pretty nice device.
RF-BlueSMiRF
http://www.sparkfun.com/shop/index.php?shop=1&cart=564160&cat=1&itemid=400&
BlueTooth to RS232 adapter - Help with strange requirements.
I have also been looking for a bluetooth RS232 device. All of the devices I have found meet my basic requirements. Though, a couple of applications that I planning to develop, provide me with a couple of out of the ordinary requirements:
1) I own a MAS-TECH multimeter which has an RS232 connection for logging reading on a PC. The connection operates at 600 baud (600,n,7,2). All the bluetooth devices I have found only go down to 2400 baud.
2) I also need the device to support baud rate changes on the fly. I would like the AT+IPR baud rate command to change the baud rate of the bluetooth device, once the command has been sent to the destination device. All the bluetooth devices I have found support a range of baud rates, but can only be configured using specific commands or via an application. The worst case I have found is that the device requires a reboot following reconfiguration.
Does anybody know of such a device?
Anybody have any suggestions?
I have a problem that I hope some of the code gurus here can help me with. I have an HTC PDA that was codenamed Colorado. The Colorado is actually the Dell Axim X50 series. I have a thread on Aximsite http://www.aximsite.com/boards/showthread.php?t=140071 where I am trying to add a USB host hardware interface to the PDA. I have done quite a bit of hardware reverse engineering of the X50v device (I'm a old-time hardware hacker) and have been able to bring out the PXA270 USB host port1 interface to the outside world via two unused pins on the sync connector.
I originally noticed that the X50v A02 ROM had the OHCI driver included, so I rolled back to that release on my test PDA and have been attempting to get the interface operational. In my quest, I have determined that I need the usbd.dll driver as well as any client device drivers for HID, mass storage, etc.
I've used a number of the great utilities I've found on this site (thank you very much) to grab a copy of the Axim ROM and pull it apart. I consider myself great at working on hardware but my software skills have become rusty over the years (hey - I started by building this system a 'few' years ago: http://www.sol20.org/ )
What do I need?
I would appreciate getting some guidance on how to dissassemble the ohci.dll module so I can see if in fact, it was designed for the X50 or if it was left in by accident by HTC as the later ROM updates for the X50 series had the ohci.dll module replcaed with one named peripheral.dll which was about 1/5th the size.
Also, I'm wondering if either the ohci or usbd drivers require the irq and/or the membase of the PXA270 USB host port1 interface and if so, how do I determine those.
My original idea was to use a simple 2 port hub to bring out the interface. Unfortunately, I recently discovered that a hub requires a hub client driver. Because of that, I will settle on getting a USB flash memory key to interface directly as the drivers are already available. One of the problems I have is interfacing the 3v USB host lines on the PDA to the 5v data signals that may be present on the client device. The PXA270 USB host lines are already terminated on the PCB with 15K resistors. All that is needed is a transient protection chip and/or port driver chip.
I have installed the free Microsoft WinCE dev environments which I thought contained the source for the generic ohci driver, but I can't find it anywhere so I guessing it's not included in the free dev s/w.
Although this is only my 2nd post here, I do hope to be able to contribute technical information going forward. What I'm doing on the Aximsite is quite advanced as far as hardware hacking goes and I hope to be able to simplify it so a few others can 'play'.
Thanks in advance for any help and I wish everyone here a great New Year!
Wow. Well this is a bit over my head, but does sound great.
I will try pointing you toward a couple of useful tools:
1st is IDA probably the most powerful disassembler for ARM code. The free evaluation works fine, but won't save and closes about every 30 min. Still should do the trick if you just want to look at the code.
2nd to get sample driver code, you need Platform Builder. Not sure if that is what you downloaded, but try the provided link. Evaluation version contains all the source code MS is willing to give, it just has some limitations on ROM compilation (which you should not care about).
The only problem is, it's a real b*** to install. Takes hours even if you have a goo internet connection.
Hope this helps.
Thanks for the quick reply.
Do you know if there is anyone who knows a little on how the low level device drivers actually interact with the hardware ports?
Also, I assume that with just the ohci and usbd drivers, if the port is actually activated by pulling one of the data lines high, I should get the popup box asking for the name of the device driver. correct?
how to determine I/O base offset?
In trying to reverse engineer the ohci driver for a couple for the HTC units, I need to figure out where the I/O register base starts.
Are there any memory dump utils, like dumprom, that would indicate that?
I've installed platform builder and want to try compiling the standard ohci driver, but I need to know how to determine the start of the I/O registers on a given WM2003SE platform.
Any assistance would be greatly appreciated.
thanks
Hy,
with so many ppl out there making there own audio-video-charging-whatnot cables for Smartphones of all kinds (especially the Omnia i know of) i would like to know if it would be possible to get any kind of external USB device like Keyboard, Mouse, USb-Hub or HDD working on a custom cable and driver of some sort. Sure when u allready have a USB-Port on your device the special cable is not needed, but the Driver part is, so interest and demand of this should be rather high me thinks...
Since i have no knowledge to program it, this post is more like a suggestion or request. If the hardware of Smartphones is not as reconfigurable like the Bluetooth-components that can be teached to understand Bluetooth-Keyboards and Mouse then let me know and close the thread
Thanks
Flashhawk
these are possible...if someone agrees to write drivers for all the stuff we want to run...atleast thats what ive heard n read (and remember )
Default Zeno USB Host Drivers v6.0a
Zeno USB Host Drivers v6.0a
==========================
Date: 2009-02-12
Original thread and discussion found here:http://forum.xda-developers.com/showthread.php?t=480899&highlight=zeno+usb
Requirements
============
PDA or Smartphone running WM5, WM6, WM6.1, propper USB cable for your device, PTP digital camera.
Information
===========
Made by Zeno Sloim. Based on RATOC Systems drivers.
The package contains:
- USB Mouse driver
- USB Keyboard US-101 HID driver
- USB-based external CD-DVD unit
- USB-based HDD unit, Memory Flash, USB-based card-reader MassStorage Driver
- USB-to-Serial Port driver (start Terminal in Start-Programs for configuration).
- RS232 USB Serial Driver (start RS232 USB Serial Driver in Start-Programs for configuration).
- PTPView for HOST & PTP Digital Cameras driver (non-USB Mass Storage such as Sony, Canon etc.).
- download photos and movies from PTP digital camera to your PDA
- photo preview
- multiple files download
- delete files from digital camera
All features tested on Fujitsu Siemens Pocket Loox 560N running WM6.1 with Transcend 16 GB SDHC Class 6.
Used with OEM USB keyboard, OEM external HDD, Kingston 8 GB memory-flash, OEM card-reader and various SD, SDHC cards, Microsoft various USB Mouses, Jura F9 automatic-coffee-machine serial port controller, OEM serial GPS unit, Canon Powershot G3, Canon PowerShot S3 IS
Download and run installer.exe on your pc, autorun.exe on your pda, autorun-s.exe on your smartphone.
History
=======
- Version 1.0: 2009-02-06 (first version)
- Version 2.0: 2009-02-07 added USB Host Mouse support for generic USB mouse. Only left-click and right-click support included, scroll-mouses are reduced to simple left and right click mouses.)
- Version 3.0: USB-to-Serial Port support added. V3 includes all previous versions, no need for uninstall. V3 does automatically soft-reset, which was not the case for v1 or v2.
- Version 4.0: PTP digital camera support added. V4 includes all previous versions, no need for uninstall.
- Version 5.0: added compatibility with older devices WM2003, as well as for WM Smartphones.
- Version 6.0: improved USB-to-Serial Port driver and added a second RS232 USB Serial Driver more suited for serial GPS units.
- Version 6.0a: modified installer, no longer forced reboot after full install, due to conflict with TouchFlo, SBSH iLauncher which caused a repeated reboot. You should manually restart your device after complete install.
FAQ
===
1. What you see on screen when you connect something?
For HDD, Memory Flash or CardReader, you can see in Explorer(Resco Explorer or WM Explorer) the new unit labeled as "Hard Disk".
For keyboard, you don't see , but in any program using the device own keyboard (Touch Screen or slide - HTC Touch Pro), you can just type on external USB keyboard.
For mouse you see a yellow-green mouse cursor on screen which follows the external mouse movements.
For DVD you see : "External Mass Storage"
For Serial port a little window prompts you to configure the serial port settings and communication protocol.
Or start Terminal in Start-Programs for configuration, or start RS232 USB Serial Driver in Start-Programs for configuration.
For digital camera start the program PTP View.
2. Is program limited to only devices with USB-host?
Yes and no. It depends on the hardware construction, accesible USB connector, even older devices without usb-host can have usb-host functionality. Many models and manufacturers has hidden this feature which really exists in their devices. The only way to find is to test it and if not working, search if other users succeeded. Original Fujitsu Siemens Pocket Loox 560N has included by default usb-host connector, with support for HDD-Memory Flash only.
3. Cables and power supply - which ones?
I always tested it with powersupply incoupled for my Loox, even if HDD or DVD-unit self was powered separated. More info on how to build an injected USB power supply here:
http://tabletblog.com/2006/01/usb-po...host-mode.html
or here:
http://www.google.com/search?hl=en&q...or&btnG=Search
You can use the cables/accessories from an external powered usb 2.5" hdd unit and adapter mini-usb to usb (usb cables with 2 heads at one end for external power supply).
4. I ran your installer but nothing happened, and nothing got installed?
You must run installer.exe on your PC with your pda connected via Active Sync. Or copy autorun.exe to your pda and run it from your pda.
The installer detects if any of the 7 modules are already installed and it jumps to next component to check if it is installed. If all components are installed you see the message that nothing has been installed. After install, if you want to remove a certain component, you can do it by choosing Setting-System-Remove Programs. You'll see all 7 components and just uninstall the desired one like any other ordinary installled program. There's no common uninstaller for all 7 components at once, but for any of the 7 individually.
5. Does it work on my device?
There's nothing harmful, nothing malicious hidden in my program, so you can test it on your devices without risk for dataloss or other unpleasant effects.
The installation (CABs) is not locked to certain device, it is uninstallable, it is not compressed to avoid installproblems on certain devices. On my FSC Loox 560N I could install/uninstall without problems. Test my program, if it works, I'll be glad I could help other users, without thinking of money or profit. If it does not work, I can not guarantee I can help you. Just try and see.
6. Can it read data from attached DVD-unit or NTFS partitions?
Yes. The DVD unit I used is an Acer USB-based CD&DVD-RW made 2004 for an Acer Tablet-PC.
7. Barcode readers?
A user commented that even an USB barcode reader worked ok.
8. Incompatibility problems with other programs?
I can only test on my FSC Loox 560N. You can try on other devices and report in this thread on your experiences.
9. Legal aspects. Is this program legal?
Yes. All informations and sources are based on free available information and sources. No licences or copyrights were infringed. All is legal to use.
10. How much does it cost?
This program made by me, Zeno Sloim, is completeley free to use and test. I do not demand any payment or any other material form of recompense.
My program is done as Freeware and may be used by anyone.
However it may be not used or included by any person or company in a shareware product or which demands paying.
http://rapidshare.de/files/45220151/...v6.0a.rar.html
Maaan!!!
That is great!! Will try as fast as i can!!
Thank you so much!!!
Flashhawk
if u read the whole thread u will know that it is not working for majority of the devices. i hope that someone could solve this problem soon.
That driver doesnt work on many devices, touch pro and diamond cant use it.
Greetings....
I am hoping to get my Asix Usb to Ethernet adapter working with my nook STG. I believe the only remaining requirement is to compile the drivers for it (which are android 2.x compatible according to the driver manufacturer website).
I am rooted and have 'usb host mode' successfully working.
When my adapter is plugged in, it displays as a 'connected device' in my Usb Host information app and shows the details; make/model etc - so its connected successfully.
It works plugnplay with my other droid devices, however in these devices there is an Asix driver folder in /sys/bus/usb/drivers and there is not in my Nook, thus I believe i simply need to compile the drivers which will create the Asix driver folder.
If you have the correct setup and can compile the drivers for me (and potentially other Nook users), i will exchange them for 10GPB or 10 of your currency, via your desired means.
I am slowly trying myself on an ubuntu vm in windows but can only use the pc for short periods due to eye troubles; hence trying to use a Nook as my sole computer.
INFO:
Device: Nook STG firmware 1.21 - kernel source file link = images.barnesandnoble.com/PResources/download/Nook/source-code/nook2_1-2.tgz
Adapter Driver: Asix AX88772 - driver source file link = www.asix.com.tw/FrootAttach/driver/AX88772C_772B_772A_760_772_178_LINUX_Driver_v4.11.0_Source.tar.bz2
Adapter Info: BobjGear Adapter made for Android Tablets = www.amazon.co.uk/BobjGear-Ethernet-Exceptions-Description-Ultrabooks/dp/B007RTACDM
Other info: An XDA thread compiling the same drivers - http://forum.xda-developers.com/showthread.php?p=37548841
I don't know how to apply the drivers so I need to learn how to do so, I have ADB set up and have Noogie, CWM and NookManager .img also.
Any other info needed i will provide
Sam
Just a quick comment:
Host mode on the Nook currently uses a lot of power.
Something like >100mA in comparison to a usual 8 mA or so.
It's not been tracked down yet.
I can get you better figures for this later.
Presumably this is for some fixed install using hard-wired power?
Renate NST said:
Presumably this is for some fixed install using hard-wired power?
Click to expand...
Click to collapse
No I'm actually just using it as it is; no hardware mods.
I have not used usb host enough to know the drain speed but while plugged in to a live ethernet yesterday, it drained seemingly quick.
This isn't a preventative issue though; my need to access the web on the nook via ethernet (no wifi dizziness) is urgent.
If i had to recharge every 10 mins e.g, this would be extremely hindering but still necessary.
Hard wiring may be desirable (maybe not if it's permanent), i haven't read any posts on it thus far.
I do have a powered hub etc if applicable, i dont know if it can charge as well as hosting from the usb.
Sam
Yes, you can USB host and charge.
I'd recommend a back-powering hub.
That way, if you want to throw a USB keyboard on it too, you can.
See: http://forum.xda-developers.com/showpost.php?p=22956658&postcount=103
Great, i'll give it a try
Hi,
I am having a hard time trying to get a couple of USB devices to work properly on my headunit. One is a USB CarPlay dongle, and the other is an OTA tv tuner. Both USB devices get recognized by the headunit, however in the case of the first, it never gets passed a connection state where the dongle starts talking to the application. In case of the second, the OTA never finds TV stations after doing a complete scan.
USB devices like keyboards, mice, USB flash drives, even a webcam work fine. I contacted the manufacturer and they said they only support USB synchronous which may be the reason these devices can't work properly.
The unit is an Eonon GA7157 with the Allwinner R16 1.6GHz Cortex A7 Quad-Core CPU.
Questions:
Is it possible this is a valid claim?
My unit is rooted, can USB asynchronous be enabled via software?
I was also thinking this could be an OTG wiring issue, what do you think? I say so because the only way I could get the CarPlay dongle to work on my Samsung Tablet A, was with an OTG cable. A straight connector presented the same symptoms.
I am not too experienced with Android, so please be gentle
He was feeding you a load of horse manure.
Either that, or he meant something entirely different by "USB synchronous".
Precisely what do you mean by "get recognized by the headunit"?
What exactly *are* these two devices you are trying to use?
What *drivers* do they use?
Have you confirmed that the kernel is enumerating the devices?
Have you confirmed that the kernel is binding the proper drivers to them?
Have you confirmed that Android knows how to deal with the interfaces that the drivers are providing for these devices?
Have you confirmed that the interface permissions are such that a user application will be able to access it?
An OTG cable does two things;
1) It reverses the gender of the connector,
2) It sends a signal to the phone/tablet/whatever that it should switch its USB port from slave mode to host mode.
Nothing else.
Thanks for the tips. By recognize I mean that Android prompts me to confirm opening the accompanying apps when I plug in these devices to the USB port. E.g. I plug in the CarPlay dongle, Android prompts: do you want use Zbox (App) every time you use this device (Cancel or OK); I press OK and then the App stays in trying to connect mode forever.
The manufacturer has locked down USB debugging. Do you know of any apps (rooted or not) that will give me the information you pointed out?
thanks
It is unlikely that USB debugging is "locked down". More likely, its just because your USB device port is stuck perpetually in "host" mode on the wrong side of a USB hub, and therefore you can't connect to it. Try connecting to adb over IP instead.
I've never heard of any USB device on Android causing any kind of popup. That is very strange. Is it possible that the popup is being created by the program, i.e. "zbox"? Its possible that the system is sending a broadcast upon device enumeration, but the device access permissions are either wrong, or the kernel doesn't have the proper driver available.
luciusfox said:
It is unlikely that USB debugging is "locked down". More likely, its just because your USB device port is stuck perpetually in "host" mode on the wrong side of a USB hub, and therefore you can't connect to it. Try connecting to adb over IP instead.
I've never heard of any USB device on Android causing any kind of popup. That is very strange. Is it possible that the popup is being created by the program, i.e. "zbox"? Its possible that the system is sending a broadcast upon device enumeration, but the device access permissions are either wrong, or the kernel doesn't have the proper driver available.
Click to expand...
Click to collapse
Thanks again. I am including some pictures that may help explain the problem a little better. As far as the passcode, from what I can tell this unit has 3. One for the Advanced Car Settings, Developer Settings, and USB Debugging. The first 2 I found on another forum and are 123456 and the other 7890. The USB Debugging is an alphanumeric string which I haven't found anywhere, and the manufacturer refuses to release it. When I toggle the USB debugging on, I get prompted to input the passcode. I have tried a few codes but no go, the USB debugging switch goes back to the off position.
The other pictures show the USB port capabilities of the headunit. The unit has 3 USB ports: one is taken by the WiFi module, the other by a dashcam, and the remaining one is open and where I plugged in the CarPlay dongle. There is also another picture of the USB CarPlay dongle device plugged in and listed as Mass Storage Gadget. The dongle does have internal storage of a few MBs.
Finally, I include a picture of the application Zbox. This is the latest version and it starts automatically when I plug in the USB CarPlay dongle.
Well, I made some progress with the password for the USB debugging switch. To summarize:
Car Settings: 123456
Developer Options: 7890
USB Debugging: [email protected]
Now I just need to figure out how to make the USB port work properly. Any ideas? I have USB debugging access and the device is rooted.
Well according to your second-last picture, the device is being detected as UMS (Usb Mass Storage). I.e., like a usb flash disk.
VIDID of 0x0525:0xA4A5 looks to be an e-ink tablet called "Pocketbook Pro 903".
The problem may be that your "carplay dongle" is masquerading as something it isn't.
Well, the VIDID could be the problem; however, this same CarPlay dongle works fine on 2 other Android devices; moreover, a USB OTA tuner behaves the same way, meaning it does not work on the headunit but does on remix and a tablet.
Well guys, this unit is going back to the seller. After playing with it and not getting anywhere with customization and customer service, it’s out the door.
I am getting an xtron octacore px5 unit. It looks like these head units have better developer support.
Do you have the English version of 3.0 you can post?
bass_rock said:
Do you have the English version of 3.0 you can post?
Click to expand...
Click to collapse
You mean the Zbox firmware and software? if so, pm me, and I'll forward it to you.
isisyodin said:
You mean the Zbox firmware and software? if so, pm me, and I'll forward it to you.
Click to expand...
Click to collapse
Yea, and actually I was able to use the version on their site. It was al in English when I installed it and I’m now on version 3.0.2
bass_rock said:
Yea, and actually I was able to use the version on their site. It was al in English when I installed it and I’m now on version 3.0.2
Click to expand...
Click to collapse
Whats new on 3.0.2 compared to 3.0.0? Do you know what was updated?
isisyodin said:
Whats new on 3.0.2 compared to 3.0.0? Do you know what was updated?
Click to expand...
Click to collapse
According to Google Translate:
1. Optimize U disk upgrade USB recognition rate is higher
2. Optimize the phone connection, mobile phone recognition rate is better
3.carlife in the help page to add download guide
I was able to get it from here: https://translate.google.com/transl...=en&ie=UTF-8&u=http://zjinnova.com&edit-text=
bass_rock said:
According to Google Translate:
1. Optimize U disk upgrade USB recognition rate is higher
2. Optimize the phone connection, mobile phone recognition rate is better
3.carlife in the help page to add download guide
I was able to get it from here: https://translate.google.com/transl...=en&ie=UTF-8&u=http://zjinnova.com&edit-text=
Click to expand...
Click to collapse
My new Xtrons recognizes the Zbox dongle very quickly. I think it is now as quick as some of the dedicated Alpine and Pioneer units.
As far as software, crisper icons and bypassing the connection window would be nice option. It should only display when a problem occurs. One thing that is flimsy is the USB connector but no software upgrade will fix it. I am considering opening it up and soldering a better connector. Also, heat dissipation is an issue. It needs a heatsink. I may just add one when I crack it open.
I am looking forward to the next iteration with wireless CarPlay. Someday.
isisyodin said:
My new Xtrons recognizes the Zbox dongle very quickly. I think it is now as quick as some of the dedicated Alpine and Pioneer units.
As far as software, crisper icons and bypassing the connection window would be nice option. It should only display when a problem occurs. One thing that is flimsy is the USB connector but no software upgrade will fix it. I am considering opening it up and soldering a better connector. Also, heat dissipation is an issue. It needs a heatsink. I may just add one when I crack it open.
I am looking forward to the next iteration with wireless CarPlay. Someday.
Click to expand...
Click to collapse
Yea the update definitely enhanced it a lot. I used to have a pioneer and it feels close to the same now.
bass_rock said:
Yea the update definitely enhanced it a lot. I used to have a pioneer and it feels close to the same now.
Click to expand...
Click to collapse
Prior to 3.0.2, what firmware/software where you running?