Re: [PATCH] identify mbm modems by GUID



On Tue, 2010-06-15 at 16:34 +0200, Jonas Sjöquist wrote:
> On Friday 11 June 2010 17.13.19 Jonas Sjöquist wrote:
> > Hi,
> > 
> > This patch identifies mbm modems by the GUID in the USB MDLM descriptor.
> > With this solution there is no need to add vid/pid to an udev rule for
> > every new CDC Ethernet based mbm device. All mbm devices currently handled
> > the mbm plugin as well as future devices should be identified by the GUID.
> > 
> > In this patch the GUID is read from the descriptors binary sysfs attribute,
> > it does not use libudev for this as libudev only seems to handle string
> > attributes.
> 
> Hmm, I was a bit to hasty sending this patch. The descriptors need to be 
> parsed, as the order of the descriptors may be different.
> 
> I'll fix it and re-send the patch.

No problem, though are the GUID of the MD300/PC300 and MD400 etc also
the same?  If not we may want to keep the udev rules file just for the
discrete SonyEricsson modems that support msotly the same command set.
Unfortunately I don't have one of these devices to check...

Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]