[Q] Libusb and ftdi - Acer Iconia A500

Hi, I have a question is it posible to use libusb to control ftdi chip? I need to change state CBUS FTDI pins. Have someone any idea how to do that?

Related

USB ti serial

Does anyone know if you are able to use a USB t serial converter to connect to another device such as a Cisco router?
that would be neat if possible.. though you would likely need to compile the driver for the usb->serial chip into the kernel.

[Q] RT2800 USB vs Monitor Mode

Hi,
I have just picked up a Note 3 on Three UK.
Am I right in assuming that the wireless chipset BCM4339 which is the same as on the Nexus 5 is still not able to use bcmon mode to allow us to enable monitor mode?
Would a specific ROM be necessary to allow a TP-Link WN722n (RT2800usb) to work on OTG cable?
I have tried both bcmon on my note 3 and also my TP-Link via USB OTG cable and neither have had any results.
Thanks
Toby
I've installed USB Host Check to confirm that USB host support is enabled on my note 3.
(android.hardware.usb.host.xml OK)
(handheld_core_hardware.xml OK)
I then installed USB Host Controller.
Both devices recognised but obviously not working. (Atheros USB 2.0 WLAN for TP-WN772n) and (ASIX Elec Corp AX88x72A) for USB ethernet.
When I run USB Host Controller I get the following error message:
"s3c usb host driver not found".
Another member on XDA posted a link to the Halaszk Kernel on the N9000 apparantly having OTG USB host support for S3C
(Original post http://forum.xda-developers.com/showthread.php?t=2599045)
Halaszk Kernel for the N9000
http://forum.xda-developers.com/showthread.php?t=2590320
Toby
I'm still hitting a brick wall on this one search wise.
Would stil love to be able to use my WN722N on my Note 3.
Has anyone any experience in modifying the Kernel Module to allow the ath9k to work on Note 3?
Getting a wireless adapter to work on Ubuntu or any form of Linux can be difficult if the manufacturer doesn't provide direct driver support or at the very least a "Tar" which would allow an end user (with sufficient skill) to compile the drivers them self. My understanding of this is limited but from what I can remember Android is JavaScript VM running on a Linux kernel. So you need the Linux source code for the driver which usually comes in a "Tar". Feel free to correct me if I am wrong.

[Q] Accessing kernel output / UART debugging

Hello,
Is it possible to access UART/serial data capabilities for kernel debugging purposes? ex. OMAP platforms can use a JIG on the USB GND-ID pins to enable UART and the FIQ debugger (in-kernel).

[Q] USB WiFi AR9271 ath9k almost working

Hello everybody out there.
I am trying to add support for the AR9271 USB WiFi device in the CM11 release kernel on my i9507. I've managed to compile the kernel with ath9k and mac80211 (dependency) baked in instead of as modules. I believe this would skip the need to load and unload modules to get the card working. I booted successfully and plugged in my adapter with an OTG cable, but upon ifconfiging and whatnot, I could not find the adapter at all. I tried using Pcap Capture by Kismet, and that reported no connected USB NICs.
I'm losing sleep . What am I doing wrong? Does anybody have an idea? I can release my build of kernel with ath9k support if anyone wants it, although I guess anyone who answers this probably doesn't need it anyway ._.
Thanks guys.
EDIT:
Apparently Kismet Pcap only works with that one Realtek chipset in the Alfa, so that's out the window.
Anyway, I have installed the firmware file (htc_9271.fw) to /system/etc/firmware and the device shows up with lsusb with ID 13d3:3327, so it's being recognized, but the kernel still takes one look at it, laughs, and dies.
Here is the dmesg output:
<6>[14516.472685] usb 2-1: New USB device found, idVendor=13d3, idProduct=3327
<6>[14516.472716] usb 2-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
<6>[14516.472747] usb 2-1: Product: UB93
<6>[14516.472747] usb 2-1: Manufacturer: ATHEROS
<6>[14516.472777] usb 2-1: SerialNumber: 12345
It seems like the kernel just derps and doesn't load the ath9k_htc stuff it's supposed to. I do remember that when I compiled the kernel, I got errors compiling the ath9k modules. I found no patches for this problem, so I took the ath folder from the linux kernel backports (compat-wireless) and plopped it in the CM kernel drivers folder, replacing the old one. Worst way to merge code, I know. The kernel compiles fine, but according to dmesg, the drivers either aren't there, or aren't doing anything.

Xiaomi Mi Smart Clock

I've bought one Mi Smart Clock. I love this device: so compact, nice and solid design, a 4inch LCD screen, WiFi and BT capabilities.
There's "too much google" for me, so i'm wondering if it's possible to hack it and run a custom firmware.
Connecting an USB on boot, firstly i got a MediaTek MT65xx Preloader:
Code:
usb 2-2: new high-speed USB device number 22 using xhci_hcd
usb 2-2: New USB device found, idVendor=0e8d, idProduct=2000, bcdDevice= 1.00
usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-2: Product: MT65xx Preloader
usb 2-2: Manufacturer: MediaTek
cdc_acm 2-2:1.0: Zero length descriptor references
cdc_acm: probe of 2-2:1.0 failed with error -22
cdc_acm 2-2:1.1: ttyACM0: USB ACM device
usb 2-2: USB disconnect, device number 22
that send a lot of "READY" to /dev/ttyACM0 device.
After few seconds, it disconnect and connect a:
Code:
usb 2-2: new high-speed USB device number 7 using xhci_hcd
usb 2-2: New USB device found, idVendor=0e8d, idProduct=2008, bcdDevice= 2.23
usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-2: Product: X04G
usb 2-2: Manufacturer: Xiaomi
but i was not able to do something more that configure it as firmware allow.
Anyone already did something? There's any team/group/someone else interested in build an hack for this nice device?
Thanks for any help, really appreciated!
I bought the Chinese version, and its model is slightly different from yours. It is said that this is the overseas version of the Chinese version. I compiled a twrp for this device, not sure if it will work on yours.
GitHub - MaxCaiLC/twrp_xiaomi_lx04_device_tree
Contribute to MaxCaiLC/twrp_xiaomi_lx04_device_tree development by creating an account on GitHub.
github.com
Can you back up your firmware with mtkclient and send it to me? I am interested in this model.
Is there a way to add a custom alarm sound?
Hi!...I also have a LX04 version of the firmware, have you been able to extract the X04G version to be able to update the firmware???
MaxCaiLC said:
I bought the Chinese version, and its model is slightly different from yours. It is said that this is the overseas version of the Chinese version. I compiled a twrp for this device, not sure if it will work on yours.
GitHub - MaxCaiLC/twrp_xiaomi_lx04_device_tree
Contribute to MaxCaiLC/twrp_xiaomi_lx04_device_tree development by creating an account on GitHub.
github.com
Can you back up your firmware with mtkclient and send it to me? I am interested in this model.
Click to expand...
Click to collapse
Did you get the firmware version with google assistant?
TIA
Jordi EscolĂ  said:
Hi!...I also have a LX04 version of the firmware, have you been able to extract the X04G version to be able to update the firmware???
Click to expand...
Click to collapse
I have a device with x04g firmware on it. How can i extract the firmware?

Categories

Resources