Matching USB modems on serial.port

Danny Kukawka danny.kukawka at web.de
Thu Jan 29 04:19:08 PST 2009


On Donnerstag, 29. Januar 2009, Adrian Cox wrote:
> I'm also matching on the parent device and vendor id above this level.
> Would device, vendor, and interface number be sufficient? 

Without the full lshal output I can't tell you, but it's may not enough.

> The (redacted) 
> fdi file is here:
>
[...]
> 	    <!-- Hide these ports from the Ubuntu Intrepid NetworkManager -->
>             <match key="@info.parent:usb.interface.number" int="3">
> 	      <merge key="modem.command_sets" type="strlist"></merge>
>             </match>
>             <match key="@info.parent:usb.interface.number" int="5">
> 	      <merge key="modem.command_sets" type="strlist"></merge>
>             </match>
>             <match key="@info.parent:usb.interface.number" int="7">
> 	      <merge key="modem.command_sets" type="strlist"></merge>

Please don't do such things. The modem.command_sets proterty should be used 
only if there are values added to the list. Don't add empty properties.

Danny



More information about the hal mailing list