Bug 154753

Summary: [usbdevs] [patch] Support for Qualcomm USB modem/storage on LG phone
Product: Base System Reporter: info
Component: usbAssignee: freebsd-usb (Nobody) <usb>
Status: Closed FIXED    
Severity: Affects Only Me CC: miwi
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description info 2011-02-13 21:30:11 UTC
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:
Comment 1 Hans Petter Selasky 2011-02-13 21:38:05 UTC
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
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2011-11-20 12:31:39 UTC
Responsible Changed
From-To: freebsd-usb->miwi

I'll take it.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2012-06-04 05:29:30 UTC
Responsible Changed
From-To: miwi->freebsd-usb

back to pool.