Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ohh and now a ping and telnet ... telnet hangs as i dont think tty is correct on the image yet ..
- root@ubuntu:/home/cass/htcleo/initrd# ifconfig usb0 192.168.1.2 netmask 255.255.255.0 up
- root@ubuntu:/home/cass/htcleo/initrd# ping 192.168.1.1
- PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
- 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=28.4 ms
- 64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=1.25 ms
- 64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=1.29 ms
- 64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=2.16 ms
- 64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=1.55 ms
- 64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=2.43 ms
- 64 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=1.52 ms
- ^C
- --- 192.168.1.1 ping statistics ---
- 7 packets transmitted, 7 received, 0% packet loss, time 6094ms
- rtt min/avg/max/mdev = 1.253/5.523/28.431/9.361 ms
- root@ubuntu:/home/cass/htcleo/initrd# telnet 192.169.1.1
- Trying 192.169.1.1...
- ^C
- root@ubuntu:/home/cass/htcleo/initrd# telnet 192.168.1.1
- Trying 192.168.1.1...
- Connected to 192.168.1.1.
- Escape character is '^]'.
- ^C^C
- Finally it sees gadget ether - Dmesg from my linux box
- [30378.772390] usb 1-1: new high speed USB device using ehci_hcd and address 32
- [30379.300936] usb 1-1: configuration #1 chosen from 2 choices
- [30379.408012] usb0: register 'cdc_ether' at usb-0000:02:03.0-1, CDC Ethernet Device, 76:56:99:39:83:a4
- [30389.822977] usb0: no IPv6 routers present
- root@ubuntu:/home/cass/htcleo/initrd# ifconfig usb0
- usb0 Link encap:Ethernet HWaddr 76:56:99:39:83:a4
- inet addr:10.0.0.251 Bcast:10.0.0.255 Mask:255.255.255.0
- inet6 addr: fe80::7456:99ff:fe39:83a4/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:85 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:7589 (7.5 KB)
- root@ubuntu:/home/cass/htcleo/initrd# ping 10.0.0.250
- PING 10.0.0.250 (10.0.0.250) 56(84) bytes of data.
- From 10.0.0.251 icmp_seq=2 Destination Host Unreachable
- From 10.0.0.251 icmp_seq=3 Destination Host Unreachable
- From 10.0.0.251 icmp_seq=4 Destination Host Unreachable
- ^C
- --- 10.0.0.250 ping statistics ---
- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3051ms
- , pipe 3
- 10.0.0.250 is the interface configured by me manually on the Leo ...
- Image, .config, cass.fs and default.txt all uploaded to
- http://www.megaupload.com/?d=IQ55N0Q3
- 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 ..
- /htcleo/kernel/drivers/net/usb/
- -rw-r--r-- 1 root root 12164 2010-03-23 20:03 zaurus.c
- -rw-r--r-- 1 cass cass 17235 2010-03-25 10:46 cdc_ether.c
- -rw-r--r-- 1 cass cass 11070 2010-03-25 12:14 cdc_subset.c
- CHANGES MADE :
- cdc_subset.c
- #ifdef CONFIG_USB_LEO
- {
- USB_DEVICE (0x0BB4, 0x0B40), // LEO
- .driver_info = (unsigned long) &kc2190_info,
- },
- #endif
- cdc_ether.c
- }, {
- /* Ericsson F3507g */
- //USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1900, USB_CLASS_COMM,
- USB_DEVICE_AND_INTERFACE_INFO(0x0bb4, 0x0b40, USB_CLASS_COMM,
- USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
- .driver_info = (unsigned long) &cdc_info,
- },
- { }, // END
- };
- zaurus.c
- {
- .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
- | USB_DEVICE_ID_MATCH_DEVICE,
- .idVendor = 0x0DD4,
- .idProduct = 0x0B40, /* LE0*/
- ZAURUS_MASTER_INTERFACE,
- .driver_info = ZAURUS_PXA_INFO,
- },
- DMESG from LEO
- [ 0.000000] Initializing cgroup subsys cpu
- [ 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
- [ 0.000000] CPU: ARMv7 Processor [510f00f2] revision 2 (ARMv7), cr=10c5387f
- [ 0.000000] CPU: VIPT nonaliasing data cache, VIVT ASID tagged instruction cache
- [ 0.000000] Machine: htcleo
- [ 0.000000] Ignoring unrecognised tag 0x00000000
- [ 0.000000] Memory policy: ECC disabled, Data cache writeback
- [ 0.000000] On node 0 totalpages: 32768
- [ 0.000000] free_area_init_node: node 0, pgdat c03ff58c, node_mem_map c07c8000
- [ 0.000000] Normal zone: 256 pages used for memmap
- [ 0.000000] Normal zone: 0 pages reserved
- [ 0.000000] Normal zone: 32512 pages, LIFO batch:7
- [ 0.000000] console [htc_fb0] enabled
- [ 0.000000] ram_console: no valid data in buffer (sig = 0x00000004)
- [ 0.000000] console [ram0] enabled
- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
- [ 0.000000] Kernel command line: mem=128M
- [ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
- [ 0.000000] htc_fb_console_init: already initialized, bailing out
- [ 0.052215] Console: colour dummy device 80x30
- [ 0.104370] console handover: boot [htc_fb0] -> real [tty0]
- [ 0.156494] ram_console_early_init: already initialized, bailing out
- [ 0.156616] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
- [ 0.156829] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
- [ 0.163330] Memory: 128MB = 128MB total
- [ 0.163360] Memory: 122124KB available (3492K code, 903K data, 400K init)
- [ 0.164001] Calibrating delay loop... 509.54 BogoMIPS (lpj=2547712)
- [ 0.386474] Mount-cache hash table entries: 512
- [ 0.387390] Initializing cgroup subsys debug
- [ 0.387420] Initializing cgroup subsys cpuacct
- [ 0.387420] Initializing cgroup subsys freezer
- [ 0.387451] CPU: Testing write buffer coherency: ok
- [ 0.390045] net_namespace: 780 bytes
- [ 0.390594] regulator: core version 0.5
- [ 0.390899] NET: Registered protocol family 16
- [ 0.392120] htcleo_init()
- [ 0.392150] msm_proc_comm_wince_init: WinCE PCOM initialized.
- [ 0.392181] PLL0 @ f8005300: MODE=00000007 L=0000000c M=00000004 N=00000005 freq=245760000 Hz (245 MHz)
- [ 0.392211] PLL1 @ f8005320: MODE=00000007 L=00000028 M=00000000 N=00000001 freq=768000000 Hz (768 MHz)
- [ 0.392272] PCB XC: 00000004
- [ 0.392272] AMSS version: 15.34.50.07U
- [ 0.393432] htcleo_init_mmc()+
- [ 0.393585] htcleo_init_mmc()-
- [ 0.393585] msm_hsusb_set_vbus_state called before driver initialized
- [ 0.649261] bio: create slab <bio-0> at 0
- [ 0.650573] msm_i2c_probe
- [ 0.650634] msm_i2c_probe: clk_ctl 35d, 100000 Hz
- [ 0.651031] msm_i2c msm_i2c.0: IRQ but nothing to do!, status 0
- [ 0.654327] NET: Registered protocol family 2
- [ 0.654571] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.655181] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
- [ 0.655334] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
- [ 0.655395] TCP: Hash tables configured (established 4096 bind 4096)
- [ 0.655456] TCP reno registered
- [ 0.655731] Switched to high resolution mode on CPU 0
- [ 0.655944] NET: Registered protocol family 1
- [ 0.658294] checking if image is initramfs... it is
- [ 0.778076] Freeing initrd memory: 2812K
- [ 0.778839] smd_init()
- [ 0.778869] smd_core_init()
- [ 0.778961] smd_core_init() done
- [ 0.778991] msm_init_last_radio_log: could not retrieve SMEM_CLKREGIM_BSP
- [ 0.779510] smd_alloc_channel() cid=00 size=08192 'SMD_DS'
- [ 0.779724] smd_alloc_channel() cid=01 size=32768 'SMD_DIAG'
- [ 0.779876] smd_alloc_channel() cid=02 size=08192 'SMD_RPCCALL'
- [ 0.780059] smd_alloc_channel() cid=05 size=08192 'SMD_CONTROL'
- [ 0.780273] smd_alloc_channel() cid=07 size=32768 'SMD_DATA1'
- [ 0.780426] smd_alloc_channel() cid=08 size=32768 'SMD_DATA2'
- [ 0.780609] smd_alloc_channel() cid=09 size=32768 'SMD_DATA3'
- [ 0.780761] smd_alloc_channel() cid=11 size=32768 'SMD_DATA5'
- [ 0.780944] smd_alloc_channel() cid=12 size=32768 'SMD_DATA6'
- [ 0.781127] smd_alloc_channel() cid=13 size=32768 'SMD_DATA7'
- [ 0.781280] smd_alloc_channel() cid=15 size=08192 'SMD_DATA9'
- [ 0.781463] smd_alloc_channel() cid=27 size=08192 'SMD_GPSNMEA'
- [ 0.781677] smd_alloc_channel() cid=40 size=08192 'DSP_DIAG'
- [ 0.781860] smd_alloc_channel() cid 41 does not exist
- [ 0.781890] smd_alloc_channel() cid=42 size=08192 'DSP_DAL_AQ_VID'
- [ 0.782073] smd_alloc_channel() cid=43 size=08192 'DSP_DAL_AQ_AUD'
- [ 0.782226] smd_alloc_channel() cid=46 size=08192 'DSP_DAL00'
- [ 0.782409] smd_alloc_channel() cid 47 does not exist
- [ 0.782440] smd_alloc_channel() cid=48 size=08192 'SMD_DAL00'
- [ 0.783294] RPC Probe
- [ 0.783691] RPC Init done
- [ 1.006072] RPC Probe done
- [ 1.008300] Init Panel
- [ 1.008911] mdp_probe: initialized
- [ 1.008972] spi: SPI_CONFIG=8f
- [ 1.008972] spi: SPI_IO_CONTROL=401
- [ 1.009002] spi: SPI_OPERATIONAL=85
- [ 1.009033] spi: SPI_ERROR_FLAGS_EN=7f
- [ 1.009033] spi: SPI_ERROR_FLAGS=7f
- [ 1.009063] -htcleo_init_spi_hack()
- [ 1.012939] ashmem: initialized
- [ 1.013885] squashfs: version 4.0 (2009/01/31) Phillip Lougher
- [ 1.014007] yaffs Mar 25 2010 12:27:13 Installing.
- [ 1.018249] alg: No test for stdrng (krng)
- [ 1.018371] io scheduler noop registered
- [ 1.018402] io scheduler anticipatory registered (default)
- [ 1.019256] +mddi_client_nt35399_init()
- [ 1.019500] clock-wince: pc_clk_set_rate: id=42 rate=24576000
- [ 1.019531] set_mdns_host_clock: FIXME! Don't know how to set clock 42 - no known Md/Ns reg
- [ 1.019561] clock-wince: pc_clk_set_rate: id=43 rate=24576000
- [ 1.019592] set_mdns_host_clock: FIXME! Don't know how to set clock 43 - no known Md/Ns reg
- [ 1.020416] msmfb_probe() installing 480 x 800 panel
- [ 1.063751] Console: switching to colour frame buffer device 60x100
- [ 1.097076] mdp_lcdc_probe: initialized
- [ 1.386871] msm_serial_hs module loaded
- [ 1.394653] brd: module loaded
- [ 1.398681] loop: module loaded
- [ 1.398864] pmem: 1 init
- [ 1.400665] pmem_adsp: 1 init
- [ 1.402984] pmem_camera: 1 init
- [ 1.404327] Android kernel panic handler initialized (bind=crashdata)
- [ 1.404479] PPP generic driver version 2.4.2
- [ 1.405242] PPP Deflate Compression module registered
- [ 1.405364] PPP BSD Compression module registered
- [ 1.407531] PPP MPPE Compression module registered
- [ 1.407653] NET: Registered protocol family 24
- [ 1.408386] Linux video capture interface: v2.00
- [ 1.408630] msm_v4l2: msm_v4l2_init
- [ 1.409790] msm72k_udc: msm72k_probe
- [ 1.409942] msm72k_udc: msm72k_probe() io=c8858000, irq=58, dma=ffa00000(189df000)
- [ 1.410797] g_ether gadget: using random self ethernet address
- [ 1.410919] g_ether gadget: using random host ethernet address
- [ 1.411621] usb0: MAC ae:c6:49:7c:ad:f8
- [ 1.411712] usb0: HOST MAC 22:ea:8b:63:ee:cb
- [ 1.411834] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
- [ 1.411956] g_ether gadget: g_ether ready
- [ 1.412017] msm72k_udc: msm72k_udc: registered gadget driver 'g_ether'
- [ 1.415008] using rtc device, msm_rtc, for alarms<6>rs30000048:00010000 rs30000048:00010000: rtc core: registered msm_rtc as rtc0
- [ 1.415313] AKM8973 compass driver: init
- [ 1.415496] msm72k_udc: IDLE -> ONLINE
- [ 1.415557] msm72k_udc: msm72k_udc: reset controller
- [ 1.416809] input: compass as /devices/virtual/input/input0
- [ 1.418395] DS-2745 Init
- [ 1.418609] Driver for 1-wire Dallas network protocol.
- [ 1.419342] device-mapper: uevent: version 1.0.3
- [ 1.420227] device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@redhat.com
- [ 1.421142] clock-wince: pc_clk_set_rate: id=21 rate=144000
- [ 1.421722] mmc0: Qualcomm MSM SDCC at 0x00000000a0400000 irq 26,240 dma 8
- [ 1.421844] mmc0: 4 bit data mode enabled
- [ 1.421905] mmc0: MMC clock 144000 -> 50000000 Hz, PCLK 64000000 Hz
- [ 1.425537] mmc0: Slot eject status = 0
- [ 1.429138] mmc0: Power save feature enable = 1
- [ 1.432769] mmc0: DM non-cached buffer at ffa02000, dma_addr 0x189f8000
- [ 1.440032] mmc0: DM cmd busaddr 0x189f8000, cmdptr busaddr 0x189f8300
- [ 1.448272] htcleo_sdslot_switchvdd: Error setting level (17)
- [ 1.457244] logger: created 64K log 'log_main'
- [ 1.461608] logger: created 256K log 'log_events'
- [ 1.466033] logger: created 64K log 'log_radio'
- [ 1.470458] TCP cubic registered
- [ 1.474609] NET: Registered protocol family 10
- [ 1.479461] lo: Disabled Privacy Extensions
- [ 1.484161] Mobile IPv6
- [ 1.488159] IPv6 over IPv4 tunneling driver
- [ 1.492889] sit0: Disabled Privacy Extensions
- [ 1.497711] ip6tnl0: Disabled Privacy Extensions
- [ 1.501800] NET: Registered protocol family 17
- [ 1.505798] NET: Registered protocol family 15
- [ 1.509704] ThumbEE CPU extension supported.
- [ 1.553436] clock_late_init() disabled 19 unused clocks
- [ 1.557464] VFP support v0.3: implementor 51 architecture 0 part 0f variant 0 rev 1
- [ 1.567199] clock-wince: pc_clk_set_rate: id=21 rate=144000
- [ 1.575408] msm72k_udc: ulpi: write 0x0c to 0x31
- [ 1.579345] msm72k_udc: ulpi: write 0x30 to 0x32
- [ 1.583160] msm72k_udc: ulpi: write 0x1d to 0x0d
- [ 1.588317] msm72k_udc: ulpi: write 0x1d to 0x10
- [ 1.592163] msm72k_udc: ept #0 out max:64 head:ffa00000 bit:0
- [ 1.599822] msm72k_udc: ept #1 out max:512 head:ffa00080 bit:1
- [ 1.608551] msm72k_udc: ept #2 out max:512 head:ffa00100 bit:2
- [ 1.618408] msm72k_udc: ept #3 out max:512 head:ffa00180 bit:3
- [ 1.626312] msm72k_udc: ept #4 out max:512 head:ffa00200 bit:4
- [ 1.634124] mmc0: Command timeout
- [ 1.643157] msm72k_udc: ept #5 out max:512 head:ffa00280 bit:5
- [ 1.651000] mmc0: Command timeout
- [ 1.660034] msm72k_udc: ept #6 out max:512 head:ffa00300 bit:6
- [ 1.667907] mmc0: Command timeout
- [ 1.676971] msm72k_udc: ept #7 out max:512 head:ffa00380 bit:7
- [ 1.684936] mmc0: Command timeout
- [ 1.694030] msm72k_udc: ept #8 out max:512 head:ffa00400 bit:8
- [ 1.702056] msm72k_udc: ept #9 out max:512 head:ffa00480 bit:9
- [ 1.709991] htcleo_sdslot_switchvdd: Error setting level (15)
- [ 1.719116] msm72k_udc: ept #10 out max:512 head:ffa00500 bit:10
- [ 1.729309] msm72k_udc: ept #11 out max:512 head:ffa00580 bit:11
- [ 1.737487] msm72k_udc: ept #12 out max:512 head:ffa00600 bit:12
- [ 1.745635] msm72k_udc: ept #13 out max:512 head:ffa00680 bit:13
- [ 1.753753] msm72k_udc: ept #14 out max:512 head:ffa00700 bit:14
- [ 1.761901] msm72k_udc: ept #15 out max:512 head:ffa00780 bit:15
- [ 1.770263] msm72k_udc: ept #0 in max:64 head:ffa00040 bit:16
- [ 1.778717] msm72k_udc: ept #1 in max:512 head:ffa000c0 bit:17
- [ 1.787292] msm72k_udc: ept #2 in max:512 head:ffa00140 bit:18
- [ 1.795867] msm72k_udc: ept #3 in max:512 head:ffa001c0 bit:19
- [ 1.804534] msm72k_udc: ept #4 in max:512 head:ffa00240 bit:20
- [ 1.813171] msm72k_udc: ept #5 in max:512 head:ffa002c0 bit:21
- [ 1.821838] msm72k_udc: ept #6 in max:512 head:ffa00340 bit:22
- [ 1.830688] msm72k_udc: ept #7 in max:512 head:ffa003c0 bit:23
- [ 1.839630] msm72k_udc: ept #8 in max:512 head:ffa00440 bit:24
- [ 1.848388] clock-wince: pc_clk_set_rate: id=21 rate=25000000
- [ 1.857086] mmc0: host does not support reading read-only switch. assuming write-enable.
- [ 1.865814] mmc0: new SD card at address e241
- [ 1.870758] msm72k_udc: ept #9 in max:512 head:ffa004c0 bit:25
- [ 1.879638] mmcblk0: mmc0:e241 SU02G 1.84 GiB
- [ 1.884399] mmcblk0:<6>msm72k_udc: ept #10 in max:512 head:ffa00540 bit:26
- [ 1.893676] p1 p2
- [ 1.899261] msm72k_udc: ept #11 in max:512 head:ffa005c0 bit:27
- [ 1.908233] msm72k_udc: ept #12 in max:512 head:ffa00640 bit:28
- [ 1.917327] msm72k_udc: ept #13 in max:512 head:ffa006c0 bit:29
- [ 1.926452] msm72k_udc: ept #14 in max:512 head:ffa00740 bit:30
- [ 1.935546] mdp irq already on 4000 4000
- [ 1.940093] mdp_dma: busy
- [ 1.944641] msm72k_udc: ept #15 in max:512 head:ffa007c0 bit:31
- [ 1.953948] usb: notify offline
- [ 1.958648] rs30000048:00010000 rs30000048:00010000: setting system clock to 2010-02-20 23:55:09 UTC (1266710109)
- [ 1.967987] msm72k_udc: msm72k_udc: suspend
- [ 1.972808] Freeing init memory: 400K
- [ 2.221771] msm72k_udc: msm72k_udc: reset
- [ 2.226348] msm72k_udc: msm72k_udc: portchange USB_SPEED_HIGH
- [ 2.378326] msm72k_udc: setup: type=80 req=06 val=0100 idx=0000 len=0040
- [ 2.390960] msm72k_udc: msm72k_udc: reset
- [ 2.395538] msm72k_udc: msm72k_udc: portchange USB_SPEED_HIGH
- [ 2.545532] msm72k_udc: setup: type=00 req=05 val=0002 idx=0000 len=0000
- [ 2.597351] msm72k_udc: setup: type=80 req=06 val=0100 idx=0000 len=0012
- [ 2.607543] msm72k_udc: setup: type=80 req=06 val=0200 idx=0000 len=00ff
- [ 2.618804] msm72k_udc: setup: type=80 req=06 val=0300 idx=0000 len=00ff
- [ 2.629058] msm72k_udc: setup: type=80 req=06 val=0302 idx=0409 len=00ff
- [ 3.119201] ADDRCONF(NETDEV_UP): usb0: link is not ready
- [ 3.153411] msm72k_udc: setup: type=80 req=06 val=0100 idx=0000 len=0040
- lsusb from after cdc negotiation on my desktop ..
- root@ubuntu:/home/cass/htcleo/initrd/etc# lsusb -v
- Bus 001 Device 037: ID 0525:a4a2 Netchip Technology, Inc. Linux-USB Ethernet/RNDIS Gadget
- Device Descriptor:
- bLength 18
- bDescriptorType 1
- bcdUSB 2.00
- bDeviceClass 2 Communications
- bDeviceSubClass 0
- bDeviceProtocol 0
- bMaxPacketSize0 64
- idVendor 0x0525 Netchip Technology, Inc.
- idProduct 0xa4a2 Linux-USB Ethernet/RNDIS Gadget
- bcdDevice 3.24
- iManufacturer 1 Linux 2.6.29-01182-gcbfe363-dirty with msm72k_udc
- iProduct 2 RNDIS/Ethernet Gadget
- iSerial 0
- bNumConfigurations 2
- Configuration Descriptor:
- bLength 9
- bDescriptorType 2
- wTotalLength 67
- bNumInterfaces 2
- bConfigurationValue 2
- iConfiguration 0
- bmAttributes 0xc0
- Self Powered
- MaxPower 2mA
- Interface Descriptor:
- bLength 9
- bDescriptorType 4
- bInterfaceNumber 0
- bAlternateSetting 0
- bNumEndpoints 1
- bInterfaceClass 2 Communications
- bInterfaceSubClass 2 Abstract (modem)
- bInterfaceProtocol 255 Vendor Specific (MSFT RNDIS?)
- iInterface 3 RNDIS Communications Control
- CDC Header:
- bcdCDC 1.10
- CDC Call Management:
- bmCapabilities 0x00
- bDataInterface 1
- CDC ACM:
- bmCapabilities 0x00
- CDC Union:
- bMasterInterface 0
- bSlaveInterface 1
- Endpoint Descriptor:
- bLength 7
- bDescriptorType 5
- bEndpointAddress 0x82 EP 2 IN
- bmAttributes 3
- Transfer Type Interrupt
- Synch Type None
- Usage Type Data
- wMaxPacketSize 0x0008 1x 8 bytes
- bInterval 9
- Interface Descriptor:
- bLength 9
- bDescriptorType 4
- bInterfaceNumber 1
- bAlternateSetting 0
- bNumEndpoints 2
- bInterfaceClass 10 CDC Data
- bInterfaceSubClass 0 Unused
- bInterfaceProtocol 0
- iInterface 4 RNDIS Ethernet Data
- 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 0
- 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 0
- Configuration Descriptor:
- bLength 9
- bDescriptorType 2
- wTotalLength 80
- bNumInterfaces 2
- bConfigurationValue 1
- iConfiguration 0
- bmAttributes 0xc0
- Self Powered
- MaxPower 2mA
- Interface Descriptor:
- bLength 9
- bDescriptorType 4
- bInterfaceNumber 0
- bAlternateSetting 0
- bNumEndpoints 1
- bInterfaceClass 2 Communications
- bInterfaceSubClass 6 Ethernet Networking
- bInterfaceProtocol 0
- iInterface 5 CDC Ethernet Control Model (ECM)
- CDC Header:
- bcdCDC 1.10
- CDC Union:
- bMasterInterface 0
- bSlaveInterface 1
- CDC Ethernet:
- iMacAddress 7 7656993983A4
- bmEthernetStatistics 0x00000000
- wMaxSegmentSize 1514
- wNumberMCFilters 0x0000
- bNumberPowerFilters 0
- Endpoint Descriptor:
- bLength 7
- bDescriptorType 5
- bEndpointAddress 0x82 EP 2 IN
- bmAttributes 3
- Transfer Type Interrupt
- Synch Type None
- Usage Type Data
- wMaxPacketSize 0x0010 1x 16 bytes
- bInterval 9
- Interface Descriptor:
- bLength 9
- bDescriptorType 4
- bInterfaceNumber 1
- bAlternateSetting 0
- bNumEndpoints 0
- bInterfaceClass 10 CDC Data
- bInterfaceSubClass 0 Unused
- bInterfaceProtocol 0
- iInterface 0
- Interface Descriptor:
- bLength 9
- bDescriptorType 4
- bInterfaceNumber 1
- bAlternateSetting 1
- bNumEndpoints 2
- bInterfaceClass 10 CDC Data
- bInterfaceSubClass 0 Unused
- bInterfaceProtocol 0
- iInterface 6 CDC Ethernet Data
- 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 0
- 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 0
- Device Qualifier (for other device speed):
- bLength 10
- bDescriptorType 6
- bcdUSB 2.00
- bDeviceClass 2 Communications
- bDeviceSubClass 0
- bDeviceProtocol 0
- bMaxPacketSize0 64
- bNumConfigurations 2
- Device Status: 0x0001
- Self Powered
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement