When the raspi-config init script checks whether the shift key is being pushed or not,
these 2 problems may occur:
If the keyboard is not connected, "/dev/input/event" points no file. So thd prints "Error opening '/dev/input/event': No such file or directory".
If the keyboard had once been connected and is no longer connected, the event device is not valid. So thd prints "Error opening '/dev/input/event0': No such device or address", for example.
So I write a function which checks the existence and the validity of /dev/input/event*.
Please evaluate my codes and merge to your master branch.
When the raspi-config init script checks whether the shift key is being pushed or not, these 2 problems may occur:
So I write a function which checks the existence and the validity of /dev/input/event*. Please evaluate my codes and merge to your master branch.
Regards.