All precompiled kernel have a deactivated hiddev support. I need hiddev to control an external device. So I compiled a kernel with activated hiddev, but it show sporadic errors. Has anybody build a kernel with working hidddev support?
problem solved
My HID device gets its power over USB. This seems to be the reason for my sporadic USB errors. Now I use a extra 5V supply for my device and it works without problems.
Related
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) ?
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?
Hi everyone,
I'm a proud Legend owner, but I'm thinking in change my phone soon (but not yet). Anyway, I was thnking if I can give my phone a new live connecting it to a hard drive, so I can build a webserver, filesharing or whatever with almost no power consumption.
However, I found that is necessary for the kernel to allow USB Host mode for it. Newer android versions support it, but for everyone else I've found this http://sven.killig.de/android/N1/2.2/usb_host/, there's a port even for G1.
Anyone with enought skills for porting it to legend?
usb otg works on thc legend
Hello
I compiled the kernel (ver 2.6.35) for htc legend and applied the Sven Killing's ehci usb host hack. I connected an usb mice and an usb keyboard, and both worked. I changed an some points the kernel source (like Kconfig and etc.) if somebody needs i can upload it.
You need an external power supply for the connected devices, and hacked an homemade usb micro host cable like this:
beyondthekeeboard.files.wordpress.com/2010/10/picture-50.png
It works fine, I didn't tested mass storage, but i think it would work.
Could you upload your compiled kernel?
Hello people,
i need some help enabling usb otg on the legend aswell. im running CM 7.2 and 2.6.32 kernel.
If someone could upload a modded kernel or do a step-by-step instruction for a noob like me, i'd be really grateful
Need also OTG functionality on my legend! Does anybody have a modded kernel?
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.
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.