[DRIVER] USB Ethernet driver dm9601 for EOS WiFi Nightlies[02/02/2012] - Xoom Android Development

I am using usb ethernet dongle with chip dm9601.
so for anyone who needs it.
Basic usage:
Code:
su
modprobe dm9601
# if the above command is not working, use this instead.
insmod /system/lib/modules/dm9601.ko
# for dhcp
/system/bin/dhcpcd eth0
setprop net.dns1 8.8.8.8
# for static ip
ifconfig eth0 10.0.10.5 netmask 255.255.255.0 broadcast 10.0.10.255
route add default gw 10.0.10.1
setprop net.dns1 8.8.8.8
And that's it.
update_dm9601.zip
ps. tested in EOS ROM #20
check if your kernel version is 2.6.39.4-Tiamat-02006-gd302a89
if yes, you can use this module.
20120116_dm9601.zip
ps. tested in EOS ROM #38
check if your kernel version is 2.6.39.4-Tiamat-02030-ge515569
if yes, you can use this module.
20120122_update.zip
ps. tested in EOS ROM #44
check if your kernel version is 2.6.39.4-Tiamat-02044-gf2b60b1-dirty
if yes, you can use this module.
20120202_update_dm9601.zip
ps. tested in EOS ROM #58
check if your kernel version is 2.6.39.4-Tiamat-3.0.4-gpuoc-02063-gf5229f7
if yes, you can use this module.

Awesome. Thank you very much
Sent from my Xoom using Tapatalk

Nice, but any thread with 3G usb dongle?

Nice nice nice please can you make a version for hc 3.2 with Kernel Rogue "Rana 1.4.3"?
Best regards
Craxx
send from my MZ601 with Tapatalk

Craxx said:
Nice nice nice please can you make a version for hc 3.2 with Kernel Rogue "Rana 1.4.3"?
Best regards
Craxx
send from my MZ601 with Tapatalk
Click to expand...
Click to collapse
what is your kernel version ?
Setting -> About tablet.

Hy clotai,
My version is [email protected] #20
Thx a lot
Craxx
Send from my MZ601 with Tapatalk

Craxx said:
Hy clotai,
My version is [email protected] #20
Thx a lot
Craxx
Send from my MZ601 with Tapatalk
Click to expand...
Click to collapse
Ok. Please Try this.

Hy clotai,
i tested your file but do not work. I think something should be corrected in your first post?
instead of /system/bin/dhcpd eth0 it should be /system/bin/dhcpcd eth0
This i put in console:
su
/system/bin/dhcpcd eth0
setprop net.dns1 8.8.8.8
but it doesn´t work.
When i write:
su
ifconfig eth0 192.168.0.190 netmask 255.255.255.0 broadcast 192.168.0.255
I get an error: error: CIOCSIFADDR (No such device)
route add default gw 192.168.0.1
I get an error: Invalid argument
setprop net.dns1 8.8.8.8
Hope you can solve this

Craxx said:
Hy clotai,
i tested your file but do not work. I think something should be corrected in your first post?
instead of /system/bin/dhcpd eth0 it should be /system/bin/dhcpcd eth0
This i put in console:
su
/system/bin/dhcpcd eth0
setprop net.dns1 8.8.8.8
but it doesn´t work.
When i write:
su
ifconfig eth0 192.168.0.190 netmask 255.255.255.0 broadcast 192.168.0.255
I get an error: error: CIOCSIFADDR (No such device)
route add default gw 192.168.0.1
I get an error: Invalid argument
setprop net.dns1 8.8.8.8
Hope you can solve this
Click to expand...
Click to collapse
1. did you do 'modprobe dm9601' ?
2. if the answer of 1 is yes, please show me dmesg when you plug-in your
usb ethernet device
3. please also show me lsusb.

Hy clotai,
Sorry i forgot. Yes i do modeprobe, but modeprobe couldn't find...
I am at work now so later i can post the rest of your questions
Craxx
Send from my MZ601 with Tapatalk

Craxx said:
Hy clotai,
Sorry i forgot. Yes i do modeprobe, but modeprobe couldn't find...
I am at work now so later i can post the rest of your questions
Craxx
Send from my MZ601 with Tapatalk
Click to expand...
Click to collapse
if modprobe is not found, please try to use
Code:
insmod /system/lib/modules/dm9601.ko

