Jump to content

Keycroc does not work with Cherry Keyboard


soh_hos

Recommended Posts

Hello,

my Keycroc does not work with Cherry Keyboards. I investigated the problem, and found in "croc_framework" a line which is checking the lsusb command for the keyword "Linux".

But the cherry Keyboard gets registered at the croc as "Bus 005 Device 002: ID 046a:0023 Cherry GmbH CyMotion Master Linux Keyboard G230", so it can't detect it. Could you please fix this issue or tell me how I can fix it? If I adjust the check for "Linux" it unfortunately still doesn't work.

 

Link to comment
Share on other sites

I just realized there is also no /dev/hidraw entry created after plugging in the keyboard.

udevadm monitor gives the following output after pluging in the keyboard:

KERNEL[6362.875459] add      /devices/platform/sunxi-ohci.3/usb5/5-1 (usb)
UDEV  [6362.880792] add      /devices/platform/sunxi-ohci.3/usb5/5-1 (usb)
KERNEL[6362.883571] add      /devices/platform/sunxi-ohci.3/usb5/5-1/5-1:1.0 (usb)
KERNEL[6362.883767] add      /devices/platform/sunxi-ohci.3/usb5/5-1/5-1:1.0/0003:046A:0023.000F (hid)
KERNEL[6362.885949] add      /devices/platform/sunxi-ohci.3/usb5/5-1/5-1:1.1 (usb)
KERNEL[6362.886136] add      /devices/platform/sunxi-ohci.3/usb5/5-1/5-1:1.1/0003:046A:0023.0010 (hid)
KERNEL[6362.887399] add      /devices/platform/sunxi-ohci.3/usb5/5-1/usb_device/usbdev5.9 (usb_device)
UDEV  [6362.896844] add      /devices/platform/sunxi-ohci.3/usb5/5-1/usb_device/usbdev5.9 (usb_device)
UDEV  [6362.897077] add      /devices/platform/sunxi-ohci.3/usb5/5-1/5-1:1.1 (usb)
UDEV  [6362.901598] add      /devices/platform/sunxi-ohci.3/usb5/5-1/5-1:1.1/0003:046A:0023.0010 (hid)
UDEV  [6362.906653] add      /devices/platform/sunxi-ohci.3/usb5/5-1/5-1:1.0 (usb)
UDEV  [6362.911654] add      /devices/platform/sunxi-ohci.3/usb5/5-1/5-1:1.0/0003:046A:0023.000F (hid)

And here is the output of lsusb:
 

root@croc:/usr/local/croc# lsusb -vd 046a:0023

Bus 005 Device 011: ID 046a:0023 Cherry GmbH CyMotion Master Linux Keyboard G230
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x046a Cherry GmbH
  idProduct          0x0023 CyMotion Master Linux Keyboard G230
  bcdDevice            2.20
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      65
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      52
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)

Any ideas?

Link to comment
Share on other sites

  • 8 months later...
4 hours ago, soh_hos said:

Is there maybe a tool to modify the kernel settings while the os is not booted? @Darren Kitchen

That would be perfect. With a framework/firmware that was not updated in more than a year, with plenty of bugs / missing features, it would be nice to be able to do modifications on all levels of the firmware/OS.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...