[Q] External keyboard/OTG problem - G Pad 8.3 Q&A, Help & Troubleshooting

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?

Related

[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] Has anyone heard about or seen pwn pad on a Nexus 7 2013?

Wondering if anyone has seen or done themselves, kali or pwn pad on the new Nexus 7...
br0k3nilluzion said:
Wondering if anyone has seen or done themselves, kali or pwn pad on the new Nexus 7...
Click to expand...
Click to collapse
I would like To know this too.
Take a look at the pwn pad forum itself.
binkybear is active in this topic...
--> http://w11.zetaboards.com/Pwnie_Express/topic/9102405/
--> http://w11.zetaboards.com/Pwnie_Express/topic/9172573/
What is Kali or pwn pad
Sent from my Nexus 7 (2013) using XDA Premium [HD], for the man who wants to use the best tablet screen ever made.
Kali is a pentesting OS. PwnPad is more or less the same - a pentesting framework.
Pwn Pad itself works fine - but we have still some problems with USB-WLAN Adapters. The dmesg show all informations about the Adapter,
but the wlan1 is not there It is a Kernel problem. May someone can help out ?
Code:
[ 585.854461] smb345_charger: [smb345_otg_status] otg function: on
[ 585.859008] msm_otg msm_otg: phy_reset: success
[ 585.968139] Host mode: Set DC level as 0x61 for deb.
[ 585.968475] msm_hsusb_host msm_hsusb_host: Qualcomm On-Chip EHCI Host Controller
[ 585.969024] msm_hsusb_host msm_hsusb_host: new USB bus registered, assigned bus number 2
[ 585.998199] msm_hsusb_host msm_hsusb_host: irq 132, io mem 0x12500000
[ 586.018188] msm_hsusb_host msm_hsusb_host: USB 2.0 started, EHCI 1.00
[ 586.018890] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 586.019317] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 586.019592] usb usb2: Product: Qualcomm On-Chip EHCI Host Controller
[ 586.020019] usb usb2: Manufacturer: Linux 3.4.0-g49a12ca ehci_hcd
[ 586.020233] usb usb2: SerialNumber: msm_hsusb_host
[ 586.028228] hub 2-0:1.0: USB hub found
[ 586.028533] hub 2-0:1.0: 1 port detected
[ 586.346893] usb 2-1: new high-speed USB device number 2 using msm_hsusb_host
[ 586.549926] usb 2-1: New USB device found, idVendor=1a40, idProduct=0101
[ 586.550354] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 586.550567] usb 2-1: Product: USB 2.0 Hub
[ 586.556304] hub 2-1:1.0: USB hub found
[ 586.557586] hub 2-1:1.0: 4 ports detected
[ 586.579132] msm_otg msm_otg: chg_type = USB_SDP_CHARGER
[ 586.579559] smb345_charger: [usb_cable_type_detect] INOK=L
[ 586.579803] smb345_charger: [usb_cable_type_detect] Cable: SDP
[ 586.582733] smb345_charger: [smb345_vflt_setting] Set Float Volt, retval=ea setting=e8
[ 586.584167] ========================================================
[ 586.584594] bq27541_battery_callback usb_cable_state = 1
[ 586.584808] ========================================================
[ 586.585205] battery_callback cable_wake_lock 5 sec...
[ 586.585235]
[ 586.585845] elan-ktf3k 3-0010: Update power source to 1
[ 586.589111] bq27541_get_capacity = 51% ret= 54
[ 586.589660] The USB cable status = CHARGER_SDP
[ 586.590118] msm_otg msm_otg: Failed notifying 0 charger type to PMIC
[ 586.590362] vbus_otg is NULL.
[ 586.591674] bq27541_get_psp voltage_now= 3822000 uV
[ 586.593292] bq27541_get_psp temperature= 181 (0.1\xffffffa2XC)
[ 586.596984] bq27541_get_psp status: Not charging ret= 0x0101
[ 586.737426] request_suspend_state: wakeup (3->0) at 586731119653 (2013-10-30 16:14:36.752185830 UTC)
[ 586.737579] late_resume: call handlers
[ 586.749816] [ektf3k]:[elan] elan_ktf3k_ts_resume: enter
[ 586.752716] [ektf3k]:Get the power mode:8
[ 586.753601] mipi_dsi_panel_power+, on=1
[ 586.753906] [ektf3k]:[elan] dump repsponse: ff
[ 586.753906] [ektf3k]:[elan] elan_ktf3k_ts_resume: wake up tp failed! err = 15
[ 586.754394] [ektf3k]:[elan] dump repsponse: 58
[ 586.754394] late_resume: done
[ 586.754547] [ektf3k]:[elan] Get unknow packet {0xFF, 0xFF, 0xFF, 0xFF}
[ 586.826385] mipi_dsi_panel_power-
[ 586.832031] mipi_JDI_lcd_on+
[ 586.832031] mipi_JDI_lcd_on, JDI display on command+, command bl
[ 586.836486] usb 2-1.1: new high-speed USB device number 3 using msm_hsusb_host
[ 586.967224] usb 2-1.1: New USB device found, idVendor=0cf3, idProduct=9271
[ 586.967254] usb 2-1.1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 586.967254] usb 2-1.1: Product: USB2.0 WLAN
[ 586.967254] usb 2-1.1: Manufacturer: ATHEROS
[ 586.967254] usb 2-1.1: SerialNumber: 12345
[ 586.976348] mipi_JDI_lcd_on, JDI display on command-
Code:
[email protected]:~# iwconfig
rev_rmnet1 no wireless extensions.
rmnet6 no wireless extensions.
rev_rmnet5 no wireless extensions.
rmnet1 no wireless extensions.
rmnet_usb2 no wireless extensions.
lo no wireless extensions.
rev_rmnet0 no wireless extensions.
rmnet5 no wireless extensions.
rev_rmnet4 no wireless extensions.
rmnet0 no wireless extensions.
rmnet_usb1 no wireless extensions.
rev_rmnet8 no wireless extensions.
rmnet4 no wireless extensions.
sit0 no wireless extensions.
dummy0 no wireless extensions.
rev_rmnet3 no wireless extensions.
wlan0 Qcom:802.11n ESSID:"LAN-NET" Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: 9C:C7:A6:85:72:D3
Bit Rate=65 Mb/s Tx-Power=16 dBm
RTS thr=2347 B Fragment thr=8000 B
Encryption key:DFAB-B26A-4C33-45C2-7B0E-6E55-6663-EE95-BEA8-9EED-5711-A961-83FB-FEDA-57AB-3E1A [3] Security mode:restricted
rmnet_usb0 no wireless extensions.
rev_rmnet7 no wireless extensions.
rmnet3 no wireless extensions.
rev_rmnet2 no wireless extensions.
rmnet7 no wireless extensions.
rev_rmnet6 no wireless extensions.
rmnet2 no wireless extensions.
rmnet_usb3 no wireless extensions.
p2p0 Qcom:802.11n ESSID:off/any Nickname:""
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=0 dBm
RTS thr=2347 B Fragment thr=8000 B
Encryption key:off
rmnet_smux0 no wireless extensions.

[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!

My HTC One M8 doesn't recognize some controllers

I have a bit of a problem. I want to play games on my phone using a OTG controller. Sadly my main controller is not working, but a old one is. OTG keyboards, mouses and flash drives work fine. The main controller functions good on a friend's LG phone. Let's gather the details...
Phone is HTC One M8 International
Unlocked but S-On
ROM is Wolla GPE v6.0
Kernal is ElementalX 6.03 GPE
Main controller is Thrustmaster GPX LightBack
Old one is Thrustmaster Firestorm Digital 3
I have tried flashing the stock kernal and also tried downloading the Xbox controller driver file and putting it in /system/usr/keylayout. I noticed that the ID's were different of my third party xbox controller compared to the ones in the file. I downloaded some software from the app store that told me what the ID's of my controller where and changed that in the file name to the correct values. None of it worked.
I'm out of ideas, but really want it to work. Anything I could try? Thanks.
Bump!
Nobody has an idea?
Verstuurd vanaf mijn HTC One_M8 met Tapatalk
Guess I have to buy a new phone then. See you later M8
Verstuurd vanaf mijn HTC One_M8 met Tapatalk
I have some idea, but it maybe a long shot ,may be driver for that controller is missing from your kernel.
Tell you what ...connect your problamatic controller to the both phones (the one in which it works and also in one in which it doesn't one by one) open a terminal and run "dmesg | grep -i usb" without quotes
And compare the output closely or post here and well see if its actually a kernel problem
Knightofrepublic said:
I have some idea, but it maybe a long shot ,may be driver for that controller is missing from your kernel.
Tell you what ...connect your problamatic controller to the both phones (the one in which it works and also in one in which it doesn't one by one) open a terminal and run "dmesg | grep -i usb" without quotes
And compare the output closely or post here and well see if its actually a kernel problem
Click to expand...
Click to collapse
I've actually stopped checking this thread but thanks for your answer. When I get the time to test it out I will let you know!
It took a while, but here we are.
Not working device
Code:
[email protected]_m8:/ $ su
[email protected]_m8:/ # dmesg | grep -i usb
[52396.657442] c0 24815 [CABLE] htc_8974_config_usb_id_gpios: 102 output high
[52396.657481] c0 24815 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee9a2410
[52396.802892] c0 24815 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee9a2410
[52396.807629] c0 24815 [CABLE] htc_8974_config_usb_id_gpios: 102 output high
[52396.807665] c0 24815 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee9a2410
[52396.952887] c0 24815 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee9a2410
[52396.957774] c0 24815 [CABLE] htc_8974_config_usb_id_gpios: 102 output high
[52396.957813] c0 24815 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee9a2410
[52397.102924] c0 24815 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee9a2410
[52397.108066] c0 24815 [CABLE] htc_8974_config_usb_id_gpios: 102 output high
[52397.108106] c0 24815 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee9a2410
[52397.289252] c0 24815 [CABLE] USB Host inserted
[52397.289300] c0 24815 [CABLE] [HostNotify] Send to: usb_host: 1
[52397.289337] c0 24815 [USB] PMIC: ID set
[52397.289690] c0 31151 [USB] dwc3_msm_runtime_resume
[52397.306440] c0 31151 [USB] dwc3_ext_event_notify : init 1 ,event 1 ,id 0 ,vbus 0
[52397.306501] c0 31151 [USB] dwc3_ext_event_notify : init 1 ,event 2 ,id 0 ,vbus 0
[52397.306561] c0 31151 [USB] dwc3_otg_sm_work , state : b_idle
[52397.306621] c0 31151 [USB] dwc3_otg_sm_work , state : a_idle
[52397.307236] c0 31151 [BATT][CHG] switch_usb_to_host_mode: switch to host mode
[52397.311520] c0 1503 [BATT][CHG] qpnp_chg_coarse_det_usb_irq_handler: [irq]coarse_det_usb triggered
[52397.316533] c0 31151 xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
[52397.327209] c0 22246 [BATT][CHG] qpnp_chg_usb_usbin_valid_irq_handler: [irq]usb_present: 0-> 1, host_mode:1, usb_target_ma=0, vin_min_detected=0, aicl_worker=0, pb_wa_ms=0, pb_wa_step=0
[52397.350378] c0 31151 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[52397.350394] c0 31151 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[52397.350408] c0 31151 usb usb1: Product: xHCI Host Controller
[52397.350419] c0 31151 usb usb1: Manufacturer: Linux 3.4.0-lONElyX_m8_gpe_#002 xhci-hcd
[52397.350431] c0 31151 usb usb1: SerialNumber: xhci-hcd
[52397.354523] c0 31151 hub 1-0:1.0: USB hub found
[52397.361252] c0 31151 xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
[52397.361389] c0 31151 usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[52397.361403] c0 31151 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[52397.361415] c0 31151 usb usb2: Product: xHCI Host Controller
[52397.361427] c0 31151 usb usb2: Manufacturer: Linux 3.4.0-lONElyX_m8_gpe_#002 xhci-hcd
[52397.361438] c0 31151 usb usb2: SerialNumber: xhci-hcd
[52397.364080] c0 31151 hub 2-0:1.0: USB hub found
[52397.673134] c0 66 usb 1-1: new full-speed USB device number 2 using xhci-hcd
[52397.673417] c0 24815 [USBH] send connect type 5
[52397.673459] c0 24815 [CABLE] usb_status_notifier_func: cable_type = 5
[52397.700761] c0 66 usb 1-1: New USB device found, idVendor=24c6, idProduct=5b02
[52397.700860] c0 66 usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[52397.700904] c0 66 usb 1-1: Product: GPX Gamepad
[52397.700940] c0 66 usb 1-1: Manufacturer: Thrustmaster[52397.700976] c0 66 usb 1-1: SerialNumber: 05F61557
[52397.881102] c0 24815 [BATT][CHG] V=3985 mV, I=270 mA, T=30 C, SoC=71%,id=138 mV,H=1,P=1,CHG=1,S=2,FSM=3,CHGR_STS=0,BUCK_STS=48,BATIF_STS=7,AC=0,USB=1,DC=0,iusb_ma=100,usb_target_ma=0,pb_drop_usb_ma=0,OVP=0,UVP=0,TM=0,usbin=5079060,vchg=3679572,eoc_count/by_curr=0/0,is_ac_ST=0,batfet_dis=0x2,pwrsrc_dis=0x1,is_full=0,temp_fault=0,bat_is_warm/cool=0/0,flag=0010,vin_min=4400,host=1,hsml_ma=0,batfet_no_lpm=0,usb_temp=0,usb_temp_vol=0
[52397.881735] c0 24815 [BATT][CHG] dump_irq_rt_status: [CHGR_INT] 0000 0000, [BUCK_INT] 1001 000, [BATIF_INT] 0111, [USB_CHGPTH] 111, [DC_CHGPTH]00, [BOOST_INT]00
[52397.882666] c0 24815 [BATT][CHG] dump_reg: VBAT_STATUS=0x2,VDD_MAX=0x6F,VDD_SAFE=0x72,IBAT_MAX=0x23,IBAT_SAFE=0x34,VIN_MIN=0x14,CHG_CTRL=0x1,ATC_CTRL=0x0,IBAT_TERM_CHGR=0x8,VBAT_DET=0x7F,TCHG_MAX_EN=0x80,TCHG_MAX=0x77,WDOG_TIME=0x20,WDOG_EN=0x0,TEMP_THRESH=0x94,CHGR_IR_DROP=0x0,VDD_MAX_COMPEN=0x6F,PRES_STATUS=0x83,TEMP_STATUS=0x80,FET_STATUS=0x83,BPD_CTRL=0x0,BTC_CTRL=0x82,USB_CHG_PTH_STS=0x96,CHG_GONE_INT=0x0,AICL_STS=0xD,AICL_I_AUTO=0x0,AICL_I_TGT=0x0,USB_OVP_CTL=0x33,IUSB_MAX=0x0,USB_SUSP=0x1,OTG_CTL=0x1,ENUM_TIMER_STOP=0x1,ENUM_TIMER=0x3,DC_CHG_PTH_STS=0x0,BOOT_DONE=0x80
[52397.888669] c0 24815 [BATT] ID=2,level=71,level_raw=71,vol=3986,temp=307,current=239044,chg_src=0,chg_en=0,full_bat=2600,over_vchg=0,batt_state=1,cable_ready=1,overload=0,ui_chg_full=0,usb_temp=285,usb_overheat=0,CFG=0x0 at 52397816350713 (2016-09-29 15:40:49.197398390 UTC)
[52409.672938] c0 11748 163: 27 dwc3, xhci-hcd:usb1
[52409.673244] c0 11748 326: 1 coarse-det-usb
[52409.673264] c0 11748 327: 1 usbin-valid
[email protected]_m8:/ #
Working device
Code:
[email protected]:/ $ su
[email protected]:/ # dmesg | grep -i usb
<5>[15072.991564] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<4>[15072.991638] (0)[57:bat_thread_kthr][MUSB] USB is ready for disconnect
<5>[15073.031102] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15073.031148] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<4>[15073.031193] (0)[57:bat_thread_kthr][BATTERY:AVG:fan5405] BatTemp:22 Vbat:3718 VBatSen:3679 SOC:47 ChrDet:0 Vchrin:5055 Icharging:0 ChrType:0 USBstate:1
<5>[15073.031235] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15073.031368] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15073.031521] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15073.034224] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<7>[15073.034270] (0)[57:bat_thread_kthr]power_supply usb: power_supply_changed
<7>[15073.034323] (0)[4271:kworker/0:1]power_supply usb: power_supply_changed_work
<7>[15073.034359] (0)[4271:kworker/0:1]power_supply usb: power_supply_update_gen_leds 0
<7>[15073.034403] (0)[4271:kworker/0:1]power_supply usb: uevent
<7>[15073.034428] (0)[4271:kworker/0:1]power_supply usb: POWER_SUPPLY_NAME=usb
<7>[15073.034465] (0)[4271:kworker/0:1]power_supply usb: prop ONLINE=0
<5>[15073.034824] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15073.377538] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15073.877691] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15074.377832] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15074.877978] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15075.378168] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15075.878318] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15076.378457] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15076.878599] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15077.378743] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15077.878879] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15078.379031] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15078.879168] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15079.379314] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15079.879456] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15080.379604] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15080.879743] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15081.379895] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15081.880847] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15082.380948] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15082.881093] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15082.986628] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15082.991352] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<4>[15082.991427] (0)[57:bat_thread_kthr][MUSB] USB is ready for disconnect
<5>[15083.027481] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15083.027526] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<4>[15083.027571] (0)[57:bat_thread_kthr][BATTERY:AVG:fan5405] BatTemp:22 Vbat:3716 VBatSen:3678 SOC:47 ChrDet:0 Vchrin:5055 Icharging:0 ChrType:0 USBstate:1
<5>[15083.027613] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15083.027691] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15083.027841] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15083.029948] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<7>[15083.029994] (0)[57:bat_thread_kthr]power_supply usb: power_supply_changed
<7>[15083.030049] (0)[4271:kworker/0:1]power_supply usb: power_supply_changed_work
<7>[15083.030084] (0)[4271:kworker/0:1]power_supply usb: power_supply_update_gen_leds 0
<7>[15083.030127] (0)[4271:kworker/0:1]power_supply usb: uevent
<7>[15083.030152] (0)[4271:kworker/0:1]power_supply usb: POWER_SUPPLY_NAME=usb
<7>[15083.030191] (0)[4271:kworker/0:1]power_supply usb: prop ONLINE=0
<5>[15083.030547] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15083.381250] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15083.881389] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15084.381536] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15084.881673] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15085.381823] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15085.881971] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15086.382111] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15086.882254] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15087.382393] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15087.882543] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15088.382697] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15088.882891] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15089.382980] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15089.883349] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15090.383450] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15090.883598] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
[email protected]:/ #
No idea LOL.
Verstuurd vanaf mijn HTC One_M8 met Tapatalk
PearlesCENT said:
It took a while, but here we are.
Not working device
Code:
[email protected]_m8:/ $ su
[email protected]_m8:/ # dmesg | grep -i usb
[52396.657442] c0 24815 [CABLE] htc_8974_config_usb_id_gpios: 102 output high
[52396.657481] c0 24815 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee9a2410
[52396.802892] c0 24815 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee9a2410
[52396.807629] c0 24815 [CABLE] htc_8974_config_usb_id_gpios: 102 output high
[52396.807665] c0 24815 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee9a2410
[52396.952887] c0 24815 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee9a2410
[52396.957774] c0 24815 [CABLE] htc_8974_config_usb_id_gpios: 102 output high
[52396.957813] c0 24815 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee9a2410
[52397.102924] c0 24815 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee9a2410
[52397.108066] c0 24815 [CABLE] htc_8974_config_usb_id_gpios: 102 output high
[52397.108106] c0 24815 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee9a2410
[52397.289252] c0 24815 [CABLE] USB Host inserted
[52397.289300] c0 24815 [CABLE] [HostNotify] Send to: usb_host: 1
[52397.289337] c0 24815 [USB] PMIC: ID set
[52397.289690] c0 31151 [USB] dwc3_msm_runtime_resume
[52397.306440] c0 31151 [USB] dwc3_ext_event_notify : init 1 ,event 1 ,id 0 ,vbus 0
[52397.306501] c0 31151 [USB] dwc3_ext_event_notify : init 1 ,event 2 ,id 0 ,vbus 0
[52397.306561] c0 31151 [USB] dwc3_otg_sm_work , state : b_idle
[52397.306621] c0 31151 [USB] dwc3_otg_sm_work , state : a_idle
[52397.307236] c0 31151 [BATT][CHG] switch_usb_to_host_mode: switch to host mode
[52397.311520] c0 1503 [BATT][CHG] qpnp_chg_coarse_det_usb_irq_handler: [irq]coarse_det_usb triggered
[52397.316533] c0 31151 xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
[52397.327209] c0 22246 [BATT][CHG] qpnp_chg_usb_usbin_valid_irq_handler: [irq]usb_present: 0-> 1, host_mode:1, usb_target_ma=0, vin_min_detected=0, aicl_worker=0, pb_wa_ms=0, pb_wa_step=0
[52397.350378] c0 31151 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[52397.350394] c0 31151 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[52397.350408] c0 31151 usb usb1: Product: xHCI Host Controller
[52397.350419] c0 31151 usb usb1: Manufacturer: Linux 3.4.0-lONElyX_m8_gpe_#002 xhci-hcd
[52397.350431] c0 31151 usb usb1: SerialNumber: xhci-hcd
[52397.354523] c0 31151 hub 1-0:1.0: USB hub found
[52397.361252] c0 31151 xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
[52397.361389] c0 31151 usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[52397.361403] c0 31151 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[52397.361415] c0 31151 usb usb2: Product: xHCI Host Controller
[52397.361427] c0 31151 usb usb2: Manufacturer: Linux 3.4.0-lONElyX_m8_gpe_#002 xhci-hcd
[52397.361438] c0 31151 usb usb2: SerialNumber: xhci-hcd
[52397.364080] c0 31151 hub 2-0:1.0: USB hub found
[52397.673134] c0 66 usb 1-1: new full-speed USB device number 2 using xhci-hcd
[52397.673417] c0 24815 [USBH] send connect type 5
[52397.673459] c0 24815 [CABLE] usb_status_notifier_func: cable_type = 5
[52397.700761] c0 66 usb 1-1: New USB device found, idVendor=24c6, idProduct=5b02
[52397.700860] c0 66 usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[52397.700904] c0 66 usb 1-1: Product: GPX Gamepad
[52397.700940] c0 66 usb 1-1: Manufacturer: Thrustmaster[52397.700976] c0 66 usb 1-1: SerialNumber: 05F61557
[52397.881102] c0 24815 [BATT][CHG] V=3985 mV, I=270 mA, T=30 C, SoC=71%,id=138 mV,H=1,P=1,CHG=1,S=2,FSM=3,CHGR_STS=0,BUCK_STS=48,BATIF_STS=7,AC=0,USB=1,DC=0,iusb_ma=100,usb_target_ma=0,pb_drop_usb_ma=0,OVP=0,UVP=0,TM=0,usbin=5079060,vchg=3679572,eoc_count/by_curr=0/0,is_ac_ST=0,batfet_dis=0x2,pwrsrc_dis=0x1,is_full=0,temp_fault=0,bat_is_warm/cool=0/0,flag=0010,vin_min=4400,host=1,hsml_ma=0,batfet_no_lpm=0,usb_temp=0,usb_temp_vol=0
[52397.881735] c0 24815 [BATT][CHG] dump_irq_rt_status: [CHGR_INT] 0000 0000, [BUCK_INT] 1001 000, [BATIF_INT] 0111, [USB_CHGPTH] 111, [DC_CHGPTH]00, [BOOST_INT]00
[52397.882666] c0 24815 [BATT][CHG] dump_reg: VBAT_STATUS=0x2,VDD_MAX=0x6F,VDD_SAFE=0x72,IBAT_MAX=0x23,IBAT_SAFE=0x34,VIN_MIN=0x14,CHG_CTRL=0x1,ATC_CTRL=0x0,IBAT_TERM_CHGR=0x8,VBAT_DET=0x7F,TCHG_MAX_EN=0x80,TCHG_MAX=0x77,WDOG_TIME=0x20,WDOG_EN=0x0,TEMP_THRESH=0x94,CHGR_IR_DROP=0x0,VDD_MAX_COMPEN=0x6F,PRES_STATUS=0x83,TEMP_STATUS=0x80,FET_STATUS=0x83,BPD_CTRL=0x0,BTC_CTRL=0x82,USB_CHG_PTH_STS=0x96,CHG_GONE_INT=0x0,AICL_STS=0xD,AICL_I_AUTO=0x0,AICL_I_TGT=0x0,USB_OVP_CTL=0x33,IUSB_MAX=0x0,USB_SUSP=0x1,OTG_CTL=0x1,ENUM_TIMER_STOP=0x1,ENUM_TIMER=0x3,DC_CHG_PTH_STS=0x0,BOOT_DONE=0x80
[52397.888669] c0 24815 [BATT] ID=2,level=71,level_raw=71,vol=3986,temp=307,current=239044,chg_src=0,chg_en=0,full_bat=2600,over_vchg=0,batt_state=1,cable_ready=1,overload=0,ui_chg_full=0,usb_temp=285,usb_overheat=0,CFG=0x0 at 52397816350713 (2016-09-29 15:40:49.197398390 UTC)
[52409.672938] c0 11748 163: 27 dwc3, xhci-hcd:usb1
[52409.673244] c0 11748 326: 1 coarse-det-usb
[52409.673264] c0 11748 327: 1 usbin-valid
[email protected]_m8:/ #
Working device
Code:
[email protected]:/ $ su
[email protected]:/ # dmesg | grep -i usb
<5>[15072.991564] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<4>[15072.991638] (0)[57:bat_thread_kthr][MUSB] USB is ready for disconnect
<5>[15073.031102] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15073.031148] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<4>[15073.031193] (0)[57:bat_thread_kthr][BATTERY:AVG:fan5405] BatTemp:22 Vbat:3718 VBatSen:3679 SOC:47 ChrDet:0 Vchrin:5055 Icharging:0 ChrType:0 USBstate:1
<5>[15073.031235] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15073.031368] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15073.031521] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15073.034224] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<7>[15073.034270] (0)[57:bat_thread_kthr]power_supply usb: power_supply_changed
<7>[15073.034323] (0)[4271:kworker/0:1]power_supply usb: power_supply_changed_work
<7>[15073.034359] (0)[4271:kworker/0:1]power_supply usb: power_supply_update_gen_leds 0
<7>[15073.034403] (0)[4271:kworker/0:1]power_supply usb: uevent
<7>[15073.034428] (0)[4271:kworker/0:1]power_supply usb: POWER_SUPPLY_NAME=usb
<7>[15073.034465] (0)[4271:kworker/0:1]power_supply usb: prop ONLINE=0
<5>[15073.034824] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15073.377538] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15073.877691] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15074.377832] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15074.877978] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15075.378168] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15075.878318] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15076.378457] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15076.878599] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15077.378743] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15077.878879] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15078.379031] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15078.879168] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15079.379314] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15079.879456] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15080.379604] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15080.879743] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15081.379895] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15081.880847] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15082.380948] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15082.881093] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15082.986628] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15082.991352] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<4>[15082.991427] (0)[57:bat_thread_kthr][MUSB] USB is ready for disconnect
<5>[15083.027481] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15083.027526] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<4>[15083.027571] (0)[57:bat_thread_kthr][BATTERY:AVG:fan5405] BatTemp:22 Vbat:3716 VBatSen:3678 SOC:47 ChrDet:0 Vchrin:5055 Icharging:0 ChrType:0 USBstate:1
<5>[15083.027613] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15083.027691] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15083.027841] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15083.029948] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<7>[15083.029994] (0)[57:bat_thread_kthr]power_supply usb: power_supply_changed
<7>[15083.030049] (0)[4271:kworker/0:1]power_supply usb: power_supply_changed_work
<7>[15083.030084] (0)[4271:kworker/0:1]power_supply usb: power_supply_update_gen_leds 0
<7>[15083.030127] (0)[4271:kworker/0:1]power_supply usb: uevent
<7>[15083.030152] (0)[4271:kworker/0:1]power_supply usb: POWER_SUPPLY_NAME=usb
<7>[15083.030191] (0)[4271:kworker/0:1]power_supply usb: prop ONLINE=0
<5>[15083.030547] (0)[57:bat_thread_kthr][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15083.381250] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15083.881389] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15084.381536] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15084.881673] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15085.381823] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15085.881971] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15086.382111] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15086.882254] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15087.382393] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15087.882543] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15088.382697] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15088.882891] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15089.382980] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15089.883349] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15090.383450] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
<5>[15090.883598] (0)[58:mtk charger_hv_][Power/Battery] [upmu_is_chr_det] Charger exist but USB is host
[email protected]:/ #
No idea LOL.
Verstuurd vanaf mijn HTC One_M8 met Tapatalk
Click to expand...
Click to collapse
OK
I think second (working) device dmesg command was not quick enough after plugging in
I'll tell you what we are trying to achieve,kernel devs out here could help you with this in seconds, but ...well they are not here,so you have to be content with me..he he lol.
Since it's working in one lg device and not in another m8 ,my assumption was lg kernel has the driver required for thrustmaster gpx but m8 does not ,we are trying to find
1.if device is recognized by phone(no faulty USB cable)
2.driver name which is used in lg device
3.find out if that driver is enabled in HTC kernel or not
So if you REALLY want it to work with m8 , I suggest you
1.Connect thrustmaster gpx in lg
And run "lsusb -t"
And
"dmesg | grep driver" without quotes
This will give you information about drivers of recently plugged in devices,if above commands fails in terminal, well then you have to go the long way,install Linux in lg(using Linux deploy or complete Linux installer) or connect the controller to a desktop Linux running PC
After we determine driver name used in lg device we'll use it to find if that driver is installed with HTC kernel using "dmesg | grep -I <driver-name>" if it gives a lot of errors than we'll conclude that driver is missing in HTC kernel.
That's easy stuff
If you are still willing to walk in that path, you'll have to compile that driver AND kernel for your variant of m8.
I'm not trying to scare you,it simply is required.I'm more than willing to help you in this endeaver if that indeed turns out to be the problem,are YOU up to it?
Knightofrepublic said:
OK
I think second (working) device dmesg command was not quick enough after plugging in
I'll tell you what we are trying to achieve,kernel devs out here could help you with this in seconds, but ...well they are not here,so you have to be content with me..he he lol.
Since it's working in one lg device and not in another m8 ,my assumption was lg kernel has the driver required for thrustmaster gpx but m8 does not ,we are trying to find
1.if device is recognized by phone(no faulty USB cable)
2.driver name which is used in lg device
3.find out if that driver is enabled in HTC kernel or not
So if you REALLY want it to work with m8 , I suggest you
1.Connect thrustmaster gpx in lg
And run "lsusb -t"
And
"dmesg | grep driver" without quotes
This will give you information about drivers of recently plugged in devices,if above commands fails in terminal, well then you have to go the long way,install Linux in lg(using Linux deploy or complete Linux installer) or connect the controller to a desktop Linux running PC
After we determine driver name used in lg device we'll use it to find if that driver is installed with HTC kernel using "dmesg | grep -I <driver-name>" if it gives a lot of errors than we'll conclude that driver is missing in HTC kernel.
That's easy stuff
If you are still willing to walk in that path, you'll have to compile that driver AND kernel for your variant of m8.
I'm not trying to scare you,it simply is required.I'm more than willing to help you in this endeaver if that indeed turns out to be the problem,are YOU up to it?
Click to expand...
Click to collapse
Thanks for your response! The second device in this case was not a LG but a Zopo, which it also worked on.
I will try and do all this tomorrow. If for some reason I couldn't finish it, I will try to do it next week. It's not my device so that's a little bit difficult lol!
Will keep you up to date. Thanks
Oh ,my bad ,though you did say lg in your 1st post, that's irrelevant, anyway,
To speed things up you could do it in a Linux PC, if you have a laptop/PC
We just need to know the driver name for thrustmaster gpx, that's all (all USB device drivers have same name in android and desktop Linux )

Categories

Resources