[DEV-INFO] USB is a host controller on GTab - G Tablet Android Development

After much thinking (ok not really - just an idea) about the usb port on the GTablet, I decided to test out whether or not it's a USB host controller as I hadn't seen anything in any documentation saying either way.
Thanks to TheJesus (Winnah9000 on irc) and cryofix on irc channel #tegratab for testing and reporting back their results.
I am posting what is confirmed as working so far:
(cryofix)
ROM version: Vegan 5.1
Kernel version: pershoot 2.6.32.28
Hub type: 5-in-1 reader and 5-port hub
Peripherals: keyboard & mouse (mouse doesn't work on Vegan 5.1), SoundBlaster USB sound (didn't get it to work, but did show up as connected in logcat)
(Winnah9000)
ROM version: CM7
Kernel version: pershoot 2.6.32.28
Hub type: 4-port hub
Peripherals: keyboard and mouse
***Note: Winnah9000 stated that he was using Quake 3 for Android on the GTablet and controlling using the keyboard and mouse connected to the 4-port hub:
Winnah9000: Omg, Quake 3 is hilarious on this. Only issue is that since keyboard and mouse are on the same hub they are having issues trying to communicate at the same time so the mouse is very jittery, but it's fine for a fast-paced game like Quake 3
Winnah9000: Quake 3 runs so fluid
Winnah9000: http://code.google.com/p/kwaak3/ Quake 3 on Android
Winnah9000: 35-60FPS on max settings
Click to expand...
Click to collapse
Click to expand...
Click to collapse
if someone wants to test it out, please post the following with your results:
ROM and version:
Kernel and version:
Type of hub plugged into usb port (i.e. 5-in-1 reader, 5 port hub, etc.):
Peripherals plugged into hub:

See my post here for multi disk usage.
http://forum.xda-developers.com/showthread.php?t=942153

jerdog said:
After much thinking (ok not really - just an idea) about the usb port on the GTablet, I decided to test out whether or not it's a USB host controller as I hadn't seen anything in any documentation saying either way.
Thanks to Winnah9000 and cryofix (on irc channel #tegratab) for testing and reporting back their results.
I am posting what is confirmed as working so far:
if someone wants to test it out, please post the following with your results:
ROM and version:
Kernel and version:
Type of hub plugged into usb port (i.e. 5-in-1 reader, 5 port hub, etc.):
Peripherals plugged into hub:
Click to expand...
Click to collapse
Thought I'd go ahead and add my details in (I'm Winnah9000 in IRC)
Keyboard - WITGlobal.com's G Tab case w/ built-in keyboard.
Mouse - Crappy Dell laser mouse
Experience - Not as good as a computer because the mouse input is jittery when using the keyboard in conjunction as they are clashing when communicating. Amazing seeing how this is a tablet without full OpenGL optimization. There's no kind of lag at all, constant high 30s to 60s with one other bot (haven't tried more).
Other notes - I had used an Asus ROG laser mouse with like 3000dpi but that was way too sensitive to use. Gonna try using my G15 keyboard and a bluetooth mouse over the next couple days when I get bored to see if I notice any kind of difference. Also, the keyboard I am using doesn't particularly like multiple simultaneous keystrokes so running diagonally is hit and miss :/
If anyone has any questions or wants me to test something, feel free to ask here or in IRC

muqali said:
See my post here for multi disk usage.
http://forum.xda-developers.com/showthread.php?t=942153
Click to expand...
Click to collapse
cool - good to see.... everything mount correctly?

jerdog said:
cool - good to see.... everything mount correctly?
Click to expand...
Click to collapse
He said everything mounted except for the DVD drive but he didn't try it. So, we can definitely do external storage, but we need more internal!

I've been sidetracked getting everything converted over to Debian 6.0 on my desktop machine and netbook so the DVD has been in use. If it doesn't mount it'd just be an issue of ISO/UDF filesystem drivers and those can be compiled and loaded as modules.

so?
does this mean there may be a way to use my android phone as a keyboard/trackpad?
something similar to gmote working as keyboard/trackpad for my pc. i'm using tnt lite though.

Apple aluminum USB keyboards still do not seem to work. A dell mouse plugged into the Apple keyboard does, so apparently the Hub in these keyboards work.
Due to it's size and built-in hub, the mini apple keyboard (without numeric pad) makes a perfect companion to the G-Tablet. Too bad it does not work.

