Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Debian 8.6] Problem with Udev rules

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
syncom
Posts: 6
Joined: 2016-11-05 19:29

[Debian 8.6] Problem with Udev rules

#1 Post by syncom »

$ sudo nano /etc/udev/rules.d/ups.rules

# Network UPS
KERNEL=="hiddev*", ATTRS{manufacturer}=="American Power Conversion", ATTRS{serial}=="AS0000000001", OWNER="root", SYMLINK+="usb/ups-network"

# Server UPS
KERNEL=="hiddev*", ATTRS{manufacturer}=="American Power Conversion", ATTRS{serial}=="AS0000000002", OWNER="root", SYMLINK+="usb/ups-server"
I need to write this rule but KERNEL=="hiddev*" doesn't work while SUBSYSTEM=="usb" works.
I need that symlink point to hiddev instead SUBSYSTEM=="usb" makes a symlink under /dev.

Help me please and sorry for my english

Post Reply