50ButtonsEach / fliclib-linux-dist

114 stars 19 forks source link

fliclib does not work with the current bluez master #34

Open pfink opened 8 years ago

pfink commented 8 years ago

One of the recent commits of bluez seem to break something up, it's not possible to connect buttons anymore. Log when trying to connect:

Connecting to: 80:E4:DA:70:CC:DD
Disconnecting from: 80:E4:DA:70:CC:DD
Disconnected from: 80:E4:DA:70:CC:DD
Connecting to: 80:E4:DA:70:CC:DD
Disconnecting from: 80:E4:DA:70:CC:DD
Disconnected from: 80:E4:DA:70:CC:DD
Connecting to: 80:E4:DA:70:CC:DD
Disconnecting from: 80:E4:DA:70:CC:DD
Disconnected from: 80:E4:DA:70:CC:DD
Connecting to: 80:E4:DA:70:CC:DD
Disconnecting from: 80:E4:DA:70:CC:DD
Disconnected from: 80:E4:DA:70:CC:DD
Connecting to: 80:E4:DA:70:CC:DD
Disconnecting from: 80:E4:DA:70:CC:DD
Disconnected from: 80:E4:DA:70:CC:DD
Connecting to: 80:E4:DA:70:CC:DD
Disconnecting from: 80:E4:DA:70:CC:DD
Disconnected from: 80:E4:DA:70:CC:DD
Connecting to: 80:E4:DA:70:CC:DD
Disconnecting from: 80:E4:DA:70:CC:DD
Disconnected from: 80:E4:DA:70:CC:DD
Connecting to: 80:E4:DA:70:CC:DD
Disconnecting from: 80:E4:DA:70:CC:DD
Disconnected from: 80:E4:DA:70:CC:DD

Moving back to Bluez 5.37 solves the problem. Although fliclib is still in beta and shouldn't be used for operational purposes, building bluez against master makes the behaviour very unpredictable and tracking of problems very hard as everything could change when a new commit comes in. Furthermore, many users will have many different bluez versions depending on the time they built it. Maybe it's better to recommend using bluez 5.37 instead of master?

NikolasE commented 8 years ago

I had the same behaviour and also had to downgrade.

eisenbe7 commented 8 years ago

Yeah, things are broken, which is a shame. 5.37 works but buttons disconnect sometimes and get stuck, and it still crashes for me after a couple of days. I'm definitely looking forward to when this gets to a point where things are stable.

As an update, bluez is now on 5.38 and the flic lib is not supported. Hopefully the bluez committers are aware of the issue.

TomTom101 commented 8 years ago

More luck w/ 5.39?

glade-at-gigwell commented 8 years ago

New to the project, but doesn't seem to work with 5.39, either. Rolled back to 5.37 and its more stable.