What USB devices can be used with the G-Tab? - G Tablet Q&A, Help & Troubleshooting

Is there a list of functions that can be used with the GTab USB? For example: can I mount a digital camera as a USB drive?

Pretty much all storage devices work. People have had success with 3g usb adapter. Mouse and keyboard also work. I haven't tried printer yet.

Has any research been done with usb wifi adapters? I've searched but with no success as I'm sure the issue would be driver related.

The kernel controls what can and cannot be used via USB first.. If there is kernel support for your do-dad, you're good to go at least for the first step... after that, the rest of the Android framework needs to allow you to do something useful with the thing, which may or may not stop it from helping... or may require apps, or additional libraries, or pixie dust.
Right out of the box, if it looks like a HID (keyboard/mouse) or storage, something encouraging will happen on most of the g-tab roms, even the stock rom. If its storage but a format that's not supported by your kernel, you may need additional modules, or it may never work.
Everything else, who knows. Use a custom kernel, and get the source, and build one that supports what you want. Check for linux support - if its supported in linux, odds are way way better...

user mode usb driver support?
I would like to write a "virtual Control Panel" application to communicate with a propriatery device via USB. Under Windows XP, I wrote a device driver, DLL and C++ application.
Now I am sure the linux kernel does not support the proprietary protocol of my device. However I understand that some linux systems support user mode device drivers for USB devices.
Is this the case with Android 2.3?
If so, can a user mode device driver be written with the Android SDK?

Related

USB 3G/GPRS dongle - Will it work?

Will my huawei e1550 work under android?
I see that some other Adroid devices (china tablet pc like Zenithink and other) have the software, which can config internet connections.
Will Gen8 init this device?
ncuxxx said:
Will my huawei e1550 work under android?
I see that some other Adroid devices (china tablet pc like Zenithink and other) have the software, which can config internet connections.
Will Gen8 init this device?
Click to expand...
Click to collapse
For now, no. Unless Huawei or 3rd party develop driver for it.
My E1550 now also collecting dust coz i'm using 101 most of the time rather than laptop.
If i understand, we need root access to add 3rd party driver? Or there uis no way to compile driver?
This would be quite interesting if it would work.
Would this also enable call/sms functionalities?
I have an AT&T Laptop Connect Dongle which does not work. I have been able to bluetooth tether using PAN. I would rather use adhoc, i haven't found a way yet.
I prefer Archos to improve the stabilities of his 2.2 firmware first before adding more "new" features.
3G dongles
Correct me if I'm wrong, but as far as I was able to digg around, it seems that USB host mode (wich is already in Archos), __usbserial.ko__, and adeqaute parts of devfs rules, are only three really necessary things that are needed on any linux, for USB 3G dongles to get properly recognized (at least Huawei ones).
rest of the things regarding "dial-up" a 3G connection, are done with commands from ppp package (should be in froyo), can be done from shell (busysbox __should__ be sufficient) for a start.
usb_modeswitch package is needed also, but only for the modems that are USB composites with virtual CD-ROM and/or MMC card reader (like mine E1552) in order to switch them to a serial mode (because their are detected as mass-storage initialy). For a start, this can be overcomed by sending adequate AT command's to dongle, that disable dongle's virtual CD-ROM and/or MMC card reader, from some windows machine prior to experimenting with dongle on linux/archos (setting is saved on dongle - you only need to do it once).
Since I still don't have my A101 (should receive it beggining of 2011), can someone tell me from kernel .config file is USB serial support compiled in archos kernel, and if not can we compile it as a additional module (like archos unionfs/ntfs modules is see in other thread) ?

USB OTG

I am in need of some feedback.
I would like to use my springboard with a proprietary usb based device similar to an arduino, but the stock 4.0.3 rom USB OTG capabilities only allow for things like usb thumb drives and keyboards. the usb device i am using doesn't show up as available to android. using an app like "USB Host Diagnostics" claims that the android API has support, and classes are found, but device was not detected. it does also claim there is kernel support and the device was detected at the kernel/linux level. therefore the stock ICS appears to have OS support, but not 3rd party support. I am looking to see if any of the ICS or JB roms from others support USB OTG at the android level, not just the OS level.
thanks.
For proprietary device you need a driver I guess.
eighty-four said:
For proprietary device you need a driver I guess.
Click to expand...
Click to collapse
I know that it requires some sort of driver support, but not specific drivers for the device. I am currently developing the code for it on my Acer a500 with no problem, and it didn't require anything special/extra. the original Honeycomb and the stock ICS both see the device fine.

Android 4.2.2 / CM10.1 and Windows 8 ADB Functionality

