[Libdlo] Multiseat device numbering bug

Alexander Todorov atodorov at otb.bg
Sun Oct 24 07:22:48 PDT 2010


Alexander Todorov wrote:
> Hi all,
> I have discovered a bug in the current udev rules that handle multi seat 
> configuration.
> 
> The udev rules take into account only devnum which is not globally 
> unique. When a system has multiple USB buses (mine latest has 3) then 
> different devices can have the same devnum. 

Hi all,
FYI the numbering solution that I've decided to use is as follow:

1) Create symlinks under /dev/usbseat/busX-devY/
2) When starting the seat busX-devY first read the display link which points to 
a /dev/fbZ device. Use Z as the number for DISPLAY which is passed to Xorg and GDM.

--
Alexander.


More information about the Libdlo mailing list