[LIST] Working usb devices with f4k kernel. - Galaxy S 4 Mini General

This is my first thread , be easy on me
Here's a list of devices I tested with f4k's lastest kernel (currently 2.0.0) on CM12 nightlies(currently 12-20150219).
XBOX 360 wireless remote receiver with controller
WORKED : YES
NOTES : Only tried with one game (Voxel rush) and worked just fine , navigation through the UI also worked.
SONY Cyber-shot DSCH50
WORKED : YES
NOTES : Worked when i enabled MTP mode in settings of the camera , normal mass storage did not work.
Apple ipod touch 4g
WORKED : YES
NOTES : Didn't expect this to work , but i could view the camera roll of my ipod and import the pictures (also MTP).
TRUST gaming headset
WORKED : NO
NOTES : I could no longer control the volume with the phone , only with the inline control. Audio didn't play and eventually the phone rebooted by itself.
INTEGRAL USB 4gb storage device
WORKED : YES
NOTES : Mounted correctly as "usbdisk" in /storage.
PACKARDBELL Silver 320 external hard drive
WORKED : NO
NOTES : Did not mount.
MICROSOFT Basic optical mouse
WORKED : YES
NOTES : Worked just like it should!
TOSHIBA External hard drive 500gb
WORKED : NO
NOTES : Like the packardbell hdd , did not mount.
APM 4-Port non-powered usb hub
WORKED : PARTIALLY
NOTES : Worked for max 2 devices (tested xbox controller and mouse) , all devices stopped working when i plugged in a third device.
These are all devices i've tested , if you have any devices that you tested , i will add them to the list!

Related

[DEV-INFO] USB is a host controller on GTab

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.

Usb Host Mode Problem

