Inclusion of cdc-acm patch in Ubuntu kernel

Bug #121762 reported by Steve Romanow
4
Affects Status Importance Assigned to Milestone
linux-source-2.6.20 (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

L Torvalds has applied a 3 line patch to cdc-acm module that should help moto q users avoid a return code -22 when trying to tether.

Please see the linked launchpad question.

Revision history for this message
Steve Romanow (slestak989) wrote :
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

This is the patch, specific for BT On-Air:

--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -1083,6 +1083,9 @@ static struct usb_device_id acm_ids[] = {
        { USB_DEVICE(0x0482, 0x0203), /* KYOCERA AH-K3001V */
        .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
        },
+ { USB_DEVICE(0x079b, 0x000f), /* BT On-Air USB MODEM */
+ .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
+ },
        { USB_DEVICE(0x0ace, 0x1608), /* ZyDAS 56K USB MODEM */
        .driver_info = SINGLE_RX_URB, /* firmware bug */
        },

Can you confirm that the MOTO q Device ID is 22b8:7001?
Have you tried to patch the module yourself to check it is working?

Changed in linux-source-2.6.20:
status: New → Incomplete
Revision history for this message
Steve Romanow (slestak989) wrote :

I have not tried to patch my own. I can, I will try that. Is there a -dev package for the restricted-drivers package? I need to see what package provides cdc-acm.

lsusb shows my device as 22b8:7000 Motorola PCS

The difference could be related to Verizon vs Sprint, I have the Sprint Version, Linus may have had a Verizon unit. I am using an app on the phone called Modem Link, which is similar to PDANet, Mobilestream USBModem. This is the software that comes with the Sprint moto q. I do not get any dmesg output until I run this app on the phone.

I checked and I do not have cdc-acm.c on my laptop currently. May need to refine the kernel patch to include both 7000 and 7001

Revision history for this message
Steve Romanow (slestak989) wrote :

I verified that:

when Modem Link is ON, usb id = 22b8:7001
when Modem Link is OFF, usb id = 22b8:7000

I am downloading kernel sources now.

Revision history for this message
Steve Romanow (slestak989) wrote :
Revision history for this message
Steve Romanow (slestak989) wrote :

Okay. It does work. The last git url i pasted is specifically for the Q. Anyone who is using this for their Q, do not have it connected to your laptop when you start modem link, the cdc-acm driver will not detect your phone and /dev/ttyACM0 will not be created. Start the Modem Link software, then press Activate, THEN plug the USB cable in to your laptop.

Changed in linux-source-2.6.20:
status: Incomplete → Confirmed
Chuck Short (zulcss)
Changed in linux-source-2.6.20:
importance: Undecided → Wishlist
Revision history for this message
binarypower (binarypower) wrote :

Still getting the "error -22" after putting it into "modem mode" (activated before i plugged it in). Has this patch been applied to the current Ubuntu Kernel?

Revision history for this message
Steve Romanow (slestak989) wrote : RE: [Bug 121762] Re: Inclusion of cdc-acm patch in Ubuntu kernel

I do not think it has. There has been no kernel release from apt since i rebuilt my cdc-acm.ko

We can compare notes and if we have the same kernel package, i will email you my .ko

Steve

-----Original Message-----
From: "binarypower" <email address hidden>
To: <email address hidden>
Sent: 7/9/2007 3:44 PM
Subject: [Bug 121762] Re: Inclusion of cdc-acm patch in Ubuntu kernel

Still getting the "error -22" after putting it into "modem mode"
(activated before i plugged it in). Has this patch been applied to the
current Ubuntu Kernel?

--
Inclusion of cdc-acm patch in Ubuntu kernel
https://bugs.launchpad.net/bugs/121762
You received this bug notification because you are a direct subscriber
of the bug.

Revision history for this message
binarypower (binarypower) wrote :

I rebuilt the entire kernel from 2.6.22. This corrected my issue but now my
wifi stopped working... the whole bcm43xx issue... lotsa fun. Anyway, thanks
for helping me isolate the issue!

On 7/10/07, Steve Romanow <email address hidden> wrote:
>
> I do not think it has. There has been no kernel release from apt since
> i rebuilt my cdc-acm.ko
>
> We can compare notes and if we have the same kernel package, i will
> email you my .ko
>
> Steve
>
> -----Original Message-----
> From: "binarypower" <email address hidden>
> To: <email address hidden>
> Sent: 7/9/2007 3:44 PM
> Subject: [Bug 121762] Re: Inclusion of cdc-acm patch in Ubuntu kernel
>
> Still getting the "error -22" after putting it into "modem mode"
> (activated before i plugged it in). Has this patch been applied to the
> current Ubuntu Kernel?
>
> --
> Inclusion of cdc-acm patch in Ubuntu kernel
> https://bugs.launchpad.net/bugs/121762
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> --
> Inclusion of cdc-acm patch in Ubuntu kernel
> https://bugs.launchpad.net/bugs/121762
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Changed in linux-source-2.6.20:
assignee: nobody → ubuntu-kernel-team
Revision history for this message
Chuck Short (zulcss) wrote :

This has already been fixed in gutsy.

Changed in linux-source-2.6.20:
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.