[systemd-devel] [PATCH] rules: don't enable usb pm for Avocent devices

Lennart Poettering lennart at poettering.net
Thu Jun 26 10:03:25 PDT 2014


On Wed, 25.06.14 11:57, Tom Hirst (tom.hirst at ipe-systems.co.uk) wrote:

> The Avocent KVM over IP devices doesn't work correctly with USB power
> management enabled.
> ---
>  rules/42-usb-hid-pm.rules | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/rules/42-usb-hid-pm.rules b/rules/42-usb-hid-pm.rules
> index c675b5b..4c300da 100644
> --- a/rules/42-usb-hid-pm.rules
> +++ b/rules/42-usb-hid-pm.rules
> @@ -12,10 +12,6 @@ ACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Mouse", ATTR{serial}!=
>  ACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Tablet", ATTR{serial}!="1", TEST=="power/control", ATTR{power/control}="auto"
>  ACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Keyboard", ATTR{serial}!="1", TEST=="power/control", ATTR{power/control}="auto"
>  
> -# Catch-all for Avocent HID devices. Keyed off interface in order to only
> -# trigger on HID class devices.
> -ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0624", ATTR{bInterfaceClass}=="03", TEST=="../power/control", ATTR{../power/control}="auto"
> -
>  # Dell DRAC 4
>  ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="413c", ATTR{idProduct}=="2500", TEST=="power/control", ATTR{power/control}="auto"

Shouldn't we move this stuff to the hwdb? Kay?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list