[Q] USB HOST mode in ICS (android 4.x) - G2 and Desire Z Q&A, Help & Troubleshooting

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.

Related

Battery Issue - Missing Dependency, ChargAlg not loading

I know there are multiple threads on the Red-Light/0% battery issue but they seem to be getting lost in the noise..
I have tried all options on the various forums, this is a last ditch attempt to see if there is anyone out there with knowledge of the inner workings of the ROM.
I am presently running stock UK 2.3.3, I've dumped the bug log using ADB and searched through the file for relevant info. Here is what I found. If anyone can identify what dependency is missing and how to rectify it I am sure there would be a lot of grateful people
09-25 20:41:21.983 D/kernel ( 128): [ 116.619567] chargalg chargalg: Trying external again...
[persist.chargemon.active]: [1]
<4>[ 5.813049] Please check boot accessing charger (want 0x50, got 0xac) ***
<6>[ 6.620086] *********** Charger Type: HOST PC
<6>[ 6.620086]
<7>[ 6.695220] yaffs: yaffs_read_super: is_checkpointed 0
<6>[ 6.738677] yaffs: dev is 32505856 name is "mtdblock0" rw
<6>[ 6.738800] yaffs: passed flags ""
<7>[ 6.738861] yaffs: yaffs: Attempting MTD mount of 31.0,"mtdblock0"
<6>[ 6.777648] msm_hsusb msm_hsusb: reset
<6>[ 6.777740] <6>[ 6.777770] Charger Type: STD DOWNSTREAM PORT
<6>[ 6.777954] chargalg chargalg: Trying external again...
<6>[ 6.778076] bq24185 0-006b: Turning on charger. USB-Host mode
<6>[ 6.778167] bq24185 0-006b: Set init values
<6>[ 6.778991] bq24185 0-006b: Disabling charger
<6>[ 6.779937] msm_hsusb msm_hsusb: portchange USB_SPEED_HIGH <6>[ 6.780700] bq24185 0-006b: Set safety timer to disable
<6>[ 6.783172] bq24185 0-006b: Setting charger voltage to 4200 mV
<6>[ 6.784423] bq24185 0-006b: Setting charger current to 1050 mA
<6>[ 6.784942] bq24185 0-006b: Enabling charger
<7>[ 6.946197] yaffs: yaffs_read_super: is_checkpointed 1
<6>[ 6.981475] android_usb gadget: high speed config #1: android
<6>[ 6.981811] chargalg chargalg: Trying external again.
09-25 20:39:50.703 D/lights ( 264): set_light_battery: color=0xffff0000, mode=0
09-25 20:39:49.783 I/battery_status( 264): [2,2,1,2,Li-poly]
09-25 20:39:49.783 I/battery_level( 264): [0,0,260]
09-25 20:39:55.883 I/battery_level( 264): [0,0,270]
[ro.semc.batt.capacity]: [1500]
[ro.semc.batt.test.min_level]: [70]
[ro.semc.batt.test.z_threshold]: [50]
<6>[ 2.963928] semc_battery_data semc_battery_data: probe
<6>[ 5.815582] chargalg chargalg: Registering battery charging algorithm driver
<6>[ 5.822326] chargalg chargalg: Trying external again...
<6>[ 10.148376] bq24185 0-006b: Setting input charger current to 500 mA
<6>[ 10.149200] bq24185 0-006b: Enabling charger
<6>[ 10.460510] chargalg chargalg: Trying external again...
<6>[ 12.468994] chargalg chargalg: Trying external again...
<item name="android.permission.BATTERY_STATS" package="android" />
<item name="android.permission.BATTERY_STATS" />
* ReceiverList{2b28b830 264 system/1000 local:2b0911e0}
app=ProcessRecord{2b006510 264:system/1000} pid=264 uid=1000
Filter #0: BroadcastFilter{2b28b888}
Action: "android.intent.action.BATTERY_CHANGED"
DUMP OF SERVICE battery:
Current Battery Service state:
AC powered: false
USB powered: true
status: 2
health: 2
present: true
level: 0
scale: 100
voltage:0
temperature: 270
technology: Li-poly
DUMP OF SERVICE batteryinfo:
Battery History:
-32m32s627ms START
-32m25s458ms 000 60030003 status=charging health=good plug=usb temp=280 volt=0 +plugged +screen +wake_lock +sensor brightness=light
Permission [android.permission.BATTERY_STATS] (2b0d7820):
sourcePackage=android
uid=1000 gids=[] type=0 prot=0
packageSetting=PackageSetting{2afd9030 android/1000}
perm=Permission{2b10dc60 android.permission.BATTERY_STATS}
SharedUser [android.uid.system] (2b01d670):
userId=1000 gids=[3002, 3001, 3003, 1015, 1007]
grantedPermissions:
android.permission.BATTERY_STATS
thanks for the info maybe now one of the devs can figure it out. this is the best info ive seen so far on the issue

Archos G9 3G Stick usb dongle

Hi,
does anyone have the 3G Stick from Archos?
I looked around the /system an found some info about three Alcatel 3G Sticks x200, x020 and x060 i think. Now i have an Alcatel x200 from Wind Italy and i saw in console from lsusb command that the usbmodemswitch switches the Alcatel to modem mode (1bbb:f000 becomes 1bbb:0000 - in dmesg and lsusb) but does not assing an tty#. Nothing about assigning a tty# in dmesg.
I have the Archos 80G9 with 3.2.80 custom by surdu_petru.
Another problem i saw with all the rooted firmware was that the 3G port is always on. The 3G switch doesn't do anything anymore.
Hi x3ss
It seems from looking at the source to the UsbKeyManager.apk that they are assigned to ttyHS3 and ttyHS4 provided you have a compatible key.
Interestingly they also hardcoded the Vendor and Product id in the code.
I wouldn't mind a look at your dmesg, if you have the time to post It
I'll post dmesg tonight when i get home.
One thing for sure, there is no ttyHS# in /dev/ and no other new tty is created when i plung in the 3G stick and turn it on. In dmesg it just says that the stick has switched to modem mode.
Here is my dmesg after boot and after i plug usb
Code:
or DEV_WATCHDOG_ERROR event in SysM3
<6>[ 5.814636] Registered user-space process for DEV_SYS_ERROR event in AppM3
<6>[ 5.814666] Registered user-space process for DEV_WATCHDOG_ERROR event in AppM3
<6>[ 12.713653] warning: `zygote' uses 32-bit capabilities (legacy support in use)
<4>[ 13.024749] mma8453q_ctrl_ioctl: Get mode 1
<6>[ 14.825561] Sleep APPM3
<6>[ 14.825714] Sleep SYSM3
<5>[ 20.154418] CPU1: shutdown
<4>[ 20.802001] CPU1: Booted secondary processor
<5>[ 22.021514] CPU1: shutdown
<4>[ 33.325469] SOC timeout
<4>[ 40.271514] CPU1: Booted secondary processor
<5>[ 43.841918] CPU1: shutdown
<4>[ 48.537414] CPU1: Booted secondary processor
<5>[ 51.170013] CPU1: shutdown
<4>[ 52.729492] CPU1: Booted secondary processor
<5>[ 60.701080] CPU1: shutdown
<4>[ 66.936614] CPU1: Booted secondary processor
<6>[ 68.301696] TIWLAN: driver init
<6>[ 68.302337] TI WiLink 1283 SDIO: Driver loaded
<6>[ 68.305664] wifi_probe: got wlan irq 262
<6>[ 68.305694] wifi_probe: got wlan irq trigger falling flag
<4>[ 68.306610] wl1271_wifi_set_carddetect: 0
<7>[ 68.306640] mmc2: card_present 0
<4>[ 68.306640] wl1271_wifi_reset: 1
<4>[ 68.306671] wl1271_wifi_power: 0
<6>[ 68.705993] TIWLAN: 1562.815298: pInitParams->RoamingScanning_2_4G_enable 0
<4>[ 68.706115] wl1271_wifi_power: 1
<4>[ 68.721038] wl1271_wifi_power: 0
<4>[ 68.721984] wl1271_wifi_power: 1
<4>[ 68.790435] wl1271_wifi_reset: 0
<4>[ 68.790435] wl1271_wifi_set_carddetect: 1
<7>[ 68.790466] mmc2: card_present 1
<4>[ 69.049804] mmc2: card claims to support voltages below the defined range. These will be ignored.
<6>[ 69.060577] mmc2: new SDIO card at address 0001
<6>[ 69.067291] TIWLAN: Found TI/WLAN SDIO controller (vendor 0x97, device 0x4076, class 0x7)
<4>[ 69.067382] sdioAdapt_ConnectBus(): Block-Size should be bigger than SYNC_ASYNC_LENGTH_THRESH!!
<6>[ 69.067718] TIWLAN: 1563.177023: Working on a 1273 PG 2.0 board.
<6>[ 69.067749] TIWLAN: 1563.177054: CHIP VERSION... set 1273 chip top registers
<6>[ 69.068389] TIWLAN: 1563.177695: XTAL 38.4 MHz configured for COM6
<6>[ 69.068572] TIWLAN: 1563.177847: Starting to process NVS...
<6>[ 69.068572] TIWLAN: 1563.177878: NVS found, EEPROM Image addr=0xc2563400, EEPROM Len=0x0x1d4
<6>[ 69.089874] TIWLAN: 1563.199179: Firmware successfully downloaded.
<6>[ 69.089904] TIWLAN: 1563.199209: FW download OK...
<6>[ 69.095275] TIWLAN: 1563.204550: Firmware successfully downloaded.
<6>[ 69.095275] TIWLAN: 1563.204580: FW download OK...
<6>[ 69.095489] TIWLAN: 1563.204794: Firmware successfully downloaded.
<6>[ 69.095520] TIWLAN: 1563.204825: FW download OK...
<6>[ 69.097351] TIWLAN: 1563.206656: Firmware successfully downloaded.
<6>[ 69.097381] TIWLAN: 1563.206656: FW download OK...
<6>[ 69.098358] TIWLAN: 1563.207632: Firmware successfully downloaded.
<6>[ 69.098358] TIWLAN: 1563.207663: FW download OK...
<6>[ 69.098907] TIWLAN: 1563.208212: Finished downloading firmware.
<6>[ 69.098937] TIWLAN: 1563.208243: Firmware running.
<6>[ 69.126007] TIWLAN: 1563.235281: Firmware successfully downloaded.
<6>[ 69.126037] TIWLAN: 1563.235342: FW download OK...
<6>[ 69.126190] TIWLAN: 1563.235464:
<6>[ 69.126190] TIWLAN: 1563.235495: --------------------------------------------------------------------
<6>[ 69.126220] TIWLAN: 1563.235525: Driver Version : MCP-WiLink_Driver_2.5.3.0.18
<6>[ 69.126251] TIWLAN: 1563.235556: Firmware Version: Rev 6.1.3.11.54
<6>[ 69.126281] TIWLAN: 1563.235556: Station ID : 00-16-DC-69-5E-4D
<6>[ 69.126281] TIWLAN: 1563.235586: --------------------------------------------------------------------
<6>[ 69.126312] TIWLAN: 1563.235617:
<6>[ 69.143981] TIWLAN: 1563.253256: Interrogate TX/RX parameters
<6>[ 69.345825] request_suspend_state: wakeup (3->0) at 69739074708 (2012-02-13 16:56:47.646331788 UTC)
<3>[ 69.348541] init: untracked pid 2262 exited
<7>[ 69.351440] omap_pwm_led_set: brightness: 77
<7>[ 69.351470] omap_pwm_led_set_pwm_cycle: cycle: 77
<4>[ 69.354370] mma8453q_ctrl_ioctl: Set polling delay 0
<4>[ 69.355987] mma8453q_ctrl_ioctl: Set polling delay 200
<4>[ 69.358428] mma8453q_ctrl_ioctl: Set polling delay 60
<7>[ 69.437561] usb usb1: usb auto-resume
<3>[ 69.437622] USB_EHCI resuming
<3>[ 69.438018] Resuming platform bus
<3>[ 69.663574] Phy is now ON
<3>[ 69.772796] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x1860000
<3>[ 69.772949] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x1C40041
<3>[ 69.773132] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x1C40040
<3>[ 69.773345] uhhtll-omap uhhtll-omap: USB interrupt rising = 1F
<3>[ 69.773468] uhhtll-omap uhhtll-omap: USB interrupt falling = 1F
<3>[ 69.773590] uhhtll-omap uhhtll-omap: USB interrupt status = 4
<3>[ 69.773773] uhhtll-omap uhhtll-omap: USB interface status = 10
<3>[ 69.773895] uhhtll-omap uhhtll-omap: USB debug status = 0
<3>[ 69.774108] uhhtll-omap uhhtll-omap: Scratch register = 0xCA - should be 0xCA
<7>[ 69.774139] ehci-omap ehci-omap: resume root hub
<7>[ 69.819671] hub 1-0:1.0: hub_resume
<7>[ 69.820068] usb usb2: usb auto-resume
<7>[ 69.820129] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000
<7>[ 69.843109] hub 2-0:1.0: hub_resume
<7>[ 69.843353] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
<6>[ 69.944091] ADDRCONF(NETDEV_UP): tiwlan0: link is not ready
<6>[ 71.555786] ADDRCONF(NETDEV_CHANGE): tiwlan0: link becomes ready
<7>[ 72.591308] hub 1-0:1.0: hub_suspend
<7>[ 72.591369] usb usb1: bus auto-suspend
<7>[ 72.591369] ehci-omap ehci-omap: suspend root hub
<3>[ 72.592224] USB EHCI suspending
<7>[ 72.609161] hub 2-0:1.0: hub_suspend
<7>[ 72.609222] usb usb2: bus auto-suspend
<6>[ 74.561950] TIWLAN: 1568.671255: conn , CONSOLE:-------------------------------------
<6>[ 74.562011] TIWLAN: 1568.671316: conn , CONSOLE: CONN LOST
<6>[ 74.562042] TIWLAN: 1568.671347: conn , CONSOLE:-------------------------------------
<6>[ 74.562072] TIWLAN: 1568.671377: -------------------------------------
<6>[ 74.562072] TIWLAN: 1568.671377: CONN LOST
<6>[ 74.562103] TIWLAN: 1568.671408: -------------------------------------
<6>[ 76.553558] TIWLAN: 1570.662832: connInfra , CONSOLE:************ NEW CONNECTION ************
<6>[ 76.553588] TIWLAN: 1570.662893: ************ NEW CONNECTION ************
<6>[ 76.553619] TIWLAN: 1570.662924: siteMgr , CONSOLE:-- BSSID = 74-ea-3a-c0-e2-a2
<6>[ 76.553649] TIWLAN: 1570.662955: -- SSID = ganja-ap
<6>[ 76.553680] TIWLAN: 1570.662985: -- BSSID = 74-ea-3a-c0-e2-a2
<6>[ 76.553680] TIWLAN: 1570.662985: -- MODE = infrastructure
<6>[ 76.553710] TIWLAN: 1570.663016: connInfra , CONSOLE:****************************************
<6>[ 76.553741] TIWLAN: 1570.663046: ****************************************
<3>[ 78.096923] init: untracked pid 2573 exited
<7>[ 82.091094] tiwlan0: no IPv6 routers present
<3>[ 84.204711] init: untracked pid 2755 exited
<3>[ 84.205657] init: untracked pid 2745 exited
<5>[ 84.595092] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
<3>[ 84.595153] CIFS VFS: Send error in SessSetup = -13
<3>[ 84.595184] CIFS VFS: cifs_mount failed w/return code = -13
<5>[ 84.634674] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
<3>[ 84.634735] CIFS VFS: Send error in SessSetup = -13
<3>[ 84.634765] CIFS VFS: cifs_mount failed w/return code = -13
<5>[ 84.731628] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
<3>[ 84.731719] CIFS VFS: Send error in SessSetup = -13
<3>[ 84.731811] CIFS VFS: cifs_mount failed w/return code = -13
<5>[ 108.865356] CPU1: shutdown
<3>[ 205.828460] USB_EHCI resuming
<3>[ 205.829620] Resuming platform bus
<3>[ 206.052398] Phy is now ON
<3>[ 206.161804] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x18600CA
<3>[ 206.161987] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x1C40041
<3>[ 206.162231] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x1C40040
<3>[ 206.162475] uhhtll-omap uhhtll-omap: USB interrupt rising = 1F
<3>[ 206.162658] uhhtll-omap uhhtll-omap: USB interrupt falling = 1F
<3>[ 206.162811] uhhtll-omap uhhtll-omap: USB interrupt status = 4
<3>[ 206.163055] uhhtll-omap uhhtll-omap: USB interface status = 10
<3>[ 206.163208] uhhtll-omap uhhtll-omap: USB debug status = 1
<3>[ 206.163452] uhhtll-omap uhhtll-omap: Scratch register = 0xCA - should be 0xCA
<7>[ 206.163574] usb usb1: usb wakeup-resume
<7>[ 206.163604] usb usb1: usb auto-resume
<7>[ 206.163665] ehci-omap ehci-omap: resume root hub
<7>[ 206.208679] hub 1-0:1.0: hub_resume
<7>[ 206.208801] ehci-omap ehci-omap: GetStatus port:1 status 001803 0 ACK POWER sig=j CSC CONNECT
<7>[ 206.208892] hub 1-0:1.0: port 1: status 0501 change 0001
<7>[ 206.318084] hub 1-0:1.0: state 7 ports 3 chg 0002 evt 0000
<7>[ 206.318237] hub 1-0:1.0: port 1, status 0501, change 0000, 480 Mb/s
<7>[ 206.380737] ehci-omap ehci-omap: port 1 high speed
<7>[ 206.380828] ehci-omap ehci-omap: GetStatus port:1 status 001805 0 ACK POWER sig=j PE CONNECT
<6>[ 206.442901] usb 1-1: new high speed USB device using ehci-omap and address 2
<7>[ 206.505493] ehci-omap ehci-omap: port 1 high speed
<7>[ 206.505523] ehci-omap ehci-omap: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
<7>[ 206.607269] usb 1-1: default language 0x0409
<7>[ 206.613342] usb 1-1: udev 2, busnum 1, minor = 1
<6>[ 206.613372] usb 1-1: New USB device found, idVendor=1bbb, idProduct=f000
<6>[ 206.613403] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=4
<6>[ 206.613403] usb 1-1: Product: HSPA Data Card
<6>[ 206.613433] usb 1-1: Manufacturer: USBModem
<6>[ 206.613433] usb 1-1: SerialNumber: 1234567890ABCDEF
<7>[ 206.626861] usb 1-1: usb_probe_device
<7>[ 206.626922] usb 1-1: configuration #1 chosen from 1 choice
<7>[ 206.630523] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
<7>[ 206.633575] usb-storage 1-1:1.0: usb_probe_interface
<7>[ 206.633605] usb-storage 1-1:1.0: usb_probe_interface - got id
<6>[ 206.633819] scsi0 : usb-storage 1-1:1.0
<7>[ 206.640411] /mnt/flash/release/AX09/avx9_hc/arcbuild/linux/drivers/usb/core/inode.c: creating file '002'
<7>[ 206.642791] usb usb2: usb auto-resume
<7>[ 206.661651] hub 2-0:1.0: hub_resume
<7>[ 206.661987] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
<7>[ 206.663482] usb-storage 1-1:1.0: disconnect by usbfs
<4>[ 206.680572] usb 1-1: usbfs: process 2916 (usb_modeswitch) did not claim interface 0 before use
<7>[ 206.682617] ehci-omap ehci-omap: detected XactErr len 0/0 retry 1
<7>[ 206.682708] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0002
<7>[ 206.682769] ehci-omap ehci-omap: GetStatus port:1 status 001002 0 ACK POWER sig=se0 CSC
<7>[ 206.682800] hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s
<6>[ 206.682800] usb 1-1: USB disconnect, address 2
<7>[ 206.794464] ehci-omap ehci-omap: detected XactErr len 0/0 retry 2
<7>[ 206.794616] ehci-omap ehci-omap: detected XactErr len 0/0 retry 3
<7>[ 206.794738] ehci-omap ehci-omap: detected XactErr len 0/0 retry 4
<7>[ 206.794860] ehci-omap ehci-omap: detected XactErr len 0/0 retry 5
<7>[ 206.795166] ehci-omap ehci-omap: detected XactErr len 0/0 retry 6
<7>[ 206.795410] ehci-omap ehci-omap: detected XactErr len 0/0 retry 7
<7>[ 206.795684] ehci-omap ehci-omap: detected XactErr len 0/0 retry 8
<7>[ 206.795959] ehci-omap ehci-omap: detected XactErr len 0/0 retry 9
<7>[ 206.796234] ehci-omap ehci-omap: detected XactErr len 0/0 retry 10
<7>[ 206.796478] ehci-omap ehci-omap: detected XactErr len 0/0 retry 11
<7>[ 206.796752] ehci-omap ehci-omap: detected XactErr len 0/0 retry 12
<7>[ 206.797027] ehci-omap ehci-omap: detected XactErr len 0/0 retry 13
<7>[ 206.797180] ehci-omap ehci-omap: detected XactErr len 0/0 retry 14
<7>[ 206.797454] ehci-omap ehci-omap: detected XactErr len 0/0 retry 15
<7>[ 206.797729] ehci-omap ehci-omap: detected XactErr len 0/0 retry 16
<7>[ 206.797973] ehci-omap ehci-omap: detected XactErr len 0/0 retry 17
<7>[ 206.798248] ehci-omap ehci-omap: detected XactErr len 0/0 retry 18
<7>[ 206.798522] ehci-omap ehci-omap: detected XactErr len 0/0 retry 19
<7>[ 206.798767] ehci-omap ehci-omap: detected XactErr len 0/0 retry 20
<7>[ 206.798950] ehci-omap ehci-omap: detected XactErr len 0/0 retry 21
<7>[ 206.799133] ehci-omap ehci-omap: detected XactErr len 0/0 retry 22
<7>[ 206.799316] ehci-omap ehci-omap: detected XactErr len 0/0 retry 23
<7>[ 206.799530] ehci-omap ehci-omap: detected XactErr len 0/0 retry 24
<7>[ 206.799682] ehci-omap ehci-omap: detected XactErr len 0/0 retry 25
<7>[ 206.799865] ehci-omap ehci-omap: detected XactErr len 0/0 retry 26
<7>[ 206.800018] ehci-omap ehci-omap: detected XactErr len 0/0 retry 27
<7>[ 206.800201] ehci-omap ehci-omap: detected XactErr len 0/0 retry 28
<7>[ 206.800384] ehci-omap ehci-omap: detected XactErr len 0/0 retry 29
<7>[ 206.800567] ehci-omap ehci-omap: detected XactErr len 0/0 retry 30
<7>[ 206.800781] ehci-omap ehci-omap: detected XactErr len 0/0 retry 31
<7>[ 206.800933] ehci-omap ehci-omap: devpath 1 ep0out 3strikes
<7>[ 206.801239] usb 1-1: unregistering device
<7>[ 206.801269] usb 1-1: usb_disable_device nuking all URBs
<7>[ 206.801300] usb 1-1: unregistering interface 1-1:1.0
<7>[ 206.807250] ehci-omap ehci-omap: GetStatus port:1 status 001803 0 ACK POWER sig=j CSC CONNECT
<7>[ 206.958374] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
<7>[ 207.021240] ehci-omap ehci-omap: port 1 high speed
<7>[ 207.021270] ehci-omap ehci-omap: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
<6>[ 207.083374] usb 1-1: new high speed USB device using ehci-omap and address 3
<7>[ 207.145996] ehci-omap ehci-omap: port 1 high speed
<7>[ 207.146026] ehci-omap ehci-omap: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
<7>[ 207.247009] usb 1-1: default language 0x0409
<7>[ 207.253051] usb 1-1: udev 3, busnum 1, minor = 2
<6>[ 207.253082] usb 1-1: New USB device found, idVendor=1bbb, idProduct=0000
<6>[ 207.253082] usb 1-1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
<6>[ 207.253112] usb 1-1: Product: USBModem Configuration
<6>[ 207.253112] usb 1-1: Manufacturer: USBModem
<6>[ 207.253143] usb 1-1: SerialNumber: 1234567890ABCDEF
<7>[ 207.258117] usb 1-1: usb_probe_device
<7>[ 207.258148] usb 1-1: configuration #1 chosen from 1 choice
<7>[ 207.261413] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
<7>[ 207.262847] usbserial_generic 1-1:1.0: usb_probe_interface
<7>[ 207.262847] usbserial_generic 1-1:1.0: usb_probe_interface - got id
<7>[ 207.263061] usb 1-1: adding 1-1:1.1 (config #1, interface 1)
<7>[ 207.264465] usbserial_generic 1-1:1.1: usb_probe_interface
<7>[ 207.264465] usbserial_generic 1-1:1.1: usb_probe_interface - got id
<7>[ 207.264587] usb 1-1: adding 1-1:1.2 (config #1, interface 2)
<7>[ 207.265563] usb-storage 1-1:1.2: usb_probe_interface
<7>[ 207.265594] usb-storage 1-1:1.2: usb_probe_interface - got id
<6>[ 207.265747] scsi1 : usb-storage 1-1:1.2
<7>[ 207.267852] usb 1-1: adding 1-1:1.3 (config #1, interface 3)
<7>[ 207.268890] usbserial_generic 1-1:1.3: usb_probe_interface
<7>[ 207.268920] usbserial_generic 1-1:1.3: usb_probe_interface - got id
<7>[ 207.270233] /mnt/flash/release/AX09/avx9_hc/arcbuild/linux/drivers/usb/core/inode.c: creating file '003'
<7>[ 207.270324] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0002
<5>[ 208.267089] scsi 1:0:0:0: Direct-Access USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
<5>[ 208.297210] sd 1:0:0:0: [sda] Attached SCSI removable disk
<7>[ 210.614776] hub 2-0:1.0: hub_suspend
<7>[ 210.614807] usb usb2: bus auto-suspend
<7>[ 212.643524] usb usb2: usb auto-resume
<7>[ 212.661743] hub 2-0:1.0: hub_resume
<7>[ 212.661804] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
<7>[ 215.614807] hub 2-0:1.0: hub_suspend
<7>[ 215.614868] usb usb2: bus auto-suspend
<7>[ 217.671020] usb usb2: usb auto-resume
<7>[ 217.693115] hub 2-0:1.0: hub_resume
<7>[ 217.693237] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
<7>[ 220.614990] hub 2-0:1.0: hub_suspend
<7>[ 220.615081] usb usb2: bus auto-suspend
<4>[ 254.514160] CPU1: Booted secondary processor
<5>[ 256.482391] CPU1: shutdown
Hi
Is it a GSM Modem?
It's looks like the device has switched to the wrong mode.
Although It's got a label of USBModem, There aren't any modem interfaces found.
I would edit /etc/usb_modeswitch/1bbb_f000 and remove the 0000 from the begining of the target product
list so it only has "0017,00b7" and swap the message lines over at the bottom of the file as it sugguests.
This will giving you different modes as I think usb_modeswitch settles on the first valid target product it finds. Which in your case would always be 0000
If it still does not register as a modem then I would suspect you need more drivers, usb_wwan.ko and option.ko specifically.
Hope That Helps
i have this stick
To my experience, these composite devices work as follows. First, they are recognized as storage. Second, in Windows, drivers and utilities are installed from this storage. Third, these utilities are run and start with sending some USB message (which may be generic or vendor- or product-specific, I don't know yet) which switches the device into usb-serial mode; in Linux, this may be done manually by usb-modeswitch, provided that you know the message. Fourth, the device is re-detected as usb-serial (typically even multiple ports) and operated as such.
Hence, the principal problem is to figure out the USB message. This may be learnt either from the vendor's documentation (which is typically provided under NDA and not available to end-users) or by monitoring a Windows system with a USB sniffer.
Another possible approach is setting usb-serial (or probably acm, in case of Linux) as the default mode that the device takes on power up, instead of storage. This would not be difficult to do once you set up the device on a Windows machine and can operate it as a modem. Then any machine, including a Linux one, will recognize it immediately as a modem. The principal problem is, once again, to learn the required AT command. I know these for a few devices but not for that one.
If someone happens to run into these data for this modem, or for other modems of the same vendor (1bbb), or maybe a generic command that might be specified in some standard command set - please let me know, or try it yourselves.
The last part of dmesg after removing 0000 from the list and uncommenting the line for 0017
Code:
425.090393] USB_EHCI resuming
<3>[ 425.091613] Resuming platform bus
<3>[ 425.310119] Phy is now ON
<3>[ 425.419494] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x18600CA
<3>[ 425.419586] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x1C40041
<3>[ 425.419799] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x1C40040
<3>[ 425.420013] uhhtll-omap uhhtll-omap: USB interrupt rising = 1F
<3>[ 425.420135] uhhtll-omap uhhtll-omap: USB interrupt falling = 1F
<3>[ 425.420227] uhhtll-omap uhhtll-omap: USB interrupt status = 4
<3>[ 425.420440] uhhtll-omap uhhtll-omap: USB interface status = 10
<3>[ 425.420562] uhhtll-omap uhhtll-omap: USB debug status = 1
<3>[ 425.420745] uhhtll-omap uhhtll-omap: Scratch register = 0xCA - should be 0xCA
<7>[ 425.420806] usb usb1: usb wakeup-resume
<7>[ 425.420806] usb usb1: usb auto-resume
<7>[ 425.420837] ehci-omap ehci-omap: resume root hub
<7>[ 425.466400] hub 1-0:1.0: hub_resume
<7>[ 425.466430] ehci-omap ehci-omap: GetStatus port:1 status 001803 0 ACK POWER sig=j CSC CONNECT
<7>[ 425.466461] hub 1-0:1.0: port 1: status 0501 change 0001
<7>[ 425.575744] hub 1-0:1.0: state 7 ports 3 chg 0002 evt 0000
<7>[ 425.575805] hub 1-0:1.0: port 1, status 0501, change 0000, 480 Mb/s
<7>[ 425.638488] ehci-omap ehci-omap: port 1 high speed
<7>[ 425.638519] ehci-omap ehci-omap: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
<6>[ 425.700744] usb 1-1: new high speed USB device using ehci-omap and address 4
<7>[ 425.763488] ehci-omap ehci-omap: port 1 high speed
<7>[ 425.763519] ehci-omap ehci-omap: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
<7>[ 425.865478] usb 1-1: default language 0x0409
<7>[ 425.871490] usb 1-1: udev 4, busnum 1, minor = 3
<6>[ 425.871490] usb 1-1: New USB device found, idVendor=1bbb, idProduct=f000
<6>[ 425.871520] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=4
<6>[ 425.871551] usb 1-1: Product: HSPA Data Card
<6>[ 425.871551] usb 1-1: Manufacturer: USBModem
<6>[ 425.871582] usb 1-1: SerialNumber: 1234567890ABCDEF
<7>[ 425.876800] usb 1-1: usb_probe_device
<7>[ 425.876831] usb 1-1: configuration #1 chosen from 1 choice
<7>[ 425.880523] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
<7>[ 425.882476] usb-storage 1-1:1.0: usb_probe_interface
<7>[ 425.882537] usb-storage 1-1:1.0: usb_probe_interface - got id
<6>[ 425.882751] scsi2 : usb-storage 1-1:1.0
<7>[ 425.889160] /mnt/flash/release/AX09/avx9_hc/arcbuild/linux/drivers/usb/core/inode.c: creating file '004'
<7>[ 425.940490] usb usb2: usb auto-resume
<7>[ 425.958557] hub 2-0:1.0: hub_resume
<7>[ 425.958618] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
<7>[ 425.960357] usb-storage 1-1:1.0: disconnect by usbfs
<4>[ 425.979339] usb 1-1: usbfs: process 3197 (usb_modeswitch) did not claim interface 0 before use
<7>[ 428.614807] hub 2-0:1.0: hub_suspend
<7>[ 428.614868] usb usb2: bus auto-suspend
<7>[ 433.941406] usb usb2: usb auto-resume
<7>[ 433.958801] hub 2-0:1.0: hub_resume
<7>[ 433.958953] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
<7>[ 436.614959] hub 2-0:1.0: hub_suspend
<7>[ 436.615051] usb usb2: bus auto-suspend
cajl said:
i have this stick
Click to expand...
Click to collapse
Hi cajl can you please post dmesg output when the stick is inserted into the tablet?
Thanks!
how view this ?
Install a terminal emulator from the market and run at the command prompt
Code:
dmesg > /mnt/sdcard/dmesg.txt
And then upload here the dmesg.txt from the sdcard.
the system is read/only !
i use an another gen 9 with root
---------- Post added at 08:39 PM ---------- Previous post was at 08:37 PM ----------
the system is read/only !
i use an another gen 9 with root
and i send the file tomorrow
x3ss said:
The last part of dmesg after removing 0000 from the list and uncommenting the line for 0017
Code:
425.090393] USB_EHCI resuming
<3>[ 425.091613] Resuming platform bus
<3>[ 425.310119] Phy is now ON
<3>[ 425.419494] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x18600CA
<3>[ 425.419586] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x1C40041
<3>[ 425.419799] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x1C40040
<3>[ 425.420013] uhhtll-omap uhhtll-omap: USB interrupt rising = 1F
<3>[ 425.420135] uhhtll-omap uhhtll-omap: USB interrupt falling = 1F
<3>[ 425.420227] uhhtll-omap uhhtll-omap: USB interrupt status = 4
<3>[ 425.420440] uhhtll-omap uhhtll-omap: USB interface status = 10
<3>[ 425.420562] uhhtll-omap uhhtll-omap: USB debug status = 1
<3>[ 425.420745] uhhtll-omap uhhtll-omap: Scratch register = 0xCA - should be 0xCA
<7>[ 425.420806] usb usb1: usb wakeup-resume
<7>[ 425.420806] usb usb1: usb auto-resume
<7>[ 425.420837] ehci-omap ehci-omap: resume root hub
<7>[ 425.466400] hub 1-0:1.0: hub_resume
<7>[ 425.466430] ehci-omap ehci-omap: GetStatus port:1 status 001803 0 ACK POWER sig=j CSC CONNECT
<7>[ 425.466461] hub 1-0:1.0: port 1: status 0501 change 0001
<7>[ 425.575744] hub 1-0:1.0: state 7 ports 3 chg 0002 evt 0000
<7>[ 425.575805] hub 1-0:1.0: port 1, status 0501, change 0000, 480 Mb/s
<7>[ 425.638488] ehci-omap ehci-omap: port 1 high speed
<7>[ 425.638519] ehci-omap ehci-omap: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
<6>[ 425.700744] usb 1-1: new high speed USB device using ehci-omap and address 4
<7>[ 425.763488] ehci-omap ehci-omap: port 1 high speed
<7>[ 425.763519] ehci-omap ehci-omap: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
<7>[ 425.865478] usb 1-1: default language 0x0409
<7>[ 425.871490] usb 1-1: udev 4, busnum 1, minor = 3
<6>[ 425.871490] usb 1-1: New USB device found, idVendor=1bbb, idProduct=f000
<6>[ 425.871520] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=4
<6>[ 425.871551] usb 1-1: Product: HSPA Data Card
<6>[ 425.871551] usb 1-1: Manufacturer: USBModem
<6>[ 425.871582] usb 1-1: SerialNumber: 1234567890ABCDEF
<7>[ 425.876800] usb 1-1: usb_probe_device
<7>[ 425.876831] usb 1-1: configuration #1 chosen from 1 choice
<7>[ 425.880523] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
<7>[ 425.882476] usb-storage 1-1:1.0: usb_probe_interface
<7>[ 425.882537] usb-storage 1-1:1.0: usb_probe_interface - got id
<6>[ 425.882751] scsi2 : usb-storage 1-1:1.0
<7>[ 425.889160] /mnt/flash/release/AX09/avx9_hc/arcbuild/linux/drivers/usb/core/inode.c: creating file '004'
<7>[ 425.940490] usb usb2: usb auto-resume
<7>[ 425.958557] hub 2-0:1.0: hub_resume
<7>[ 425.958618] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
<7>[ 425.960357] usb-storage 1-1:1.0: disconnect by usbfs
<4>[ 425.979339] usb 1-1: usbfs: process 3197 (usb_modeswitch) did not claim interface 0 before use
<7>[ 428.614807] hub 2-0:1.0: hub_suspend
<7>[ 428.614868] usb usb2: bus auto-suspend
<7>[ 433.941406] usb usb2: usb auto-resume
<7>[ 433.958801] hub 2-0:1.0: hub_resume
<7>[ 433.958953] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
<7>[ 436.614959] hub 2-0:1.0: hub_suspend
<7>[ 436.615051] usb usb2: bus auto-suspend
Click to expand...
Click to collapse
Hmmm,
It looks like it hasn't switched modes to the modem as shown by this line:
Code:
<6>[ 425.871490] usb 1-1: New USB device found, idVendor=1bbb, idProduct=f000
Note the f000 productid
Try this from adb or terminal emulator
Code:
usb_modeswitch -s 3 -v 0x1bbb -p 0xf000 -V 0x1bbb -P 0x0017 -M "5553424308a05984c000000080000606f50402527000000000000000000000"
Note: We are using the Original Message content
This ubuntu thread seems to cover this piece of hardware and uses the original message the bring up the modem interface
@cajlThere is no need for root or rw access.
That command saves the file on the external sdcard if un have one in the slot.
@trevd
0017 is for alcatel x225 that they talk at the link you gave me
But x200 must change to 0000 as i found here
see that with 3g enable
581359] omapdss HDMI: pwrchanged => (1,A) = 0
<7>[ 3.593780] hub 1-0:1.0: hub_suspend
<7>[ 3.593811] usb usb1: bus auto-suspend
<7>[ 3.593841] ehci-omap ehci-omap: suspend root hub
<3>[ 3.594268] USB EHCI suspending
<6>[ 3.615570] cypress-tma340 4-0024: BOOT 010b / TTS 14dc / APP 0622 / ID 2200
<6>[ 3.662231] fuse init (API version 7.14)
<3>[ 3.691375] init: untracked pid 1867 exited
<3>[ 3.695800] init: running exec failed
<3>[ 3.696014] init: untracked pid 1871 exited
<6>[ 3.905883] Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
<6>[ 3.913818] enabling adb
<6>[ 3.937744] adb_open
<3>[ 4.026062] init: untracked pid 1898 exited
<6>[ 4.203704] charge_level set to 2
<6>[ 4.269439] android_usb gadget: high speed config #1: android
<6>[ 4.331787] omap-remoteproc omap-remoteproc.0: omap_rproc_open: dev num 0, name tesla, count 1
<6>[ 4.331848] omap-remoteproc omap-remoteproc.1: omap_rproc_open: dev num 1, name ducati-proc0, count 1
<6>[ 4.331909] omap-remoteproc omap-remoteproc.2: omap_rproc_open: dev num 2, name ducati-proc1, count 1
<3>[ 4.332092] platform_mem_setup : status [0x0]
<3>[ 4.332092] platform_setup : status [0x0]
<3>[ 4.332122] proc_mgr_setup : status [0x0]
<3>[ 4.332122] sharedregion_setup : status [0x0]
<6>[ 4.332153] omap mailbox rev 0.0
<3>[ 4.332183] notify_ducatidrv_setup : status [0x0]
<3>[ 4.332214] notify_setup : status [0x0]
<3>[ 4.332427] ipu_pm_setup : status [0x0]
<3>[ 4.332458] nameserver_setup : status [0x0]
<3>[ 4.332458] nameserver_get_handle failed! status = 0xfffffffe
<3>[ 4.332489] gatemp_setup : status [0x0]
<3>[ 4.332489] gatepeterson_setup : status [0x0]
<3>[ 4.332519] nameserver_get_handle failed! status = 0xfffffffe
<3>[ 4.332550] messageq_setup : status [0x0]
<3>[ 4.332580] nameserver_get_handle failed! status = 0xfffffffe
<3>[ 4.332580] heapbufmp_setup : status [0x0]
<3>[ 4.332611] nameserver_get_handle failed! status = 0xfffffffe
<3>[ 4.332611] heapmemmp_setup : status [0x0]
<3>[ 4.332641] nameserver_get_handle failed! status = 0xfffffffe
<3>[ 4.332641] listmp_setup : status [0x0]
<3>[ 4.332672] transportshm_setup : status [0xa7a000]
<3>[ 4.332672] nameserver_remotenotify_setup : status [0x0]
<3>[ 4.332794] _platform_setup : status [0x0]
<6>[ 4.332885] omap-remoteproc omap-remoteproc.0: omap_rproc_open: dev num 0, name tesla, count 1
<6>[ 4.332916] omap-remoteproc omap-remoteproc.1: omap_rproc_open: dev num 1, name ducati-proc0, count 1
<6>[ 4.332946] omap-remoteproc omap-remoteproc.2: omap_rproc_open: dev num 2, name ducati-proc1, count 1
<3>[ 4.369323] USB_EHCI resuming
<3>[ 4.369873] Resuming platform bus
<3>[ 4.591796] Phy is now ON
<3>[ 4.701202] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x1860000
<3>[ 4.701354] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x1C40041
<3>[ 4.701538] uhhtll-omap uhhtll-omap: EHCI_INSREG05 0x1C40040
<3>[ 4.701751] uhhtll-omap uhhtll-omap: USB interrupt rising = 1F
<3>[ 4.701873] uhhtll-omap uhhtll-omap: USB interrupt falling = 1F
<3>[ 4.701965] uhhtll-omap uhhtll-omap: USB interrupt status = 6
<3>[ 4.702178] uhhtll-omap uhhtll-omap: USB interface status = 10
<3>[ 4.702301] uhhtll-omap uhhtll-omap: USB debug status = 1
<3>[ 4.702514] uhhtll-omap uhhtll-omap: Scratch register = 0xCA - should be 0xCA
<7>[ 4.702545] hub 2-0:1.0: hub_suspend
<7>[ 4.702575] usb usb2: bus auto-suspend
<7>[ 4.702606] usb usb1: usb wakeup-resume
<7>[ 4.702606] usb usb1: usb auto-resume
<7>[ 4.702636] ehci-omap ehci-omap: resume root hub
<7>[ 4.748077] hub 1-0:1.0: hub_resume
<7>[ 4.748138] ehci-omap ehci-omap: GetStatus port:1 status 001803 0 ACK POWER sig=j CSC CONNECT
<7>[ 4.748199] hub 1-0:1.0: port 1: status 0501 change 0001
<7>[ 4.857788] hub 1-0:1.0: state 7 ports 3 chg 0002 evt 0000
<7>[ 4.857849] hub 1-0:1.0: port 1, status 0501, change 0000, 480 Mb/s
<4>[ 4.861450] omap_hwmod: ipu: failed to reset in 10000 usec
<3>[ 4.862792] proc4430_attach num_mem_entries = 6
<6>[ 4.863189] proc_mgr_attachroc_mgr_handle->num_mem_entries = 6
<3>[ 4.867431] proc4430_attach num_mem_entries = 6
<6>[ 4.867462] proc_mgr_attachroc_mgr_handle->num_mem_entries = 6
<3>[ 4.917388] _platform_read_slave_memory successful! status = 0x0, proc_id = 2, addr = 0xd600, m_addr = 0xe120d600, size = 0x20
<3>[ 4.917419] _platform_read_slave_memory successful! status = 0x0, proc_id = 2, addr = 0xd620, m_addr = 0xe120d620, size = 0x30
<3>[ 4.923400] _platform_write_slave_memory successful! status = 0x0, proc_id = 2, addr = 0xd600, m_addr = 0xe120d600, size = 0x20
<7>[ 4.923919] ehci-omap ehci-omap: port 1 high speed
<7>[ 4.923950] ehci-omap ehci-omap: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
<6>[ 4.924255] omap-remoteproc omap-remoteproc.1: omap_rproc_ioctl
<3>[ 4.927307] ipc_proc_sync_start failed: status [0xffffffff]
<3>[ 4.927337] ipc_attach : ipc_proc_sync_start failed [0xffffffff]
<3>[ 4.927368] ipc_attach failed! status = 0xffffffff
<3>[ 4.935791] ipc_proc_sync_start failed: status [0xffffffff]
<3>[ 4.935852] ipc_attach : ipc_proc_sync_start failed [0xffffffff]
<3>[ 4.935852] ipc_attach failed! status = 0xffffffff
<3>[ 4.952301] ipc_proc_sync_start failed: status [0xffffffff]
<3>[ 4.952362] ipc_attach : ipc_proc_sync_start failed [0xffffffff]
<3>[ 4.952392] ipc_attach failed! status = 0xffffffff
<3>[ 4.968109] ipc_proc_sync_start done
<3>[ 4.968139] ipc_proc_sync_start : status [0x0]
<3>[ 4.968170] gatemp_attach : status [0x0]
<3>[ 4.968200] sharedregion_attach : status [0x0]
<3>[ 4.968200] sharedregion_get_ptr : status [0x0]
<3>[ 4.968231] notify_attach : status [0x0]
<3>[ 4.968292] ipu_pm_attach : status [0x0]
<3>[ 4.968292] sharedregion_get_ptr : status [0x0]
<3>[ 4.968322] nameserver_remotenotify_attach : status [0x0]
<3>[ 4.968322] sharedregion_get_ptr : status [0x0]
<3>[ 4.968353] messageq_attach : status [0x0]
<3>[ 4.968383] ipc_proc_sync_finish : status [0x0]
<6>[ 4.982513] usb 1-1: new high speed USB device using ehci-omap and address 2
<7>[ 5.045166] ehci-omap ehci-omap: port 1 high speed
<7>[ 5.045227] ehci-omap ehci-omap: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
<7>[ 5.141204] usb 1-1: default language 0x0409
<7>[ 5.142578] usb 1-1: udev 2, busnum 1, minor = 1
<6>[ 5.142578] usb 1-1: New USB device found, idVendor=1bbb, idProduct=f000
<6>[ 5.142608] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=4
<6>[ 5.142639] usb 1-1: Product: HSPA Data Card
<6>[ 5.142639] usb 1-1: Manufacturer: USBModem
<6>[ 5.142669] usb 1-1: SerialNumber: 1234567890ABCDEF
<7>[ 5.143463] usb 1-1: usb_probe_device
<7>[ 5.143493] usb 1-1: configuration #1 chosen from 1 choice
<7>[ 5.146331] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
<7>[ 5.146850] usb-storage 1-1:1.0: usb_probe_interface
<7>[ 5.146881] usb-storage 1-1:1.0: usb_probe_interface - got id
<6>[ 5.147125] scsi0 : usb-storage 1-1:1.0
<7>[ 5.148529] /mnt/flash/release/AX09/avx9_hc/arcbuild/linux/drivers/usb/core/inode.c: creating file '002'
<3>[ 5.372528] _platform_read_slave_memory successful! status = 0x0, proc_id = 1, addr = 0x382f00, m_addr = 0xe1a82f00, size = 0x20
<3>[ 5.372589] _platform_read_slave_memory successful! status = 0x0, proc_id = 1, addr = 0x382f20, m_addr = 0xe1a82f20, size = 0x30
<3>[ 5.372619] _platform_write_slave_memory successful! status = 0x0, proc_id = 1, addr = 0x382f00, m_addr = 0xe1a82f00, size = 0x20
<6>[ 5.372680] omap-remoteproc omap-remoteproc.2: omap_rproc_ioctl
<3>[ 5.373596] ipc_proc_sync_start failed: status [0xffffffff]
<3>[ 5.373626] ipc_attach : ipc_proc_sync_start failed [0xffffffff]
<3>[ 5.373657] ipc_attach failed! status = 0xffffffff
<3>[ 5.382843] ipc_proc_sync_start failed: status [0xffffffff]
<3>[ 5.382873] ipc_attach : ipc_proc_sync_start failed [0xffffffff]
<3>[ 5.382904] ipc_attach failed! status = 0xffffffff
<3>[ 5.398468] ipc_proc_sync_start done
<3>[ 5.398498] ipc_proc_sync_start : status [0x0]
<3>[ 5.398498] gatemp_attach : status [0x1]
<3>[ 5.398529] sharedregion_attach : status [0x0]
<3>[ 5.398559] sharedregion_get_ptr : status [0x0]
<3>[ 5.398590] notify_attach : status [0x0]
<3>[ 5.398620] ipu_pm_attach : status [0x0]
<3>[ 5.398620] sharedregion_get_ptr : status [0x0]
<3>[ 5.398651] nameserver_remotenotify_attach : status [0x0]
<3>[ 5.398681] sharedregion_get_ptr : status [0x0]
<3>[ 5.398712] messageq_attach : status [0x0]
<3>[ 5.398742] ipc_proc_sync_finish : status [0x0]
<6>[ 5.418548] Registered user-space process for DEV_SYS_ERROR event in SysM3
<6>[ 5.418579] Registered user-space process for DEV_WATCHDOG_ERROR event in SysM3
<6>[ 5.418609] Registered user-space process for DEV_SYS_ERROR event in AppM3
<6>[ 5.418640] Registered user-space process for DEV_WATCHDOG_ERROR event in AppM3
<5>[ 6.151306] scsi 0:0:0:0: CD-ROM ALCATEL Mass Storage 2.31 PQ: 0 ANSI: 2
<5>[ 9.451751] CPU1: shutdown
<4>[ 11.279510] CPU1: Booted secondary processor
<6>[ 13.283905] warning: `zygote' uses 32-bit capabilities (legacy support in use)
<4>[ 13.587829] mma8453q_ctrl_ioctl: Get mode 1
<6>[ 14.416137] Sleep APPM3
<6>[ 14.416229] Sleep SYSM3
<5>[ 21.756500] CPU1: shutdown
<4>[ 26.443725] CPU1: Booted secondary processor
<5>[ 28.357971] CPU1: shutdown
<4>[ 30.392028] CPU1: Booted secondary processor
<5>[ 30.850250] CPU1: shutdown
<4>[ 32.053466] CPU1: Booted secondary processor
<5>[ 35.061401] CPU1: shutdown
<4>[ 35.555969] CPU1: Booted secondary processor
<5>[ 38.959594] CPU1: shutdown
<4>[ 50.394653] CPU1: Booted secondary processor
<5>[ 53.717407] CPU1: shutdown
<4>[ 57.175994] CPU1: Booted secondary processor
<5>[ 59.717407] CPU1: shutdown
<4>[ 61.840789] CPU1: Booted secondary processor
<5>[ 64.811126] CPU1: shutdown
<4>[ 66.771759] CPU1: Booted secondary processor
<5>[ 68.795532] CPU1: shutdown
<6>[ 79.378021] TIWLAN: driver init
<6>[ 79.378570] TI WiLink 1283 SDIO: Driver loaded
<6>[ 79.382324] wifi_probe: got wlan irq 262
<6>[ 79.382354] wifi_probe: got wlan irq trigger falling flag
<4>[ 79.383087] wl1271_wifi_set_carddetect: 0
<7>[ 79.383117] mmc2: card_present 0
<4>[ 79.383148] wl1271_wifi_reset: 1
<4>[ 79.383148] wl1271_wifi_power: 0
<4>[ 79.418914] CPU1: Booted secondary processor
<6>[ 80.489227] TIWLAN: 2971.675323: pInitParams->RoamingScanning_2_4G_enable 0
<4>[ 80.489349] wl1271_wifi_power: 1
<4>[ 80.503601] wl1271_wifi_power: 0
<4>[ 80.504577] wl1271_wifi_power: 1
<4>[ 80.570770] wl1271_wifi_reset: 0
<4>[ 80.570800] wl1271_wifi_set_carddetect: 1
<7>[ 80.570800] mmc2: card_present 1
<6>[ 80.718444] request_suspend_state: wakeup (3->0) at 81111022959 (2012-02-13 19:43:26.030334478 UTC)
<7>[ 80.720794] omap_pwm_led_set: brightness: 254
<7>[ 80.720825] omap_pwm_led_set_pwm_cycle: cycle: 254
<7>[ 80.810272] usb usb2: usb auto-resume
<7>[ 80.826232] hub 2-0:1.0: hub_resume
<7>[ 80.828247] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
<4>[ 80.843811] mmc2: card claims to support voltages below the defined range. These will be ignored.
<6>[ 80.845001] mmc2: new SDIO card at address 0001
<6>[ 80.849151] TIWLAN: Found TI/WLAN SDIO controller (vendor 0x97, device 0x4076, class 0x7)
<4>[ 80.849273] sdioAdapt_ConnectBus(): Block-Size should be bigger than SYNC_ASYNC_LENGTH_THRESH!!
<6>[ 80.850219] TIWLAN: 2972.036315: Working on a 1273 PG 2.0 board.
<6>[ 80.850250] TIWLAN: 2972.036315: CHIP VERSION... set 1273 chip top registers
<6>[ 80.851013] TIWLAN: 2972.037109: XTAL 38.4 MHz configured for COM6
<6>[ 80.851226] TIWLAN: 2972.037322: Starting to process NVS...
<6>[ 80.851257] TIWLAN: 2972.037353: NVS found, EEPROM Image addr=0xd9766c00, EEPROM Len=0x0x1d4
<6>[ 80.878082] TIWLAN: 2972.064178: Firmware successfully downloaded.
<6>[ 80.878143] TIWLAN: 2972.064239: FW download OK...
<6>[ 80.883789] TIWLAN: 2972.069885: Firmware successfully downloaded.
<6>[ 80.883850] TIWLAN: 2972.069915: FW download OK...
<6>[ 80.884033] TIWLAN: 2972.070129: Firmware successfully downloaded.
<6>[ 80.884063] TIWLAN: 2972.070159: FW download OK...
<6>[ 80.885955] TIWLAN: 2972.072051: Firmware successfully downloaded.
<6>[ 80.885986] TIWLAN: 2972.072082: FW download OK...
<6>[ 80.886993] TIWLAN: 2972.073089: Firmware successfully downloaded.
<6>[ 80.887023] TIWLAN: 2972.073120: FW download OK...
<6>[ 80.887603] TIWLAN: 2972.073669: Finished downloading firmware.
<6>[ 80.887664] TIWLAN: 2972.073730: Firmware running.
<6>[ 80.906982] TIWLAN: 2972.093048: Firmware successfully downloaded.
<6>[ 80.907012] TIWLAN: 2972.093109: FW download OK...
<6>[ 80.907135] TIWLAN: 2972.093231:
<6>[ 80.907165] TIWLAN: 2972.093231: --------------------------------------------------------------------
<6>[ 80.907165] TIWLAN: 2972.093261: Driver Version : MCP-WiLink_Driver_2.5.3.0.18
<6>[ 80.907196] TIWLAN: 2972.093292: Firmware Version: Rev 6.1.3.11.54
<6>[ 80.907226] TIWLAN: 2972.093322: Station ID : 00-16-DC-6C-CC-C1
<6>[ 80.907257] TIWLAN: 2972.093322: --------------------------------------------------------------------
<6>[ 80.907257] TIWLAN: 2972.093353:
<3>[ 80.915649] init: untracked pid 2215 exited
<6>[ 80.921447] TIWLAN: 2972.107543: Interrogate TX/RX parameters
<6>[ 81.199066] ADDRCONF(NETDEV_UP): tiwlan0: link is not ready
<4>[ 81.766662] mma8453q_ctrl_ioctl: Set polling delay 0
<4>[ 81.798645] mma8453q_ctrl_ioctl: Set polling delay 200
<4>[ 81.811859] mma8453q_ctrl_ioctl: Set polling delay 60
<6>[ 83.038391] TIWLAN: 2974.224456: 0000 01 00 03 00 00 00 10 80 A9 36 EE 8C 0F A4 8C 5B
<6>[ 83.038452] TIWLAN: 2974.224548: 0010 D8 0A C2 6F 5B D1 A3 63 1A 20 5A 84 4F 85 52 5B
<6>[ 83.038482] TIWLAN: 2974.224578: 0020 62 E3 0E FA 54 29 8A 05 4A 44 B2 59 80 B0 1F 31
<6>[ 83.038543] TIWLAN: 2974.224639: 0030 CE DE 22 49 30 E4 F8 F2 22 07 33 E9 CA 01 D3 05
<6>[ 83.038604] TIWLAN: 2974.224700: 0040 AE AE ED E9 04 E5 2D C0 0A 30 F8 34 DB B0 B7 FC
<6>[ 83.038635] TIWLAN: 2974.224731: 0050 78 FC 83 4A D2 84 A7 45 96 29 10 DB 31 54 35 38
<6>[ 83.038696] TIWLAN: 2974.224792: 0060 2C D8 F4 AD A1 24 B0 2B F4 9E B7 C9 51 2A 73 8A
<6>[ 83.038726] TIWLAN: 2974.224822: 0070 9B 8D FD 48 0B 67 E8 99 38 B7 A7 04 16 5D D9 23
<6>[ 83.038787] TIWLAN: 2974.224884: 0080 BF E9 C0 5B 78 7D E1 F1
<6>[ 83.047149] ADDRCONF(NETDEV_CHANGE): tiwlan0: link becomes ready
<6>[ 83.061920] TIWLAN: 2974.247985: connInfra , CONSOLE:************ NEW CONNECTION ************
<6>[ 83.061981] TIWLAN: 2974.248077: ************ NEW CONNECTION ************
<6>[ 83.062011] TIWLAN: 2974.248107: siteMgr , CONSOLE:-- BSSID = 6a-12-f8-a9-b9-50
<6>[ 83.062072] TIWLAN: 2974.248168: -- SSID = chez_nous
<6>[ 83.062103] TIWLAN: 2974.248199: -- BSSID = 6a-12-f8-a9-b9-50
<6>[ 83.062133] TIWLAN: 2974.248229: -- MODE = infrastructure
<6>[ 83.062164] TIWLAN: 2974.248260: connInfra , CONSOLE:****************************************
<6>[ 83.062225] TIWLAN: 2974.248321: ****************************************
<7>[ 83.623138] hub 2-0:1.0: hub_suspend
<7>[ 83.623168] usb usb2: bus auto-suspend
<3>[ 85.244903] init: untracked pid 2459 exited
<3>[ 93.187957] init: untracked pid 2669 exited
<3>[ 93.189483] init: untracked pid 2663 exited
<5>[ 94.666656] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
<3>[ 94.666687] CIFS VFS: Send error in SessSetup = -13
<3>[ 94.666717] CIFS VFS: cifs_mount failed w/return code = -13
<4>[ 103.904449] SOC timeout
<5>[ 122.943725] CPU1: shutdown
<4>[ 130.748413] CPU1: Booted secondary processor
<5>[ 195.685943] CPU1: shutdown
<4>[ 196.248687] CPU1: Booted secondary processor
<5>[ 201.693664] CPU1: shutdown
<4>[ 204.809234] CPU1: Booted secondary processor
<5>[ 221.912597] CPU1: shutdown
<4>[ 225.143615] CPU1: Booted secondary processor
<5>[ 228.490539] CPU1: shutdown
<4>[ 229.586090] CPU1: Booted secondary processor
<5>[ 229.772003] CPU1: shutdown
<4>[ 232.767028] CPU1: Booted secondary processor
<5>[ 234.498809] CPU1: shutdown
@trevd
0017 is for alcatel x225 that they talk at the link you gave me
But x200 must change to 0000 as i found here
Click to expand...
Click to collapse
Looks like I've sent you on a bit of a merry dance then! My apologies for that. Good Luck
no problem trevd, this is another way to learn even more stuff
Do you see anything interesting in cajl's dmesg?
I don't see a tty# assigned to his 3G stick nor the usb_modeswitch output.
no problem trevd, this is another way to learn even more stuff
Click to expand...
Click to collapse
I like that outlook, it's exactly how I see it. I know as much about what doesn't work as what does
Anyway there's nothing going on regarding mode switching in that boot sequence, It's just kicking up it's default mode.
I'm thinking it's probably doing it's magic In android it's self and you might gain some
insight from looking there.
I've been playing with the archos 3g stuff lately as I want to enable any dongle on the device.
I was originally going to patch UsbKeyManager.apk in the system/app folder as this is where everything happens with regards to the archos stick (It Seems! ) - The Apk does the modeswitching and starting/stopping of the Android Radio Interface Layer (ril) , which is along with your modem drivers and pppd (?) is all you technically need to get a connection through Android to the outside world
If you haven't already doing getprops from the command line will give you an insight into what android thinks it's got and have a look at logcat to monitor what's going on.
I'd Reset the modem back to how it was and try it in the unrooted stock to see if it works......It's suppose to, right. lol
I'd probably try all the different combination of modeswitch, but that's is very much at your own risk.
I decompiled classes.dex from UsbKeyManager.apk and i'm looking through the .class files but i don't know java so i understand very little from it...
I've attached the .class files if someone knows how to read them better...
Well, I've learnt to use my 3G stick in Linux. I have a model different from those discussed at the above links:
Code:
# lsusb
Bus 001 Device 013: ID 1bbb:00b7 T & A Mobile Phones
..................................
# lsusb -vd 1bbb:00b7
Bus 001 Device 013: ID 1bbb:00b7 T & A Mobile Phones
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1bbb T & A Mobile Phones
idProduct 0x00b7
bcdDevice 0.00
iManufacturer 3 USBModem
iProduct 2 HSPA Data Card
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 131
bNumInterfaces 5
bConfigurationValue 1
iConfiguration 1 USBModem Configuration
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
Note that ProductID=00b7. And the box opens as is, without any secrets. All what is needed is to load usbserial manually onto it :
Code:
# modprobe usbserial vendor=0x1bbb product=0x00b7
As the module settles into system, it creates /dev/ttyUSB0 thru 4, the latter two ports being suitable to access the modem in usual way. NetManager quickly recognizes it and tries to establish a connection.
The sad thing is that my KB and mouse were frozen a few times during this, for about a minute. Apparently the entire USB subsystem is hang. Then the problem seems to go away by itself. It's worth trying the latest kernel 3.2.6, there have been multiple improvements in usb since my 2.6.38.
To activate the modem automatically, the following file in /etc/udev/rules.d/50-someting.rules should be sufficient:
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="1bbb", SYSFS{idProduct}=="00b7", RUN+="/sbin/modprobe usbserial vendor=0x1bbb product=0x00b7"
just tried your modprobe method and is not producing any output.
none in dmesg and none with -v option.

[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