Let me start this thread by stating that I DID have my Nook Color, booted off an sd card with cm9, working with my usb powered hub connected to a mouse, controller, flash drive, and keyboard. But through a possible hardware error on my part, I cannot get it to work anymore. I'm fairly adept at modifying my Android Devices. I used USB Host Controller and looked through my dmesg logs and the only thing I found of note was it recognized my 7 port hub, but had it suspended. I attempted to enabled/disable USB Host in my Terminal Emulator with commands found in the USB Development Thread but it simply did nothing. Reading logs, etc. is not necessarily a strong suit of mine. So finding what MAY by the problem, has been a bit of a pain the past 2 days. However I will detail my problem below:
Items used:
- 7 - Port USB Powered Hub from Micro Center
- OTG Cables bought from Amazon.
- Nook Color (With various roms. Notably Cm7.2, CM9 (Unsure of nightly version), AOKP Build 40):
- Belkin USB Keyboard and Mouse
- PS3 Controller
- Sandisk 16gb Micro Flash Drive
Apps Used:
- Nook Color Tweaks
- USB Host Viewer
- USB Host Diagnostics
- USB Host Controller
About 3 days ago I decided to set up a station for my tablet as a mini-computer. I had successfully connected a mouse and keyboard (independently of each other) previously but I wanted to go ahead and use my powered usb hub and get a real mini-computer experience on my android tablet. These are the results (All tests include the use of an OTG Cable to connected to either the USB Device or Powered Hub):
Test 1:
Rom: CM 7.2 Kang
1 USB Device Connected: Mouse (Yes), Keyboard (Yes), Flash Drive(No), Game Controller(No) - All enabled via Nook Color Tweaks
Devices Connected to Hub: No
Test 2:
Rom: CM 9
1 USB Device Connected: Mouse (Yes), Keyboard (Yes), Flash Drive(No, I believe it required more than 100mah to power), Game Controller (Yes) - All worked by just Plug N Play.
Devices Connected to Hub: Yes (The Mouse, Keyboard, Flash Drive, and Controller worked simultaneously)
[To Note: Inbetween this test I pulled the OTG-Cable connected to the hub without un-mounting the flash drive first. CM 9 wasn't happy and told me to properly un-mount my sdcard first before pulling the cable. (I bowed to my Android lord and said "okay".)]
Test 3:
Rom: AOKP Build 40
1 USB Device Connected: Mouse (Yes), Keyboard (Yes), Flash Drive(No, I believe it required more than 100mah to power), Game Controller(I have not verified) - All worked by using Nook Color Tweaks. Did not Plug N Play.
Devices Connected to a Hub: No (However it will charged).
Problem:
Looking back at my 'To Note'. Somehow I believe this has caused the problem. Since then USB Host Mode has only worked with a single device NOT connected to the USB Hub. Although my Nook will charge connected to the powered hub with or/without the hub turned on it still will not allow a single device to worked. I've used Nook Color Tweaks with my USB Hub plugged in with both USB Host Mode and VBus External Powered checked (In all 3 roms; AOKP, CM 7, and CM 9) and the only successful attempt made where the HUB and all 4 devices worked were in CM 9 for about a day and a half. Then I pulled the OTG Cable without un-mounting the flash drive, and alas, no-go with the Powered USB Hub.
USB Host Controller tells me I have USB Host Mode enabled (In all 3 roms) yet going to connected devices shows nothing. USB Host Viewer (In all 3 roms) shows nothing connected. And USB Host Diagnostics tells me various things that I'm willing to list here if needed (Host API, Kernel, etc), yet each time the USB Devices connected during the diagnosis, they are not recognized.
Troubleshooting:
- I've plugged my usb powered hub to my computer. It works just fine with each device connected, at once, or together.
- Each device works independently connected to my computer (Keyboard, Mouse, Flash Drive, Game Controller).
- I can still connect a keyboard and mouse independently to my nook with Nook Color Tweaks, but Plug N Play does not work.
- I've attempted both USB Host Mode off of SD Card (CM 9) and EMMC (AOKP Build 40) where Plug N Play only worked with SD Card (CM 9).
- The Kernel for all 3 roms has been 2.6.32.xx or greater (Cm 7.2 used Dalingrin's OC kernel, AOKP Build 40 uses 2.6.32.59, and I'm unsure of CM 9's).
At this point I'm at a loss and I am looking for help. I've done a fair bit of searching (Admittingly too much during work) on these forums. As stated in the beginning of my post, I had it working with all 4 devices in CM 9 booted off my sd-card, since then I've switched my EMMC from CM 7.2 Kangs to AOKP Build 40 (hawt) and successfully used both with a mouse and keyboard. But I cannot get the powered USB HUB to do anything BUT power my Nook Color.
Thank you for your responses and if you need logs, links to the items, apps, or roms used,(forum wouldn't let me post all of them) screenshots from apps, anything, I will respond as quickly and as efficiently as possible.
Have you considered on just reinstalling the whole build over from scratch? I think the USB host is part of the drivers in the kernel layer and that kernel layer might have become corrupted. If you got wifi and audio working on that nook color then the likelihood of having a hardware problem by that definition becomes less of an option, the USB hub is driven by the CPU. So if you got cyanogenmod up and booted, this points to a possible kernel opps. You stated you had it up before. I don't work on kang and AOKP builds so how is the stability of the usb host mode for those builds? Sounds more of a software issue and not some hardware issue. Unless you just like trying to decompile software for a learning experience for yourself. Did you do a hardware hack for your nook as stated in this thread here? http://hackaday.com/2010/02/10/usb-host-mode-for-droid/
Also make sure you disable all of your apps on your device, that is another possible cause, we don't know what type of apps or mods you have made.
Unless you got support to your USB the only way to find the problem is to decompile your whole build through ADB. Logs will not find the problem if its in the kernels. Or are you using ADB through wireless? Check this thread here if you haven't seen this thread yet. There is an app that gives you USB host support already. http://forum.xda-developers.com/showthread.php?t=1468531
UPDATE Aug 31st. 2012. Check thread here on USB host support. http://forum.xda-developers.com/showthread.php?t=1459892
If you want more experience on how android operates, you can start off by building your own cyanogenmod on your computer, the cyanogenMod wiki here shows you how. http://wiki.cyanogenmod.com/wiki/Barnes_&_Noble_Nook_Color:_Compile_CyanogenMod_(Linux)

Working usb otg devices

Hello all,
I like to share an info on working usb otg devices on xperia z c660x ( checks made using c6602) .244 stock firmware(Android 4.2.2 ) including official 3.4.0 kernel.
Conformed working devices are:-
1. Usb keyboard and mouse
2. Ps2 keyboard and mouse ( using usb to ps2 converter device)
3. usb hub with standalone power ( checked upto 4 low power devices, I used Belkin hub)
4. Pendrives (usb2&3- fat32,exfat. May be some Linux proprietary partition formats also supported)
5. Usb soundcard with audio in/out!!!
6. Usb digital audio devices ( checked with my Philips usb speaker model SPA4210/97)
7. Some nand/sd card memory devices like china / Philips / Sony /Transcend PMP'S connected in mass storage mod ( may be phones too in mass storage mod, I know your next question.... and the ans is... Sorry my ipod is broken, so cant check it)
8. Multiple card reader ( checked on sony and transcend readers)
Conformed not working :-
1) portable hdd ( checked with my WD 500 gb and Toshiba 1Tb usb 2/3 hdd'S), I THINK it is due to the low current o/p from the phone. The drives are not running, but led lights up. I will check it with an externality powered drive soon( problem is though I have two 2TB desktop drives, all of its partitions are ntfs, so I want to clean one partition and will format it in linux natives or exfat, then I will check it and update the thread)
2) a cheep china dual shock usb joystick for computer.( though the "choose input method" notification pops up, nothing works, but havent checked it with any game)
All the above are checked with out any external usb power sources, but using power from the phones port itself. I just used a standalone usb otg connector which cost me only 50 INR. (~ less than a dollar).
May be some one can confirm other devices, please post the results to update the thread.I hope this will be a help to all.
Thanks.
Sent from my C6602 using XDA Premium 4 mobile app

accesory successes, failures and weirdnesses

most of you probably already know these things. but still nice to collect anecdata...
first off, usb absolutely refused to work at all no matter what device I tried, hub or no hub.
eventually after the large-ish 12/5 update, and then what looked like another update so brief I almost missed it, things started working. or maybe it was me turning off "usb debugging" that helped? not really willing to mess with it, now that usb generally works.
- generic usb hub, yep. powered or unpowered, good either way. but you all already knew that.
- 'das keyboard' with built in 2-port hub. keyboard works, hub works with flash drives, mice and kbds.
- logitech marble mouse - works, quelle surprise. via hub too.
- amazon brand cheapie keyboard - works. via hub too.
- iogear generic sd/microsd reader - works. via hub too.
- 2 different cameras of generic UVC 1.00 class - work fine with 3rd party software (search for "usb camera" on google play e.g. snapexwebcam). via hub too.
- SATA dock with built in usb hub (SD slot and 2 usb ports) - this thing sometimes worked but more often froze the ouya and had to reboot.
- cmedia hs100 usb soundcard - microphone input + stereo headphone output. this is a super generic chipset supported quite well by linux. dmesg showed it as recognized, but sound output did not automagically switch over to it. probably could be made to work with some hacking around.
most of the time, if I unmounted my usb flash drive from the storage menu, I could remove and then put it back and it would automagically show up under /mnt/usbdrive. again and again.
hotplugging card readers, usb drives etc. there are some nice free 3rd party userland mounters I can personally recommend:
usb otg helper (don't let the "otg" fool you, although it does that too if a device's kernel supports otg. it will mount ALL supported partitions (ext, fat, ntfs) on a flash drive, not just the 1st partition)
play.google.com/store/apps/details?id=net.shajul.usbotg
paragon exfat/ntfs/hfs (not sure if it does ext too)
play.google.com/store/apps/details?id=com.paragon.mounter
Thanks for the information!
Nothing special to add, my western digital 2Tb energy conserving drive works great (no problem with the lag as it spins up). My cheap $10 Walmart keyboard is fine as well.
I have not tired any hubs, or anything else for that matter. A hub is on the list though as some extra flash storage would be nice.
I'm surprised to hear the cameras were working. Google has been blank as far as getting cameras recognized so I wasn't sure if it had been made to work yet. Any luck getting apps such as Skype to recognize the camera? How about that USB microphone? Any thoughts on how it might work for voice-to-text or as a 'generic' input device for voice control (utter!, Autovoice, Tasker).?
Generic USB hub - working
Sandisk microSD adapter - working
Logitech wireless USB keyboard - working
Retrolink USB N64 controller - not working
Sent from my ADR6350 using Tapatalk
haven't tried skype for ideological reasons, sorry.
I have tried linphone-video, loading it thru both f-droid and google play store. in both cases it immediately force-quits.
(I have this problem with more than a few apps, I really need to put in some time to check catlog/logcat...)
csipsimple works, but none of the settings let me choose audio i/o devices. (and csip doesn't support video)
the c-media hs100 usb doodad is definitely supported - I tried "usb audio tester" (also "usb audio tester root") and it worked just fine there (ext mic to ext speaker - I heard myself talking definitely). but no way to select it in the Settings UI. whereas my bluetooth speaker and bluetooth headset both work/switchover fine, but that is sort of standard switching built into most android devices.

Android TV and game controllers.

Hello,
I am new with Android TV. I bought a Tictid D1 Max Android TV box, and I am trying to play games using game controllers.
But I have had time to let game controller work with it.
- Xbox One controller :
I tried an Xbox One controller (in bluetooth) which does work very well with an Android tablet (almost all games work fine on my tablet with the Xbox One controller).
But on my Android TV box, no success with this controller (the box does recognize the controller, I can use the controller to move inside the Android menus, but no game work with it).
- Bluetooth Switch controller compatible with Android and PC :
only one game worked.
- 2.4 Ghz multi platform controller (PS3 / PC / Android / Android TV) :
So far this one had the best results, but still very bad results : 3 games out of 20 tested were working fine (and I tried to switch the controller in all PC / Android modes).
So here are my questions :
- as it seems to be a software issue on my Android TV box (input drivers ?), I wonder if this problem is specific to my Tictid D1 Max box, or if this is the case for all Android TV boxes ?
- is there an app which would increase the game controllers compatibility with Android TV games ?
- is there a specific game controller which is known to be working with almost all games on Android TV ?
Thanks !
Something like the Rii RK707 might work. I have one & it works fine on PC & Android, but I haven't tested it much with Android games. It's also not as ergonomic as a dedicated controller.

Categories

Resources