[Q] usb webcam's - Eee Pad Transformer Q&A, Help & Troubleshooting

usb webcam's tf101 mounted in my car 24x7 as a car pc so to speak.
And i'm wondering if anyone knows a way to add a usb webcam and record maybe a 1hr loop of video at 640x480+ res and say 15fps+ like a police dash cam in a way
Tablet is in a custom mount with dock so i have 2 usb ports.
Tablet is rooted and running team eos rom. It is a b70 sbv1.
I have made a few small apps to interface my tablet with my arduino over bluetooth. But thats about the best i can do
I have a small 7 tablet with a usb host bort and no cameras (tegra powered)
That i wish to use a usb cam with as well as a bike cam
As always the higher the rez the better
I have a tf201 as well

If it doesn't detect and use the usb webcam, then you're running in to the same problem I'm having with my usb headphone adapter, and will probably have to make a driver for it. If it's Plug and Play in a linux based operating system, you should be able to package the needed modules into a driver and add to a kernel. Get a terminal emulator and run lsusb with the cam unplugged, and then run lsusb again after plugging in. it should give something like this
--
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 <-- These were here already
Bus 001 Device 026: ID 05e3: 0610<-- These were here already
Bus 001 Device 028: ID 046d:0a17 <--- this is the new entry after plugging in/ (headphone adapter)
--
Then google the ID (046d:0a17, whatever yours says) linux module. You'll need kernel source from asus or other base kernel to work with.
--
also try dmesg immediately after plugging in and see if any errors pop up, if not then you need a driver.

Related

Can we use the USB port to a serial device?

