[Q] Enable USB serial port mode - Optimus One, P500, V General

Hi,
i am building a robot with some other peoples controlled by microcontroller connected to Optimus one. I already have bluetooth serial port working, but I would like to connect it via USB - it is just faster and more reliable. I looked around and saw some tutorials for G1, java library, but not the way how to enable serial port in kernel on OO.
So, my question is how to enable usb serial port mode in kernel?
Thanks.

google SL4A mayb that might help or better still google "CELLBOT ANDROID"

Related

OBD/Car Diagnostics?

I find it hard to believe that this topic has not been discussed here. Perhaps I didn't hit the right keyword combination in the search (if so, please accept my apologies and kindly guide me in the right direction).
I am interested in connecting my 8125 to the diagnostics port (OBD II) on my car in order to read error messages.
I found this relatively cheap tool online that lets you connect to your laptop.
It also has some links for software that will run on the PPC as well as a serial to USB cable (with mini adapter).
Does anyone know if this is feasible?
Here's the tool:
http://www.scantool.net/index.php
Here's the PPC software:
http://www.scantool.net/?mode=displaySoftware&os=Pocket PC
oops
I work for a scan tool software / hardware company. We have recently been discussing developing an application for the PPC.
Here are a few additional applications.
http://www.autoenginuity.com/products-scantoolppc.html
http://www.obd2.com/win_ce/data/win_ce.htm
http://www.autologicco.com/pocketline/pocketobdpro.shtm
I use a bluetooth unit with my laptop and wizard, it is available from
http://www.vitalengineering.co.uk/
I have used it with a few PDA's and it works really well I can clear codes log data from the sensors etc its OBDII and CAN compatible
R
Thanks for the suggestions!
The unit Rob suggests seems pretty powerful for the price.
And the fact that he's tried it with the Wizard helps!
I think you can download the software and run it in simulation mode to see if it does the things you want it too.
good luck getting the setup you want.
R
rob61280 said:
I use a bluetooth unit with my laptop and wizard, it is available from
http://www.vitalengineering.co.uk/
I have used it with a few PDA's and it works really well I can clear codes log data from the sensors etc its OBDII and CAN compatible
R
Click to expand...
Click to collapse
I've also used the Elmscan unit mentioned above with a Sena Serial -> Bluetooth dongle along with my 8125 or a Treo and been able to monitor my idling vehicle from as much as 50 feet away. I'm not sure why I would ever need to do that but it's nice to know it's there.
this sounds interesting, what is this?
OBD lets you peer into your car's computer to see what's going on more or less. Very helpful with cars the have idiot lights instead of guages. Autoenginuity.com has some great software and has bluetooth adapters for the American side of the pond. I think they're $128.00 for the BT module, not sure about the others.
I want to connect my wizard to the OBDII port of my car to use a programm called "VAG-CHECK".
I have an OBDII to USB cable, and i managed to convert it to miniUSB.
My problem is that the software can use only serial ports.
What I believe I need, is a "serial over usb" driver that will implement a virtual serial port and will redirect data to the usb port. Am I right? Do you know if there is such software?
Thanks in advance.
Even if you had the mentioned driver, you would still need a USB host enabled pocket pc. The wizard acts only as USB client, so it's not possible to connect it to any other USB devices rather than a PC.
And - before that question comes up - USB host is not a piece of software, it's hardware! You won't ever be able to add this feature to a Wizard. Sorry...
Thanks a lot!
My next try was to buy a bluetooth to serial adapter, that supports the serial port interface. What I did, is that I paired the two devices, but no serial port is added in the wizard. So I added it manualy (outbound serial port, com6). But neither the OBD software can see this port, nor a hyperterminal emulation. I cannot even initiate this link from the wizard. Is there any way to achieve this?

Micro usb audio connector

Is it possible to use the micro USB audio connector for audio? After rooting, the audio application of the android does not recognize the mp3 files to play. Why not let it do so?
I think that would require USB host mode like on the Samsung galaxy. I think that means needing extra hardware doesn't it? -otherwise I would expect every phone to be capable of it
edit: It is possible but you can fry stuff. Info on NookColor forum
USB host = great possible enhancement?
I wanted to post to proper thread, however I am new here I was not allowed to post on developers forum. So I hope that this post will still somehow find its way there. It also includes your original question.
Since some USB features are now claimed to be working, I wanted to ask directly poping out questions:
http://forum.xda-developers.com/showthread.php?p=21669750
Is it possible to...
1.) disable on-screen keyboard while using USB one?
2.) connect USB soundcard like: http://www.usbgear.com/computer_cable_details.cfm?sku=USBG-X2X&cats=121&catid=121%2C136%2C134
To allow listening mp3, Skype calls.... ?
3.) connect USB Ethernet card like: http://www.usbgear.com/205528.html
4.) to connect other cool usb stuff like: GSM, printers ... whatever
thanks you developer guys, I hope I'll once manage some time to learn more about the system and developement so that I could contribute too !
thanks to androind and nook simple touch creators!
mrWax said:
Is it possible to...
1.) disable on-screen keyboard while using USB one?
2.) connect USB soundcard like: http://www.usbgear.com/computer_cable_details.cfm?sku=USBG-X2X&cats=121&catid=121%2C136%2C134
To allow listening mp3, Skype calls.... ?
3.) connect USB Ethernet card like: http://www.usbgear.com/205528.html
4.) to connect other cool usb stuff like: GSM, printers ... whatever
thanks you developer guys, I hope I'll once manage some time to learn more about the system and developement so that I could contribute too !
thanks to androind and nook simple touch creators!
Click to expand...
Click to collapse
Currently the answer to all of the above is no
The USB host mode patch was done for a specific project (USB keyboard support) and while I have been spending some time playing around with Bluetooth I'm not aware of any other dev(s) working on expanding this atm.
Stuff like audio, networking and Bluetooth requires _a_lot_ more than just the kernel accepting to communicate with the device.
thats shame. allowed skype calls would be great
Skype calls are working on my nook with OTG + USB audio card on usb host mode. But it is a bit difficult ))).
To update these older posts:
Yes, it is possible to disable the soft keyboard when using a USB keyboard.
See NullKbd in the signature.
Yes, Skype works fine.
litvinov said:
But it is a bit difficult ))).
Click to expand...
Click to collapse
Where is the difficulty?
Do a logcat and look for overruns and errors.
There were a few mods done to make Skype work.
so an external usb sound card is working?
Yes, an external USB audio adapter can work.
As a portable solution it's a bit cumbersome.
I don't know what current they usually draw, but my cheapy one draws 75 mA.
A desktop solution with powered hub (charging the Nook), a USB adapter and speakers works fine.
Would USB headphones work directly on that port? I have USB OTG cable and some USB sound card somewhere so I can check with regular 3.5mm jack headphones without trouble when I find some time to do it but I just wonder if anyone tried USB headphones on it and what they think of it. Is it worth of a hassle to buy one for NST?
Some USB devices use a multiplexor on the USB micro connector and can send actual analog audio down the connector.
Many Androids support USB host mode and can support an audio USB adapter, including the ones that go for < $10.
The NST (earlier Nooks with OMAP processors) don't have complete software support for USB host mode but can be coerced into working.
The Glows (later Nooks with IMX processor) don't have complete software or hardware support for USB host mode but can be coerced into working.
The Glow4 (7.8") has audio.

[Q] USB Accessory API

Does anyone know of a ROM or Kernel that will enable the USB Accessory library on the G Tablet? I have been searching high and low for a way to get this working. I am currently developing an APP for an ADK arduino and would love to use this tab for development.
Thanks.

[Q][DEV][SOLA] External USB Webcam

Hi,
I'm trying to get a usb camera works on xperia sola. I started from the beginning (I'm not a modder) so for first downloaded and compiled ics kernel from source 6.1.1.B.1.54. Added UVC camera supports on menuconfig. several test several fail, but at the end I'm able to flash an boot my kernel. First problem is power consumption over usb OTG, got a usb powered hub, gone. Now I've 3 UVC webcam Microsoft HD-3000, Logitech C270 and an Acer Crystal Eye from a notebook with soldered usb cables. All cameras works on linux and on windows and also are listed on uvc compliant list.
I can't get working Anyone can help me? Anyone done some similar work? I missed some step?
Thanks a lot

Store analog data through PAN module connecting Via USB port of Android phones

Hi,
I am basically working as embedded engineer and while working with many micro controllers to create wireless communication I have got a unique idea of using Android smart phone controllers to send PAN module (Zigbee) data to SD card or in phone's memory storage,
I don't know whether this kind of work is possible but any kind of suggestion to start with this kind amazing work will be much helpful.
you will able to know Zigbee device on website name ncd.io, which is connected with USB module to connect easily with smartphone USB port

Categories

Resources