Hi,
Possibly we need to add some code to check when the autoinstall system is
ready for receiving the command. What happens if you try to add a delay before
executing the eject command:
--- src/sys/dev/usb/usb_msctest.c 2010-03-08 16:57:53.000000000 0000
+++ src/sys/dev/usb/usb_msctest.c 2010-03-08 16:57:53.000000000 0000
@@ -588,6 +588,8 @@
if (sc == NULL)
return (USB_ERR_INVAL);
+ pause("WAIT", hz);
+
err = 0;
switch (method) {
case MSC_EJECT_STOPUNIT:
this didn't alter the original behaviour. btw, its a K3565-Z, and i
found out what device this looks like when the config has been set to
zero and the cdrom ejected:
[...@mylar mjl]$ sudo usbconfig -d 6.2 dump_device_desc
ugen6.2: <ZTE CDMA Technologies MSM ZTE,Incorporated> at usbus6, cfg=0
md=HOST spd=HIGH (480Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x19d2
idProduct = 0x0063
bcdDevice = 0x0000
iManufacturer = 0x0002 <ZTE,Incorporated>
iProduct = 0x0001 <ZTE CDMA Technologies MSM>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
_______________________________________________
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"