Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: USB networking (cdce) with Linux host (g_ether)
Hi,
From: Nick Hudson <skrll%netbsd.org@localhost>, Date: Sun, 05 Apr 2015 10:12:50 +0100
> On 04/05/15 01:52, Ryo ONODERA wrote:
>> Hi,
>>
>> I believe that following patch is good for us because my USB modem
>> device
>> is bad information and it should be treated as special case.
>>
>> Index: sys/dev/usb/umodem.c
>> ===================================================================
>> RCS file: /cvsroot/src/sys/dev/usb/umodem.c,v
>> retrieving revision 1.66
>> diff -u -r1.66 umodem.c
>> --- sys/dev/usb/umodem.c 6 Apr 2014 02:01:43 -0000 1.66
>> +++ sys/dev/usb/umodem.c 5 Apr 2015 00:49:30 -0000
>> @@ -81,6 +81,11 @@
>> NULL,
>> };
>> +Static const struct usb_devno umodem_devs[] = {
>> + { USB_VENDOR_CONEXANT, USB_PRODUCT_CONEXANT_MODEM_1},
>> +};
>> +#define umodem_lookup(v, p) usb_lookup(umodem_devs, v, p)
>> +
>> int umodem_match(device_t, cfdata_t, void *);
>> void umodem_attach(device_t, device_t, void *);
>> int umodem_detach(device_t, int);
>> @@ -97,22 +102,24 @@
>> struct usbif_attach_arg *uaa = aux;
>> usb_interface_descriptor_t *id;
>> int cm, acm;
>> + int ret = UMATCH_NONE;
>> - id = usbd_get_interface_descriptor(uaa->iface);
>> - if (uaa->subclass != UISUBCLASS_ABSTRACT_CONTROL_MODEL &&
>> - (id->bInterfaceClass == UICLASS_CDC_DATA &&
>> - id->bInterfaceSubClass == UISUBCLASS_DATA))
>> - return (UMATCH_IFACECLASS_IFACESUBCLASS);
>> -
>> - if (uaa->class != UICLASS_CDC ||
>> - uaa->subclass != UISUBCLASS_ABSTRACT_CONTROL_MODEL ||
>> - !(uaa->proto == UIPROTO_CDC_NOCLASS || uaa->proto ==
>> - !UIPROTO_CDC_AT))
>> - return (UMATCH_NONE);
>> + if (umodem_lookup(uaa->vendor, uaa->product))
>> + ret = UMATCH_VENDOR_PRODUCT;
>> + if (uaa->class == UICLASS_CDC &&
>> + uaa->subclass == UISUBCLASS_ABSTRACT_CONTROL_MODEL &&
>> + uaa->proto == UIPROTO_CDC_AT)
>> + ret = UMATCH_IFACECLASS_IFACESUBCLASS_IFACEPROTO;
>
> Missing uaa->proto == UIPROTO_CDC_NOCLASS, I think.
>
> That said, I think there's a bug somewhere else that's causing
> problems here.
>
> Can you boot with -xv flags and an updated -current kernel with
> USB_DEBUG
> and usbdebug set? I've add some more debug output to the kernel.
Hi,
Without umodem.c:1.66.
my USB Modem:
usb_event_thread: woke up
usb_discover
usb_schedsoftintr: polling=0
usb_needs_explore
usb_event_thread: woke up
usb_discover
usb_allocmem: use frag=0xffff800090519ac0 size=4
usb_freemem: frag=0xffff800090519ac0
usb_allocmem: use frag=0xffff800090519ac0 size=4
usb_freemem: frag=0xffff800090519ac0
usb_allocmem: use frag=0xffff800090519ac0 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519ac0
usb_schedsoftintr: polling=0
uhub_disconnect: up=0xfffffe810feb6108 dev=0xfffffe821d89c410 port=1
usb_disconnect_port: disconnect subdevs
cdce0: detached
cdce0: at uhub1 port 1 (addr 3) disconnected
usb_schedsoftintr: polling=0
usb_allocmem: use frag=0xffff800090519ac0 size=4
usb_freemem: frag=0xffff800090519ac0
usb_schedsoftintr: polling=0
usb_needs_explore
usb_event_thread: woke up
usb_discover
usb_allocmem: use frag=0xffff800090519ac0 size=4
usb_freemem: frag=0xffff800090519ac0
usb_allocmem: use frag=0xffff800090519ac0 size=4
usb_freemem: frag=0xffff800090519ac0
usb_allocmem: use frag=0xffff800090519ac0 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519ac0
usb_schedsoftintr: polling=0
usb_schedsoftintr: polling=0
usbd_reset_port: port 1 reset done, error=NORMAL_COMPLETION
usb_allocmem: use frag=0xffff800090519ac0 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519ac0
usb_schedsoftintr: polling=0
usb_allocmem: use frag=0xffff800090519ac0 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519ac0
usbd_new_device bus=0xfffffe810fa35048 port=1 depth=2 speed=3
usbd_new_device: high speed port 0
usbd_setup_pipe: dev=0xfffffe821d89c410 iface=0x0 ep=0xfffffe821d89c448 pipe=0xfffffe821a9a5ab0
usb_allocmem: use frag=0xffff800090519ac0 size=8
usb_allocmem: use frag=0xffff800090519a80 size=64
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a80
usb_schedsoftintr: polling=0
usbd_reset_port: port 1 reset done, error=NORMAL_COMPLETION
usb_schedsoftintr: polling=0
usb_allocmem: use frag=0xffff800090519a80 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a80
usb_schedsoftintr: polling=0
usbd_new_device: adding unit addr=3, rev=210, class=0, subclass=0, protocol=0, maxpacket=64, len=18, speed=3
usbd_setup_pipe: dev=0xfffffe821d89c410 iface=0x0 ep=0xfffffe821d89c448 pipe=0xfffffe821a9a5ab0
usb_allocmem: use frag=0xffff800090519a80 size=8
usbd_new_device: setting device address=3
usb_schedsoftintr: polling=0
usbd_setup_pipe: dev=0xfffffe821d89c410 iface=0x0 ep=0xfffffe821d89c448 pipe=0xfffffe821a9a5ab0
usb_allocmem: use frag=0xffff800090519a40 size=8
usbd_get_device_desc:
usbd_get_desc: type=1, index=0, len=18
usb_allocmem: use frag=0xffff800090519a00 size=18
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usbd_new_device: new dev (addr 3), dev=0xfffffe821d89c410, parent=0xfffffe821d891948
usb_allocmem: use frag=0xffff800090519a00 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=16
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=30
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=26
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usbd_probe_and_attach: trying device specific drivers
usbd_print dev=0xfffffe821d89c410
usbd_probe_and_attach: no device specific driver found
usbd_probe_and_attach: looping over 2 configurations
usbd_probe_and_attach: trying config idx=0
usbd_set_config_index: dev=0xfffffe821d89c410 index=0
usbd_get_config_desc: confidx=0
usbd_get_desc: type=2, index=0, len=9
usb_allocmem: use frag=0xffff800090519a00 size=9
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usbd_get_desc: type=2, index=0, len=39
usb_allocmem: use frag=0xffff800090519a00 size=39
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usbd_set_config_index: (addr 1) cno=3 attr=0xa0, selfpowered=0, power=100
usbd_set_config_index: set config 1
usb_schedsoftintr: polling=0
usbd_set_config_index: dev=0xfffffe821d89c410 cdesc=0xfffffe810e7b45d0
usbd_fill_iface_data: ifaceidx=0 altidx=0
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=3
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe810e7b45e2 end=0xfffffe810e7b45f7 len=7 type=5
usbd_fill_iface_data: endpt=1
usbd_fill_iface_data: p=0xfffffe810e7b45e9 end=0xfffffe810e7b45f7 len=7 type=5
usbd_fill_iface_data: endpt=2
usbd_fill_iface_data: p=0xfffffe810e7b45f0 end=0xfffffe810e7b45f7 len=7 type=5
usbd_attachinterfaces: interface 0 0xfffffe810e72c610
usbd_attachinterfaces: searching for interface 0 class ff subclass ff proto 0 ifaceno 0
usbd_print dev=0xfffffe821d89c410
usbd_probe_and_attach: trying config idx=1
usbd_set_config_index: dev=0xfffffe821d89c410 index=1
usbd_set_config_index: free old config
usbd_get_config_desc: confidx=1
usbd_get_desc: type=2, index=1, len=9
usb_allocmem: use frag=0xffff800090519a00 size=9
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usbd_get_desc: type=2, index=1, len=80
usb_allocmem: large alloc 80
usb_block_allocmem: size=4096 align=0
usb_block_allocmem: free list size=4096
usb_schedsoftintr: polling=0
usb_freemem: large free
usb_block_freemem: size=4096
usbd_set_config_index: (addr 2) cno=3 attr=0xa0, selfpowered=0, power=100
usbd_set_config_index: set config 2
usb_schedsoftintr: polling=0
usbd_set_config_index: dev=0xfffffe821d89c410 cdesc=0xfffffe821d246bf0
usbd_fill_iface_data: ifaceidx=0 altidx=0
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=1
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe821d246c02 end=0xfffffe821d246c40 len=5 type=36
usbd_fill_iface_data: p=0xfffffe821d246c07 end=0xfffffe821d246c40 len=5 type=36
usbd_fill_iface_data: p=0xfffffe821d246c0c end=0xfffffe821d246c40 len=13 type=36
usbd_fill_iface_data: p=0xfffffe821d246c19 end=0xfffffe821d246c40 len=7 type=5
usbd_fill_iface_data: ifaceidx=1 altidx=0
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=4
usbd_find_idesc: idx=1(0) altidx=0(0) len=5 type=36
usbd_find_idesc: idx=1(0) altidx=0(0) len=5 type=36
usbd_find_idesc: idx=1(0) altidx=0(0) len=13 type=36
usbd_find_idesc: idx=1(0) altidx=0(0) len=7 type=5
usbd_find_idesc: idx=1(0) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=0
usbd_attachinterfaces: interface 0 0xfffffe821a767990
usbd_attachinterfaces: interface 1 0xfffffe821a7679c0
usbd_attachinterfaces: searching for interface 0 class 2 subclass 6 proto 0 ifaceno 0
cdce0 at uhub1usbd_print dev=0xfffffe821d89c410
port 1 configuration 2 interface 0
usb_allocmem: use frag=0xffff800090519a00 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=16
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=30
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
cdce0: Realtek USB 10/100 LAN, rev 2.10/20.00, addr 3
usbd_fill_iface_data: ifaceidx=1 altidx=0
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=4
usbd_find_idesc: idx=1(0) altidx=0(0) len=5 type=36
usbd_find_idesc: idx=1(0) altidx=0(0) len=5 type=36
usbd_find_idesc: idx=1(0) altidx=0(0) len=13 type=36
usbd_find_idesc: idx=1(0) altidx=0(0) len=7 type=5
usbd_find_idesc: idx=1(0) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=0
usb_schedsoftintr: polling=0
usbd_fill_iface_data: ifaceidx=1 altidx=1
usbd_find_idesc: idx=1(-1) altidx=1(0) len=9 type=2
usbd_find_idesc: idx=1(-1) altidx=1(0) len=9 type=4
usbd_find_idesc: idx=1(0) altidx=1(0) len=5 type=36
usbd_find_idesc: idx=1(0) altidx=1(0) len=5 type=36
usbd_find_idesc: idx=1(0) altidx=1(0) len=13 type=36
usbd_find_idesc: idx=1(0) altidx=1(0) len=7 type=5
usbd_find_idesc: idx=1(0) altidx=1(0) len=9 type=4
usbd_find_idesc: idx=1(1) altidx=1(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=2
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe821d246c32 end=0xfffffe821d246c40 len=7 type=5
usbd_fill_iface_data: endpt=1
usbd_fill_iface_data: p=0xfffffe821d246c39 end=0xfffffe821d246c40 len=7 type=5
usb_schedsoftintr: polling=0
usb_allocmem: use frag=0xffff800090519a00 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=26
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
cdce0: address 00:e0:4c:80:00:37
usbd_attachinterfaces: interface 0 claimed behind our backusbd_attachinterfaces: interface 1 claimed behind our backusbd_attachinterfaces: interface 1 claimed
usb_allocmem: use frag=0xffff800090519a00 size=4
usb_freemem: frag=0xffff800090519a00
usb_event_thread: woke up
usb_discover
usb_schedsoftintr: polling=0
usb_needs_explore
usb_event_thread: woke up
usb_discover
usb_allocmem: use frag=0xffff800090519a00 size=4
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=4
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_schedsoftintr: polling=0
uhub_disconnect: up=0xfffffe810feb6108 dev=0xfffffe821d89c410 port=1
usb_disconnect_port: disconnect subdevs
cdce0: detached
cdce0: at uhub1 port 1 (addr 3) disconnected
usb_schedsoftintr: polling=0
usb_allocmem: use frag=0xffff800090519a00 size=4
usb_freemem: frag=0xffff800090519a00
usb_schedsoftintr: polling=0
usb_needs_explore
usb_event_thread: woke up
usb_discover
usb_allocmem: use frag=0xffff800090519a00 size=4
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=4
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_schedsoftintr: polling=0
usb_schedsoftintr: polling=0
usbd_reset_port: port 1 reset done, error=NORMAL_COMPLETION
usb_allocmem: use frag=0xffff800090519a00 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_schedsoftintr: polling=0
usb_allocmem: use frag=0xffff800090519a00 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usbd_new_device bus=0xfffffe810fa35048 port=1 depth=2 speed=2
usbd_new_device: high speed port 0
usbd_setup_pipe: dev=0xfffffe821d89c350 iface=0x0 ep=0xfffffe821d89c388 pipe=0xfffffe821a9a5d50
usb_allocmem: use frag=0xffff800090519a00 size=8
usb_allocmem: use frag=0xffff8000905199c0 size=64
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff8000905199c0
usb_schedsoftintr: polling=0
usbd_reset_port: port 1 reset done, error=NORMAL_COMPLETION
usb_schedsoftintr: polling=0
usb_allocmem: use frag=0xffff8000905199c0 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff8000905199c0
usb_schedsoftintr: polling=0
usbd_new_device: adding unit addr=3, rev=110, class=2, subclass=0, protocol=0, maxpacket=64, len=18, speed=2
usbd_setup_pipe: dev=0xfffffe821d89c350 iface=0x0 ep=0xfffffe821d89c388 pipe=0xfffffe821a9a5d50
usb_allocmem: use frag=0xffff8000905199c0 size=8
usbd_new_device: setting device address=3
usb_schedsoftintr: polling=0
usbd_setup_pipe: dev=0xfffffe821d89c350 iface=0x0 ep=0xfffffe821d89c388 pipe=0xfffffe821a9a5d50
usb_allocmem: use frag=0xffff800090519980 size=8
usbd_get_device_desc:
usbd_get_desc: type=1, index=0, len=18
usb_allocmem: use frag=0xffff800090519940 size=18
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usbd_new_device: new dev (addr 3), dev=0xfffffe821d89c350, parent=0xfffffe821d891948
usb_allocmem: use frag=0xffff800090519940 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usb_allocmem: use frag=0xffff800090519940 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usb_allocmem: use frag=0xffff800090519940 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usb_allocmem: use frag=0xffff800090519940 size=18
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usb_allocmem: use frag=0xffff800090519940 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usb_allocmem: use frag=0xffff800090519940 size=20
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usb_allocmem: use frag=0xffff800090519940 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usb_allocmem: use frag=0xffff800090519940 size=18
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usbd_probe_and_attach: trying device specific drivers
usbd_print dev=0xfffffe821d89c350
usbd_probe_and_attach: no device specific driver found
usbd_probe_and_attach: looping over 2 configurations
usbd_probe_and_attach: trying config idx=0
usbd_set_config_index: dev=0xfffffe821d89c350 index=0
usbd_get_config_desc: confidx=0
usbd_get_desc: type=2, index=0, len=9
usb_allocmem: use frag=0xffff800090519940 size=9
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usbd_get_desc: type=2, index=0, len=73
usb_allocmem: large alloc 73
usb_block_allocmem: size=4096 align=0
usb_block_allocmem: free list size=4096
usb_schedsoftintr: polling=0
usb_freemem: large free
usb_block_freemem: size=4096
usbd_set_config_index: (addr 1) cno=3 attr=0x80, selfpowered=0, power=100
usbd_set_config_index: set config 1
usb_schedsoftintr: polling=0
usbd_set_config_index: dev=0xfffffe821d89c350 cdesc=0xfffffe811006c318
usbd_fill_iface_data: ifaceidx=0 altidx=0
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=1
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe811006c32a end=0xfffffe811006c361 len=7 type=5
usbd_fill_iface_data: ifaceidx=1 altidx=0
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=4
usbd_find_idesc: idx=1(0) altidx=0(0) len=7 type=5
usbd_find_idesc: idx=1(0) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=2
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe811006c33a end=0xfffffe811006c361 len=7 type=5
usbd_fill_iface_data: endpt=1
usbd_fill_iface_data: p=0xfffffe811006c341 end=0xfffffe811006c361 len=7 type=5
usbd_attachinterfaces: interface 0 0xfffffe8219576690
usbd_attachinterfaces: interface 1 0xfffffe82195766c0
usbd_attachinterfaces: searching for interface 0 class 2 subclass 2 proto 1 ifaceno 0
usbd_print dev=0xfffffe821d89c350
usbd_attachinterfaces: searching for interface 1 class a subclass 0 proto 0 ifaceno 1
usbd_print dev=0xfffffe821d89c350
usbd_probe_and_attach: trying config idx=1
usbd_set_config_index: dev=0xfffffe821d89c350 index=1
usbd_set_config_index: free old config
usbd_get_config_desc: confidx=1
usbd_get_desc: type=2, index=1, len=9
usb_allocmem: use frag=0xffff800090519940 size=9
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usbd_get_desc: type=2, index=1, len=96
usb_allocmem: large alloc 96
usb_block_allocmem: size=4096 align=0
usb_block_allocmem: free list size=4096
usb_schedsoftintr: polling=0
usb_freemem: large free
usb_block_freemem: size=4096
usbd_set_config_index: (addr 2) cno=3 attr=0x80, selfpowered=0, power=100
usbd_set_config_index: set config 2
usb_schedsoftintr: polling=0
usbd_set_config_index: dev=0xfffffe821d89c350 cdesc=0xfffffe8219576690
usbd_fill_iface_data: ifaceidx=0 altidx=0
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=1
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe82195766a2 end=0xfffffe82195766f0 len=7 type=5
usbd_fill_iface_data: ifaceidx=1 altidx=0
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=4
usbd_find_idesc: idx=1(0) altidx=0(0) len=7 type=5
usbd_find_idesc: idx=1(0) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=2
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe82195766b2 end=0xfffffe82195766f0 len=7 type=5
usbd_fill_iface_data: endpt=1
usbd_fill_iface_data: p=0xfffffe82195766b9 end=0xfffffe82195766f0 len=7 type=5
usbd_fill_iface_data: ifaceidx=2 altidx=0
usbd_find_idesc: idx=2(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=2(-1) altidx=0(0) len=9 type=4
usbd_find_idesc: idx=2(0) altidx=0(0) len=7 type=5
usbd_find_idesc: idx=2(0) altidx=0(0) len=9 type=4
usbd_find_idesc: idx=2(1) altidx=0(0) len=7 type=5
usbd_find_idesc: idx=2(1) altidx=0(0) len=7 type=5
usbd_find_idesc: idx=2(1) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=2
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe82195766c9 end=0xfffffe82195766f0 len=7 type=5
usbd_fill_iface_data: endpt=1
usbd_fill_iface_data: p=0xfffffe82195766d0 end=0xfffffe82195766f0 len=7 type=5
usbd_attachinterfaces: interface 0 0xfffffe821d89c410
usbd_attachinterfaces: interface 1 0xfffffe821d89c440
usbd_attachinterfaces: interface 2 0xfffffe821d89c470
usbd_attachinterfaces: searching for interface 0 class 2 subclass 2 proto 1 ifaceno 0
usbd_print dev=0xfffffe821d89c350
usbd_attachinterfaces: searching for interface 1 class a subclass 0 proto 0 ifaceno 1
usbd_print dev=0xfffffe821d89c350
usbd_attachinterfaces: searching for interface 2 class a subclass 0 proto 0 ifaceno 2
usbd_print dev=0xfffffe821d89c350
usbd_set_config_index: dev=0xfffffe821d89c350 index=0
usbd_set_config_index: free old config
usbd_get_config_desc: confidx=0
usbd_get_desc: type=2, index=0, len=9
usb_allocmem: use frag=0xffff800090519940 size=9
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usbd_get_desc: type=2, index=0, len=73
usb_allocmem: large alloc 73
usb_block_allocmem: size=4096 align=0
usb_block_allocmem: free list size=4096
usb_schedsoftintr: polling=0
usb_freemem: large free
usb_block_freemem: size=4096
usbd_set_config_index: (addr 1) cno=3 attr=0x80, selfpowered=0, power=100
usbd_set_config_index: set config 1
usb_schedsoftintr: polling=0
usbd_set_config_index: dev=0xfffffe821d89c350 cdesc=0xfffffe811006c318
usbd_fill_iface_data: ifaceidx=0 altidx=0
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=1
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe811006c32a end=0xfffffe811006c361 len=7 type=5
usbd_fill_iface_data: ifaceidx=1 altidx=0
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=4
usbd_find_idesc: idx=1(0) altidx=0(0) len=7 type=5
usbd_find_idesc: idx=1(0) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=2
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe811006c33a end=0xfffffe811006c361 len=7 type=5
usbd_fill_iface_data: endpt=1
usbd_fill_iface_data: p=0xfffffe811006c341 end=0xfffffe811006c361 len=7 type=5
usbd_probe_and_attach: no interface drivers found
ugen0 at uhub1usbd_print dev=0xfffffe821d89c350
port 1
usb_allocmem: use frag=0xffff800090519940 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usb_allocmem: use frag=0xffff800090519940 size=18
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usb_allocmem: use frag=0xffff800090519940 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usb_allocmem: use frag=0xffff800090519940 size=20
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
ugen0: Conexant USB Modem, rev 1.10/1.00, addr 3
usbd_set_config_index: dev=0xfffffe821d89c350 index=0
usbd_set_config_index: free old config
usbd_get_config_desc: confidx=0
usbd_get_desc: type=2, index=0, len=9
usb_allocmem: use frag=0xffff800090519940 size=9
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519940
usbd_get_desc: type=2, index=0, len=73
usb_allocmem: large alloc 73
usb_block_allocmem: size=4096 align=0
usb_block_allocmem: free list size=4096
usb_schedsoftintr: polling=0
usb_freemem: large free
usb_block_freemem: size=4096
usbd_set_config_index: (addr 1) cno=3 attr=0x80, selfpowered=0, power=100
usbd_set_config_index: set config 1
usb_schedsoftintr: polling=0
usbd_set_config_index: dev=0xfffffe821d89c350 cdesc=0xfffffe811006c318
usbd_fill_iface_data: ifaceidx=0 altidx=0
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=1
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe811006c32a end=0xfffffe811006c361 len=7 type=5
usbd_fill_iface_data: ifaceidx=1 altidx=0
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=4
usbd_find_idesc: idx=1(0) altidx=0(0) len=7 type=5
usbd_find_idesc: idx=1(0) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=2
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe811006c33a end=0xfffffe811006c361 len=7 type=5
usbd_fill_iface_data: endpt=1
usbd_fill_iface_data: p=0xfffffe811006c341 end=0xfffffe811006c361 len=7 type=5
usbd_probe_and_attach: generic attach failed
usb_allocmem: use frag=0xffff800090519940 size=4
usb_freemem: frag=0xffff800090519940
My cdce(4) USB-Ethernet adapter:
usb_discover
usb_allocmem: use frag=0xffff800090519ac0 size=4
usb_freemem: frag=0xffff800090519ac0
usb_allocmem: use frag=0xffff800090519ac0 size=4
usb_freemem: frag=0xffff800090519ac0
usb_allocmem: use frag=0xffff800090519ac0 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519ac0
usb_schedsoftintr: polling=0
usb_schedsoftintr: polling=0
usbd_reset_port: port 1 reset done, error=NORMAL_COMPLETION
usb_allocmem: use frag=0xffff800090519ac0 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519ac0
usb_schedsoftintr: polling=0
usb_allocmem: use frag=0xffff800090519ac0 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519ac0
usbd_new_device bus=0xfffffe810fa35048 port=1 depth=2 speed=3
usbd_new_device: high speed port 0
usbd_setup_pipe: dev=0xfffffe821d89c410 iface=0x0 ep=0xfffffe821d89c448 pipe=0xfffffe821a9a5ab0
usb_allocmem: use frag=0xffff800090519ac0 size=8
usb_allocmem: use frag=0xffff800090519a80 size=64
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a80
usb_schedsoftintr: polling=0
usbd_reset_port: port 1 reset done, error=NORMAL_COMPLETION
usb_schedsoftintr: polling=0
usb_allocmem: use frag=0xffff800090519a80 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a80
usb_schedsoftintr: polling=0
usbd_new_device: adding unit addr=3, rev=210, class=0, subclass=0, protocol=0, maxpacket=64, len=18, speed=3
usbd_setup_pipe: dev=0xfffffe821d89c410 iface=0x0 ep=0xfffffe821d89c448 pipe=0xfffffe821a9a5ab0
usb_allocmem: use frag=0xffff800090519a80 size=8
usbd_new_device: setting device address=3
usb_schedsoftintr: polling=0
usbd_setup_pipe: dev=0xfffffe821d89c410 iface=0x0 ep=0xfffffe821d89c448 pipe=0xfffffe821a9a5ab0
usb_allocmem: use frag=0xffff800090519a40 size=8
usbd_get_device_desc:
usbd_get_desc: type=1, index=0, len=18
usb_allocmem: use frag=0xffff800090519a00 size=18
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usbd_new_device: new dev (addr 3), dev=0xfffffe821d89c410, parent=0xfffffe821d891948
usb_allocmem: use frag=0xffff800090519a00 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=4
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=16
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=30
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=26
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usbd_probe_and_attach: trying device specific drivers
usbd_print dev=0xfffffe821d89c410
usbd_probe_and_attach: no device specific driver found
usbd_probe_and_attach: looping over 2 configurations
usbd_probe_and_attach: trying config idx=0
usbd_set_config_index: dev=0xfffffe821d89c410 index=0
usbd_get_config_desc: confidx=0
usbd_get_desc: type=2, index=0, len=9
usb_allocmem: use frag=0xffff800090519a00 size=9
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usbd_get_desc: type=2, index=0, len=39
usb_allocmem: use frag=0xffff800090519a00 size=39
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usbd_set_config_index: (addr 1) cno=3 attr=0xa0, selfpowered=0, power=100
usbd_set_config_index: set config 1
usb_schedsoftintr: polling=0
usbd_set_config_index: dev=0xfffffe821d89c410 cdesc=0xfffffe810e7b45d0
usbd_fill_iface_data: ifaceidx=0 altidx=0
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=3
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe810e7b45e2 end=0xfffffe810e7b45f7 len=7 type=5
usbd_fill_iface_data: endpt=1
usbd_fill_iface_data: p=0xfffffe810e7b45e9 end=0xfffffe810e7b45f7 len=7 type=5
usbd_fill_iface_data: endpt=2
usbd_fill_iface_data: p=0xfffffe810e7b45f0 end=0xfffffe810e7b45f7 len=7 type=5
usbd_attachinterfaces: interface 0 0xfffffe810e72c610
usbd_attachinterfaces: searching for interface 0 class ff subclass ff proto 0 ifaceno 0
usbd_print dev=0xfffffe821d89c410
usbd_probe_and_attach: trying config idx=1
usbd_set_config_index: dev=0xfffffe821d89c410 index=1
usbd_set_config_index: free old config
usbd_get_config_desc: confidx=1
usbd_get_desc: type=2, index=1, len=9
usb_allocmem: use frag=0xffff800090519a00 size=9
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usbd_get_desc: type=2, index=1, len=80
usb_allocmem: large alloc 80
usb_block_allocmem: size=4096 align=0
usb_block_allocmem: free list size=4096
usb_schedsoftintr: polling=0
usb_freemem: large free
usb_block_freemem: size=4096
usbd_set_config_index: (addr 2) cno=3 attr=0xa0, selfpowered=0, power=100
usbd_set_config_index: set config 2
usb_schedsoftintr: polling=0
usbd_set_config_index: dev=0xfffffe821d89c410 cdesc=0xfffffe821d246bf0
usbd_fill_iface_data: ifaceidx=0 altidx=0
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=0(-1) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=1
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe821d246c02 end=0xfffffe821d246c40 len=5 type=36
usbd_fill_iface_data: p=0xfffffe821d246c07 end=0xfffffe821d246c40 len=5 type=36
usbd_fill_iface_data: p=0xfffffe821d246c0c end=0xfffffe821d246c40 len=13 type=36
usbd_fill_iface_data: p=0xfffffe821d246c19 end=0xfffffe821d246c40 len=7 type=5
usbd_fill_iface_data: ifaceidx=1 altidx=0
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=4
usbd_find_idesc: idx=1(0) altidx=0(0) len=5 type=36
usbd_find_idesc: idx=1(0) altidx=0(0) len=5 type=36
usbd_find_idesc: idx=1(0) altidx=0(0) len=13 type=36
usbd_find_idesc: idx=1(0) altidx=0(0) len=7 type=5
usbd_find_idesc: idx=1(0) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=0
usbd_attachinterfaces: interface 0 0xfffffe821a767990
usbd_attachinterfaces: interface 1 0xfffffe821a7679c0
usbd_attachinterfaces: searching for interface 0 class 2 subclass 6 proto 0 ifaceno 0
cdce0 at uhub1usbd_print dev=0xfffffe821d89c410
port 1 configuration 2 interface 0
usb_allocmem: use frag=0xffff800090519a00 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=16
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=30
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
cdce0: Realtek USB 10/100 LAN, rev 2.10/20.00, addr 3
usbd_fill_iface_data: ifaceidx=1 altidx=0
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=2
usbd_find_idesc: idx=1(-1) altidx=0(0) len=9 type=4
usbd_find_idesc: idx=1(0) altidx=0(0) len=5 type=36
usbd_find_idesc: idx=1(0) altidx=0(0) len=5 type=36
usbd_find_idesc: idx=1(0) altidx=0(0) len=13 type=36
usbd_find_idesc: idx=1(0) altidx=0(0) len=7 type=5
usbd_find_idesc: idx=1(0) altidx=0(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=0
usb_schedsoftintr: polling=0
usbd_fill_iface_data: ifaceidx=1 altidx=1
usbd_find_idesc: idx=1(-1) altidx=1(0) len=9 type=2
usbd_find_idesc: idx=1(-1) altidx=1(0) len=9 type=4
usbd_find_idesc: idx=1(0) altidx=1(0) len=5 type=36
usbd_find_idesc: idx=1(0) altidx=1(0) len=5 type=36
usbd_find_idesc: idx=1(0) altidx=1(0) len=13 type=36
usbd_find_idesc: idx=1(0) altidx=1(0) len=7 type=5
usbd_find_idesc: idx=1(0) altidx=1(0) len=9 type=4
usbd_find_idesc: idx=1(1) altidx=1(0) len=9 type=4
usbd_fill_iface_data: found idesc nendpt=2
usbd_fill_iface_data: endpt=0
usbd_fill_iface_data: p=0xfffffe821d246c32 end=0xfffffe821d246c40 len=7 type=5
usbd_fill_iface_data: endpt=1
usbd_fill_iface_data: p=0xfffffe821d246c39 end=0xfffffe821d246c40 len=7 type=5
usb_schedsoftintr: polling=0
usb_allocmem: use frag=0xffff800090519a00 size=2
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
usb_allocmem: use frag=0xffff800090519a00 size=26
usb_schedsoftintr: polling=0
usb_freemem: frag=0xffff800090519a00
cdce0: address 00:e0:4c:80:00:37
usbd_attachinterfaces: interface 0 claimed behind our backusbd_attachinterfaces: interface 1 claimed behind our backusbd_attachinterfaces: interface 1 claimed
usb_allocmem: use frag=0xffff800090519a00 size=4
usb_freemem: frag=0xffff800090519a00
--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index