Hi,
I have also a problem with this module and rogue kernel
Dmesg
6>[ 774.845504] usb usb2: Product: Tegra EHCI Host Controller
<6>[ 774.845523] usb usb2: Manufacturer: Linux 2.6.36.4-rogue-1.4.3+ ehci_hcd
<6>[ 774.846072] usb usb2: SerialNumber: tegra-ehci.0
<6>[ 774.850240] hub 2-0:1.0: USB hub found
<6>[ 774.850288] hub 2-0:1.0: 1 port detected
<6>[ 775.325506] usb 2-1: new full speed USB device using tegra-ehci and address 2
<6>[ 775.370394] usb 2-1: New USB device found, idVendor=0fe6, idProduct=9700
<6>[ 775.370448] usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
<6>[ 775.370488] usb 2-1: Product: USB 2.0 10/100M Ethernet Adaptor
sh-4.1# dhcp
dhcpcd dhcprelay
sh-4.1# dhcpcd eth0
dhcpcd[3078]: version 5.2.10 starting
dhcpcd[3078]: eth0: interface not found or invalid
sh-4.1# lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 22b8:2a70
Bus 002 Device 001: ID 1d6b:0002
Bus 002 Device 002: ID 0fe6:9700
sh-4.1# uname -r
2.6.36.4-rogue-1.4.3+

Hy clotai,
thx a lot for your advice, NOW it works GREAT. I send this with connected LAN cable and wifi and data connection off. THX really great
@ Kluczus
I think you have no dm9601 usb to lan adapter. Sorry.
Craxx
Send from my MZ601 with Tapatalk

kluczus said:
Hi,
I have also a problem with this module and rogue kernel
Dmesg
6>[ 774.845504] usb usb2: Product: Tegra EHCI Host Controller
<6>[ 774.845523] usb usb2: Manufacturer: Linux 2.6.36.4-rogue-1.4.3+ ehci_hcd
<6>[ 774.846072] usb usb2: SerialNumber: tegra-ehci.0
<6>[ 774.850240] hub 2-0:1.0: USB hub found
<6>[ 774.850288] hub 2-0:1.0: 1 port detected
<6>[ 775.325506] usb 2-1: new full speed USB device using tegra-ehci and address 2
<6>[ 775.370394] usb 2-1: New USB device found, idVendor=0fe6, idProduct=9700
<6>[ 775.370448] usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
<6>[ 775.370488] usb 2-1: Product: USB 2.0 10/100M Ethernet Adaptor
sh-4.1# dhcp
dhcpcd dhcprelay
sh-4.1# dhcpcd eth0
dhcpcd[3078]: version 5.2.10 starting
dhcpcd[3078]: eth0: interface not found or invalid
sh-4.1# lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 22b8:2a70
Bus 002 Device 001: ID 1d6b:0002
Bus 002 Device 002: ID 0fe6:9700
sh-4.1# uname -r
2.6.36.4-rogue-1.4.3+
Click to expand...
Click to collapse
if you are using 'modprobe dm9601' and not working,
use 'insmod /system/lib/modules/dm9691.ko'

Craxx said:
Hy clotai,
thx a lot for your advice, NOW it works GREAT. I send this with connected LAN cable and wifi and data connection off. THX really great
@ Kluczus
I think you have no dm9601 usb to lan adapter. Sorry.
Craxx
Send from my MZ601 with Tapatalk
Click to expand...
Click to collapse
Glad to help you

O, you have right, this is KY-QF9700 Is it possible to compile module for rogue kernel?
I have found something like this ...

kluczus said:
O, you have right, this is KY-QF9700 Is it possible to compile module for rogue kernel?
I have found something like this ...
Click to expand...
Click to collapse
please visit this url and see if it's working.
http://forum.xda-developers.com/showthread.php?t=1425178

You are my hero )))))))) It is working now

kluczus said:
You are my hero )))))))) It is working now
Click to expand...
Click to collapse
you are welcome.

Wow, this is AWESOME! So, I just flash these drivers from CWM? Also, how do I know if a USB/Ethernet adaptor will work with this?

Related

NTT Hikari iFrame WDPF-701ME

