These patches add ids to u3g driver and quirk to umass driver. Modem works with umodem driver, but u3g enables diagnostic port. Storage has READ_CAPACITY_OFFBY1 quirk. It seems that the same quirk is already reported in PR usb/122119 Patches are against 7-STABLE, but it should be simple to adapt them to current versions. modem is identified as Unknown USB device: vendor 0x1004 product 0x6000 bus uhub0 ucom0: <LG CDMA USB Modem LG CDMA USB Modem, class 2/0, rev 1.10/0.00, addr 2> and storage as Unknown USB device: vendor 0x05c6 product 0x1000 bus uhub0 umass0: <Qualcomm, Incorporated USB MMC Storage, class 0/0, rev 1.10/0.00, addr 2> Fix: Patch attached with submission follows:
On Sunday 13 February 2011 22:26:16 Goran Tal wrote: > >Number: 154753 > >Category: usb > >Synopsis: Support for Qualcomm USB modem/storage on LG phone > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Sun Feb 13 21:30:11 UTC 2011 > >Closed-Date: > >Last-Modified: > >Originator: Goran Tal > >Release: 7-STABLE > >Organization: > >Environment: > > >Description: > These patches add ids to u3g driver and quirk to umass driver. Modem works > with umodem driver, but u3g enables diagnostic port. Storage has > READ_CAPACITY_OFFBY1 quirk. It seems that the same quirk is already > reported in PR usb/122119 > Your patch looks good. --HPS
Responsible Changed From-To: freebsd-usb->miwi I'll take it.
Responsible Changed From-To: miwi->freebsd-usb back to pool.