Guest User

99-seat.rules

a guest
Aug 5th, 2013
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. #SUBSYSTEM=="input", ENV{ID_INPUT.tags}="Seat0"
  2. #SUBSYSTEM=="input", DEVPATH=="/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/*", ENV{ID_INPUT.tags}="Seat1"
  3.  
  4. # assign everything plugged into this USB port to seat1
  5. TAG=="seat", DEVPATH=="/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/*", ENV{ID_SEAT}="seat1", TAG+="seat1"
  6.  
  7. # assign video cards
  8. TAG=="seat", DEVPATH=="/devices/pci0000:00/0000:00:01.0/0000:01:00.0/*", ENV{ID_SEAT}="seat0", TAG+="seat0"
  9. TAG=="seat", DEVPATH=="/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/*", ENV{ID_SEAT}="seat1", TAG+="seat1"
Advertisement
Add Comment
Please, Sign In to add comment