The device type may be identified using existing ioctls:
EVIOCGNAME, EVIOCGPHYS. Is this sufficient?
Should be IMHO, I've named them sprintf("pci-%s/input0",pci_name(dev)),
that should be unique.
unique, but these names don't reflect the actually used decoder hardware
which might be a good hint for the userspace application to determine
the supported IR protocols or limitations to hook in specialized keymaps
(one example: the AV711x firmware cuts down RC5 and RCMM keycodes to 8
or 12 bits even if the original code had more bits, this is a hardware
limitation).