Giter Club home page Giter Club logo

jabra-busylight's Introduction

Jabra busy light for Linux

This service connects to the Jabra and when it became active (audio is emitted) the busy light is enable.

Dependencies

  • systemd to start the service
  • jabra-sdk-linux The linux Jabra SDK here
sudo cp udev/99-jabra.rules /etc/udev/rules.d/99-jabra.rules
sudo udevadm control --reload

Build

CGO_LDFLAGS="-Ljabra-sdk-linux_1.12.2.0/JabraLibLinux/library/ubuntu/64-bit" go build

Test

LD_LIBRARY_PATH=jabra-sdk-linux_1.12.2.0/JabraLibLinux/library/ubuntu/64-bit ./jabra-busylight

Deploy

mkdir -p ~/bin/jabra-busylight
cp jabra-busylight ~/bin/jabra-busylight/
cp jabra-sdk-linux_1.12.2.0/JabraLibLinux/library/ubuntu/64-bit/* ~/bin/jabra-busylight/
mkdir -p ~/.config/systemd/user/
cp systemd/jabra-busylight.service ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable jabra-busylight
systemctl --user start jabra-busylight

Logs

journalctl --user -u jabra-busylight -f

2022/10/01 13:30:11 testing C binding: this line must be print
2022/10/01 13:30:11 attach  Jabra Link 380
2022/10/01 13:30:11 first scan
2022/10/01 13:30:13 attach  Jabra Evolve2 85
2022/10/01 13:30:26 Set busy light on Jabra Evolve2 85 to true
2022/10/01 13:30:36 Set busy light on Jabra Evolve2 85 to false

jabra-busylight's People

Contributors

aarnaud avatar danielroedl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

danielroedl

jabra-busylight's Issues

Only turn on light when microphone is in use?

Would it somehow be possible to make this only turn on the busylight, when the microphone is in use? (when the Jabra dongle light is green/red)

The current implementation is much better than no light, but it will also turn on just listening to music, where I would be OK with being interrupted.

It seems to me that watching for when the microphone is in use (video meeting) would work much better for me, giving a clear indication that I'm currently in a meeting and should not be interrupted.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.