I have a piece of old equipment at work that i use a DOS program and a USB to serial adapter with a null modem cable to back up files off of the equipment. I installed DOS box and it runs my equipments program perfectly. Is it possible to communicate through the XOOM's USB port to my equipment using a USB to Serial adapter and null modem cable to do this with? Any help or advice would be great.
Thank You,
-Nathan
I guess I should take that as a NO!!!. I will pay to make this happen though!!
Bump
Sent from my PC36100 using XDA App
those usb to serial adapters use a Prolific chipset. Linux requires a kernel module to work with them. I suspect you'll need to build the kernel module and add a script to insmod it.
My boss will gladly pay someone to get this to work. If there are any Devs that want this project contact me and we can get this going. I know i can approve 1K to make this happen.
It can be done.
I have currently got my xoom setup so that I have a usb serial adapter connected to it for debugging purposes.
Do you know what chipset your usb to serial adaptor uses? I can then check if it is supported by the linux kernel.
evonate said:
My boss will gladly pay someone to get this to work. If there are any Devs that want this project contact me and we can get this going. I know i can approve 1K to make this happen.
Click to expand...
Click to collapse
I'm in. We'll start research. Sounds like fun.
Sign me up too. I would love to serial into Cisco devices with my xoom.
The following pieces of information i have already:
My usb2serial Adapter uses the prolific pl-2303 chipset
it is driven by the pl2303 kernel module.
the module depends on the usbserial module, which is already in tiamat as well as stock (its needed for the 3g modem i think)
So if i am correct we need the pl-2303 kernel module and a piece of software (minicom, cu) to use the serial (as far as i know there is no software in the market for this)
ok, i took a quick look at the tiamat git repository and it contains the pl2303 driver.
Now i am going to try to compile my own tiamat kernel
First time compiling linux for an android device
I would love to see this happen. I have tons of Cisco swithes and routers that I always have to configure on the fly. I know I can buy a bluetooth adapter but still have to power that :-( Would love to be able to hookup my otg cable, then my usb to serial, then to my console cable to configure everything.
Just not sure how to get the usb serial drivers installed on android :-(
If this ever gets working then my IT dept. will be getting a Xoom as well.
Thanks,
Ken~
Any updated news on getting this to work? Really don't want to spend $60 for a bluetooth serial adapter.
Ken~
I can try and include a few optional modules for the next tiamat release for usb serial devices
This is an old thread but in case ...
I also have to do serial communication with an old printer.
For now, I'm trying to prototype with an arduino mega using a trendnet usb to serial adapter.
I'm using the sample app on the market of this lib :
http://slickdevlabs.com/slick-usb-2-serial-library/
I actually can send and receive bytes on the xoom.
The only problem for now is that characters receive or send are not correct. I Don't understnd but still searching.
Any way, it should work ...
Mike
install bt5 and then install minicom under bt5. The pl2303 module with the pl2303 usb serial adapter does this very well.
bt5 you mean "backtrack 5" ?
I must use default rom ... My customer doesn't wan't to loose it's warranty ...
And usage of Motorola xoom is sure.
It might be another tablet.
Using capabilities that only requre Android 3.1 (without root) and a USB Host allow to change of device easily.

[Q] ARHD latest and serial 2 usb, help?

I am running ARHD 3.2.2 on a TF101 and I really need a usb 2 serial adapter to work. It appears that I need the following: ftdi_sio.ko, usbserial.ko and also the prolific usb<>serial adapter module since I use both chipset adapters.
Does anyone have a compiled version of these for this kernal?
Thanks Matt
Nobody doing anything with serial on ICS? I am a network support person and could really use the ability to console into equipment.
Please
I'm in a simaler predicament with getting a usb headphone adapter to work, android lacks many of the usb drivers needed.
You'd have to make it yourself most likely, but it's a relatively simple cut and paste from the linux drivers.
Run a lsusb in terminal emulator before and after you plug in the device, and get the id number, then look for linux drivers to port.
Sorry I couldn't be of more help.

[Q] Archos g9's USB host port stopped working

Hi guys,
My Archos 80 g9 stopped recognizing usb devices attached to the OTG usb host port.
For a brief time it was touch and go, and sometimes the 3g modem was recognized, but now the devices only get power when connected.
I tried various ICS ROMs and their kernels, and nothing worked, including formating and installing stock.
A diagnostic app said that the kernel and android API each "claims support",and classes were found, but no device is detected.
When I type in the terminal emulator "lsusb" I get 2 buses, and the output doesn't change when a device is connected:
Bus 001 Device 001: ID 1d6d:0002
Bus 002 Device 001: ID 1d6d:0002
Is there any other command that can give some useful information? Is there anything I should be looking for in the "dmesg" output..? I'm not that great with linux..
I found a few threads about this from other sites which are few years old, but none was solved.
This is really important to me, because I can't use my 3g modem or keyboard/mouse/storage devices.
Thanks!
BUMP!

[Q] Superpad Flytouch 7/8 serial over USB host?

Hi,
I'm trying to learn about serial communication with devices from an Android tablet via USB host mode. I have a tablet, I have the devices, I have the apps... they just won't talk. It's most likely something to do with the firmware on my odd tablet, or maybe I'm just missing something stupid.
The tablet:
SUPERPAD FLYTOUCH
10.2" >24GB< ANDROID 4.0 TABLET A10 1.5Ghz CPU | 1GB RAM
"About this Tablet" says:
Model: BC1003
Android 4.04
Baseband ver 1.5rc4
Kernel 3.0.8 [email protected] #2 Mon Aug 6 15:23:31 CST 2012
There are 2 USB-A ports on this device. One has a physical switch that goes from device to host mode, comes with a male-male cable for attaching to a PC. The other port is host only. I can connect a USB thumb drive and it mounts just fine, shows up in the file manager, no problems. Same for a USB keyboard. It powers any USB device I've plugged into it.
The problem:
It works well enough for most things. But, I've now run into two applications that won't use the host USB port on the thing. Both seem to want to do basic serial communication. At this point, those 2 apps are about the only things I actually want to do with it, so I'm willing to experiment.
I have a USB oscilloscope that comes with an Android app. The app installs and runs fine, but it won't recognize the hardware usb device I've plugged in. Annoying, but I don't really need it. I've recently purchased some digital scales(DROs) for my lathe/mill. There's an Android app that interfaces these scales to an Arduino device via USB. Installs fine, won't connect to the Arduino. Okay, now this is starting to get annoying. Also, for what it's worth, the Android app for doing general Arduino stuff didn't work either.
So, the USB hardware works enough to connect a USB thumb drive or keyboard but the firmware won't use said hardware to do what I want.
The questions:
Am I doing something wrong? Is there an app I can install that enables serial communication over USB host mode? Am I missing something stupid?
Is there any other firmware I can run that will allow this communication? I think I've got the Windows utility that will allow me to flash the rom. I've watched the youtube vids on dis-assembly so I can pull the internal tf/sdcard and make a full dd backup. I'm assuming it contains the roms and everything else. Actually, I'm thinking about just pulling said card and replacing it with a smaller one for experimenting. Will I still be able to flash it using the windows LiveSuite utility even with a blank card inserted?
At this point, I'm willing to play. I mean, it's still useful enough to be careful, but I'm willing to take some chances and put a little work into it. If I can get it running with the DRO software while talking over USB to the Arduino, I'd sacrifice everything else. GPS, battery life, wifi, screen rotation, sound, whatever. I'd just bolt the thing next to the mill and that's that. Failing that, I'll put it back to stock and stick it on the fridge for my wife to look up recipes, Yeah, poor tablet... motor oil and metal swarf or cooking oil and flour. No happy retirement for this tablet, sitting in a drawer gathering dust.
Any hints, links, recommendations, or directions appreciated.
David...

[WORKING][USBOTG][STOCK] - Atrix 2 USB OTG Host Mode and USB Accessory acquisition

04/11/2014 - 01:41AM - Central Time
USB OTG does work on the Motorola Atrix 2.
I post this because there are no defining topics listing all the requirements and caveats of making this work currently as of the date. Just alot of help topics to sift through. I got a little obsessive in my search to make this work so this is pretty much a knowledge dump.
Started from original help threads here on the forums (various many... lots), figured things out from there through conversations with Chainfire. Ultimitely fixed with lots of research and use of his USB Host Diagnostics App.
Requirements:
Motorola Atrix 2 Stock 4.0.4 - Rooted [stock kernel as well]
(what drove me insane on this was that in USB HOST Diagnostics App it showed kernel support, and API support up to Device detected)
USB OTG Y cable, usb 2.0 (I was concerned about this in the beginning however mine appears to be usb 2.0, got it off amazon.)
(Through research it concerned me that a usb 3.0 would not work. Have not tested this)
USB Drive, usb 2.0
- Tested with a Sandisk Cruzer Micro 1gb
(I assume others will work although there have been some help topics mentioning problems with certain usb drives)
[NOTE]
Must be formatted fat32 - I have noticed a few threads I researched mentioning exfat is not supported for certain devices
(have not confirmed as of post date if exfat is supported for Atrix 2 Stock)
[NEEDED] For USB Host AutoMount
Usb 2.0 Hub (I have an old one i cut apart originally. Dont remember the make, and I lost the housing for it, but hey it works)
---------------
USB Host Diagnostics App by Chainfire
(v1.3 as of post date)
Get it at Play Store [link]
Click to expand...
Click to collapse
Instructions (i.e. my exact process)
I came from testing a multitude of custom roms. None of them worked. I have a help thread on it here. Unconfirmed if any of them work at all I had no success. If you are wondering the post thread is here.
- Flash to stock ICS 4.0.4 (if you are not already)
- Root the Atrix 2
Not sure if the relevant (but this is the exact process I took)
-Install BMM
-Installed Busybox (1.22.1)
-Installed USB Host Diagnostics App
(get your host cable and usb drive ready)
-Ran the app
(Follow the instructions it will ask you at the end if you wish to attempt to fix the issue)
- Say yes to try to fix it.
- Follow instructions (go for a reboot)
- Open up usb diagnostics app.
- Run again to confirm
Congrats!
Click to expand...
Click to collapse
This will not make it automount.
- You do not need a separate program to do this.
Grab your USB hub, plug the USB Drive into the hub and plug it in. To my surprise it automounted.
Chainfire had mentioned checking out a certain file when I was trying to find custom roms that would work. The file was there but they did not work. I gather that file was added by his program and made it work on stock ICS 4.0.4.
There are alot of other threads for other devices. Samsung requires shorting the last 2 pins on the USB connection. This is not needed for Motorola, but keep this in mind if you are randomly searching for USB OTG answers.
---------------
Thanks: Chainfire
Couldn't have figured this out without his help. I highly recommend his apps, he definitely has a deep knowledge of the android system.
Hopefully that should clear things up a bit for anyone searching for the Atrix 2 USB OTG help. I'm moving on to hopefully port from ICS USB OTG host features to a custom rom like Cyanogen. Ill update a link if I come up with anything.
Hello, maybe someone can guide me for final results and find solution. My plans was watch Tv on lapdock 500pro, after i find dvb-t reciever for android. the model was ]CSL - mini DVB-T Stick (from amazon)
requriments of device informs that phone needs android 4.0 or high, dual core cpu (neon support) and usb otg
i have atrix2 mb865 with stock 4.0.4 +root and text inside /proc/cpuinfo returns - "Features: swp half thumb fatmult vfp edsp neon vfpv3"
last one what i need must be usb otg support, so after i get device i connect it direct to microusb and run installed Air Dtv app, it returns "Device not found" then i find this topic and install Busybox and USB Host Diagnostics and run app. I rush to make it quickly so when start diagnostics app asks me connect usb device but i have no any usb device and otg cable also. so i just plug charge cable in lapdock`s usb and connect it to phone, app little think then ask me to Fix usb otg support and after ask to reboot system. After reboot i try again connect directly that device but app again returns "Device not found" - then i check topic again and start to build otg cable.
After cable was complete i check it by connecting to external power (wall adaptor) then i have results.I run USB Host Diagnostics, start test connect device by otg cable, and app returns me (see pic)
Also, when i connect device by otg cable now system popup "By which programm you want use device" and give choice to Air Dtv or Idtv Mobile, 2 apps. But Air Dtv returns me "Device initialisation failed, unplug device and connect after few seconds" another app cant find device also. (see pic)
Also i install Usb Device info app, and able to see connected device info, system shows me that stick is connected to phone. (see pic)
Also i able to mount usb stick to phone by otg cable with external power, and can view files in it. Means i suggest that otg cable and otg in system works
My final point was view Tv on lapdock but at this step i cant run it on phone, Air Dtv also returns me "device not found" when i try to connect it to lapdock by microusb female - usb male extension (included in package of Tv stick)
Also that device works on pc, i install windows software and check it. Mean stick works and shows tv channels. can be for sure that device works
Hope for your help and support!
That solves my problem sort of, I'm going to try to install NUMA and see what results I get. Ill update my post once I'm done

Categories

Resources