[Q] Can I enable USB hosting? - G2 Q&A, Help & Troubleshooting

Anyone know how I can enable USB hosting on AOSP? CM12
I'm pretty much stuck on this ROM for reasons that take too long to explain.
I already got IR blaster to work so i can remote shutter my camera. If I got USB hosting to work so I can use the DSLR controller with my phone again, I would be ecstatic and not hate my ROM anymore.
Thanks!

Related

Possible to use phone as USB Webcam?

I was just wondering, because this phone has a great camera, and I've seen people do some wonderful things with it, in terms of extra uses.
So, has there been any kind of drivers made that will hook this up to the computer as USB webcam? I'd love that.
Try these guys:
http://www.placaware.com/
USB webcam on the marketplace. The video's choppy but it works.
Thanks. Simple install and works just fine.

[Q] Duel Cameras for Non front facing Phones

Just got the new G2 and its a bit disappointing that it doesn't have a front facing camera on it. Now I am looking for a way to do video calling with the use of a Web Camera. It would involve connecting the two devices with a USB Female-Female Adapter and designing an app to use the camera. Does anyone have an idea where to start on something like that?
i guess you have to look into usb host driver, there was one guy doing this with a nexus one i think, just search on youtube there was a video
Once you make the special adapter to trigger your phone into USB host mode (if possible) you will still run into a problem of no driver support for your webcam and no applications capable of using a usb camera.
basically you're SOL for a good while

external webcam

has anyone tried? and will it work?
raindizzle said:
has anyone tried? and will it work?
Click to expand...
Click to collapse
Nothing like that will work without drivers. If you had linux drivers you might be able to make something work, but it would not be plug and play.
ske714 said:
Nothing like that will work without drivers. If you had linux drivers you might be able to make something work, but it would not be plug and play.
Click to expand...
Click to collapse
what about those plug and play webcams with installed drivers on them already? shouldn't that work since it is both windows/linux compatible? just as the same how external hard drives will work with our archos, and that also have drivers installed in them. (both windows/linux compatible also)
raindizzle said:
what about those plug and play webcams with installed drivers on them already? shouldn't that work since it is both windows/linux compatible? just as the same how external hard drives will work with our archos, and that also have drivers installed in them. (both windows/linux compatible also)
Click to expand...
Click to collapse
Ive never seen one, so I don't know for sure. Hopefully someone else will chime in on that. If you have an a70, there is only limited power available from the usb port. 200ma I think. If you try one and it works, be sure and let us know.
raindizzle said:
what about those plug and play webcams with installed drivers on them already? shouldn't that work since it is both windows/linux compatible? just as the same how external hard drives will work with our archos, and that also have drivers installed in them. (both windows/linux compatible also)
Click to expand...
Click to collapse
Just an FYI hard drives and cameras do not usually have drivers installed on them.. For example windows uses a driver called usbstor.sys that usb drives must adhere to in order to work properly. Delete this file and all your lovely USB drives in windows will no longer work unless you installed some crazy 3rd party software..
See here for more info
Ok so I just realized that most apps are drivers within itself (correct?) to run basic functions for a specific hardware like say camera effect apps for the camera. So now here is an idea...since the motorola xoom has a stock camera app implemented on the tablet to run both the front camera and a switch to use the rear camera....wouldn't it be possible as a theory to use a plug and play external usb webcam with the archos tablet and install the motorola xooms camera app instead of the archos camera app to use to switch between the front camera and usb camera (being as a rear camera)?
does anyone know where I can get the motorola xoom camera app to download? I would like to try it myself if I can get a hold of that app and just by a cheapo plug and play cam for 6 bucks if no one else is willing to try it...
raindizzle said:
Ok so I just realized that most apps are drivers within itself (correct?) to run basic functions for a specific hardware like say camera effect apps for the camera. So now here is an idea...since the motorola xoom has a stock camera app implemented on the tablet to run both the front camera and a switch to use the rear camera....wouldn't it be possible as a theory to use a plug and play external usb webcam with the archos tablet and install the motorola xooms camera app instead of the archos camera app to use to switch between the front camera and usb camera (being as a rear camera)?
does anyone know where I can get the motorola xoom camera app to download? I would like to try it myself if I can get a hold of that app and just by a cheapo plug and play cam for 6 bucks if no one else is willing to try it...
Click to expand...
Click to collapse
An app is not a driver. A driver basically is the interface between the hardware and the app. When an app interacts with hardware, it does so through the driver. That way a vendor can build hardware however they want, as long as they provide a driver that conforms to pre-established specifications so that the software provider can access it with standard commands. That's why the idea of a camera with built in drivers doesn't make sense. The software would not know to address the camera through the USB port. It needs a driver to address which would in turn address the hardware. Support for devices like thumb drives is built into the operating system, so you don't need a driver.
As has been pointed out, they don't have drivers preinstalled; rather they use protocols that are supported by the host operating system (Windows, Mac, etc) out of the box. The type of "plug and play" webcams you're talking about rely on the the universal WDM in Windows along with such protocols or frameworks as DirectShow, TWAIN, etc.
The point is, the host OS has to know how to talk to those plug-and-play webcams, not the other way around. So in the case of the Archos tablet, it would have to have the same support baked into it at the driver level. Which it doesn't.
So unless you're going to reverse-engineer those protocols and write your own Android driver, it's not gonna happen.
In the case of the Motorola Xoom camera app (or the camera app for any other device/phone for that matter), it's specifically coded to the camera chip used in that device, and has no chance of working with an external webcam. Just like it wouldn't work for the camera in my Evo phone, or anything else besides the Xoom. The only chance would be if it was a device that used the exact same camera chip hardware, but the chances of that are slim. Even devices made by the same manufacturer, such as the HTC Evo and the HTC Droid Incredible, use two different camera chips and drivers.
But.. if your usb camera is working with opensource linux drivers (like uvc driver) there is a high chance that it will work on android if someone compiles the missing kernel modules (aka drivers) like I did for dvb devices. AND THEN.. someone has to write an extended camera app which supports selecting different cameras
any advancements with this issue?
I have an archos 80 g9 8gb. I want to plug in my Sony video camera using a firwire to USB cable and an USB to micro adapter. I then want to use my tablet to broadcast on ustream.com. I am in a paranormal group, I use a night vision camera, therefore I need to figure out a way to do this. We currently use an apple laptop that constantly needs to be plugged in. Being able to use the tablet for this would a much better solution for a few reasons.
Has anyone found/made any drivers?
Would be really useful this. I'd donate.
I am in a similar boat as a few others here. I want to switch over to an Android tablet in my truck, but it's pretty large and the need of a rear view / back up camera is a must. During my past 48 hoursearch this is the most useful, and encouraging info that I could find. I am not a coder, but those who are can probably work with the source code I found on this site. I hope this helps us all. Maybe with the release of ICS the difficulty usb hosting for webcams won't require that much effort. Have a look
brain.cc.kogakuin.ac.jp/research/usb-e.html

USB Host

Does the EVO do this or would a ROM work I have an APP to control my DSLR camera. When I open it it says your device does not support USB host.
anyone know this?
Discussion of similar nature here -
http://forum.xda-developers.com/showthread.php?t=727440
thanks looking into it now.
Last thing I heard was it is not possible with the evo.

[Q] Motorola Defy - USB Hosting or USB reading Pendrives???

Good day everyone. I have motorola defy with the CyanMod 10 Android Version 4.1.1 and I want to know how to enable the USB Hosting on the phone.
Recently I acquired a Canon 7D camera and I wanted to use my phone as a controller for the camera and I found an amazing app for it, the DSLR Controller https://play.google.com/store/apps/details?id=eu.chainfire.dslrcontroller&hl=en, I've been looking around and I haven't find a way or why my cellphone doesn't detect the camera or even an USB Pen Drive. I have a USB on-the-go cable and apparently the app is compatible with my phone since I was able to download it. I can't find anywhere about this problem and I really want my phone to host and work as a remote controller for my cam. Physically I've tried different cables so the cable is working fine.
*How can I enable the hosting?
*is there an app for it?
*If i have to program a code for it, what app or how can I change the text code on my PC?
*Am I doing something wrong???
*Anyone has the same problem???
I've found a similar thread but it's no tutorial on how to do it http://forum.xda-developers.com/showthread.php?t=960633 so if anyone can help me, I'll be a very happy man.
Thanks for your time.
I think it has not been yet implemented in the current custom kernel(but will be)
Sent from my MB526 using xda premium

Categories

Resources