Bug 154753 - [usbdevs] [patch] Support for Qualcomm USB modem/storage on LG phone
Summary: [usbdevs] [patch] Support for Qualcomm USB modem/storage on LG phone
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-13 21:30 UTC by info
Modified: 2015-12-25 05:08 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.45 KB, patch)
2011-02-13 21:30 UTC, info
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.