HID support is broken on supercollider 3.13 linux (arch)

hello,

initializing any HID devise on my linux (arch based) machine with SC 3.13 keeps crashing sclang.
HID used to work without any problems for many years from SC 3.11 on linux (mint (ubuntu based), raspian (debian based), manjaro (arch based), etc).

downgrading to SC 3.12 is fixing it. tested this on two machines.
so i am pretty shure its a bug that comes with SC 3.13.

so in detail:
supercollider 3.13.0-2, sc3-plugins 3.13.0-1

HID permisions are set like in the SC document “HID permissions”.
/etc/udev/rules.d/90-hidraw-permissions.rules
KERNEL==“hidraw*”, SUBSYSTEM==“hidraw”, MODE=“0664”, GROUP=“plugdev”
sudo chmod 664 /dev/hidraw*
sudo chgrp plugdev /dev/hidraw*

my procedure:

HID.findAvailable;
HID.postAvailable;
*** Welcome to SuperCollider 3.13.0. *** For help press Ctrl-D.
HID: found 5 devices
0: 	Usage name and page: 	undefined, 	undefined
	Vendor name: 	Logitech
	Product name: 	Logitech RumblePad 2 USB
	Vendor and product ID: 	1133, 49688
	Path: 	/dev/hidraw5
	Serial Number: 	
	Releasenumber and interfaceNumber: 	256, 0

initialize:
~myhid= HID.open(1133, 49688); // logitech

error message:

HID: path was not set specified yet, chosen the one with path: /dev/hidraw5
open device 0x5628271ed9a0
start polling thread for 654647232
HID: Opened device: a HIDInfo(Logitech, Logitech RumblePad 2 USB, IDs:1133, 49688, /dev/hidraw5, , 256, 0)
Interpreter has crashed or stopped forcefully. [Exit code: 7]

this happens with “Logitech RumblePad 2” and “Shobo Snth”.
as i already started to use new features from sc3.13 downgrading to sc3.12 won’t solve my problem.

thanks for any ideas and help

1 Like

tried here with shbobo shnth, same error. :frowning:
i am using arch linux & sc 3.13.0-2 also.

i opened an bug report at HID support is broken on supercollider 3.13 linux (arch) · Issue #6016 · supercollider/supercollider · GitHub .
i hope thats ok.

1 Like

tried here again. arch linux & new sc 3.13.0-4
with shbobo shnth, same error. :frowning:

i think i should do as your comment on github:

Ok. Compiling the develop branch SuperCollider 3.14.0-dev with the reverted hidapi (commit 6b0b4dd77027b9e105ac57a93d2b8721309749bf) on arch linux seems to fix it.

where i can find more info about compiling sc with revert commits?

looking at my shells history:

git clone --recurse-submodules https://github.com/SuperCollider/SuperCollider.git
cd SuperCollider
cd external_libraries
cd hidapi
git branch
git checkout 6b0b4dd77027b9e105ac57a93d2b8721309749bf
git add hidapi
git commit -m "Revert hidapi"
cd ..
mkdir build
cd build
cmake -DNATIVE=ON ..
cmake -DNATIVE=ON -DSC_EL=OFF .. 
make -j6
make install
1 Like

@igormpc

something OT :wink:
how do you program your shobo in arch ?
because of some dependencies i never got “Fish” to run and with jish.jar the fonts are broken.

using shlisp :slight_smile:
i prefer text files.
i have a copy of shlisp on ~/.local/bin
on neovim you can
:setfiletype lisp
for some syntax highlightining
and you can send it to shnth using
:!shlisp %

(colin drake tips somewhere, maybe mass shnth bog?)

and i really <3 justints also :smiley:

actually i quite liked the quirky “Fish” editor :wink:
i will try shlisp with neovim

1 Like