I run the daemon as shown below. The exception showed up after I suspended and resumed with systemctl suspend. After the wake up, none of the bound buttons seem to work.
[waff@waffdeck:~]$ scc daemon ~/.config/scc/profiles/Steam\ Deck\ -\ Hyprland.sccprofile debug
D SCCDaemon Starting SCCDaemon...
D SCCDaemon Initializing drivers...
W SCCDaemon Skipping disabled driver 'fake'
W SCCDaemon Skipping disabled driver 'remotepad'
D USB Registered USB driver for 054c:09cc
D USB Registered USB driver for 054c:05c4
D USB Registered USB driver for 054c:0ce6
D USB Registered USB driver for 28de:1102
D USB Registered USB driver for 28de:1142
D USB Registered USB driver for 28de:1205
D Mapper Creating virtual devices
D Mapper Keyboard: <scc.uinput.Keyboard object at 0x7f19ef533290>
D Mapper Mouse: <scc.uinput.Mouse object at 0x7f19ef533c90>
D Mapper Gamepad: <scc.uinput.UInput object at 0x7f19ef5398d0>
D SCCDaemon Created control socket /home/waff/.config/scc/daemon.socket
W SCCDaemon Wayland detected. Disabling X11 support, some functionality will be unavailable
D deck Got SteamDeck with serial 1:3
D USB USB device added: 28de:1205
D asyncio Using selector: EpollSelector
D SCCDaemon Assigned default_mapper to <Deck deck1:3>
D SCCDaemon Controller added: <Deck deck1:3>
Exception ignored on calling ctypes callback function: <bound method USBTransfer.__callbackWrapper of <scc.lib.usb1.USBTransfer object at 0x7f19ef57fed0>>
Traceback (most recent call last):
File "/nix/store/7krqphqyqm4pbrkx1si1pry9q8s1diy2-sc-controller-0.4.8.11/lib/python3.11/site-packages/scc/lib/usb1.py", line 321, in __callbackWrapper
callback(self)
File "/nix/store/7krqphqyqm4pbrkx1si1pry9q8s1diy2-sc-controller-0.4.8.11/lib/python3.11/site-packages/scc/drivers/usb.py", line 47, in callback_wrapper
transfer.submit()
File "/nix/store/7krqphqyqm4pbrkx1si1pry9q8s1diy2-sc-controller-0.4.8.11/lib/python3.11/site-packages/scc/lib/usb1.py", line 721, in submit
raiseUSBError(result)
File "/nix/store/7krqphqyqm4pbrkx1si1pry9q8s1diy2-sc-controller-0.4.8.11/lib/python3.11/site-packages/scc/lib/usb1.py", line 117, in raiseUSBError
raise STATUS_TO_EXCEPTION_DICT.get(value, USBError)(value)
scc.lib.usb1.USBErrorIO: LIBUSB_ERROR_IO [-1]
I run the daemon as shown below. The exception showed up after I suspended and resumed with
systemctl suspend
. After the wake up, none of the bound buttons seem to work.