Re: [PATCH] * callouts/77-nm-probe-modem-capabilities.rules:



On Wed, 2009-03-25 at 17:03 +0100, Alexander Sack wrote:
> ---
>  ChangeLog                                     |    6 ++++++
>  callouts/77-nm-probe-modem-capabilities.rules |    2 +-
>  2 files changed, 7 insertions(+), 1 deletions(-)
> 
> diff --git a/ChangeLog b/ChangeLog
> index d529664..f61dd06 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,9 @@
> +2009-03-25  Alexander Sack  <asac ubuntu com>
> +
> +	* callouts/77-nm-probe-modem-capabilities.rules:
> +		- fix broken modem-prober by referencing idVendor
> +			and idProduct from the parent.
> +
>  2008-12-11  Dan Williams  <dcbw redhat com>
>  
>  	* Move NetworkManager to git.freedesktop.org
> diff --git a/callouts/77-nm-probe-modem-capabilities.rules b/callouts/77-nm-probe-modem-capabilities.rules
> index a134bc9..78cd774 100644
> --- a/callouts/77-nm-probe-modem-capabilities.rules
> +++ b/callouts/77-nm-probe-modem-capabilities.rules
> @@ -5,7 +5,7 @@ SUBSYSTEM!="tty", GOTO="nm_modem_probe_end"
>  KERNEL!="tty*", GOTO="nm_modem_probe_end"
>  
>  DRIVERS=="serial_cs", IMPORT{program}="nm-modem-probe --delay 3000 --export $tempnode", GOTO="nm_modem_probe_end"
> -DRIVERS=="option|sierra|hso|cdc_acm", IMPORT{program}="nm-modem-probe --vid 0x$attr{idVendor} --pid 0x$attr{idProduct} --usb-interface $attr{bInterfaceNumber} --driver $attr{driver} --delay 3000 --export $tempnode", GOTO="nm_modem_probe_end"
> +DRIVERS=="option|sierra|hso|cdc_acm", IMPORT{program}="nm-modem-probe --vid 0x$attr{../idVendor} --pid 0x$attr{../idProduct} --usb-interface $attr{bInterfaceNumber} --driver $attr{driver} --delay 3000 --export $tempnode", GOTO="nm_modem_probe_end"
>  
>  LABEL="nm_modem_probe_end"

For anyone interested, I worked this out with Alexander and Kay
yesterday and I think what's on the 0.7 branch should work for everyone
now.  Please let me know if it doesn't.

Dan




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