- Package:
- console-setup
- Source:
- console-setup
- Submitter:
- Jordi Pujol
- Date:
- 2014-08-07 19:00:22 UTC
- Severity:
- minor
When I change the keyboard type in the file /etc/default/keyboard, and after restarting the service, udev does not reflect the change, until that I execute udevadm trigger && udevadm settle I think that the setupcon program should call udevadm after setting a new keyboard layout, Regards, Jordi Pujol Live never ending Tale GNU/Linux Live forever! http://livenet.selfip.com
tag 568645 help severity 568645 minor thank you Strictly speaking setupcon means 'setup console' and this doesn't suppose that udevadm has to be called. Because of this I am lowering the severity to 'minor'. On the other hand I agree that this can be useful. The reason I am not going to fix this is that I am not well acquanted with the udev/hal system. I understand that the patch to fix the bug is very simple but sometimes to maintain a one-line code and to fix all problems that could arise in the future requires more than simply understanding what this one-line command does. There is no way back - if this functionality is added to setupcon the users will expect it so it would be impossible to revert the change. Correspondingly I am adding a 'help' tag to this bug and leaving for some other developer to fix it. Anton Zinoviev
No package should call "udevadm trigger", ever. At most, if this is actually needed by the package, the command used should be something like "udevadm trigger --action=change --xxxxx-match=yyyy" with the appropriate options to restrict the events to only the right devices. I see no reason to call "udevadm settle" either in this scenario.
Hello, following those directives, could be: udevadm trigger --action=change --subsystem-match=input I have written the attached patch to solve that, Jordi Pujol Live never ending Tale GNU/Linux Live forever! http://livenet.selfip.com A Dissabte, 6 de febrer de 2010 18:32:41, vàreu escriure:
A Dissabte, 6 de febrer de 2010 16:05:45, Anton Zinoviev va escriure: the X server uses the keyboard layout specified by udev, changing the console keyboard also implies the keyboard layout used by the X server, after the change, restarting the services has no effect on the X keyboard until we update udev, or rebooting the complete OS. Jordi Pujol Live never ending Tale GNU/Linux Live forever! http://livenet.selfip.com