USB Accessory Mode? - Vibrant Q&A, Help & Troubleshooting

Hi,
Are there any GB ROMS or kernels that support USB Accessory Mode? The main reason I put custom firmware on my phone was so that I could develop hardware to interface with the phone. thanks!

I also want to know weather it is possible....

I do not believe that the Vibrant hardware supports USB Host mode. To do that the vibrant (and it's battery) would need to provide at least 100mv (I think thats min) to the 5v vbus to power the accessory.
The USB port is now set to draw power (for charging etc) not provide power.
edit: check out the Nook Color forum. There they have (sort of) gotten the Nook to support USB Host mode using a powered USB hub. It took a kernel change and app to switch. It's different on the Nook as it uses open source bootlaoders (Das u-boot.bin) vs. the closed source Samsung boot.bin, sbl.bin we are stuck with.

I looked into this a while ago. The best efforts were attempting to use Sven's Nexus USB Host Mode hack. Unfortunately the hardware is so different between the two models that the hack simply wouldn't work. No one else it seemed took up the torch to make this work. Can't seem to find the thread discussing this. It was like 8 months ago.
And the power issues of the phone are easily negated by using a powered USB hub in the chain between phone and device. The only limiting factor for the Galaxy is not having a supported driver.

audifanatic518 said:
Hi,
Are there any GB ROMS or kernels that support USB Accessory Mode? The main reason I put custom firmware on my phone was so that I could develop hardware to interface with the phone. thanks!
Click to expand...
Click to collapse
Officially accessory mode is implemented starting with Android 2.3.4. In this mode Android phone is an accessory to some host external hardware and receiving power (0.5A) out of the host.
Host mode is implemented officially only on tablet Honeycomb 3.1. I think Google made external usb devices such as memory, keyboards, and mice usable for Honeycomb tablets.
If you are interested find IOIO project which uses ADB for bridging external hardware on Android before 2.3.4.

Any update on accessory mode in gingerbread? I see that some new 2.3.5 stuff is out.
Would like to get working on developing external hardware to interface these sweet machines.
Just found this link: http://www.techspot.com/news/45032-rumor-ice-cream-sandwich-coming-in-october.html . Even if the Galaxy models get usb accessory mode, it looks like there is a new line from samsung that will not only support usb accessory mode, but will support usb host!

Related

[Q] Use Android Tablet as USB, touch screen, monitor

I have been searching lately and haven't found anything . Is
there a way to use a 7" Android Tablet (rooted Nook Color
running CM7 ) as a graphics tablet for pc? Such as the ones
made by Wacom where you can see what you are drawing
on the tablet and on the pc screen. I know you could
technically use a remote desktop program but that's awfully
laggy. I was hoping there may be a way to use the usb cable
to plug up the tablet to the computer and simply use it as a
editable surface to draw on .
If this is obvious, I 'm sorry. I have just been thinking about
this a lot as I currently own a Bamboo Fun tablet as well but
I' d like to see more detail on the tablet itself.
I tried iDisplay and it 's too laggy. A usb method would
be optimal and I figured since I'm rooted someone may
have figured something out ...
Also, I have USB hosting active on the tablet if thats
necessary.
I know it has come up before (about 6 months ago from my searches) and was wondering if anything has happened at all. I would prefer that I have the option of extending my screen (for entertainment) or duplicating it (for art work)
Me too
I wish I was bringing you an answers but instead, I'm asking the same question. Every few weeks I scour the web for an alternative to iDisplay, specifically something that is wired for speed. I travel over half the year and I'm in the habit of lugging a small monitor with me so I can work efficiently. I know Toshiba has a portable usb monitor...isn't there a way to make our tablet's function this way as well?
If there is anything out there to try/buy or support? I'm in. Any guidance would be appreciated.
Thanks for putting your name on the list! I have been looking everywhere for something that could work with no luck. It doesn't seem like it should be hard to tap into the screen of a tablet through usb. Especially seeing as we have the drivers and what not.
Tapping into the monitor would be nice but to take it a step further, integration would be optimal. Such as the integration of the two touchscreens in the acer notebook. Your android device could be used as a virtual navigation device, you could use it to hold windows or play media, or you could even use it in art related programs as a drawing tablet.
It seems like there should be a bigger demand for this. I'm surprised there isn't
I've been interested in developing stuff like this for a while now, but unfortunately, I just haven't found the time to devote to such Android development.
For this to work, your PC would be acting as the USB host. The tablet would still just be a USB device connected to your PC like it always is (you would not be using your tablet as a hosting device for this). The PC would need the proper driver software (which, as noted, already exists). But software on the tablet would also have to advertise and implement additional usb profiles/protocols in order to inform the host that it has additional USB monitor/touchscreen functionality. This is the part that to my knowledge, does not yet exist. (if it does, let me know, ya'll may have done more research on this than I have)
In other words, yeah, there are drivers for a PC that know how to talk to a usb monitor/touchscreen. But on the other end there needs to be software that knows how to act as a usb monitor/touchscreen and fulfill the other half of that conversation. When you buy a usb monitor/touchscreen from Wacom or Toshiba, they're providing a device which already knows how to act and talk as a usb monitor/touchscreen. But that software is running on their device, so unless they've made some libraries available somewhere or there are some standard libraries available somewhere for this, it isn't as easy as one might think.
This might make more sense if you consider a simpler device like a usb keyboard. Your PC knows how to receive keystrokes from a usb keyboard because it has the appropriate driver software. However, if you wanted your tablet to act as a usb keyboard, you would need software on the tablet that knows how to send keystrokes over USB using the standard usb protocols/profiles.
Hope that makes sense.
~Troop
WM8505 Generic Chinese Android Tablet
CPU VIA WM8505 400MHZ ARM926EJ-S
Memory DDR2 128MB
HDD 2GB
Screen Size 7 inch TFT High Clear DigitalScreen
Resolution 800*480; 262,114 colors
It's running a modded Android 1.6. I'm just wonderign if anyone knows if it's possible to use this as a USB monitor. Or even remove the screen to mod it to be used as a USB monitor. I don't care if it's touchscreen or not.

Connect a Camera?

Now as the Nook tablet does not have a camera, I was wondering if there was any thought of the possibility of somehow getting an external camera to work with it. Whether this be some sort of webcam or what I have no idea. I just thought I'd throw the idea out there and maybe someone has some brainstorming thoughts that could help.
So, any thoughts on rigging up some sort of camera setup or how we could approach this?
It's not possible atm with the stock B&N os. USB hosting has to be activated with custom ROMs in order for you to connect the digital camera via the micro USB port.
hwong96 said:
It's not possible atm with the stock B&N os. USB hosting has to be activated with custom ROMs in order for you to connect the digital camera via the micro USB port.
Click to expand...
Click to collapse
on that note then, are there cameras that can be used with the android os that we could take advantage of when cm9 is made public?
Any digital camera should be able to connect to the Nook Tablet once the USB hosting mode is enabled in the custom ROM. The Nook Color with CM7 allows users to review digital camera pics when connected to the micro USB in host mode. Fattire and other devs are working on CM9 for Nook Color to allow USB host. Now that the bootloader is cracked, custom roms and CM9 are sure to follow. Patience.
I'm perfectly patient thanks. My question was simply to do with if its possible at all and if theres any precedence in the matter. After doing some research (some of which was I found similar to what you stated) it seems that it is, it'll just take a bit of work, as with any of this tinkering.
Apparently the hardware has Bluetooth, so it CM9 can harness that power, there will be another potential connection point for an imaging device.
Looks like no antenna though, so range will be <1m.
That wouldn't be so bad for such peripherals like a camera or keyboard.
In fact, the only bluetooth devices I use with my Xoom are my keyboard and mouse.
tinycam sure works well and is visible in the market so no need to do the tb/db shuffle. I haven't tried it for a dedicated cam but if it works with all the others I don't see whay it shouldn't.
probably a bad idea
How about using a wifi based camera? We know wifi works reliably.

[Q] Hooking up a USB keyboard to a Nook Tablet

It is my understanding that android natively supports usb. My question is, if I get a micro usb to usb adapter, and then plug in a usb keyboard, I would be able to use the keyboard to type documents. Any thoughts?
(I have a rooted nook, but I got the update before I could block them, will revert back soon)
currently no. The android or in this case nook skinned android kernel has to support usb host and usb keyboard inputs which it doesn't. But it probably will in the future when the devs release android 4.0, because ICS needs a different kernel then the current nook tablet kernel. But anyway what keyboard do you have, because you can only connect bluetooth keyboards and also only if the developers can enable bluetooth on the nook.
It also depends on the hardware support. I don't know if the TI chip has a host-only port, or if it supports OTG (On-The-Go) dual mode operation. It probably does, but I've not seen anybody verify that.
it doesn't support USB keyboards. I have a female USB to micro USB for my galaxy S2. I tried to get a USB sick and 2.4GHz mouse and keyboard on the nook but nothing worked, and yes it both works on my galaxy with the stock ROM
Sent from my SGH-T989 using Tapatalk
The NT can support usb gadgets and usb hubs but it need to be enabled in the rom and the must have the module, the NC has this feature and i hope our great devs can implement this on the NT.
Sent from my BNTV250 using xda premium
im looking to use a usb 3g modem myself with my tablet ,
ive read a bit on the latest engadget article about the other older e paper nook that was done with a usb keyboard i even went as far as to contact the guy who did it and he told me what to look for , hardware wise to see if the NT could do it ,
yet without kernel support or the module being compiled into the kernel we have already on the tablet , theres not much hope , but i believe it can and will be done , if not im gonna have to get an ipad with a 3g data card in it cause i have to have data access wifi hotspots just not cutting it..

USB Host via Software Mod?

I've read the thread about enabling USB Host through a hardware mod of a powered USB hub, but I am hoping the Atrix is able to accomplish USB host mode via software hack? From what I understand, it is an ICS feature but requires kernel level support, so am I stuck without it before Motorola releases official ICS for Atrix? It hasn't worked with CM9 or 2.3.6 Blur ROMs.
Separately, I am looking for any webtop installs that have worked with this...stock webtop didn't enable digital audio out via USB.
FYI, I am looking forward to this to use my USB-powered Digital-to-Analog Converter and headphone amplifier (Fiio e7) with my Audio Technica ATH-M50 studio monitors. The audio signal out of the analog jack is not quite sufficient.
Any help my Atrix brethren?
Any help?
Sent from my CM9 Atrix
The atrix supports USB host even with the stock kernel. There are 2 things you should consider though.
1. The ARM devices need a charge on the USB line to go into host mode, so a software solution is highly improbable
2. You need a kernel or kernel modules for your USB audio stick to work properly in addition to some also, or any other mixer that supports picking the output.
Wow, so not even with an OTG cable? It doesn't even need to install drivers, was hoping this would be workable. Thanks for your insight.
Sent from my CM9 Atrix
The drivers are there, but you need the signal on the usb which you can get through an otg +powered usb hub. It works fine than. You can use the hd dock instead of this though, its way less messy that way.
Thank you for your explanation, looks like I will need to wait to see what motorola puts out with the ics update.
Sent from my Atrix 3.5G

Does either bluetooth or usb host work on the NT uyet?

Just wondering if they have gotten either bluetooth or USB host support working on the Nook Tablet yet.
nl3142 said:
Just wondering if they have gotten either bluetooth or USB host support working on the Nook Tablet yet.
Click to expand...
Click to collapse
I haven't read about Bluetooth even being possible. Everything I have read states that there is no power from the device's battery to the charging port and thus connecting a USB device to it is impossible without modifying the hardware. LIkewise I have read that the Bluetooth abilities have actually been forced off in the hardware, though I can't remember how it was supposed to have been done.
I could be wrong. I was actually fed up with those limitations, sold my Nook Tablet for $150 and sprung for the $100 to buy myself a Samsung Galaxy Tab 2 and installed the Nook app.

Categories

Resources