-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Need to install dev rules after every startup #69
Comments
Can you post the output of the install script and can you check that the installed files are still there after reboot? |
after it I can see the the 20-usb-elektron-rules file, and also after reboot.
so I guess I found the problem, sorry for taking your time. But if there would be a way to make the system recognize the device if it's plugged in before it started, that would make things even more stable. thanks, Barnabás |
That's a known problem with devices in Overbridge mode. At least, it happens to me every time I reboot my computer. As you've said replugging the USB cable solves it. Changing the USB mode in the devices works too. |
Thanks for your help guys! |
I wonder if it would be enough to reset the USB ports. Can you try to follow the answer from the post below and report back if it solved the issue? https://unix.stackexchange.com/questions/234581/disconnect-and-reconnect-usb-port-via-cli#243457 If it works, maybe this could be automated? |
I'll try to take a look at this because resetting the device manually is annoying. |
okey, then I won't try now |
I've noticed that the issue is that the udev rules are not applied at boot. At least not correctly. The error
Changing the permission manually fixes it. Digitakt is device
So the issue is outside the Overwitch code. But it might be on the udev rules definition though. @tothbar, could you confirm that this solves your issue? At least we'll know where to look next. |
Running Further research seems to indicate that the prefix
@tothbar, take a look at the branch and once you confirm it works it will be merged into master. BTW, don't forget to run |
|
Thanks for reporting this, @szszoke. Running Also, branch Same situation as before. Don't forget to run |
|
I could not see permission issues after rebooting just my computer but not my DT2. Overwitch just worked. |
got back to the project now. Thanks guys for the fix, it works perfectly. |
i made a script now, to lunch overwitch when usb is connected `#!/bin/bash echo "Digitone-overwitch started" >> /var/log/usb-log.txt ` created it with and made the udev rule with contains: works perfeclty, its so much more convenient now! |
That is really cool. Would you like to add this to the Perhaps we could create a subsection at the end of the Installation section. https://github.com/dagargo/overwitch?tab=readme-ov-file#installation |
Ill! newer did something like this:) |
Inspired by the @tothbar idea, I've just added an option to run
This way, having a
Obviously, when running the service there is no need for the GUI whatsoever. |
Hi, I'm using raspberry pi5 with a fresh install of rasbian arm64. For some reason I need to install the dev rules after every time I reboot the system. Do u know any solutions for this?
The text was updated successfully, but these errors were encountered: