Evdev uniq id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
In X, i want an application program to apply settings to a specific
mouse/puck device, regardless of how many other devices have been
plugged in since the last session.

Prefereably, a manufacturer-model-serial_number call would be available
from evdev.

Minimally, a uniq non-changing ID could be useful. I found this in
linux-2.6.31.1/drivers/input/evdev.c:

  if (_IOC_NR(cmd) == _IOC_NR(EVIOCGUNIQ(0)))
    return str_to_user(dev->uniq, _IOC_SIZE(cmd), p);

How is "dev->uniq" constructed?
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux