-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
btnx not starting at boot #7
Comments
That is really strange, because I have no problems with it starting running on 18.10 (and it's worked on every instance of Ubuntu I've used, which is dating back a long time now). What steps did you use to install/build the program? Can you show the contents of the |
Thanks for your reply. I installed the
|
Ah, that could be a problem! That code and .deb package build hasn't been updated in almost 10 years. The code on Launchpad was partially lost before I took over maintaining the project. That's why it has moved to GitHub. I will have a look at the startup script. Normal Ubuntu operates on runlevel 5, so I want to see what your system configuration is for runlevel 5. Please share the output of this command:
Nevertheless you might want to try building and installing the code from these github repositories. Not a lot has changed but I have fixed a few bugs that cropped up along the way. I wonder if there's an easy way to create a .deb package, or even better might be an .appImage file. I've never looked into those. |
I am sorry, I did not notice the build was that old. I will try to build the repository.
|
So I built the repository without errors, however the problem stayed exactly the same. btnx does not start at boot, but
New
New
|
On the machine where you expect btnx to startup automatically, open a console and share the output of this command:
|
Outputs |
This is unusual. If your Ubuntu system is using standard System-V, we've confirmed it is loading into runlevel-5. We've confirmed the symbolic link to the btnx startup file is loaded in /etc/rc5.d/. (File named S01btnx -> ../init.d/btnx) and startup script looks okay. Can you show me the contents of Also, did you remove the old instance of btnx from the Launchpad deb file from your system? I'm not sure if it will erase commonly shared files with the version you just built and installed from the recent repos. |
I ran
|
You ran the correct removal procedure, so you should be fine. Hmm, I don't know if that btnx.rules file matters BUT your file is different from mine. This is mine: BUS=="usb", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="101a", ACTION=="add", RUN+="/etc/init.d/btnx start" The log snippet you shared earlier referenced and error on these two lines. I'm not sure what. I'm going to investigate. What brand of mouse are you using? |
Changing the udev rules did not help. |
Hi,
I have btnx installed and it works fine, however it does not start at boot and I have execute it manually after every boot. Mys /var/log/syslog shows it is trying to start:
but
sudo /etc/init.d/btnx start
works fine as well.I am running Linux Mint 18.1 Cinnamon 64-bit.
Any ideas what is going wrong?
The text was updated successfully, but these errors were encountered: