U3GINIT_SCSIEJECT quirk

2013-11-14 Thread Don Lewis
I've got a Virgin Mobile version of the Novatel MiFi 2200. I've added the following quirks CAM from spewing a bunch of errors when it attaches the umass (cd) device and then panicing about ten minutes later when the umass device decides to disconnect. I've also added the U3GINIT_SCSIEJECT quirk i

Re: U3GINIT_SCSIEJECT quirk

2013-11-15 Thread Don Lewis
On 15 Nov, Hans Petter Selasky wrote: > On 11/15/13 00:37, Don Lewis wrote: >> My first question is how does U3GINIT_SCSIEJECT manage to ever work? It >> seems like there would be chicken vs. egg issue here. The quirk is on >> the u3g device, so how would it get activated un

Re: U3GINIT_SCSIEJECT quirk

2013-11-18 Thread Don Lewis
On 15 Nov, Hans Petter Selasky wrote: > The SCSI quirk is not needed. This should be fixed in the SCSI stack! The SCSI quirk does seem to be needed, at least to make the umass device readable. With the UQ_MSC_NO_PREVENT_ALLOW quirk, I am able to mount the umass device (before it goes way) and re

Re: U3GINIT_SCSIEJECT quirk

2013-11-19 Thread Don Lewis
On 15 Nov, Hans Petter Selasky wrote: > On 11/15/13 00:37, Don Lewis wrote: >> My first question is how does U3GINIT_SCSIEJECT manage to ever work? It >> seems like there would be chicken vs. egg issue here. The quirk is on >> the u3g device, so how would it get activated un

Re: U3GINIT_SCSIEJECT quirk

2013-11-19 Thread Don Lewis
On 15 Nov, Hans Petter Selasky wrote: > On 11/15/13 00:37, Don Lewis wrote: >> My first question is how does U3GINIT_SCSIEJECT manage to ever work? It >> seems like there would be chicken vs. egg issue here. The quirk is on >> the u3g device, so how would it get activated un

Re: U3GINIT_SCSIEJECT quirk

2013-11-20 Thread Don Lewis
On 19 Nov, Don Lewis wrote: > I did figure out why the eject isn't happening the first time that the > device is plugged in. The problem is that u3g_driver_loaded() isn't > getting called (to register the event handler) until the u3g device > appears. This device first show

CFR: u3g(4) man page tweaks

2013-11-21 Thread Don Lewis
Document that the u3g driver can be automagically autoloaded by devd when the device is plugged in. Also mention that if the driver is not built into the kernel or loaded before the device is plugged in, then the automatic mode switch does not happen. Index: share/man/man4/u3g.4 =