Related

Support of wired HID Devices

I've found my Zpad running Zpad Clean 2.x supports wired USB mouse through its USB port (next to MicroSD slot), only point and right click works so far but not the wheel. Have not been able to get wired keyboard to work so far.
Neither blue tooth mouse nor keyboard get recognized on Zpad Clean 2.x. Gonna try CM6.1B4 and report back.
proengin said:
I've found my Zpad running Zpad Clean 2.x supports wired USB mouse through its USB port (next to MicroSD slot), only point and right click works so far but not the wheel. Have not been able to get wired keyboard to work so far.
Neither blue tooth mouse nor keyboard get recognized on Zpad Clean 2.x. Gonna try CM6.1B4 and report back.
Click to expand...
Click to collapse
Wow, that's like the opposite of what I can do in TnT Lite... I have keyboard, but no mouse.
Is there a way to port the mouse services from the zPad or CM to the TnT Lite firmware? I have no idea what package or software in Android handles the mouse and cursor.
I think CM has Bluetooth hid supports but this is on Nexus One. Have to ask Bekit if his CM port supports this.
So I was playing around on CM 6.1b4 with a USB keyboard over my lunch break. I had called Viewsonic regarding HID devices previously - they said they'd been playing around with a cheap USB keyboard in their lab and had gotten it to work out of the box.
On my test, the keyboard (a stock dell USB keyboard) was detected and able to input keys into open text entry boxes. Problem I ran into was that the 'e' key opened email, 'b' opened the browser, 'l' opened the calendar, and so on. Have to look into whether these can be turned off when a USB keyboard is present.
Viewsonic said they weren't too enthusiastic about a USB mouse as there were no pointing device drivers. Not sure if someone folded something into CM 6.1... more as RC gets picked up for these devices, I guess.
Using zpad 2.2 i can use a usb hub and get mouse keyboard and usb flash drive to work simultaneously, but wheel on mouse does not fuction.
proengin said:
I've found my Zpad running Zpad Clean 2.x supports wired USB mouse through its USB port (next to MicroSD slot), only point and right click works so far but not the wheel. Have not been able to get wired keyboard to work so far.
Neither blue tooth mouse nor keyboard get recognized on Zpad Clean 2.x. Gonna try CM6.1B4 and report back.
Click to expand...
Click to collapse
CM6.1B4 has both keyboard and mouse support. TNT lite sees my keyboard but not my mouse. IDK eventually it will all work.
SmartJoy USB to SNES adapter
It would be awesome to have support for this SmartJoy USB to SNES adapter I have.
These are working on my Zpad NVFlash 1202 so far:
1. Dell or Microsoft USB wired keyboards - Apple never works.
2. Wired Logitech mouse - point and click works but not mouse wheel scrolling
3. USB Memory stick - mounted as /sdcard/usbdisk1 or 2.
Using VEGAn beta 3, a Dell USB keyboard seemed to work fine in limited testing. Same goes for the basic Dell USB optical mouse. I didn't have a hub handy to try both at the same time...
I didn't spend much time with it as it was mostly out of curiosity.

USB Keyboard Support?

Picked up an A500 today after carefully reading through the documentation on Acer's support site as well as the user manual for mentions of USB keyboard support. It says implicitly that there IS support for USB keyboards (just not USB mice yet). However...I can't get a single USB keyboard to work (I've tried 3). Anyone tried this yet and gotten it working? I know the USB slot is working ok, because it reads a thumb drive just fine. Thanks!
meatlocker said:
Picked up an A500 today after carefully reading through the documentation on Acer's support site as well as the user manual for mentions of USB keyboard support. It says implicitly that there IS support for USB keyboards (just not USB mice yet). However...I can't get a single USB keyboard to work (I've tried 3). Anyone tried this yet and gotten it working? I know the USB slot is working ok, because it reads a thumb drive just fine. Thanks!
Click to expand...
Click to collapse
I have had no problem with the one USB keyboard I've tried. It's a generic Apple clone from Deal Extreme.
No luck with Bluetooth keyboards though.
i could not get it to work with wireless USB keyboards but it did work with a dell USB keyboard.
it works with a logitech wireless keyboard
(I just realized that this is in the Dev section - mods, please move if needed!)
I tried a Dell keyboard, and it worked. One of the things I really hoped was going to work was the GTab case/usb keyboard combo ...the A500 fits perfectly in this case, even more snuggly than the GTab. I can't understand why it doesn't work.
meatlocker said:
(I just realized that this is in the Dev section - mods, please move if needed!)
I tried a Dell keyboard, and it worked. One of the things I really hoped was going to work was the GTab case/usb keyboard combo ...the A500 fits perfectly in this case, even more snuggly than the GTab. I can't understand why it doesn't work.
Click to expand...
Click to collapse
I tried a cheap chinese case/usb keyboard combo and it worked but the a500 doesn't fit in...
USB keyboard
Got a case/stand for my vega for £20 of amazon which has a built in usb keyboard, tried it on the iconia works 100%
Actually I think having mouse support would be nicer, maybe in imminent 3.1 release.
KEyboard
I did not have a regular USB keyboard laying around so I tried a PS/2 using a PS/2 to USB adapter and worked perfect.
VitaZora said:
I have had no problem with the one USB keyboard I've tried. It's a generic Apple clone from Deal Extreme.
No luck with Bluetooth keyboards though.
Click to expand...
Click to collapse
Just posted in the "Iconia A500 Accessories" forum... I tested the Logitech Cordless MediaBoard Pro for PS3 (bluetooth keybd) and it worked !
Something people may need to note: When I plug a keyboard in while the screen is off, or is locked, it does not work. If I first login, THEN plug in the keyboard (Logitech multimedia USB keyboard) it works great.
i tried some cheap micro keyboard+trackpad combo (about as wide as the tablet in landscape) & had issues. Only time it worked was when I was in the URL bar of the browser, "physical keyboard" showed as an input type option. Anywhere else it just sat plugged in. I may steal my dad's Mac BT keyboard since he doesn't use it. Will clash horribly though
I've got it running on a BT Keyboard/mouse device Works great... I've had issues with the headphones plug not stopping my music... (listen to Hard Rock at work and everyone hears it =(oops).. pull headphones and plug them back in... lots of really little niggles that need to be worked out... hopefully acer will find them all with the update next month!!!
threedfreek said:
I've got it running on a BT Keyboard/mouse device Works great... I've had issues with the headphones plug not stopping my music... (listen to Hard Rock at work and everyone hears it =(oops).. pull headphones and plug them back in... lots of really little niggles that need to be worked out... hopefully acer will find them all with the update next month!!!
Click to expand...
Click to collapse
Ohhhh! I've always wondered about that keyboard! Does the trackpad work? How's typing with that keypad?
Touch pad works great for pc and playstation 3... etc... but for the acer it does nothing... Arrows work to get from item to item typing works great... I believe an update will/can allow mouse...
FYI... this device comes with it's own bt usb adapter that is really weak however, when connected to a bluetooth device has decent distance.
threedfreek said:
Touch pad works great for pc and playstation 3... etc... but for the acer it does nothing... Arrows work to get from item to item typing works great... I believe an update will/can allow mouse...
FYI... this device comes with it's own bt usb adapter that is really weak however, when connected to a bluetooth device has decent distance.
Click to expand...
Click to collapse
How's the hardware? Solid? Connectivity in and out? And how easy/difficult was it to pair? I've read that a lot of these no-name devices don't come with specific instructions on pairing.
rorytmeadows said:
How's the hardware? Solid? Connectivity in and out? And how easy/difficult was it to pair? I've read that a lot of these no-name devices don't come with specific instructions on pairing.
Click to expand...
Click to collapse
Pairing was as simple (on my samsung epic) as searching for devices.
1. push the bluetooth button till the light blinks
2. Search for devices
3. type in a passcode on phone/device
4. type that passcode on the keyboard
I think this is how it was done... worked really well first time to my epic... easily connected on my a500 too. I love the keyboad it works with my entertainment pc that has sagetv on it so controlling the 47" from the couch is awesome.
edit: Hardware is really solid and the bt usb device slides into the keyboard... really convenient
I managed to pair with my Apple wireless KB but no love for typing.
ramy717 said:
i could not get it to work with wireless USB keyboards but it did work with a dell USB keyboard.
Click to expand...
Click to collapse
ditto here.
peyotll said:
I tried a cheap chinese case/usb keyboard combo and it worked but the a500 doesn't fit in...
Click to expand...
Click to collapse
Which one?
EVO Mobile
My cherry keyboard doesn't seem to run. Sad
DMESG says the following:
<6>[ 660.363583] usb 1-1: new low speed USB device using tegra-ehci and address 6
<6>[ 660.410104] usb 1-1: New USB device found, idVendor=046a, idProduct=0023
<6>[ 660.410487] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
<6>[ 688.559913] usb 1-1: USB disconnect, address 6

3.1 & USB Peripherals

I know that 3.1 added support for a broader spectrum of USB devices, and I thought it would be interesting to compile a list of what works and doesn't work!
So far, I've tried:
ACER LIQUID E - Basically just charges the phone and allows for tethering (wish I could mount it) **UPDATE** After rooting and installing busybox and drive mount, Liquid E is able to mount! (Thanks, entropy)
HP WIRELESS MINI KEYBOARD (Model #U10G) - Works flawlessly! Prior to the update, only the keyboard worked, but now the mouse works too, as expected!
SONY CYBERSHOT (Model #DSC-W55) - At first the Iconia didn't detect it, but after I went into the camera menu and changed USB connect mode from "auto" to "mass storage" and plugged it back into the tablet, the Gallery app opened automatically and the pics from the camera magically appeared! Woohoo!
LOGITECH ATTACK 3 JOYSTICK - Not too useful, but it works! Basically it works as a glorified mouse, scrolling up/down/left/right. Pretty basic for now, but perhaps a good flight simulator will come out in the future?
SAMSUNG STORY STATION 1 TB HARD DRIVE - My biggest disappointment... I know there are workarounds to get external drives to work, but I was hoping 3.1 would provide a fix for this. It is formatted FAT32, so I'm not sure what the problem is, but my Iconia isn't picking it up **UPDATE** After rooting and installing busybox and drive mount, Story Station is able to mount! (Thanks, entropy)
I can confirm the iphone 3gs will charge and you can import photos/movies taken on the camera.
I have a cannon camera at home. I know they have a strange interface which always requires me to load a separate driver in windows. I will test it later and let you know.
vanisleguy1976 said:
SAMSUNG STORY STATION 1 TB HARD DRIVE - My biggest disappointment... I know there are workarounds to get external drives to work, but I was hoping 3.1 would provide a fix for this. It is formatted FAT32, so I'm not sure what the problem is, but my Iconia isn't picking it up
Click to expand...
Click to collapse
Assuming you are rooted - try "drive mount" (free from market) - solved all my USB storage device problems.
entropy.of.avarice said:
Assuming you are rooted - try "drive mount" (free from market) - solved all my USB storage device problems.
Click to expand...
Click to collapse
Thanks! I'll keep that in mind. I'm not currently rooted, but I'll likely take that plunge soon. I was hoping 3.1 would cure that in the stock software, but we can't always get what we want
pacificwing said:
I can confirm the iphone 3gs will charge and you can import photos/movies taken on the camera.
I have a cannon camera at home. I know they have a strange interface which always requires me to load a separate driver in windows. I will test it later and let you know.
Click to expand...
Click to collapse
How ironic that an iProduct will work as a peripheral, but not another Acer product!
*edit* Just tested my old BLACKBERRY CURVE 8310 and it mounts no problem! Wtf?
Thanks for the info!
vanisleguy1976 said:
Thanks! I'll keep that in mind. I'm not currently rooted, but I'll likely take that plunge soon. I was hoping 3.1 would cure that in the stock software, but we can't always get what we want
Thanks for the info!
Click to expand...
Click to collapse
Rooting stock 3.1 takes about ten seconds - i have successfully ran a Logitech laser mouse, a Saitek Eclipse 2 keyboard, a old crappy external 60gb USB hdd, and a 16gb flash stick all at once
Does a non powered usb hub work??
Sent from my XT720 using XDA App
vari9 said:
Does a non powered usb hub work??
Sent from my XT720 using XDA App
Click to expand...
Click to collapse
Using a non powered hub as I type - 4 devices connected, including a sweet keyboard with led back lighting (saitek eclipse 2) - all 4 devices work even if I am not connected to power.
Is there an * easy * way to make this tab use huwaei dongle for internet...???
Sent from my XT720 using XDA App
vari9 said:
Is there an easy way to make this tab use huwaei dongle for internet...???
Sent from my XT720 using XDA App
Click to expand...
Click to collapse
No idea - would probably involve a rooted device and a custom rom - head to the dev section.
Logitech mx510 and mx518 mice confirmed.
Xbox 360 wired controller works but found no games that use it and it is very clunky for nav'ing the UI in general.
Wacom Bamboo powers but nothing functions.
Sent from my A500 using XDA Premium App
Is there a safe way of removing these usb devices without having to power down?
peejayw said:
Is there a safe way of removing these usb devices without having to power down?
Click to expand...
Click to collapse
A "safe" way? I'm pretty sure it won't explode if you just unplug them.
In all seriousness, you should be able to just unplug them without losing data. At least I always have.
Correct me if I'm wrong, but the reason you have to "eject" removable media from windows is because windows has some sort of drive caching to speed things up. This means that just because you have copied a file to your usb drive, doesn't mean the data has actually been written right away.
Furthermore, Windows also locks out files that are in use by an active application. As such, windows makes you "eject" the media in order to give the OS a chance to check to see if any of the files are still in use, to avoid the application having a brain fart and crashing. Also, if an application is in the process of writing to a file and you yank out the drive, the file could become corrupt.
I think both scenarios are not likely to occur on an Android tablet, mainly because its based on a real operating system not designed to treat you like an idiot. Just make sure none of the data is being used by any open apps and you should be fine.
That being said, always make sure to keep backups.
Cheers,
-PW
Anyone able to use an Xbox 360 controller. I have a wireless with PC USB dongle, would like to use it if I possible.
Just want to say i can see my files in my x10 mounting it with drive mount and view it with file expert
entropy.of.avarice said:
Rooting stock 3.1 takes about ten seconds - i have successfully ran a Logitech laser mouse, a Saitek Eclipse 2 keyboard, a old crappy external 60gb USB hdd, and a 16gb flash stick all at once
Click to expand...
Click to collapse
Thanks! After rooting, installing busybox, and Drive mount, I now am able to mount my phone and external hard drive!
vanisleguy1976 said:
Thanks! After rooting, installing busybox, and Drive mount, I now am able to mount my phone and external hard drive!
Click to expand...
Click to collapse
Yay! Glad it worked for you. Enjoy!

[GUIDE] USB Gaming on Nexus S

Greetings,
The purpose of this post/thread is to describe how to use a USB gaming controller on the Nexus S, which is now possible thanks to the work of fellow XDA member sztupy. Before proceeding, I highly recommend that you read his Galaxy S thread, especially the first few posts (http://forum.xda-developers.com/showthread.php?t=1450298).
First, some demonstrations:
Using USB Host Controller app and Super Mario 64
Batman: Arkham City
Metro 2033
Dirt 3
DISCLAIMER: I take no responsibility for any damage you do to your phone.
1.) FLASH KERNEL AND DOWNLOAD APP
First things first, you will need ICS and to flash a kernel that has USB OTG support in it. At the time of this posting, some kernels with USB OTG are:
-steve.garon’s kernel (http://forum.xda-developers.com/showthread.php?t=1427352)
-mathkid95’s Matr1x kernel (http://forum.xda-developers.com/showthread.php?t=1361477)
-Ezekeel's GLaDoS kernel (http://forum.xda-developers.com/showthread.php?t=1336529)
If you do not know how to flash a kernel, please Google it. You will also need to download sztupy’s app “USB Host Controller” (https://market.android.com/details?id=hu.sztupy.android.usbhostcontroller).
2.) ACQUIRE USB CONTROLLER
Next, you will need a supported USB controller. The following should work:
-wired Xbox 360 controller
-Logitech DualAction controller
-Logitech WingMan RumblePad
-wireless Xbox 360 controller WITH wireless receiver
-wired Sony Playstation 3 controller (not yet tested)
...probably many others
3.) OTG SET UP
Thirdly, you’ll need a working USB OTG set up. Sztupy’s thread shows you a few ways of accomplishing this. Below is a (crappy) diagram of MY current working set up.
http://dl.dropbox.com/u/15806590/diagram2.png
I think this is the best set up because you don't have to buy any fancy OTG cables or USB hubs. But that's just my opinion.
In terms of the order for connecting things, I find it works best if you connect the phone LAST.
4.) FINAL STEPS
Once everything is connected, open up the “USB Host Controller” app, select the “Settings” pane, and set the Operation Mode to “Auto-host” (if you are using a set up that involves an OTG connector/cable, then you'll likely need to select OTG mode instead). If everything went right, the app will close automatically and you should be able to navigate your phone with the controller. You are now ready to game!
Just a note with the 360 controller. The middle button will always flash on and off, and will not stay lit on one quarter of the circle as on an actual Xbox. AFAIK there's no way to fix this (unless you use tape heh).
Games/Apps TESTED & WORKING: (This list is not meant to be comprehensive, and will be occasionally updated)
Note: Pretty much any app/game that supports button remapping (such as emulators) should work
Emulators
-nes.emu
-SNES 9X EX
-N64oid (the right analog stick is not functional)
-Mame4droid
-FrodoC64USB
-Mupen64Plus AE
-FPse
Native/Regular Android Games
-Shadowgun
-Grand Theft Auto 3
-Samurai II: Vengeance
-Riptide GP
-Meganoid
-Reckless Getaway
-Cordy
-EVAC HD
-Radiant HD
-Muffin Knight
Some (not all) of the Xperia Play compatible games will work too. See here for a comprehensive list of Xperia Play titles: http://forum.xda-developers.com/showthread.php?t=1217060
Other
-OnLive (!!! This means you can play the majority of onlive games that are game pad compatible)
thanks man i was thinking of a way to do this.
This is amazing !
I tested the Logitech Dual Action controller yesterday, it works also fine.
Hi! May I use your first diagram in my post too?
Sure! Be my guest.
Cool! 10 chars
3 new gameplay videos added.
nice. any idea if this works with the controllers for the original Xbox? I have a modded Duke I use on the computer, just replaced the Xbox!usb male with a regular usb male, and would love to be able to use it on my Cappy. I know it works perfectly on the mainline Linux kernel, but I'm having no luck finding how the drivers were implemented in ICS. I can't test myself just yet, still waiting for the otg cable and download mode jig to come in.
neoman4426 said:
nice. any idea if this works with the controllers for the original Xbox? I have a modded Duke I use on the computer, just replaced the Xbox!usb male with a regular usb male, and would love to be able to use it on my Cappy. I know it works perfectly on the mainline Linux kernel, but I'm having no luck finding how the drivers were implemented in ICS. I can't test myself just yet, still waiting for the otg cable and download mode jig to come in.
Click to expand...
Click to collapse
I can't say for certain, but I think it should work. I found another thread here: http://www.acertabletforum.com/forum/acer-iconia-tab-accessories/1014-what-game-controllers-work.html for the Acer Iconia tablet, and one user claims their original xbox controller works.
I suppose the only way to know for sure is to try it out yourself. Once you get your OTG set up and running, let us know how that works out for you.
Nice thread, very useful for me, I sold my wired 360 controller, and i thought i will buy a new one when i asked at sztupy's thread if the 360 controller would work with this method, he mentioned me about this thread, and i saw on the 1st page that a wireless controller would work with the receiver...luckily i have one of those but on the op says only it was not tested...so could anyone give me some info about that?
Szighy said:
Nice thread, very useful for me, I sold my wired 360 controller, and i thought i will buy a new one when i asked at sztupy's thread if the 360 controller would work with this method, he mentioned me about this thread, and i saw on the 1st page that a wireless controller would work with the receiver...luckily i have one of those but on the op says only it was not tested...so could anyone give me some info about that?
Click to expand...
Click to collapse
Well the reason I suspect that it will work is because I saw this video www.youtube.com/watch?v=TrTmsZIb0a8&feature=related. Since we now have OTG it is reasonable to assume this would work for us as well.
I tried looking around for a wireless receiver to test but unfortunately all stores near my area only seem to sell it with the controller.
Sent from my Nexus S using XDA App
developersdevelopers said:
Well the reason I suspect that it will work is because I saw this video www.youtube.com/watch?v=TrTmsZIb0a8&feature=related. Since we now have OTG it is reasonable to assume this would work for us as well.
I tried looking around for a wireless receiver to test but unfortunately all stores near my area only seem to sell it with the controller.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
hm...i'm gonna try it, so, i didn't understand the diagram show in the OP (from the dropbox link, i'm not too good in this), but would it work, if i use a USB Hub, connect the hub to the phone, a usb charger to the hub, and also the receiver?
Szighy said:
hm...i'm gonna try it, so, i didn't understand the diagram show in the OP (from the dropbox link, i'm not too good in this), but would it work, if i use a USB Hub, connect the hub to the phone, a usb charger to the hub, and also the receiver?
Click to expand...
Click to collapse
Read sztupy's post here for some ways you can connect a hub: http://forum.xda-developers.com/showpost.php?p=21503413&postcount=2. As you can see, it is indeed possible to power the controller/receiver from the hub if you have things connected properly.
When you're setting up USB OTG/host for the first time, use a simple device like a USB flash/thumb drive to verify that your connections and everything else are working properly. Then you can try hooking up other peripherals like the 360 wireless receiver.
To be honest, I haven't had much luck getting USB OTG/host to work with a hub, which is why I went and created my own 'Y' cable. It really isn't that difficult to make, and it's cheaper than using a hub, provided that you have soldering equipment already.
developersdevelopers said:
To be honest, I haven't had much luck getting USB OTG/host to work with a hub, which is why I went and created my own 'Y' cable. It really isn't that difficult to make, and it's cheaper than using a hub, provided that you have soldering equipment already.
Click to expand...
Click to collapse
you don't even need soldering equipment. I twisted and taped the wires and it worked fine.
Epic_VS said:
you don't even need soldering equipment. I twisted and taped the wires and it worked fine.
Click to expand...
Click to collapse
Nice lol.
Sent from my Nexus S using XDA App
Word of caution, the 360 controller wireless adapter draws a lot of power, i recall there being high incidences of it dropping out when plugged into PCs, so be sure to power it adequately.
tiuk said:
Word of caution, the 360 controller wireless adapter draws a lot of power, i recall there being high incidences of it dropping out when plugged into PCs, so be sure to power it adequately.
Click to expand...
Click to collapse
woah...i really don't know anything about this electronic thing how should i do?
Just look at your charger and check the output rating. It should say something like: 5.0 V, 0.75 A. Ideally you'll want the second number to be higher (like 1 A for example).
As a point of reference, my wired 360 controller works fine on 0.7 A. But as tiuk pointed out, the wireless receiver may be more demanding.
But really I think you should be okay if you stick with the standard Samsung Nexus S charger. If you need more current for your peripheral, you can simply disable the current draw of your phone with the USB Host Controller app. This way, all of the current from the charger will be directed to the device instead of being split between the device and your phone.

[OTG] Logitech Keyboard & Mouse Drivers Missing

Before I start, I don't believe this belongs in the Accessories category because it is a software/development question.
I have a standard OTG cable, bought it for my Evo 3d and it works fine. Plugging it into my new Nexus 10 (Unlocked and rooted of course) I got the pleasant surprise that it provides enough power from the tablet alone to power most USB devices (even my 2.5" hard drive!). Now, when I used the OTG cable on my Evo 3d, I was able to plug in my Logitech unifying receiver and connect my mouse and keyboard with no setup required (keyboard just works, mouse shows a cursor). With the Nexus 10, no such luck.
I was able to download the USB Host Diagnostics app from the Play Store, and I can see that it is recognizing the adapter no problem, but it is not loading input drivers or setting them to be input devices.
Dmesg from Evo 3d when plugging in OTG + Logitech receiver with mouse and keyboard: http://pastebin.com/kBbZEwXD
Dmesg from Nexus 10: http://pastebin.com/0yyFZK7u
Now, I know my cable works fine with the Nexus 10 because I can mount mass storage no problem.
I would love for someone with some more knowledge of USB host mode to maybe provide some feedback or support.
I'm more than happy to provide any more information needed.
Thank you ahead of time.
EDIT: Solution
craigacgomez said:
Kernel with Logitech Unifying device support available... Download manta-kernel-cgomez.xxxxxxxx.zip from here (xxxxxxxx would be the date of the kernel)
http://forum.xda-developers.com/showthread.php?t=1998585
Click to expand...
Click to collapse
I'm trying to get this working... I think I have the changes needed... I will let you know soon...
ahorner said:
Before I start, I don't believe this belongs in the Accessories category because it is a software/development question.
I have a standard OTG cable, bought it for my Evo 3d and it works fine. Plugging it into my new Nexus 10 (Unlocked and rooted of course) I got the pleasant surprise that it provides enough power from the tablet alone to power most USB devices (even my 2.5" hard drive!). Now, when I used the OTG cable on my Evo 3d, I was able to plug in my Logitech unifying receiver and connect my mouse and keyboard with no setup required (keyboard just works, mouse shows a cursor). With the Nexus 10, no such luck.
I was able to download the USB Host Diagnostics app from the Play Store, and I can see that it is recognizing the adapter no problem, but it is not loading input drivers or setting them to be input devices.
Dmesg from Evo 3d when plugging in OTG + Logitech receiver with mouse and keyboard: http://pastebin.com/kBbZEwXD
Dmesg from Nexus 10: http://pastebin.com/0yyFZK7u
Now, I know my cable works fine with the Nexus 10 because I can mount mass storage no problem.
I would love for someone with some more knowledge of USB host mode to maybe provide some feedback or support.
I'm more than happy to provide any more information needed.
Thank you ahead of time.
Click to expand...
Click to collapse
Same problem here. I originally bought the combo for my Iconia, which had a full size USB port, but I couldn't get them working on the N10. My wired USB mouse and my DSLR camera both connect and work fine though...
craigacgomez said:
I'm trying to get this working... I think I have the changes needed... I will let you know soon...
Click to expand...
Click to collapse
I hope it ends up being something small and flash-able as a fix, instead of having to flash a completely new ROM. Either way thanks!
OK, I've got the Logitech Unifying support working... tested it with my keyboard and mouse... all good... it's a new kernel... I will upload it soon...
ahorner said:
Before I start, I don't believe this belongs in the Accessories category because it is a software/development question.
I have a standard OTG cable, bought it for my Evo 3d and it works fine. Plugging it into my new Nexus 10 (Unlocked and rooted of course) I got the pleasant surprise that it provides enough power from the tablet alone to power most USB devices (even my 2.5" hard drive!). Now, when I used the OTG cable on my Evo 3d, I was able to plug in my Logitech unifying receiver and connect my mouse and keyboard with no setup required (keyboard just works, mouse shows a cursor). With the Nexus 10, no such luck.
I was able to download the USB Host Diagnostics app from the Play Store, and I can see that it is recognizing the adapter no problem, but it is not loading input drivers or setting them to be input devices.
Dmesg from Evo 3d when plugging in OTG + Logitech receiver with mouse and keyboard: http://pastebin.com/kBbZEwXD
Dmesg from Nexus 10: http://pastebin.com/0yyFZK7u
Now, I know my cable works fine with the Nexus 10 because I can mount mass storage no problem.
I would love for someone with some more knowledge of USB host mode to maybe provide some feedback or support.
I'm more than happy to provide any more information needed.
Thank you ahead of time.
Click to expand...
Click to collapse
For future reference, this belongs in Q & A.
Kernel with Logitech Unifying device support available... Download manta-kernel-cgomez.xxxxxxxx.zip from here (xxxxxxxx would be the date of the kernel)
http://forum.xda-developers.com/showthread.php?t=1998585
Flashed your kernel on my stock rooted firmware and it is working great with my full size logitech keyboard and mouse as well as my mini keyboard/trackpad combo.
Thank you!!
Sent from my Nexus 10 using xda app-developers app
craigacgomez said:
Kernel with Logitech Unifying device support available... Download manta-kernel-cgomez.xxxxxxxx.zip from here (xxxxxxxx would be the date of the kernel)
http://forum.xda-developers.com/showthread.php?t=1998585
Click to expand...
Click to collapse
This works great! Thank you so much!
Logitech Unifying Adapter & Sony Xperia S
Hey guys,
I know I'm in the wrong section but I don't know if I ever can solve this problem:
I have a Sony Xperia S with the newest Jelly Bean .211 and this FW cannot identify my Logitech keyboard with a unifying 2.4GHz adapter. All keyboards and mouses with this adapter don't work. I see with USB Host Controller APP that the adapter is recognized with the right vendor and device id but the Xperia S does nothing. With ICS and GB we hadn't this problem. I think only the drivers are missing. I called the Sony support and they told me to do the same studip thing: factory reset, reflash the FW bla bla... :silly: But it's a FW related problem and so on I'm googling this since 2 months and i cannot find anything to solve this. And today I saw this thread. I hope anyone can tell me which files are needed to recognize my Logitech keyboard on USB OTG as a keyboard and to use it. I saw that this problem was solved for the Nexus 10 but only as a kernel and I need only the files or drivers.
Please help
Regards
Just curious , would this kernel help to make a Logitech steering wheel usable as well ?

Categories

Resources