Hi Guys, I wrote a script that checks every 10 seconds if there is any bluetooth device active. This means when my Logitech Mediaboard Pro keyboard is sleeping i only have to press my RESET button and it automatically reconnect. Howto: Create the keyaboard.sh file with the following command: "sudo nano /etc/keyboard.sh"Put the following code in the file: while (sleep 10) do sudo hidd --search > /dev/null doneClose and save the filesudo nano /etc/init.d/keyboardPut the following code in /etc/init.d/keyboard #!/bin/sh /etc/keyboard.sh & exit 0Close and save the fileGive both files chmod +X with chmod +x {filename}and at last: sudo update-rc.d keyboard defaults Reboot and check if it works
[ deleted ]
Last edited by Plantface; January 28th, 2010 at 10:30 PM. Reason: obsolete post
Awesome that works. It's terribly slow however even if you'd set the sleep time to 3 seconds or whatever. Instead of: sudo hidd --search > /dev/null use: sudo hidd --connect AA:BB:CC:DD:EE:FF > /dev/null Much quicker.
Last edited by Plantface; January 28th, 2010 at 10:29 PM.
Originally Posted by Plantface Awesome that works. It's terribly slow however even if you'd set the sleep time to 3 seconds or whatever. Instead of: sudo hidd --search > /dev/null use: sudo hidd --connect AA:BB:CCD:EE:FF > /dev/null Much quicker. http://blog.projectnibble.org/2010/0...ty-workaround/
Ubuntu Forums Code of Conduct