I am having periodic problems with the odd u3g device that gets hung. If I try and reset it, it totally locks up and I need to do a reboot of the box the recover. Apart from usbconfig reset are is there anything else I can do to recover from such a situation ?
usbconfig -d 1.3 dump_info ugen1.3: <ZTE CDMA Technologies MSM ZTE, Incorporated> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON usbconfig -d 1.3 dump_all_config_desc ugen1.3: <ZTE CDMA Technologies MSM ZTE, Incorporated> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0100 bNumInterfaces = 0x0004 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x00a0 bMaxPower = 0x00fa Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0000 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x00ff iInterface = 0x0000 <no string> Additional Descriptor bLength = 0x05 dmesg shows at bootup time ugen0.2: <APC> at usbus0 ugen1.3: <ZTE, Incorporated> at usbus1 ugen1.3: <ZTE, Incorporated> at usbus1 (disconnected) ugen1.3: <ZTE, Incorporated> at usbus1 u3g0: <ZTE, Incorporated ZTE CDMA Technologies MSM, class 0/0, rev 2.00/0.00, addr 3> on usbus1 u3g0: Found 1 port. umass0: <ZTE, Incorporated ZTE CDMA Technologies MSM, class 0/0, rev 2.00/0.00, addr 3> on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:0:0:-1: Attached to scbus0 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: <ZTE MMC Storage 322> Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present if I do a usbconfig -d 1.3 reset I get u3g0: at uhub1, port 1, addr 3 (disconnected) umass0: at uhub1, port 1, addr 3 (disconnected) (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) I have also tried post reset # usbconfig -d 1.3 set_config 255 # usbconfig -d 1.3 set_config 0 usbconfig: could not set config index: Input/output error # This is RELENG_8 on an alix box from July 14th. -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ _______________________________________________ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"