Re: [PATCH] usb-serial: option: Don't match Huawei driver CD images

From: Michael Karcher
Date: Fri Apr 18 2008 - 03:10:10 EST



Am Freitag, den 18.04.2008, 08:01 +0200 schrieb Michael Karcher:
> Am Donnerstag, den 17.04.2008, 20:24 -0700 schrieb Greg KH:
> > What is this patch against? We have a change that went into 2.6.25
> > after 2.6.25-rc9 that should make this patch not be needed.
> The patch is developed against 2.6.25-rc8 + some git patches, but I have
> forward-ported it to current git.
>
> I *guess* you are talking about commit aad8a278 (USB: support more
> Huawei data card product IDs), as I could not find .
insert "any other patches applying to usb/usb-serial that might be
involved" before the full stop.
[...]

> > Can you try that release and verify this?
> I will try with a current git kernel without my patch and report back,
> but I will be surprised if the problem described above is gone. System
> is currently compiling.
Kernel compiled & booted. Won't work without the patch.

Relevant dmesg and lsusb -v output follows.

Regards,
Michael Karcher

dmesg:
usb 2-1: new full speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
option 2-1:1.0: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
usbcore: registered new interface driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.

lsusb -v:
Bus 002 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x12d1 Huawei Technologies Co., Ltd.
idProduct 0x1001 E620 USB Modem
bcdDevice 0.00
iManufacturer 1 ïïïïïïïïïïïïïïïïïïï
iProduct 2 HUAWEI Mobile
iSerial 1 ïïïïïïïïïïïïïïïïïïï
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)


Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil