Advertisement
Guest User

Untitled

a guest
Mar 25th, 2010
1,563
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.16 KB | None | 0 0
  1. Ohh and now a ping and telnet ... telnet hangs as i dont think tty is correct on the image yet ..
  2.  
  3. root@ubuntu:/home/cass/htcleo/initrd# ifconfig usb0 192.168.1.2 netmask 255.255.255.0 up
  4. root@ubuntu:/home/cass/htcleo/initrd# ping 192.168.1.1
  5. PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
  6. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=28.4 ms
  7. 64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=1.25 ms
  8. 64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=1.29 ms
  9. 64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=2.16 ms
  10. 64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=1.55 ms
  11. 64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=2.43 ms
  12. 64 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=1.52 ms
  13. ^C
  14. --- 192.168.1.1 ping statistics ---
  15. 7 packets transmitted, 7 received, 0% packet loss, time 6094ms
  16. rtt min/avg/max/mdev = 1.253/5.523/28.431/9.361 ms
  17. root@ubuntu:/home/cass/htcleo/initrd# telnet 192.169.1.1
  18. Trying 192.169.1.1...
  19. ^C
  20. root@ubuntu:/home/cass/htcleo/initrd# telnet 192.168.1.1
  21. Trying 192.168.1.1...
  22. Connected to 192.168.1.1.
  23. Escape character is '^]'.
  24.  
  25.  
  26.  
  27. ^C^C
  28.  
  29.  
  30.  
  31. Finally it sees gadget ether - Dmesg from my linux box
  32.  
  33. [30378.772390] usb 1-1: new high speed USB device using ehci_hcd and address 32
  34. [30379.300936] usb 1-1: configuration #1 chosen from 2 choices
  35. [30379.408012] usb0: register 'cdc_ether' at usb-0000:02:03.0-1, CDC Ethernet Device, 76:56:99:39:83:a4
  36. [30389.822977] usb0: no IPv6 routers present
  37.  
  38.  
  39. root@ubuntu:/home/cass/htcleo/initrd# ifconfig usb0
  40. usb0 Link encap:Ethernet HWaddr 76:56:99:39:83:a4
  41. inet addr:10.0.0.251 Bcast:10.0.0.255 Mask:255.255.255.0
  42. inet6 addr: fe80::7456:99ff:fe39:83a4/64 Scope:Link
  43. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  44. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  45. TX packets:85 errors:0 dropped:0 overruns:0 carrier:0
  46. collisions:0 txqueuelen:1000
  47. RX bytes:0 (0.0 B) TX bytes:7589 (7.5 KB)
  48.  
  49. root@ubuntu:/home/cass/htcleo/initrd# ping 10.0.0.250
  50. PING 10.0.0.250 (10.0.0.250) 56(84) bytes of data.
  51. From 10.0.0.251 icmp_seq=2 Destination Host Unreachable
  52. From 10.0.0.251 icmp_seq=3 Destination Host Unreachable
  53. From 10.0.0.251 icmp_seq=4 Destination Host Unreachable
  54. ^C
  55. --- 10.0.0.250 ping statistics ---
  56. 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3051ms
  57. , pipe 3
  58.  
  59.  
  60. 10.0.0.250 is the interface configured by me manually on the Leo ...
  61.  
  62.  
  63. Image, .config, cass.fs and default.txt all uploaded to
  64. http://www.megaupload.com/?d=IQ55N0Q3
  65.  
  66. also from teh source the following 3 files were edited to include my leo's usb devid,not sure if it makes a diff but he it almost works now ..
  67.  
  68. /htcleo/kernel/drivers/net/usb/
  69. -rw-r--r-- 1 root root 12164 2010-03-23 20:03 zaurus.c
  70. -rw-r--r-- 1 cass cass 17235 2010-03-25 10:46 cdc_ether.c
  71. -rw-r--r-- 1 cass cass 11070 2010-03-25 12:14 cdc_subset.c
  72.  
  73.  
  74. CHANGES MADE :
  75.  
  76. cdc_subset.c
  77.  
  78. #ifdef CONFIG_USB_LEO
  79. {
  80. USB_DEVICE (0x0BB4, 0x0B40), // LEO
  81. .driver_info = (unsigned long) &kc2190_info,
  82. },
  83. #endif
  84.  
  85.  
  86.  
  87. cdc_ether.c
  88.  
  89. }, {
  90. /* Ericsson F3507g */
  91. //USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1900, USB_CLASS_COMM,
  92. USB_DEVICE_AND_INTERFACE_INFO(0x0bb4, 0x0b40, USB_CLASS_COMM,
  93. USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
  94. .driver_info = (unsigned long) &cdc_info,
  95. },
  96. { }, // END
  97. };
  98.  
  99.  
  100.  
  101. zaurus.c
  102.  
  103. {
  104. .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
  105. | USB_DEVICE_ID_MATCH_DEVICE,
  106. .idVendor = 0x0DD4,
  107. .idProduct = 0x0B40, /* LE0*/
  108. ZAURUS_MASTER_INTERFACE,
  109. .driver_info = ZAURUS_PXA_INFO,
  110. },
  111.  
  112.  
  113.  
  114. DMESG from LEO
  115.  
  116. [ 0.000000] Initializing cgroup subsys cpu
  117. [ 0.000000] Linux version 2.6.29-01182-gcbfe363-dirty (cass@ubuntu) (gcc version 4.2.3 (Sourcery G++ Lite 2008q1-126)) #7 PREEMPT Thu Mar 25 16:51:11 GMT 2010
  118. [ 0.000000] CPU: ARMv7 Processor [510f00f2] revision 2 (ARMv7), cr=10c5387f
  119. [ 0.000000] CPU: VIPT nonaliasing data cache, VIVT ASID tagged instruction cache
  120. [ 0.000000] Machine: htcleo
  121. [ 0.000000] Ignoring unrecognised tag 0x00000000
  122. [ 0.000000] Memory policy: ECC disabled, Data cache writeback
  123. [ 0.000000] On node 0 totalpages: 32768
  124. [ 0.000000] free_area_init_node: node 0, pgdat c03ff58c, node_mem_map c07c8000
  125. [ 0.000000] Normal zone: 256 pages used for memmap
  126. [ 0.000000] Normal zone: 0 pages reserved
  127. [ 0.000000] Normal zone: 32512 pages, LIFO batch:7
  128. [ 0.000000] console [htc_fb0] enabled
  129. [ 0.000000] ram_console: no valid data in buffer (sig = 0x00000004)
  130. [ 0.000000] console [ram0] enabled
  131. [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
  132. [ 0.000000] Kernel command line: mem=128M
  133. [ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
  134. [ 0.000000] htc_fb_console_init: already initialized, bailing out
  135. [ 0.052215] Console: colour dummy device 80x30
  136. [ 0.104370] console handover: boot [htc_fb0] -> real [tty0]
  137. [ 0.156494] ram_console_early_init: already initialized, bailing out
  138. [ 0.156616] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
  139. [ 0.156829] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
  140. [ 0.163330] Memory: 128MB = 128MB total
  141. [ 0.163360] Memory: 122124KB available (3492K code, 903K data, 400K init)
  142. [ 0.164001] Calibrating delay loop... 509.54 BogoMIPS (lpj=2547712)
  143. [ 0.386474] Mount-cache hash table entries: 512
  144. [ 0.387390] Initializing cgroup subsys debug
  145. [ 0.387420] Initializing cgroup subsys cpuacct
  146. [ 0.387420] Initializing cgroup subsys freezer
  147. [ 0.387451] CPU: Testing write buffer coherency: ok
  148. [ 0.390045] net_namespace: 780 bytes
  149. [ 0.390594] regulator: core version 0.5
  150. [ 0.390899] NET: Registered protocol family 16
  151. [ 0.392120] htcleo_init()
  152. [ 0.392150] msm_proc_comm_wince_init: WinCE PCOM initialized.
  153. [ 0.392181] PLL0 @ f8005300: MODE=00000007 L=0000000c M=00000004 N=00000005 freq=245760000 Hz (245 MHz)
  154. [ 0.392211] PLL1 @ f8005320: MODE=00000007 L=00000028 M=00000000 N=00000001 freq=768000000 Hz (768 MHz)
  155. [ 0.392272] PCB XC: 00000004
  156. [ 0.392272] AMSS version: 15.34.50.07U
  157. [ 0.393432] htcleo_init_mmc()+
  158. [ 0.393585] htcleo_init_mmc()-
  159. [ 0.393585] msm_hsusb_set_vbus_state called before driver initialized
  160. [ 0.649261] bio: create slab <bio-0> at 0
  161. [ 0.650573] msm_i2c_probe
  162. [ 0.650634] msm_i2c_probe: clk_ctl 35d, 100000 Hz
  163. [ 0.651031] msm_i2c msm_i2c.0: IRQ but nothing to do!, status 0
  164. [ 0.654327] NET: Registered protocol family 2
  165. [ 0.654571] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  166. [ 0.655181] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
  167. [ 0.655334] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
  168. [ 0.655395] TCP: Hash tables configured (established 4096 bind 4096)
  169. [ 0.655456] TCP reno registered
  170. [ 0.655731] Switched to high resolution mode on CPU 0
  171. [ 0.655944] NET: Registered protocol family 1
  172. [ 0.658294] checking if image is initramfs... it is
  173. [ 0.778076] Freeing initrd memory: 2812K
  174. [ 0.778839] smd_init()
  175. [ 0.778869] smd_core_init()
  176. [ 0.778961] smd_core_init() done
  177. [ 0.778991] msm_init_last_radio_log: could not retrieve SMEM_CLKREGIM_BSP
  178. [ 0.779510] smd_alloc_channel() cid=00 size=08192 'SMD_DS'
  179. [ 0.779724] smd_alloc_channel() cid=01 size=32768 'SMD_DIAG'
  180. [ 0.779876] smd_alloc_channel() cid=02 size=08192 'SMD_RPCCALL'
  181. [ 0.780059] smd_alloc_channel() cid=05 size=08192 'SMD_CONTROL'
  182. [ 0.780273] smd_alloc_channel() cid=07 size=32768 'SMD_DATA1'
  183. [ 0.780426] smd_alloc_channel() cid=08 size=32768 'SMD_DATA2'
  184. [ 0.780609] smd_alloc_channel() cid=09 size=32768 'SMD_DATA3'
  185. [ 0.780761] smd_alloc_channel() cid=11 size=32768 'SMD_DATA5'
  186. [ 0.780944] smd_alloc_channel() cid=12 size=32768 'SMD_DATA6'
  187. [ 0.781127] smd_alloc_channel() cid=13 size=32768 'SMD_DATA7'
  188. [ 0.781280] smd_alloc_channel() cid=15 size=08192 'SMD_DATA9'
  189. [ 0.781463] smd_alloc_channel() cid=27 size=08192 'SMD_GPSNMEA'
  190. [ 0.781677] smd_alloc_channel() cid=40 size=08192 'DSP_DIAG'
  191. [ 0.781860] smd_alloc_channel() cid 41 does not exist
  192. [ 0.781890] smd_alloc_channel() cid=42 size=08192 'DSP_DAL_AQ_VID'
  193. [ 0.782073] smd_alloc_channel() cid=43 size=08192 'DSP_DAL_AQ_AUD'
  194. [ 0.782226] smd_alloc_channel() cid=46 size=08192 'DSP_DAL00'
  195. [ 0.782409] smd_alloc_channel() cid 47 does not exist
  196. [ 0.782440] smd_alloc_channel() cid=48 size=08192 'SMD_DAL00'
  197. [ 0.783294] RPC Probe
  198. [ 0.783691] RPC Init done
  199. [ 1.006072] RPC Probe done
  200. [ 1.008300] Init Panel
  201. [ 1.008911] mdp_probe: initialized
  202. [ 1.008972] spi: SPI_CONFIG=8f
  203. [ 1.008972] spi: SPI_IO_CONTROL=401
  204. [ 1.009002] spi: SPI_OPERATIONAL=85
  205. [ 1.009033] spi: SPI_ERROR_FLAGS_EN=7f
  206. [ 1.009033] spi: SPI_ERROR_FLAGS=7f
  207. [ 1.009063] -htcleo_init_spi_hack()
  208. [ 1.012939] ashmem: initialized
  209. [ 1.013885] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  210. [ 1.014007] yaffs Mar 25 2010 12:27:13 Installing.
  211. [ 1.018249] alg: No test for stdrng (krng)
  212. [ 1.018371] io scheduler noop registered
  213. [ 1.018402] io scheduler anticipatory registered (default)
  214. [ 1.019256] +mddi_client_nt35399_init()
  215. [ 1.019500] clock-wince: pc_clk_set_rate: id=42 rate=24576000
  216. [ 1.019531] set_mdns_host_clock: FIXME! Don't know how to set clock 42 - no known Md/Ns reg
  217. [ 1.019561] clock-wince: pc_clk_set_rate: id=43 rate=24576000
  218. [ 1.019592] set_mdns_host_clock: FIXME! Don't know how to set clock 43 - no known Md/Ns reg
  219. [ 1.020416] msmfb_probe() installing 480 x 800 panel
  220. [ 1.063751] Console: switching to colour frame buffer device 60x100
  221. [ 1.097076] mdp_lcdc_probe: initialized
  222. [ 1.386871] msm_serial_hs module loaded
  223. [ 1.394653] brd: module loaded
  224. [ 1.398681] loop: module loaded
  225. [ 1.398864] pmem: 1 init
  226. [ 1.400665] pmem_adsp: 1 init
  227. [ 1.402984] pmem_camera: 1 init
  228. [ 1.404327] Android kernel panic handler initialized (bind=crashdata)
  229. [ 1.404479] PPP generic driver version 2.4.2
  230. [ 1.405242] PPP Deflate Compression module registered
  231. [ 1.405364] PPP BSD Compression module registered
  232. [ 1.407531] PPP MPPE Compression module registered
  233. [ 1.407653] NET: Registered protocol family 24
  234. [ 1.408386] Linux video capture interface: v2.00
  235. [ 1.408630] msm_v4l2: msm_v4l2_init
  236. [ 1.409790] msm72k_udc: msm72k_probe
  237. [ 1.409942] msm72k_udc: msm72k_probe() io=c8858000, irq=58, dma=ffa00000(189df000)
  238. [ 1.410797] g_ether gadget: using random self ethernet address
  239. [ 1.410919] g_ether gadget: using random host ethernet address
  240. [ 1.411621] usb0: MAC ae:c6:49:7c:ad:f8
  241. [ 1.411712] usb0: HOST MAC 22:ea:8b:63:ee:cb
  242. [ 1.411834] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
  243. [ 1.411956] g_ether gadget: g_ether ready
  244. [ 1.412017] msm72k_udc: msm72k_udc: registered gadget driver 'g_ether'
  245. [ 1.415008] using rtc device, msm_rtc, for alarms<6>rs30000048:00010000 rs30000048:00010000: rtc core: registered msm_rtc as rtc0
  246. [ 1.415313] AKM8973 compass driver: init
  247. [ 1.415496] msm72k_udc: IDLE -> ONLINE
  248. [ 1.415557] msm72k_udc: msm72k_udc: reset controller
  249. [ 1.416809] input: compass as /devices/virtual/input/input0
  250. [ 1.418395] DS-2745 Init
  251. [ 1.418609] Driver for 1-wire Dallas network protocol.
  252. [ 1.419342] device-mapper: uevent: version 1.0.3
  253. [ 1.420227] device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@redhat.com
  254. [ 1.421142] clock-wince: pc_clk_set_rate: id=21 rate=144000
  255. [ 1.421722] mmc0: Qualcomm MSM SDCC at 0x00000000a0400000 irq 26,240 dma 8
  256. [ 1.421844] mmc0: 4 bit data mode enabled
  257. [ 1.421905] mmc0: MMC clock 144000 -> 50000000 Hz, PCLK 64000000 Hz
  258. [ 1.425537] mmc0: Slot eject status = 0
  259. [ 1.429138] mmc0: Power save feature enable = 1
  260. [ 1.432769] mmc0: DM non-cached buffer at ffa02000, dma_addr 0x189f8000
  261. [ 1.440032] mmc0: DM cmd busaddr 0x189f8000, cmdptr busaddr 0x189f8300
  262. [ 1.448272] htcleo_sdslot_switchvdd: Error setting level (17)
  263. [ 1.457244] logger: created 64K log 'log_main'
  264. [ 1.461608] logger: created 256K log 'log_events'
  265. [ 1.466033] logger: created 64K log 'log_radio'
  266. [ 1.470458] TCP cubic registered
  267. [ 1.474609] NET: Registered protocol family 10
  268. [ 1.479461] lo: Disabled Privacy Extensions
  269. [ 1.484161] Mobile IPv6
  270. [ 1.488159] IPv6 over IPv4 tunneling driver
  271. [ 1.492889] sit0: Disabled Privacy Extensions
  272. [ 1.497711] ip6tnl0: Disabled Privacy Extensions
  273. [ 1.501800] NET: Registered protocol family 17
  274. [ 1.505798] NET: Registered protocol family 15
  275. [ 1.509704] ThumbEE CPU extension supported.
  276. [ 1.553436] clock_late_init() disabled 19 unused clocks
  277. [ 1.557464] VFP support v0.3: implementor 51 architecture 0 part 0f variant 0 rev 1
  278. [ 1.567199] clock-wince: pc_clk_set_rate: id=21 rate=144000
  279. [ 1.575408] msm72k_udc: ulpi: write 0x0c to 0x31
  280. [ 1.579345] msm72k_udc: ulpi: write 0x30 to 0x32
  281. [ 1.583160] msm72k_udc: ulpi: write 0x1d to 0x0d
  282. [ 1.588317] msm72k_udc: ulpi: write 0x1d to 0x10
  283. [ 1.592163] msm72k_udc: ept #0 out max:64 head:ffa00000 bit:0
  284. [ 1.599822] msm72k_udc: ept #1 out max:512 head:ffa00080 bit:1
  285. [ 1.608551] msm72k_udc: ept #2 out max:512 head:ffa00100 bit:2
  286. [ 1.618408] msm72k_udc: ept #3 out max:512 head:ffa00180 bit:3
  287. [ 1.626312] msm72k_udc: ept #4 out max:512 head:ffa00200 bit:4
  288. [ 1.634124] mmc0: Command timeout
  289. [ 1.643157] msm72k_udc: ept #5 out max:512 head:ffa00280 bit:5
  290. [ 1.651000] mmc0: Command timeout
  291. [ 1.660034] msm72k_udc: ept #6 out max:512 head:ffa00300 bit:6
  292. [ 1.667907] mmc0: Command timeout
  293. [ 1.676971] msm72k_udc: ept #7 out max:512 head:ffa00380 bit:7
  294. [ 1.684936] mmc0: Command timeout
  295. [ 1.694030] msm72k_udc: ept #8 out max:512 head:ffa00400 bit:8
  296. [ 1.702056] msm72k_udc: ept #9 out max:512 head:ffa00480 bit:9
  297. [ 1.709991] htcleo_sdslot_switchvdd: Error setting level (15)
  298. [ 1.719116] msm72k_udc: ept #10 out max:512 head:ffa00500 bit:10
  299. [ 1.729309] msm72k_udc: ept #11 out max:512 head:ffa00580 bit:11
  300. [ 1.737487] msm72k_udc: ept #12 out max:512 head:ffa00600 bit:12
  301. [ 1.745635] msm72k_udc: ept #13 out max:512 head:ffa00680 bit:13
  302. [ 1.753753] msm72k_udc: ept #14 out max:512 head:ffa00700 bit:14
  303. [ 1.761901] msm72k_udc: ept #15 out max:512 head:ffa00780 bit:15
  304. [ 1.770263] msm72k_udc: ept #0 in max:64 head:ffa00040 bit:16
  305. [ 1.778717] msm72k_udc: ept #1 in max:512 head:ffa000c0 bit:17
  306. [ 1.787292] msm72k_udc: ept #2 in max:512 head:ffa00140 bit:18
  307. [ 1.795867] msm72k_udc: ept #3 in max:512 head:ffa001c0 bit:19
  308. [ 1.804534] msm72k_udc: ept #4 in max:512 head:ffa00240 bit:20
  309. [ 1.813171] msm72k_udc: ept #5 in max:512 head:ffa002c0 bit:21
  310. [ 1.821838] msm72k_udc: ept #6 in max:512 head:ffa00340 bit:22
  311. [ 1.830688] msm72k_udc: ept #7 in max:512 head:ffa003c0 bit:23
  312. [ 1.839630] msm72k_udc: ept #8 in max:512 head:ffa00440 bit:24
  313. [ 1.848388] clock-wince: pc_clk_set_rate: id=21 rate=25000000
  314. [ 1.857086] mmc0: host does not support reading read-only switch. assuming write-enable.
  315. [ 1.865814] mmc0: new SD card at address e241
  316. [ 1.870758] msm72k_udc: ept #9 in max:512 head:ffa004c0 bit:25
  317. [ 1.879638] mmcblk0: mmc0:e241 SU02G 1.84 GiB
  318. [ 1.884399] mmcblk0:<6>msm72k_udc: ept #10 in max:512 head:ffa00540 bit:26
  319. [ 1.893676] p1 p2
  320. [ 1.899261] msm72k_udc: ept #11 in max:512 head:ffa005c0 bit:27
  321. [ 1.908233] msm72k_udc: ept #12 in max:512 head:ffa00640 bit:28
  322. [ 1.917327] msm72k_udc: ept #13 in max:512 head:ffa006c0 bit:29
  323. [ 1.926452] msm72k_udc: ept #14 in max:512 head:ffa00740 bit:30
  324. [ 1.935546] mdp irq already on 4000 4000
  325. [ 1.940093] mdp_dma: busy
  326. [ 1.944641] msm72k_udc: ept #15 in max:512 head:ffa007c0 bit:31
  327. [ 1.953948] usb: notify offline
  328. [ 1.958648] rs30000048:00010000 rs30000048:00010000: setting system clock to 2010-02-20 23:55:09 UTC (1266710109)
  329. [ 1.967987] msm72k_udc: msm72k_udc: suspend
  330. [ 1.972808] Freeing init memory: 400K
  331. [ 2.221771] msm72k_udc: msm72k_udc: reset
  332. [ 2.226348] msm72k_udc: msm72k_udc: portchange USB_SPEED_HIGH
  333. [ 2.378326] msm72k_udc: setup: type=80 req=06 val=0100 idx=0000 len=0040
  334. [ 2.390960] msm72k_udc: msm72k_udc: reset
  335. [ 2.395538] msm72k_udc: msm72k_udc: portchange USB_SPEED_HIGH
  336. [ 2.545532] msm72k_udc: setup: type=00 req=05 val=0002 idx=0000 len=0000
  337. [ 2.597351] msm72k_udc: setup: type=80 req=06 val=0100 idx=0000 len=0012
  338. [ 2.607543] msm72k_udc: setup: type=80 req=06 val=0200 idx=0000 len=00ff
  339. [ 2.618804] msm72k_udc: setup: type=80 req=06 val=0300 idx=0000 len=00ff
  340. [ 2.629058] msm72k_udc: setup: type=80 req=06 val=0302 idx=0409 len=00ff
  341. [ 3.119201] ADDRCONF(NETDEV_UP): usb0: link is not ready
  342. [ 3.153411] msm72k_udc: setup: type=80 req=06 val=0100 idx=0000 len=0040
  343.  
  344.  
  345.  
  346. lsusb from after cdc negotiation on my desktop ..
  347. root@ubuntu:/home/cass/htcleo/initrd/etc# lsusb -v
  348.  
  349. Bus 001 Device 037: ID 0525:a4a2 Netchip Technology, Inc. Linux-USB Ethernet/RNDIS Gadget
  350. Device Descriptor:
  351. bLength 18
  352. bDescriptorType 1
  353. bcdUSB 2.00
  354. bDeviceClass 2 Communications
  355. bDeviceSubClass 0
  356. bDeviceProtocol 0
  357. bMaxPacketSize0 64
  358. idVendor 0x0525 Netchip Technology, Inc.
  359. idProduct 0xa4a2 Linux-USB Ethernet/RNDIS Gadget
  360. bcdDevice 3.24
  361. iManufacturer 1 Linux 2.6.29-01182-gcbfe363-dirty with msm72k_udc
  362. iProduct 2 RNDIS/Ethernet Gadget
  363. iSerial 0
  364. bNumConfigurations 2
  365. Configuration Descriptor:
  366. bLength 9
  367. bDescriptorType 2
  368. wTotalLength 67
  369. bNumInterfaces 2
  370. bConfigurationValue 2
  371. iConfiguration 0
  372. bmAttributes 0xc0
  373. Self Powered
  374. MaxPower 2mA
  375. Interface Descriptor:
  376. bLength 9
  377. bDescriptorType 4
  378. bInterfaceNumber 0
  379. bAlternateSetting 0
  380. bNumEndpoints 1
  381. bInterfaceClass 2 Communications
  382. bInterfaceSubClass 2 Abstract (modem)
  383. bInterfaceProtocol 255 Vendor Specific (MSFT RNDIS?)
  384. iInterface 3 RNDIS Communications Control
  385. CDC Header:
  386. bcdCDC 1.10
  387. CDC Call Management:
  388. bmCapabilities 0x00
  389. bDataInterface 1
  390. CDC ACM:
  391. bmCapabilities 0x00
  392. CDC Union:
  393. bMasterInterface 0
  394. bSlaveInterface 1
  395. Endpoint Descriptor:
  396. bLength 7
  397. bDescriptorType 5
  398. bEndpointAddress 0x82 EP 2 IN
  399. bmAttributes 3
  400. Transfer Type Interrupt
  401. Synch Type None
  402. Usage Type Data
  403. wMaxPacketSize 0x0008 1x 8 bytes
  404. bInterval 9
  405. Interface Descriptor:
  406. bLength 9
  407. bDescriptorType 4
  408. bInterfaceNumber 1
  409. bAlternateSetting 0
  410. bNumEndpoints 2
  411. bInterfaceClass 10 CDC Data
  412. bInterfaceSubClass 0 Unused
  413. bInterfaceProtocol 0
  414. iInterface 4 RNDIS Ethernet Data
  415. Endpoint Descriptor:
  416. bLength 7
  417. bDescriptorType 5
  418. bEndpointAddress 0x81 EP 1 IN
  419. bmAttributes 2
  420. Transfer Type Bulk
  421. Synch Type None
  422. Usage Type Data
  423. wMaxPacketSize 0x0200 1x 512 bytes
  424. bInterval 0
  425. Endpoint Descriptor:
  426. bLength 7
  427. bDescriptorType 5
  428. bEndpointAddress 0x01 EP 1 OUT
  429. bmAttributes 2
  430. Transfer Type Bulk
  431. Synch Type None
  432. Usage Type Data
  433. wMaxPacketSize 0x0200 1x 512 bytes
  434. bInterval 0
  435. Configuration Descriptor:
  436. bLength 9
  437. bDescriptorType 2
  438. wTotalLength 80
  439. bNumInterfaces 2
  440. bConfigurationValue 1
  441. iConfiguration 0
  442. bmAttributes 0xc0
  443. Self Powered
  444. MaxPower 2mA
  445. Interface Descriptor:
  446. bLength 9
  447. bDescriptorType 4
  448. bInterfaceNumber 0
  449. bAlternateSetting 0
  450. bNumEndpoints 1
  451. bInterfaceClass 2 Communications
  452. bInterfaceSubClass 6 Ethernet Networking
  453. bInterfaceProtocol 0
  454. iInterface 5 CDC Ethernet Control Model (ECM)
  455. CDC Header:
  456. bcdCDC 1.10
  457. CDC Union:
  458. bMasterInterface 0
  459. bSlaveInterface 1
  460. CDC Ethernet:
  461. iMacAddress 7 7656993983A4
  462. bmEthernetStatistics 0x00000000
  463. wMaxSegmentSize 1514
  464. wNumberMCFilters 0x0000
  465. bNumberPowerFilters 0
  466. Endpoint Descriptor:
  467. bLength 7
  468. bDescriptorType 5
  469. bEndpointAddress 0x82 EP 2 IN
  470. bmAttributes 3
  471. Transfer Type Interrupt
  472. Synch Type None
  473. Usage Type Data
  474. wMaxPacketSize 0x0010 1x 16 bytes
  475. bInterval 9
  476. Interface Descriptor:
  477. bLength 9
  478. bDescriptorType 4
  479. bInterfaceNumber 1
  480. bAlternateSetting 0
  481. bNumEndpoints 0
  482. bInterfaceClass 10 CDC Data
  483. bInterfaceSubClass 0 Unused
  484. bInterfaceProtocol 0
  485. iInterface 0
  486. Interface Descriptor:
  487. bLength 9
  488. bDescriptorType 4
  489. bInterfaceNumber 1
  490. bAlternateSetting 1
  491. bNumEndpoints 2
  492. bInterfaceClass 10 CDC Data
  493. bInterfaceSubClass 0 Unused
  494. bInterfaceProtocol 0
  495. iInterface 6 CDC Ethernet Data
  496. Endpoint Descriptor:
  497. bLength 7
  498. bDescriptorType 5
  499. bEndpointAddress 0x81 EP 1 IN
  500. bmAttributes 2
  501. Transfer Type Bulk
  502. Synch Type None
  503. Usage Type Data
  504. wMaxPacketSize 0x0200 1x 512 bytes
  505. bInterval 0
  506. Endpoint Descriptor:
  507. bLength 7
  508. bDescriptorType 5
  509. bEndpointAddress 0x01 EP 1 OUT
  510. bmAttributes 2
  511. Transfer Type Bulk
  512. Synch Type None
  513. Usage Type Data
  514. wMaxPacketSize 0x0200 1x 512 bytes
  515. bInterval 0
  516. Device Qualifier (for other device speed):
  517. bLength 10
  518. bDescriptorType 6
  519. bcdUSB 2.00
  520. bDeviceClass 2 Communications
  521. bDeviceSubClass 0
  522. bDeviceProtocol 0
  523. bMaxPacketSize0 64
  524. bNumConfigurations 2
  525. Device Status: 0x0001
  526. Self Powered
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement