Thor77 / Blueproximity

Run a command once a bluetooth device is in/out of a range
GNU General Public License v2.0
66 stars 15 forks source link

Screen is rapidly locked and unlocked #45

Open Thor77 opened 7 years ago

Thor77 commented 7 years ago

Hi,

On OpenSuse 11.3 with the latest 1.2.5 build, the connection is succesfully created, but monitoring it appears to have adverse effects. It's an Android 2.2 phone, and when in the vicinity of the computer the computer will lock and then immediately unlock every minute or so, depending on which channel is being monitored.

Only 4 channels are available according to the scan, and I've tried them all. Some have it locking and unlocking every 15 seconds, others every 3 minutes. Here's an excerpt from syslog if it helps. The phone is paired with the computer, and works well in all other regards.

Oct 28 11:49:43 wmws0001 blueproximity[25580]: screen is locked Oct 28 11:49:44 wmws0001 blueproximity[25580]: screen is unlocked Oct 28 11:49:46 wmws0001 bluetoothd[9802]: link_key_request (sba=00:0F:EA:94:57:B3, dba=38:E7:D8:44:7F:0C) Oct 28 11:49:46 wmws0001 blueproximity[25580]: screen is locked Oct 28 11:49:47 wmws0001 blueproximity[25580]: screen is unlocked Oct 28 11:49:49 wmws0001 bluetoothd[9802]: link_key_request (sba=00:0F:EA:94:57:B3, dba=38:E7:D8:44:7F:0C) Oct 28 11:49:50 wmws0001 blueproximity[25580]: screen is locked Oct 28 11:49:51 wmws0001 blueproximity[25580]: screen is unlocked Oct 28 11:49:53 wmws0001 bluetoothd[9802]: link_key_request (sba=00:0F:EA:94:57:B3, dba=38:E7:D8:44:7F:0C) Oct 28 11:49:53 wmws0001 blueproximity[25580]: screen is locked Oct 28 11:49:54 wmws0001 blueproximity[25580]: screen is unlocked Oct 28 11:49:57 wmws0001 bluetoothd[9802]: link_key_request (sba=00:0F:EA:94:57:B3, dba=38:E7:D8:44:7F:0C) Oct 28 11:49:57 wmws0001 blueproximity[25580]: screen is locked Oct 28 11:49:58 wmws0001 blueproximity[25580]: screen is unlocked

Hope this helps

Kyle