Skip to content
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

Error loading template example deck #136

Open
docop opened this issue Oct 20, 2023 · 0 comments
Open

Error loading template example deck #136

docop opened this issue Oct 20, 2023 · 0 comments

Comments

@docop
Copy link

docop commented Oct 20, 2023

Hi this is quite a great project with a fully install file that will be perfect to used that ctrl unit. But i cannot get it to work or the example file is not readed or so.. over a Debian VERSION_CODENAME="bookworm"
Here all the details:

deckmaster -verbose -deck ~/main.deck
Found device with serial Axxxxxxx (15 buttons, firmware 1.0.170133)
Could not create virtual input device (/dev/uinput): failed to create virtual keyboard device: could not open device file
Emulating keyboard events will be disabled!
Loading deck: /home/xpuser/main.deck
wait for event: BadDrawable {NiceName: Drawable, Sequence: 2, BadValue: 0, MinorOpcode: 2, MajorOpcode: 145}
Can't load deck: toml: line 1: expected '.' or '=', but got '{' instead

  • Stream deck : lsusb -v
    model 15 bts= idVendor 0x0fd9 / idProduct 0x0060 / bcdDevice 1.0

sudo apt install ./deckmaster_0.9.0_linux_amd64.deb

cat /etc/udev/rules.d/99-streamdeck.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="0060", TAG+="uaccess"

or change by :
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="0060", MODE:="666", GROUP="plugdev", SYMLINK+="streamdeck"

and reload by :
sudo udevadm control --reload-rules / sudo udevadm trigger or a reboot.

Over group, the user is the full admin of the system and also member of the group plugdev. Same thing if i do :
usermod -aG plugdev usrxyz

When i check the device i do have this:
ls -l /dev/bus/usb/003/004
crw-rw-r--+ 1 root root 189, 259 Oct 20 19:28 /dev/bus/usb/003/004

I also download your example file and put direct : in /home/userxyz/main.deck
via:
wget https://github.com/muesli/deckmaster/raw/master/decks/main.deck

Thanks for tips or so..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant