All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: hid2hci.rules uses old udevadm location
       [not found] ` <1424549892.30961.2.camel@gentoo.org>
@ 2015-03-01  9:39   ` Pacho Ramos
  0 siblings, 0 replies; only message in thread
From: Pacho Ramos @ 2015-03-01  9:39 UTC (permalink / raw)
  To: linux-bluetooth

El sáb, 21-02-2015 a las 21:18 +0100, Pacho Ramos escribió:
> El vie, 13-02-2015 a las 10:56 +0100, Pacho Ramos escribió:
> > Hello
> > 
> > It seems that hid2hci.rules uses old udevadm location
> >   ENV{REMOVE_CMD}="/sbin/udevadm trigger --action=change
> > --subsystem-match=usb --property-match=HID2HCI_SWITCH=1"
> > 
> > 
> > Wouldn't be better to make it use the current location used in
> > udev/systemd? (/usr/bin/udevadm) (or to not hardcode the location)
> > 
> > Thanks a lot
> > 
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> Or are we supposed to create the compat symlinks at /sbin?
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Probably you could supply something like the following rule to try to
cover both cases, changing:

ATTR{bDeviceClass}=="e0", ATTR{bDeviceSubClass}=="01",
ATTR{bDeviceProtocol}=="01", ATTR{idVendor}=="413c", \
  ENV{REMOVE_CMD}="/sbin/udevadm trigger --action=change
--subsystem-match=usb --property-match=HID2HCI_SWITCH=1"

to:

ATTR{bDeviceClass}=="e0", ATTR{bDeviceSubClass}=="01",
ATTR{bDeviceProtocol}=="01", ATTR{idVendor}=="413c", \
  ENV{REMOVE_CMD}="/usr/bin/udevadm trigger --action=change
--subsystem-match=usb --property-match=HID2HCI_SWITCH=1" \
  ENV{REMOVE_CMD}="/sbin/udevadm trigger --action=change
--subsystem-match=usb --property-match=HID2HCI_SWITCH=1"

What do you think?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-01  9:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1423821397.31528.59.camel@gentoo.org>
     [not found] ` <1424549892.30961.2.camel@gentoo.org>
2015-03-01  9:39   ` hid2hci.rules uses old udevadm location Pacho Ramos

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.