37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| # This rule was added by Solaar.
 | |
| #
 | |
| # Allows non-root users to have raw access the Logitech Unifying USB Receiver
 | |
| # device. For development purposes, allowing users to write to the receiver is
 | |
| # potentially dangerous (e.g. perform firmware updates).
 | |
| 
 | |
| ACTION != "add", GOTO="solaar_end"
 | |
| SUBSYSTEM != "hidraw", GOTO="solaar_end"
 | |
| 
 | |
| # official Unifying receivers
 | |
| ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", GOTO="solaar_apply"
 | |
| ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c532", GOTO="solaar_apply"
 | |
| 
 | |
| # Nano receiver, "Unifying Ready"
 | |
| ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52f", GOTO="solaar_apply"
 | |
| 
 | |
| # clasic Nano receiver -- VX Nano mouse
 | |
| ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c526", GOTO="solaar_apply"
 | |
| 
 | |
| GOTO="solaar_end"
 | |
| 
 | |
| LABEL="solaar_apply"
 | |
| 
 | |
| # don't apply to the paired peripherals, just the receivers
 | |
| DRIVERS=="logitech-djdevice", GOTO="solaar_end"
 | |
| 
 | |
| # Allow any seated user to access the receiver.
 | |
| # uaccess: modern ACL-enabled udev
 | |
| # udev-acl: for Ubuntu 12.10 and older
 | |
| TAG+="uaccess", TAG+="udev-acl"
 | |
| 
 | |
| # Grant members of the "plugdev" group access to receiver (useful for SSH users)
 | |
| #MODE="0660", GROUP="plugdev"
 | |
| 
 | |
| LABEL="solaar_end"
 | |
| # vim: ft=udevrules
 |