Knobster Disconnected in Air Player

Support for the SimWareKits Knobster in combination with Air Manager and Air Player

Moderators: russ, Ralph

Post Reply
Message
Author
Knaldgas
Posts: 6
Joined: Sun Sep 17, 2023 8:36 am

Knobster Disconnected in Air Player

#1 Post by Knaldgas »

Have installed Air Player on an RPi4 and set it to auto-start.
Air Manager on Windows 11 connects nicely to AP on RPi4, but the Knobster on RPi4 shows disconnected.
Restarting AM and/or AP does not help.
Unplug then plug the knobster USB resolves the issue.

I would like the system to "just start up" without having to reconnect the knobster on every start. How can I do that?
I tried a couple of ways to reconnect the device from command line: https://askubuntu.com/questions/645/how ... mmand-line
I tried the c-program:

Code: Select all

/* usbreset -- send a USB port reset to a USB device */
...
and the

Code: Select all

sudo sh -c "echo 0 > /sys/bus/usb/devices/1-4.6/authorized"
sudo sh -c "echo 1 > /sys/bus/usb/devices/1-4.6/authorized"
but didn't work (intention were to do some kind of work-around)

How can I fix this?

jpihrke
Posts: 2
Joined: Fri Nov 03, 2023 3:47 am

Re: Knobster Disconnected in Air Player

#2 Post by jpihrke »

I was having the same problem on my Debian machine and was able to fix it by running the following:

Code: Select all

echo '1-1.6.1' > /sys/bus/usb/drivers/usb/unbind
echo '1-1.6.1' > /sys/bus/usb/drivers/usb/bind
My Knobster's device ID happens to be 1-1.6.1. You can find yours by running:

Code: Select all

dmesg | grep Knobster
Note: all of the commands above must be run with root privileges.

Ref: https://askubuntu.com/questions/798040/ ... ormal-user

Knaldgas
Posts: 6
Joined: Sun Sep 17, 2023 8:36 am

Re: Knobster Disconnected in Air Player

#3 Post by Knaldgas »

jpihrke wrote: Fri Nov 03, 2023 4:00 am

Code: Select all

echo '1-1.6.1' > /sys/bus/usb/drivers/usb/unbind
echo '1-1.6.1' > /sys/bus/usb/drivers/usb/bind
Ref: https://askubuntu.com/questions/798040/ ... ormal-user
This works! I made a script based on this to automatically find the device id and use that for the unbind/bind calls.
Finally I can power on and get flying, without having "unplug Knobster, then replug" on my preflight checklist!
Thanks a bunch! :D

jpihrke
Posts: 2
Joined: Fri Nov 03, 2023 3:47 am

Re: Knobster Disconnected in Air Player

#4 Post by jpihrke »

Thanks a bunch! :D
Happy to help!

Post Reply