Questions tagged [ude]

2 questions
2
votes
1 answer

udev rule for bluetooth device Logitech

I want to write udev rule for a Logitec Bluetooth. My keyboard and mouse connect to PC as one Bluetooth device. When I monitor udev, I see there are separate events for keyboard and mouse. I want to allow mouse usage but not keyboard. If I ignore…
ibasaran
  • 121
  • 2
  • 8
1
vote
0 answers

udev rules to identify a USB storage media?

I need to execute a command once a usb storage media is inserted. But I don't want to identify the device by the device file, e.g /dev/sdcX. So I can't use filters like KERNEL=="sd?" Is there any other identifier I could use, maybe the serial number…
daisy
  • 53,527
  • 78
  • 236
  • 383