This thread is about Android-based NTT Hikari iFrame WDPF-701ME.
WDPF-701ME is a 7-inch tablet with 265Mb RAM and 1Gb flash.
Although it is originally sold with a rather high price tag (24150 yen as I am writing this) it is widely available on a second hand market under 4000 yen.
NTT does distribute GPLed sources for the device which can also be downloaded at multiupload dot com slash H01S3I4YRG.
The device needs special USB cable with TTA-20 connector (COWON S9-USB CABLE fits).
When plugged it gets identified as
Code:
usb 1-1: new high speed USB device number 8 using ehci_hcd
usb 1-1: New USB device found, idVendor=18d1, idProduct=0002
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: Media Persona
usb 1-1: Manufacturer: Broadcom
usb 1-1: SerialNumber: NTTWDPF701ME
scsi5 : usb-storage 1-1:1.0
scsi 5:0:0:0: Direct-Access Broadcom Media Persona 0100 PQ: 0 ANSI: 2
sd 5:0:0:0: [sdc] Attached SCSI removable disk
Rooting is simple:
Code:
~ $ adb push rageagainstthecage-arm5.bin /dpfdata
~ $ adb shell
And then:
Code:
$ cd /dpfdata
$ chmod 755 rageagainstthecage-arm5.bin
$ ./rageagainstthecage-arm5.bin
Don't forget to fix SUID bit on su:
Code:
~ $ adb install Superuser.apk
~ $ adb shell
$ chmod 4755 /bin/su
Firmware updates come in a proprietary format. MAC address belongs to MOIMSTONE Co., LTD of Korea.
MTD layout:
Code:
Creating 14 MTD partitions on "bcm_umi-nand":
0x000000000000-0x000000080000 : "boot1"
0x000000080000-0x000000100000 : "boot2"
0x000000100000-0x000000200000 : "ctrl"
0x000000200000-0x000001200000 : "nvdata"
0x000001200000-0x000001500000 : "k0"
0x000001500000-0x000001800000 : "k1"
0x000001800000-0x000009800000 : "root0"
0x000009a00000-0x000011880000 : "root1"
0x000011880000-0x000038e80000 : "userdata"
0x000038e80000-0x000058e80000 : "dpfdata"
0x000058e80000-0x000060e80000 : "firmwarestorage"
0x000060e80000-0x000068e80000 : "factoryreset"
0x000068e80000-0x000068f00000 : "serialdata"
0x000009800000-0x000009a00000 : "vcfw"
More info later.

[Q] USB HOST mode in ICS (android 4.x)

I need to power a USB device and communicate with it.
The Android 4.x documentation states that ICS has USB HOST enabled thus allowing other devices connected through USB to the phone, to be discovered/powered...
I have a Desire Z with ICS 4.01 from here: http://forum.xda-developers.com/showthread.php?t=1374927
Is the current ICS alpha USB host enabled?
Thanks
It is my understanding that the USB host isn't working at this time on this ROM.
Thanks,
I thought this IS the default setting in ICS.
Hope it will be out there soon
Usb host function needs hardware support as well. It should be supported by both SOC and the board. I doubt that our hardware included necessery components. sorry.
I'm using MDJ (virtuous?) ICS (4.0.3) and it worked out of the box
Perhaps you could try that one if USB storage is important for you.
EDIT: I misread, sorry! Not sure if USB hosting works with MDJ's rom, haven't tried that.
check this mate
http://forum.xda-developers.com/showthread.php?t=1398493 dont think it will be much help though, we need devs
I was wandering if it could be something similar to how you can enable USB HOST mode in XOOM...
Search for
enable-usb-host-mode-ie-thumb-drives-on-the-xoom
I tried my app both in aosp and in an official nexus s (ICS) at no avail...
Any other thoughts?
Found out more...
Has anyone seen this?
HOWTO: Compile USB Host Enabled Kernel for the G1/Dream
w w w .cs.fsu.edu/~baker/devices/projects/framik/USB-HOST-Kernel.txt
It should be similar to our device, right?
I tried another thing...
I purchased a USB On-The-Go cable, thinking that when connecting my external usb sensor to the phone it will signal the phone to enter USB Host mode.
No luck.
The phone does notice the cable and ICS enters "car mode" (remember that driving wheel icon " it shows on the status bar...)
Is this a step forward or a kick in the but?
dmsgs output when USB OTG cable is plugged in.
<6>[ 4602.157348] [USB] hsusb: ONLINE -> OFFLINE
<6>[ 4602.157592] [USB] handle_notify_offline: notify offline
<6>[ 4602.170227] [USB] lpm enter
<6>[ 4602.170623] [USB] usb_suspend_phy
<6>[ 4602.181701] [USB] send connect type 0
<6>[ 4603.584014] [USB] msm_hsusb: disable pullup
<6>[ 4603.596923] [USB] msm_hsusb: enable pullup
<6>[ 4604.816955] [USB] msm_hsusb: disable pullup
<6>[ 4604.837097] [USB] msm_hsusb: enable pullup
<6>[ 4670.716400] [USB] id interrupt
<6>[ 4670.816864] [USB] carkit_detect: usb ID pin = 0
<6>[ 4670.817138] [USB] lpm exit
- I have no car kit!
<6>[ 4670.926910] [USB] carkit inserted
<6>[ 4670.939697] [USB] carkit: set state 2
<6>[ 4670.940094] [USB] lpm enter
<6>[ 4670.940765] [USB] usb_suspend_phy
<6>[ 4702.414123] [USB] id interrupt
<6>[ 4702.516906] [USB] carkit_detect: usb ID pin = 1
<6>[ 4702.517028] [USB] carkit removed
<6>[ 4702.536956] [USB] carkit: set state 0
<6>[ 4718.810180] [USB] msm_hsusb_set_vbus_state: 1
<6>[ 4718.810211] [USB] hsusb: OFFLINE -> ONLINE
<6>[ 4718.810211] [USB] lpm exit
<6>[ 4718.811340] [USB] hsusb: reset controller
<6>[ 4718.997253] [USB] ulpi: write 0x06 to 0x36
<6>[ 4718.997253] [USB] ulpi: write 0x0c to 0x31
<6>[ 4718.997283] [USB] ulpi: write 0x31 to 0x32
<6>[ 4718.997283] [USB] ulpi: write 0x01 to 0x0d
<6>[ 4718.997283] [USB] ulpi: write 0x01 to 0x10
<6>[ 4718.997314] [USB] handle_notify_offline: notify offline
<6>[ 4718.997344] [USB] msm_hsusb: enable pullup
<6>[ 4719.000366] [USB] suspend
<6>[ 4719.016998] [USB] not AC charger
<6>[ 4719.114501] [USB] reset
<6>[ 4719.114624] [USB] send connect type 1
<6>[ 4719.116790] [USB] portchange USB_SPEED_HIGH
<6>[ 4719.311889] [USB] reset
<6>[ 4719.314178] [USB] portchange USB_SPEED_HIGH
I WANT USB HOST! WAAAAAAAAAAAAAAAAAAA....!
Found more info here
http://forum.xda-developers.com/showthread.php?t=702742&page=17
Might need to apply the patch to the ICS kernel if not already included
Need to find how to get/patch/build the kernel...
great, im not alone with the need of usb host!
as i referred to in this thread -
see: Nexus One USB host mode driver
and youtube videos:
USB host mode on the HTC Desire
Nexus One USB host mode
this way i tried compiling a new kernel with usb host mode in kernel config, but i wasnt able to boot it up...(stucks at htc logo)
im not sure what im doing wrong cause i didnt figure out how to get the bootloader output, maybe im missing the ramdisk..
my linux knowledge doesnt seem to suffice (yet ) for android devices to do development stuff, so im hoping the devs enable usb host mode in another rom-update
Wow! Somebody is interested in USB Host beside me!
Andromadus Alpha v9 now lists USB - UMS.
Could this be IT or is this the feature available only to devices with removable storage card slots?
xperia arc has it
I convinced a colleague to let me try his phone and with the USB OTG cable I bought I've been able to connect a mouse to the phone and click on the icons and also connect my work desktop keyboard to the phone and type like crazy in an edit field...
Thinking about switching...
So here upping the thread, usb host has (probably) been done on G2, but don't get too excited. At the time of the sdk ICS port OdienmanSam (sorry if it's not right spelt), managed to get it to work, if I remember well, as he has deleted all his posts. I've tried to MP him, but no luck. We may contact the devs, I'll do it with Andromadus devs.
Usb host in ICS
I can confirm that
Andromadus Alpha 10
Virtuous Quattro rc 1,2,3
Virtuouw Quattro beta 8,9
all doesn't support usb host with an usb otg cable.
They're all getting the carkitmode
Problem in USB HOST MODE
I am developing application to detect my printer by NOVO 7 Paladin(Android 4.0).
By USB HOST CONTROLLER application(which is available in market) the printer/mouse/keyboard is detected. But in my application(Written in java) these devices are not detected
With the reference of below link this application is developed
developer.android.com/guide/topics/usb/host.html
My Code Sample
mUsbManager = (UsbManager)getSystemService(Context.USB_SERVICE);
HashMap<String, UsbDevice> foundDevices = mUsbManager.getDeviceList();
Iterator<UsbDevice> iterator = foundDevices.values().iterator();
if (foundDevices.size()>0)
{String old = textv.getText().toString();
textv.setText(old +" foundDevices ");
}
The USB-HOST API Solution
Hello Camaradas
I've been searching a lot for this, and couldn't find it. But thanks to all the people who have spent a few moments answering our questions, and the wiki resources on the web I figured it out. So I would do the same in bring back.
There are some missing files in some android builds, like the AINOL NOVO 7 PALADIN. I think this would work in any ICS tablet with the same issue. I understand that the Galaxy Tab has the same issue but I'm not sure, I don't have one but if you do, let me know if it work.
So lets push the files in and see how it goes.
>==================================================================<
Copy some missing files into system drive.
$ adb remount
$ adb push AINOL_FIX/system/etc/permissions/android.hardware.usb.host.xml /system/etc/permissions
$ adb push AINOL_FIX/system/etc/permissions/android.hardware.usb.accessory.xml /system/etc/permissions
NOTE: If an error appears displaying Out of Memory, it's right and you must delete some files from system drive. I recommend some live wallpapers from system/app.
>==================================================================<
I understand that for writing system drive you should have root access, I already had it when I did this so if it doesn't work, root it.
You can get the files from android source builds or from a tablet where USB-HOST API is actually working. I got them from linaro's ICS build for pandaboard.
Let me know when you have your USB-HOST API working.

[Q] External keyboard/OTG problem

When i plug in the OTG cable plus the Logitech-wireless-tingy the G Pad just tells me that they are a keyboard and a mouse connected but i can't use it to write or use the mouse.
Do I need to download any apps or are my keyboard just not compatible with my G Pad?
Keyboard: Logitech K400r
When i do the same on my GNex it just works and a small cursor shows up on the screen and i'm ready to write.
Herr_Berg said:
When i plug in the OTG cable plus the Logitech-wireless-tingy the G Pad just tells me that they are a keyboard and a mouse connected but i can't use it to write or use the mouse.
Do I need to download any apps or are my keyboard just not compatible with my G Pad?
Keyboard: Logitech K400r
When i do the same on my GNex it just works and a small cursor shows up on the screen and i'm ready to write.
Click to expand...
Click to collapse
I use a Logitech wireless mouse with mine and it works fine. I just plug the dongle into the OTG cable. I don't use this with a keyboard, because the keyboard I have uses Bluetooth. I can't think of any reason that your setup isn't working. Can you plug some kind of storage device into the OTG cable and does it appear? I would try different devices to make sure that the cable is good, etc. Try it with the mouse alone, first and see if you can get that to work.
Herr_Berg said:
When i plug in the OTG cable plus the Logitech-wireless-tingy the G Pad just tells me that they are a keyboard and a mouse connected but i can't use it to write or use the mouse.
Do I need to download any apps or are my keyboard just not compatible with my G Pad?
Keyboard: Logitech K400r
When i do the same on my GNex it just works and a small cursor shows up on the screen and i'm ready to write.
Click to expand...
Click to collapse
Play with it a little, e.g.,
1. Unplug and plug in back several times.
2. Unplug, clear cache, turn off the tablet, plug in and turn the tablet on.
3. Be devious.
mackeev said:
Play with it a little, e.g.,
1. Unplug and plug in back several times.
2. Unplug, clear cache, turn off the tablet, plug in and turn the tablet on.
3. Be devious.
Click to expand...
Click to collapse
Good advice!
mackeev said:
Play with it a little, e.g.,
1. Unplug and plug in back several times.
2. Unplug, clear cache, turn off the tablet, plug in and turn the tablet on.
3. Be devious.
Click to expand...
Click to collapse
Will try that, hope its works. Thanks!
woody1 said:
I use a Logitech wireless mouse with mine and it works fine. I just plug the dongle into the OTG cable. I don't use this with a keyboard, because the keyboard I have uses Bluetooth. I can't think of any reason that your setup isn't working. Can you plug some kind of storage device into the OTG cable and does it appear? I would try different devices to make sure that the cable is good, etc. Try it with the mouse alone, first and see if you can get that to work.
Click to expand...
Click to collapse
It's a combined keyboard/touchpad. Yes the cable works with anything else, cameras, storage ect.
Same problem here!
I just got a usb otg cable and my Logitech k400r does not work with my LG G Pad either
I'm having the same issue on my G Pad with the Logitech K400r pad\keyboard. I tried the same cable and dongle on my LG G2 and it worked just fine. Anyone get it to work on the G Pad?
Ran DMESG and saw this
<6>[ 4926.086242 / 03-05 01:59:11.347] msm_otg msm_otg: phy_reset: success
<6>[ 4926.192260 / 03-05 01:59:11.457] msm_otg_reset: pm usb id pull_up(0)
<6>[ 4926.196014 / 03-05 01:59:11.457] msm_otg msm_otg: USB in low power mode
<6>[ 4926.700622 / 03-05 01:59:11.958] msm_pmic_id_irq: INTERRUPT !
<6>[ 4926.701049 / 03-05 01:59:11.958] anx7808_cbl_det_isr : detect cable removal
<6>[ 4926.892120 / 03-05 01:59:12.158] msm_pmic_id_w: INTERRUPT !
<6>[ 4926.892547 / 03-05 01:59:12.158] msm_pmic_id_w: ID clear - otg cable is inserted
<6>[ 4926.906280 / 03-05 01:59:12.168] msm_otg msm_otg: USB exited from low power mode
<6>[ 4926.906677 / 03-05 01:59:12.168] otg_gender_is_connected: check if an otg gender is connected.
<6>[ 4926.907073 / 03-05 01:59:12.168] regulator_disable (ext_mpp8) success ! USB_ID -> DEVICE_ID
<6>[ 4926.909332 / 03-05 01:59:12.168] regulator_enable (ext_mpp8) success ! USB_ID -> HOST_ID
<6>[ 4926.909698 / 03-05 01:59:12.168] adc value: 695
<6>[ 4926.909881 / 03-05 01:59:12.168] otg gender is connected
<6>[ 4927.022552 / 03-05 01:59:12.288] msm_hsusb_host msm_hsusb_host: Qualcomm On-Chip EHCI Host Controller
<6>[ 4927.022888 / 03-05 01:59:12.288] msm_hsusb_host msm_hsusb_host: new USB bus registered, assigned bus number 1
<6>[ 4927.052124 / 03-05 01:59:12.318] msm_hsusb_host msm_hsusb_host: irq 132, io mem 0x12500000
<6>[ 4927.072204 / 03-05 01:59:12.338] msm_hsusb_host msm_hsusb_host: USB 2.0 started, EHCI 1.00
<6>[ 4927.072570 / 03-05 01:59:12.338] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[ 4927.072753 / 03-05 01:59:12.338] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[ 4927.072906 / 03-05 01:59:12.338] usb usb1: Product: Qualcomm On-Chip EHCI Host Controller
<6>[ 4927.073028 / 03-05 01:59:12.338] usb usb1: Manufacturer: Linux 3.4.0 ehci_hcd
<6>[ 4927.073211 / 03-05 01:59:12.338] usb usb1: SerialNumber: msm_hsusb_host
<6>[ 4927.074707 / 03-05 01:59:12.338] hub 1-0:1.0: USB hub found
<6>[ 4927.074829 / 03-05 01:59:12.338] hub 1-0:1.0: 1 port detected
<6>[ 4927.392547 / 03-05 01:59:12.659] usb 1-1: new full-speed USB device number 2 using msm_hsusb_host
<3>[ 4927.555969 / 03-05 01:59:12.819] usb 1-1: device v046d pc52b is not supported
<6>[ 4927.556213 / 03-05 01:59:12.819] usb 1-1: New USB device found, idVendor=046d, idProduct=c52b
<6>[ 4927.556579 / 03-05 01:59:12.819] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
<6>[ 4927.556945 / 03-05 01:59:12.819] usb 1-1: Product: USB Receiver
<6>[ 4927.557159 / 03-05 01:59:12.819] usb 1-1: Manufacturer: Logitech
<6>[ 4942.675323 / 03-05 01:59:27.943] msm_pmic_id_irq: INTERRUPT !
<6>[ 4942.675903 / 03-05 01:59:27.943] anx7808_cbl_det_isr : detect cable removal
<6>[ 4942.676422 / 03-05 01:59:27.943] usb 1-1: USB disconnect, device number 2
<6>[ 4942.872436 / 03-05 01:59:28.144] msm_pmic_id_w: INTERRUPT !
<6>[ 4942.872589 / 03-05 01:59:28.144] otg_cable is removed
Ok, so I got this working. Soon I'll be releasing a new kernel with support for all Logitech Unifying Receivers. :good:
id10terror said:
Ok, so I got this working. Soon I'll be releasing a new kernel with support for all Logitech Unifying Receivers. :good:
Click to expand...
Click to collapse
Oh wow Haha, what a coincidence. Just got my OTG cable in the mail and tried plugging in the k400r, and was sad when it didn't work. Looking forward to your kernel maybe also other developers will use your fix
Ajsh said:
Oh wow Haha, what a coincidence. Just got my OTG cable in the mail and tried plugging in the k400r, and was sad when it didn't work. Looking forward to your kernel maybe also other developers will use your fix
Click to expand...
Click to collapse
My new kernel which includes support for Logitech Unifying receivers is now available here:
http://forum.xda-developers.com/showthread.php?t=2684085
id10terror said:
My new kernel which includes support for Logitech Unifying receivers is now available here:
http://forum.xda-developers.com/showthread.php?t=2684085
Click to expand...
Click to collapse
This is really cool! I don't know if they work out of the box on the V510, but if not, I would like to incorporate your fix into the sleekai kernel as well. Good job!
sleekmason said:
This is really cool! I don't know if they work out of the box on the V510, but if not, I would like to incorporate your fix into the sleekai kernel as well. Good job!
Click to expand...
Click to collapse
I'll PM later this evening you what I enabled in the kernel build.. It's really simple, it was just the research and debugging that took me a bit to figure it all out. But it's working
When I try use my external HD, doesn't work. Looking dmesg log I found this:
<6>[ 1618.034393 / 03-25 08:36:36.152] usb 1-1: new high-speed USB device number 2 using msm_hsusb_host
<3>[ 1618.279632 / 03-25 08:36:36.393] usb 1-1: device descriptor read/all, error -71
<6>[ 1618.394378 / 03-25 08:36:36.513] usb 1-1: new high-speed USB device number 3 using msm_hsusb_host
<3>[ 1618.545715 / 03-25 08:36:36.663] usb 1-1: device v1058 p0748 is not supported
<6>[ 1618.545806 / 03-25 08:36:36.663] usb 1-1: New USB device found, idVendor=1058, idProduct=0748
<6>[ 1618.545898 / 03-25 08:36:36.663] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
<6>[ 1618.546020 / 03-25 08:36:36.663] usb 1-1: Product: My Passport 0748
<6>[ 1618.546112 / 03-25 08:36:36.663] usb 1-1: Manufacturer: Western Digital
<6>[ 1618.546173 / 03-25 08:36:36.663] usb 1-1: SerialNumber: 57583531453433434C464438
<6>[ 1618.547454 / 03-25 08:36:36.663] scsi12 : usb-storage 1-1:1.0
<6>[ 1618.580017 / 03-25 08:36:36.693] usb 1-1: USB disconnect, device number 3
<3>[ 1618.834503 / 03-25 08:36:36.953] hub 1-0:1.0: unable to enumerate USB device on port 1
Is possible fix it with a custon kernel?
how do you install a custom kernel on the G Pad?
fsdigital12 said:
how do you install a custom kernel on the G Pad?
Click to expand...
Click to collapse
Do yo have root? Have you installed a custom recovery like tarp?
Reboot into recovery and install. Make a backup of boot first.
hi there. trying to run my logitech t650 on my g pad ii and it isn't working. any ideas?

[Q] External Storage USB OTG Problems

Sorry by my poor english.
I can't use my external HDD in the LG G Pad V500 Stock, no root, with a USB OTG cable. Is a WD My Passport, 1Tb, formatted FAT32.
I tested them in my Moto G XT1033 and both are functional.
I can't find any threads with questions about this.
Thanks.
When I try use my external HD, doesn't work. Looking dmesg log I found this:
<6>[ 1618.034393 / 03-25 08:36:36.152] usb 1-1: new high-speed USB device number 2 using msm_hsusb_host
<3>[ 1618.279632 / 03-25 08:36:36.393] usb 1-1: device descriptor read/all, error -71
<6>[ 1618.394378 / 03-25 08:36:36.513] usb 1-1: new high-speed USB device number 3 using msm_hsusb_host
<3>[ 1618.545715 / 03-25 08:36:36.663] usb 1-1: device v1058 p0748 is not supported
<6>[ 1618.545806 / 03-25 08:36:36.663] usb 1-1: New USB device found, idVendor=1058, idProduct=0748
<6>[ 1618.545898 / 03-25 08:36:36.663] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
<6>[ 1618.546020 / 03-25 08:36:36.663] usb 1-1: Product: My Passport 0748
<6>[ 1618.546112 / 03-25 08:36:36.663] usb 1-1: Manufacturer: Western Digital
<6>[ 1618.546173 / 03-25 08:36:36.663] usb 1-1: SerialNumber: 57583531453433434C464438
<6>[ 1618.547454 / 03-25 08:36:36.663] scsi12 : usb-storage 1-1:1.0
<6>[ 1618.580017 / 03-25 08:36:36.693] usb 1-1: USB disconnect, device number 3
<3>[ 1618.834503 / 03-25 08:36:36.953] hub 1-0:1.0: unable to enumerate USB device on port 1
Is possible fix it with a custom kernel or rom?
I was just about to buy a passport HD myself.
interested to see how you make out with this
Root and stickmount may help.
I already tryed. No work.
Sent from my XT1033 using xda app-developers app
wagneremanuel said:
I already tryed. No work.
Sent from my XT1033 using xda app-developers app
Click to expand...
Click to collapse
have you tried?
https://play.google.com/store/apps/details?id=hu.sztupy.android.usbhostcontroller
have you tried a plain usb stick to see if it's a hard drive specific issue you're having (e.g. if usb underpowered)?
i'm rooted and running mahdi. recently picked up a PNY 128GB turbo USB 3 on sale. it works perfectly.
tekka-maki said:
have you tried?
https://play.google.com/store/apps/details?id=hu.sztupy.android.usbhostcontroller
have you tried a plain usb stick to see if it's a hard drive specific issue you're having (e.g. if usb underpowered)?
i'm rooted and running mahdi. recently picked up a PNY 128GB turbo USB 3 on sale. it works perfectly.
Click to expand...
Click to collapse
Yes, the APP not help.
My sandisk 16Gb, works.
I try use other hard drive with a external power source, same problem.
The Hard drives work in the Moto G XT1033, Kit Kat Stock, unroot, perfectly.
Sent from my XT1033 using xda app-developers app
I've been trying to get this working aswell.
Have you managed to figure this out yet? Works fine on my LG Nexus 5 annoyingly.
Also wondering if there has been any solution? I have the same HDD

How can I use an external webcam on Nexus 7?

Hello guys, I have a Nexus 7(2013 16G WIFI), a Logitech webcam C270, a OTG. How can I use the webcam on to Skype on the Nexus?
I followed all the info I could find on the Internet, Youtube, XDA et.. It seems all the tutorials are designed for the old Nexus 7.
I download a camera app, and then rooted the system(tried both 4.4 and 4.3), and then enter in the terminal :
su
ls -l /dev/video0
chmod 666/dev/video0
It doesn't work.
So I enter:
su
dmesg
It says
<6>[ 58.499481] usb 1-1: new high-speed USB device number 10 using msm_hsusb_host
<6>[ 58.869567] usb 1-1: New USB device found, idVendor=046d, idProduct=0825
<6>[ 58.869995] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=2
<6>[ 58.870361] usb 1-1: SerialNumber: 2771C680
<6>[ 58.875671] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825)
<6>[ 58.902282] input: UVC Camera (046d:0825) as /devices/platform/msm_hsusb_host/usb1/1-1/1-1:1.0/input/input9
<4>[ 58.954467] 10:3:1: cannot get freq at ep 0x86
<3>[ 59.018371] 10:3:2: cannot set freq 24000 to ep 0x86
<3>[ 59.082366] 10:3:3: cannot set freq 32000 to ep 0x86
<3>[ 59.146362] 10:3:4: cannot set freq 48000 to ep 0x86
<6>[ 59.179748] usb 1-1: USB disconnect, device number 10
<3>[ 59.597961] hub 1-0:1.0: unable to enumerate USB device on port 1
<3>[ 59.818145] hub 1-0:1.0: unable to enumerate USB device on port 1
<6>[ 62.050842] msm_otg msm_otg: USB in low power mode
<6>[ 62.051147] suspend: enter suspend
<6>[ 62.051391] PM: suspend entry 2014-05-26 21:30:56.722675921 UTC
<7>[ 62.051757] PM: Preparing system for mem sleep
<6>[ 62.051849] PM: Syncing filesystems...
<6>[ 62.056182] sync done.
Does anyone know how to make it work on the 2013 Nexus 7?
Thanks a lot!

Categories

Resources