> It is derived error I think
> When it attaches finally, it report no errors at all:

Whatever it is, the quirk should resolve it. MAX LUN is not necessary per se I 
think.

> Dec 12 10:38:36 rainhaven kernel: ugen5.2: <PANTECH> at usbus5
> Dec 12 10:38:36 rainhaven kernel: umodem0: <PANTECH PANTECH USB MODEM, class 
> 2/0
> , rev 2.00/1.00, addr 2> on usbus5
> Dec 12 10:38:36 rainhaven kernel: umodem0: data interface 1, has CM over 
> data, h
> as break
> Dec 12 10:38:36 rainhaven kernel: umass0: <PANTECH PANTECH USB MODEM, class 
> 2/0,
> rev 2.00/1.00, addr 2> on usbus5
> Dec 12 10:38:37 rainhaven root: /usr/local/etc/rc.d/webcamd: WARNING: failed 
> to
> start webcamd
> Dec 12 10:38:37 rainhaven kernel: da0 at umass-sim0 bus 0 scbus2 target 0 lun > 0
> Dec 12 10:38:37 rainhaven kernel: da0: <PANTECH Mass Storage 0001>
> Removable Direct Access SCSI-0 device
> Dec 12 10:38:37 rainhaven kernel:
> Dec 12 10:38:37 rainhaven kernel: da0: 40.000MB/s transfers
> Dec 12 10:38:37 rainhaven kernel: da0: 952MB (1950720 512 byte
> sectors: 64H 32S/T 952C)
> Dec 12 10:38:37 rainhaven root: Unknown USB device: vendor 0x106c
> product 0x3711 bus uhub5

This is a bogus devd entry that is confusing. I will remove that remark

> Dec 12 10:38:37 rainhaven kernel: GEOM: da0: partition 1 does not
> start on a track boundary.
> Dec 12 10:38:37 rainhaven kernel: GEOM: da0: partition 1 does not end
> on a track boundary.

GEOM finds it. So it works.

>> You can quirk that:
>> 
>> While the device is attached use the following command:
>> 
>>        usbconfig -d ugenX.Y add_quirk UQ_MSC_NO_GETMAXLUN
> 
> I was trying that but it not helps. Another question that it is very
> tricky because USB subsystem probes to (re)attach modem too quickly so
> usbconfig reports "Device not configured" or "No device match or lack
> of permissions".
> I will recompile the kernel with USB_DEBUG option enabled and provide
> you with some additional info.
> 
> Thank you for our help.

Compile your kernel without usb and load it as a module, or at least load umass 
as a module.

Without umass the device should stay and you can add the quirk, then load umass 
and try again.

Nick_______________________________________________
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"

Reply via email to