Author Topic: idroid latest kernel USB gadget  (Read 274 times)

Offline hongjiujing

  • Member
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • iDevice: iPod Touch 1G
  • iDroid Version: Mojo 1.0.3
  • Jailbreak: Balck1n
idroid latest kernel USB gadget
« on: November 29, 2010, 10:12:38 AM »
Dear all,i run the latest git kernel for ipod touch 1G ,use nickpack.ipt1g.config,short of USB gadget,i want to use ADB .

any update?

have i must use old kernel or update relative code by self?



Offline nickp666

  • Administrator
  • Member
  • *****
  • Posts: 595
  • Karma: +41/-1
    • View Profile
    • http://www.nickpack.com
  • iDevice: iPhone 3G
  • iDroid Version: Bleeding Edge
  • Jailbreak: redsn0w
Re: idroid latest kernel USB gadget
« Reply #1 on: November 29, 2010, 12:47:16 PM »
There is an updated kernel on my file dump (see my sig)

Or if you want to build it yourself, just enable the Sypnosis DWG OTG USB gadget and turn the adb gadget on in the config
http://dev.idroidproject.org - iDroid Project Community Issue Tracker

http://idroid.nickpack.com - My iDroid File Dump

http://github.com/iDroid-Project - Repos

Offline hongjiujing

  • Member
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • iDevice: iPod Touch 1G
  • iDroid Version: Mojo 1.0.3
  • Jailbreak: Balck1n
Re: idroid latest kernel USB gadget
« Reply #2 on: December 01, 2010, 09:39:48 AM »
HI,Nick,i compile usb gadget (Android adb gadget) to my ipod touch 1G ,but adb shell not stable,

when i input "adb shell" in ubuntu,it login android shell successfully,but if i go on inputing some linux cmd,console stop,can not go on,something stop me,

have you test?


Offline hongjiujing

  • Member
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • iDevice: iPod Touch 1G
  • iDroid Version: Mojo 1.0.3
  • Jailbreak: Balck1n
Re: idroid latest kernel USB gadget
« Reply #3 on: December 06, 2010, 06:03:34 AM »
<6>[  188.380000] pcf50633 1-00e6: status: 1, charging: 1.
<6>[  188.510000] android_usb gadget: high speed config #1: android
<4>[  190.240000] ------------[ cut here ]------------
<4>[  190.240000] WARNING: at arch/arm/mm/dma-mapping.c:408 dma_free_coherent+0x34/0x324()
<4>[  190.240000] Modules linked in:
<4>[  190.240000] Backtrace:
<4>[  190.240000] [<c002c620>] (dump_backtrace+0x0/0x114) from [<c02f1c5c>] (dump_stack+0x18/0x1c)
<4>[  190.240000]  r7:c038f83e r6:00000198 r5:c002d7ac r4:00000000
<4>[  190.240000] [<c02f1c44>] (dump_stack+0x0/0x1c) from [<c004ed90>] (warn_slowpath_common+0x50/0x68)
<4>[  190.240000] [<c004ed40>] (warn_slowpath_common+0x0/0x68) from [<c004edc0>] (warn_slowpath_null+0x18/0x1c)
<4>[  190.240000]  r7:c798c01c r6:ffcda000 r5:00000018 r4:00000000
<4>[  190.240000] [<c004eda8>] (warn_slowpath_null+0x0/0x1c) from [<c002d7ac>] (dma_free_coherent+0x34/0x324)
<4>[  190.240000] [<c002d778>] (dma_free_coherent+0x0/0x324) from [<c020dd80>] (dwc_otg_gadget_complete+0x5c/0xb0)
<4>[  190.240000] [<c020dd24>] (dwc_otg_gadget_complete+0x0/0xb0) from [<c020c0e0>] (dwc_otg_core_complete_request+0x174/0x1d0)
<4>[  190.240000]  r5:c798c14c r4:c5de2c80
<4>[  190.240000] [<c020bf6c>] (dwc_otg_core_complete_request+0x0/0x1d0) from [<c020c80c>] (dwc_otg_core_disable_ep+0x130/0x1a8)
<4>[  190.240000]  r7:60000093 r6:c798c16c r5:c798c01c r4:c798c14c
<4>[  190.240000] [<c020c6dc>] (dwc_otg_core_disable_ep+0x0/0x1a8) from [<c020e1e4>] (dwc_otg_gadget_disable_ep+0x20/0x2c)
<4>[  190.240000]  r8:c798c5c8 r7:c020ce98 r6:00000001 r5:00000000 r4:c796f4a0
<4>[  190.240000] [<c020e1c4>] (dwc_otg_gadget_disable_ep+0x0/0x2c) from [<c0210fc4>] (adb_function_disable+0x88/0xd4)
<4>[  190.240000] [<c0210f3c>] (adb_function_disable+0x0/0xd4) from [<c020e910>] (reset_config+0x74/0xdc)
<4>[  190.240000]  r7:c020ce98 r6:c04101c0 r5:c796f4a0 r4:c7afe3e0
<4>[  190.240000] [<c020e89c>] (reset_config+0x0/0xdc) from [<c020ec94>] (composite_disconnect+0x48/0xa4)
<4>[  190.240000]  r5:a0000013 r4:c7afe3e0
<4>[  190.240000] [<c020ec4c>] (composite_disconnect+0x0/0xa4) from [<c020cee4>] (dwc_otg_device_disconnect_work+0x4c/0x5c)
<4>[  190.240000]  r5:c78017c0 r4:c782e000
<4>[  190.240000] [<c020ce98>] (dwc_otg_device_disconnect_work+0x0/0x5c) from [<c0067030>] (worker_thread+0x204/0x2c0)
<4>[  190.240000] [<c0066e2c>] (worker_thread+0x0/0x2c0) from [<c006afac>] (kthread+0x84/0x8c)
<4>[  190.240000] [<c006af28>] (kthread+0x0/0x8c) from [<c0052b58>] (do_exit+0x0/0x740)
<4>[  190.240000]  r7:00000000 r6:00000000 r5:00000000 r4:00000000
<4>[  190.240000] ---[ end trace 8cc987ab0d9ecc8c ]---
<6>[  190.250000] adb_release