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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Karcher
Date: Thursday, April 17, 2008 - 11:01 pm

Am Donnerstag, den 17.04.2008, 20:24 -0700 schrieb Greg KH:
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 . The header of this
patch talks about three changes (declaration of unusual devices,
disabling product ID matching in driver.c and finally declaring the
product in option.c). I find only the first and the last point if this
reflected in the patch, and there are *no* patches at all to
drivers/usb/core/driver.c in the timeframe you mentioned. This patch
addresses the second point of that list, but in another way.

The problem is that those huawei products have four USB interfaces,
three usb-serial like interfaces handled by the option driver and a
fourth one to be handled by usb-storage. When the stick gets initially
plugged, only the mass storage device is visible and needs a magic kick
to expose the other interfaces. aad8a278 contains a valid and working
patch to kick those USB devices if the mass storage interface gets bound
by usb-storage. At least in 2.6.25-rc8, if the option module is loaded,
the mass storage device gets bound to the option driver instead that
exposes a useless and non-functional serial interface on the mass
storage endpoint. This prevents the usb-storage driver to perform the
needed kicking.

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.

You're welcome.

Kind regards,
  Michael Karcher


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] usb-serial: option: Don't match Huawei driver ..., Michael Karcher, (Thu Apr 17, 11:01 pm)
Re: [PATCH] usb-serial: option: Don't match Huawei driver ..., Michael Karcher, (Thu Apr 17, 11:30 pm)