You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi and thanks for great work.
The installation worked without errors and I can synchronise the time with tc420-cli time-sync.
But when I run tc420-cli demo -c 1 0 0 0 0 or just tc420-cli demo I get an error message.
I am using a RaspberryPi 4 with Bullseye operating system and Python 3.9.
thanks for help
Oliver
root@aquarium2:/opt# tc420 demo -c 1 0 0 0 0
Initialize playing 'Demo'... Traceback (most recent call last):
File "/usr/local/bin/tc420", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/tc420/__main__.py", line 300, in main
cmd_group()
File "/usr/lib/python3/dist-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1289, in invoke
rv.append(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/tc420/__main__.py", line 279, in demo
ctx.obj.dev.play(name="Demo", adapter=adapter, onchange_callback=onchange)
File "/usr/local/lib/python3.9/dist-packages/tc420/tc420.py", line 410, in play
res = self.send(PlayInitPacket(name))
File "/usr/local/lib/python3.9/dist-packages/tc420/tc420.py", line 319, in send
res_pkt = TC420Packet(payload=self.in_ep.read(64, timeout=self.timeout))
File "/usr/local/lib/python3.9/dist-packages/usb/core.py", line 423, in read
return self.device.read(self, size_or_buffer, timeout)
File "/usr/local/lib/python3.9/dist-packages/usb/core.py", line 1029, in read
ret = fn(
File "/usr/local/lib/python3.9/dist-packages/usb/backend/libusb1.py", line 864, in intr_read
return self.__read(self.lib.libusb_interrupt_transfer,
File "/usr/local/lib/python3.9/dist-packages/usb/backend/libusb1.py", line 954, in __read
_check(retval)
File "/usr/local/lib/python3.9/dist-packages/usb/backend/libusb1.py", line 602, in _check
raise USBTimeoutError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBTimeoutError: [Errno 110] Operation timed out
root@aquarium2:/opt#
The text was updated successfully, but these errors were encountered:
I see this, too. Looks like the 'demo' command somehow disconnects the hid device. The USB device (-> lsusb) is still present, but /dev/hidraw0 is gone.
Hi and thanks for great work.
The installation worked without errors and I can synchronise the time with tc420-cli time-sync.
But when I run tc420-cli demo -c 1 0 0 0 0 or just tc420-cli demo I get an error message.
I am using a RaspberryPi 4 with Bullseye operating system and Python 3.9.
thanks for help
Oliver
The text was updated successfully, but these errors were encountered: