• Embedded,  Linux

    Adding a user space “power switch” to your embedded linux

    Is is always amazing to see how some very obvious features are missing from the linux kernel. Yesterday, for a project I am developing for a Dutch firm, I come across one of these “very obvious feature”: the option to switch on and off a device in the embedded linux board we’re using. The problem seemed to be quite frequent: you have a device connected to the internal USB bus (a wifi module, maybe?) and you want to switch it off completely when not in use. It is the only USB connection in that bus, a single power line is powering that device, and still you need to power the…