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

Operation Timed out with G213 #21

Open
NodokaHanamura opened this issue Apr 14, 2022 · 0 comments
Open

Operation Timed out with G213 #21

NodokaHanamura opened this issue Apr 14, 2022 · 0 comments

Comments

@NodokaHanamura
Copy link

Been trying to get my G213 to work with a few different solutions and G213Colors seems to the best option. However, I'm having an issue - it seems to be having issues.

nikki  seniornegi-c  ~/Build Area/G213Colors  g213colors-gui 
5000
static
G213
Send data to G213
bmRequestType, bmRequest, wValue[productName], wIndex, binascii.unhexlify(data)
33 9 529 1 �
            :
Traceback (most recent call last):
  File "/usr/bin/g213colors-gui", line 95, in on_button_clicked
    self.sendManager(product)
  File "/usr/bin/g213colors-gui", line 80, in sendManager
    self.sendStatic(product)
  File "/usr/bin/g213colors-gui", line 38, in sendStatic
    myG.sendColorCommand(self.btnGetHex(self.staticColorButton))
  File "/usr/bin/G213Colors.py", line 100, in sendColorCommand
    sendData(colorCommand[productName].format(str(format(field, '02x')), colorHex))
  File "/usr/bin/G213Colors.py", line 95, in sendData
    device.ctrl_transfer(bmRequestType, bmRequest, wValue[productName], wIndex, binascii.unhexlify(data))
  File "/home/nikki/.local/lib/python2.7/site-packages/usb/core.py", line 1077, in ctrl_transfer
    self.__get_timeout(timeout))
  File "/home/nikki/.local/lib/python2.7/site-packages/usb/backend/libusb1.py", line 901, in ctrl_transfer
    timeout))
  File "/home/nikki/.local/lib/python2.7/site-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
5000
static
G213
Send data to G213
bmRequestType, bmRequest, wValue[productName], wIndex, binascii.unhexlify(data)
33 9 529 1 �
            :���
Traceback (most recent call last):
  File "/usr/bin/g213colors-gui", line 95, in on_button_clicked
    self.sendManager(product)
  File "/usr/bin/g213colors-gui", line 80, in sendManager
    self.sendStatic(product)
  File "/usr/bin/g213colors-gui", line 38, in sendStatic
    myG.sendColorCommand(self.btnGetHex(self.staticColorButton))
  File "/usr/bin/G213Colors.py", line 100, in sendColorCommand
    sendData(colorCommand[productName].format(str(format(field, '02x')), colorHex))
  File "/usr/bin/G213Colors.py", line 95, in sendData
    device.ctrl_transfer(bmRequestType, bmRequest, wValue[productName], wIndex, binascii.unhexlify(data))
  File "/home/nikki/.local/lib/python2.7/site-packages/usb/core.py", line 1068, in ctrl_transfer
    self._ctx.managed_claim_interface(self, interface_number)
  File "/home/nikki/.local/lib/python2.7/site-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
  File "/home/nikki/.local/lib/python2.7/site-packages/usb/core.py", line 178, in managed_claim_interface
    self.backend.claim_interface(self.handle, i)
  File "/home/nikki/.local/lib/python2.7/site-packages/usb/backend/libusb1.py", line 829, in claim_interface
    _check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
  File "/home/nikki/.local/lib/python2.7/site-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy
5000
static
G213
Send data to G213
bmRequestType, bmRequest, wValue[productName], wIndex, binascii.unhexlify(data)
33 9 529 1 �
            :���
Traceback (most recent call last):
  File "/usr/bin/g213colors-gui", line 95, in on_button_clicked
    self.sendManager(product)
  File "/usr/bin/g213colors-gui", line 76, in sendManager
    self.sendManager(p)
  File "/usr/bin/g213colors-gui", line 80, in sendManager
    self.sendStatic(product)
  File "/usr/bin/g213colors-gui", line 38, in sendStatic
    myG.sendColorCommand(self.btnGetHex(self.staticColorButton))
  File "/usr/bin/G213Colors.py", line 100, in sendColorCommand
    sendData(colorCommand[productName].format(str(format(field, '02x')), colorHex))
  File "/usr/bin/G213Colors.py", line 95, in sendData
    device.ctrl_transfer(bmRequestType, bmRequest, wValue[productName], wIndex, binascii.unhexlify(data))
  File "/home/nikki/.local/lib/python2.7/site-packages/usb/core.py", line 1077, in ctrl_transfer
    self.__get_timeout(timeout))
  File "/home/nikki/.local/lib/python2.7/site-packages/usb/backend/libusb1.py", line 901, in ctrl_transfer
    timeout))
  File "/home/nikki/.local/lib/python2.7/site-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

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