So I ran into some issues with my HTC Evo 4G LTE when attempting to use it on my Windows 8 laptop that I wanted to post about in case others have the same issue. I did a number of Google searches and while I ran across a number of others who had this same issue, no one seemed to have the fix all in one place, so here's what I experienced and what I did.
First step in CM10.1 is to enable Developer Options. Go to System>About Phone and tap on the build number 6-7 times. I know this is well documented but like I said, I'm putting this all in one place for reference.
Initially when connecting my phone via USB to my Windows 8 machine it would immediately detect it as an external storage device (even when ADB root and Android debugging were enabled in the Developer Options)
The specific driver it kept loading was called Linux File-CD Gadget USB Device under Disk Drives
It would also load as an external drive letter under Portable Devices (in my case F:\)
Finally, under Universal Serial Bus Controllers it would load a USB Mass Storage driver and a USB Composite Device Driver
First, you'll need the Android SDK. This is important for two reasons: 1: The most up to date ADB as it is required in CM10.1 / Android 4.2.x because of the device fingerprinting that Android now does with ADB. Get rid of older versions or you'll end up with the device detected but offline. 2: You need the USB driver installed from the Android SDK.
I tried a number of suggested things to attempt to update the driver for my device with the Android USB driver, some people had suggested installing it over the USB driver, some over the Portable Device driver and some over the Linux File-CD Gadget driver. None of these worked, windows kept returning the following error:
The folder you specified doesn't contain a compatible software driver for your device. If the folder contains a driver, make sure it is designed to work with Windows for x64-based systems.
What I eventually found is this: After enabling Android Debugging and connecting your phone via USB, you need to go to the View menu in the Device Manager and select 'Show hidden devices'. At that time I was presented with a new section called Android USB Devices. I specifically recall in Windows 7 this was not a hidden area, however it is in Windows 8. Under this heading was a device labeled My HTC. I'm quite sure I never installed the HTC drivers for my phone in Windows 8 so this may be something that is shipped with the OS at this point... or if I did install them I dont recall doing it.
Either way, this is the driver you need to update. Simply right-click, update driver, and replace it with the driver stored in the Android SDK folder (AndroidSDK folder root\sdk\extras\google\usb_driver\). This will load as a Samsung Android driver. Dont worry about it, it works fine.
Finally, as I mentioned before, if you run adb devices and all you see is your phone but it says "offline" and you're sure you have the newest ADB, check your phone screen, it will be asking you to confirm the fingerprint of your machine before it comes online and lets you issue commands.
I hope this helps other people, it was quite a hassle figuring this out, mostly because I didnt expect the driver to be hidden since it wasnt in Windows 7.

[Q] Is it possible to turn an Android installation into a Linux distribution? How?

Hello everyone,
In brief I was wondering if I could somehow turn an Android installation into a GNU/Linux distribution, given that Android uses the Linux kernel. Maybe I can install the GNU libraries and the rest of a distribution on top of the kernel, then deactivate the Android libraries that get on its way? I'm thinking of doing this because the Linux kernel already has all the required drivers for my device so perhaps the only thing that I should do is to tweak some files.
Here is my story:
At work I was given an old and unsupported industrial touchscreen module from a largely unknown company. The screen itself is connected to a computer module in the back, which has connectors for several peripherals, an embedded ARMv7 processor, and runs Android 2.2 (rooted) as its operating system.
I was given the task of finding out in a short time if I can install another operating system in the computer (say, Debian) to use it as a PC.
So I looked for information about this device, but I could only find the document attached.
So far, I have been able to turn it on, to connect it to the internet, to get it to read an SD card, and to connect USB peripherals such as a mouse and a keyboard.
But as for installing a different operating system, I haven't had any luck. I've tried different things. For example, I tried to boot into recovery mode by pushing several combinations of keys, but with no success so far. I've looked at the circuit board, but I haven't seen anything illuminating.
Also, I think that installing a Linux distribution from scratch would be painful, even impossible, because this device is not supported in any form and it doesn't come with a user guide or a software package, so it would be impractical to get the drivers for the device, as they are most likely non-standard.
I mean, is it even possible to accomplish this? Is it practical? How should I proceed? I think it is technically possible, but I'm not a Linux expert, not an Android expert, and not an embedded systems expert so I may be wrong.
I have also looked into other options. For example, the "Complete Linux Installer" Android app. I don't think this would work. The device only has ~100MB of free space in the internal flash memory.
There is also a way to install a GNU/Linux distribution that runs on chroot simultaneously with Android and communicates with it via VNC, called "Linux Deploy", but this sounds like it is not optimal. I don't think it would be a good option because of the limited resources of the device.
Any help will be appreciated.

Mediatek mt6753 OTG support

Hi all,
I try to get USB-OTG support for my mt6753 phone running. Lots of websites show that the device should offer OTG support and you find several phones with this chipset having this option. I have a DOOGEE T3 that should have that, too.
But nothing happens when connecting different USB storages to the phone. Neither the device internal LEDs flashes nor kmsg / dmesg shows something USB related (phone is rooted).
I already ran several USB OTG checkers from google app store that added android usb host permissions in /etc/permissions in several xml files.
I also added the usb.host setting in build.prop and disabled the charger only option.
I also added a seperate USB power supply for definitively providing enough power for the USB storage. When using this additional cable the USB storage blinks twice but nothing happens on the phone.
There are a lot of items in /sys on the phone (e.g. usb20_host) that should point me to the capabilities for OTG.
I don't see a real "hardware" usb host controller in lsusb (like an uchi or ehci controller I know from Intel based systems) - only the "Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub"
How to proceed? If you need more information to determine the next steps, just let me know.
Best regards,
RX1901
Changing the cmode property to 2 (host mode only) causes some kernel debugging lines that state at the end "switch_int_to_host is done" but the "is_host" stays 0.
Am I on the right track?
After further checkings, it looks as if the usb20_otg_if is not compiled into the kernel. How can I add this? As a quick test a .ko file would be sufficient.
RX1901 said:
After further checkings, it looks as if the usb20_otg_if is not compiled into the kernel. How can I add this? As a quick test a .ko file would be sufficient.
Click to expand...
Click to collapse
Find a kernel source for your chip. However, I'm concerned about your phone not powering up the guest device. I think it should do that regardless of the driver. Is your OTG cable good? Proper cable should have OTG pin pulled to the ground on the phone's side and floating on the device's side.

Categories

Resources