From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Kotsbak Subject: Re: [PATCH] net/usb: Add Samsung Kalmia driver for Samsung GT-B3730 Date: Mon, 13 Jun 2011 17:01:42 +0200 Message-ID: <4DF62656.8060506@gmail.com> References: <1307748870-12950-1-git-send-email-marius@kotsbak.com> <1307977039.2117.7.camel@dcbw.foobar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Cc: davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "Marius B. Kotsbak" To: Dan Williams Return-path: In-Reply-To: <1307977039.2117.7.camel-wKZy7rqYPVb5EHUCmHmTqw@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org On 13. juni 2011 16:57, Dan Williams wrote: > On Sat, 2011-06-11 at 01:34 +0200, Marius B. Kotsbak wrote: >> Introducing driver for the network port of Samsung Kalmia based USB LTE modems. >> It has also an ACM interface that previous patches associates with the "option" >> module. To access those interfaces, the modem must first be switched from modem >> mode using a tool like usb_modeswitch. >> >> As the proprietary protocol has been discovered by watching the MS Windows driver >> behavior, there might be errors in the protocol handling, but stable and fast >> connection has been established for hours with Norwegian operator NetCom that >> distributes this modem with their LTE/4G subscription. > Why make the driver bind to both the switched and unswitched USB IDs? > Shouldn't the kernel bind the driver after switch when the device > reconnects with the new IDs? No, I tried and it did not happen, so I assumed that the kernel modules are only loaded at USB insertion event, not when the interfaces changes. Does anyone here know if my observation is right? Usb_modeswitch autoloads "option" module after switching, but not my kalmia module. -- Marius -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html