You are not logged in.
Pages: 1
Every time I boot my laptop on I must do following to use my BT logitech mouse:
1. # hciattach -s 152000 /dev/ttyS1 billionton
2. Turn bluetooth ON in blueman
Every time I suspend/resume my laptop I must do following:
1. # killall hciattach
2. # hciattach -s 152000 /dev/ttyS1 billionton
Can I do somehow these tings automatically ?
Thank you in advance !
Im using:
Linux 3.10.62
Xfce 4.11.8
bluez 5.26
bluez-utils 5.26
Offline
You can use systemd to run a command on boot. (https://wiki.archlinux.org/index.php/systemd)
You can also run a script when the system resumes by putting it in /etc/pm/sleep.d/ e.g.
#!/bin/sh
if [ "$1" == "resume" ] || [ "$1" == "thaw" ]
then
sleep 5
export DISPLAY=:0
su -c - as_user /path/to/script
fi
Andrew
Offline
I had a Genius's BT mouse and always it took about 1 minute to hook to bluetooth to connect. Moving the mouse should re-initiate the connection.
do it good first, it will be faster than do it twice the saint
Offline
Pages: 1