{"action":"created","issue":{"url":"https://api.github.com/repos/audiohacked/OpenCorsairLink/issues/9","labels_url":"https://api.github.com/repos/audiohacked/OpenCorsairLink/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/audiohacked/OpenCorsairLink/issues/9/comments","events_url":"https://api.github.com/repos/audiohacked/OpenCorsairLink/issues/9/events","html_url":"https://github.com/audiohacked/OpenCorsairLink/issues/9","id":101462020,"number":9,"title":"Synology chroot synagios","user":{"login":"stvnmbr1","id":9010189,"avatar_url":"https://avatars.githubusercontent.com/u/9010189?v=3","gravatar_id":"","url":"https://api.github.com/users/stvnmbr1","html_url":"https://github.com/stvnmbr1","followers_url":"https://api.github.com/users/stvnmbr1/followers","following_url":"https://api.github.com/users/stvnmbr1/following{/other_user}","gists_url":"https://api.github.com/users/stvnmbr1/gists{/gist_id}","starred_url":"https://api.github.com/users/stvnmbr1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stvnmbr1/subscriptions","organizations_url":"https://api.github.com/users/stvnmbr1/orgs","repos_url":"https://api.github.com/users/stvnmbr1/repos","events_url":"https://api.github.com/users/stvnmbr1/events{/privacy}","received_events_url":"https://api.github.com/users/stvnmbr1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-17T16:41:33Z","updated_at":"2015-08-18T17:55:27Z","closed_at":null,"body":"Hi,\r\n\r\nI have a syno with chroot installed and the link isn't working.. I tried everything I could find online, but no sigar :( it's picking up something on the controllers, OpenCorsairLink still says cannot initialize link.. \r\ni used this tutorial https://forum.teksyndicate.com/t/corsair-h100i-linux-howto/75829\r\n\r\nany ideas?\r\n\r\nif I use\r\nsudo bash -c \"echo -n 3-2:1.0 >/sys/bus/usb/drivers/usbhid/unbind\"\r\n\r\nlsusb sees \r\n\r\nlsusb -d 1b1c:0c04 -v\r\n \r\nBus 003 Device 002: ID 1b1c:0c04 Corsair\r\nDevice Descriptor:\r\n  bLength                18\r\n  bDescriptorType         1\r\n  bcdUSB               2.00\r\n  bDeviceClass            0 (Defined at Interface level)\r\n  bDeviceSubClass         0\r\n  bDeviceProtocol         0\r\n  bMaxPacketSize0        64\r\n  idVendor           0x1b1c Corsair\r\n  idProduct          0x0c04\r\n  bcdDevice            2.00\r\n  iManufacturer           1 Corsair Memory, Inc.\r\n  iProduct                2 Integrated USB Bridge\r\n  iSerial                 0\r\n  bNumConfigurations      1\r\n  Configuration Descriptor:\r\n    bLength                 9\r\n    bDescriptorType         2\r\n    wTotalLength           34\r\n    bNumInterfaces          1\r\n    bConfigurationValue     1\r\n    iConfiguration          0\r\n    bmAttributes         0x80\r\n      (Bus Powered)\r\n    MaxPower              100mA\r\n    Interface Descriptor:\r\n      bLength                 9\r\n      bDescriptorType         4\r\n      bInterfaceNumber        0\r\n      bAlternateSetting       0\r\n      bNumEndpoints           1\r\n      bInterfaceClass         3 Human Interface Device\r\n      bInterfaceSubClass      0 No Subclass\r\n      bInterfaceProtocol      0 None\r\n      iInterface              0\r\n        HID Device Descriptor:\r\n          bLength                 9\r\n          bDescriptorType        33\r\n          bcdHID               1.11\r\n          bCountryCode            0 Not supported\r\n          bNumDescriptors         1\r\n          bDescriptorType        34 Report\r\n          wDescriptorLength      37\r\n          Report Descriptor: (length is 37)\r\n            Item(Global): Usage Page, data= [ 0x00 0xff ] 65280\r\n                            (null)\r\n            Item(Local ): Usage, data= [ 0x01 ] 1\r\n                            (null)\r\n            Item(Main  ): Collection, data= [ 0x01 ] 1\r\n                            Application\r\n            Item(Global): Logical Minimum, data= [ 0x00 ] 0\r\n            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255\r\n            Item(Global): Report Size, data= [ 0x08 ] 8\r\n            Item(Global): Report Count, data= [ 0x40 ] 64\r\n            Item(Local ): Usage Minimum, data= [ 0x01 ] 1\r\n                            (null)\r\n            Item(Local ): Usage Maximum, data= [ 0x40 ] 64\r\n                            (null)\r\n            Item(Main  ): Input, data= [ 0x02 ] 2\r\n                            Data Variable Absolute No_Wrap Linear\r\n                            Preferred_State No_Null_Position Non_Volatile Bitfield\r\n            Item(Local ): Usage, data= [ 0x01 ] 1\r\n                            (null)\r\n            Item(Global): Report Size, data= [ 0x08 ] 8\r\n            Item(Global): Report Count, data= [ 0x40 ] 64\r\n            Item(Local ): Usage Minimum, data= [ 0x01 ] 1\r\n                            (null)\r\n            Item(Local ): Usage Maximum, data= [ 0x40 ] 64\r\n                            (null)\r\n            Item(Main  ): Output, data= [ 0x02 ] 2\r\n                            Data Variable Absolute No_Wrap Linear\r\n                            Preferred_State No_Null_Position Non_Volatile Bitfield\r\n            Item(Local ): Usage, data= [ 0x01 ] 1\r\n                            (null)\r\n            Item(Main  ): End Collection, data=none\r\n      Endpoint Descriptor:\r\n        bLength                 7\r\n        bDescriptorType         5\r\n        bEndpointAddress     0x81  EP 1 IN\r\n        bmAttributes            3\r\n          Transfer Type            Interrupt\r\n          Synch Type               None\r\n          Usage Type               Data\r\n        wMaxPacketSize     0x0040  1x 64 bytes\r\n        bInterval               1\r\nDevice Status:     0x0080\r\n  (Bus Powered)\r\n\r\nwith\r\nsudo bash -c \"echo -n 3-2:1.0 >/sys/bus/usb/drivers/usbhid/bind\"\r\n\r\nHID Device Descriptor is unavailable\r\n\r\n\r\nother outputs:\r\n\r\nroot@StevieSyn:/# cat /sys/class/usbmisc/hiddev9/uevent\r\nMAJOR=180\r\nMINOR=105\r\nDEVNAME=usb/hiddev9\r\nPHYSDEVPATH=/devices/pci0000:00/0000:00:1d.2/usb3/3-2/3-2:1.0\r\nPHYSDEVBUS=usb\r\nPHYSDEVDRIVER=usbhid\r\n\r\nroot@StevieSyn:~/hidapi/OpenCorsairLink# sudo ./OpenCorsairLinkCli -\r\ni\r\nsudo: unable to resolve host StevieSyn\r\nError: Unable to open Corsair H80i, H100i or H110i CPU Cooler\r\nCannot initialize link.\r\n\r\nroot@StevieSyn:~/hidapi/OpenCorsairLink# cat /sys/class/usbmisc/hidd\r\nev9/device/uevent\r\nDEVNAME=3-2:1.0\r\nDEVTYPE=usb_interface\r\nDRIVER=usbhid\r\nPHYSDEVBUS=usb\r\nPHYSDEVDRIVER=usbhid\r\nPRODUCT=1b1c/c04/200\r\nTYPE=0/0/0\r\nINTERFACE=3/0/0\r\nMODALIAS=usb:v1B1Cp0C04d0200dc00dsc00dp00ic03isc00ip00in00\r\n\r\nroot@StevieSyn:~/hidapi/OpenCorsairLink# cat /sys/class/usbmisc/hidd\r\nev9/device/0003:1B1C:0C04.0002/uevent\r\nDEVNAME=0003:1B1C:0C04.0002\r\nDRIVER=hid-generic\r\nPHYSDEVBUS=hid\r\nPHYSDEVDRIVER=hid-generic\r\nHID_ID=0003:00001B1C:00000C04\r\nHID_NAME=Corsair Memory, Inc. Integrated USB Bridge\r\nHID_PHYS=usb-0000:00:1d.2-2/input0\r\nHID_UNIQ=\r\nMODALIAS=hid:b0003g0001v00001B1Cp00000C04\r\n\r\nroot@StevieSyn:~/hidapi/OpenCorsairLink# cat /sys/class/usbmisc/hidd\r\nev9/device/0003:1B1C:0C04.0002/report_descriptor\r\n\u0006ÿ      \u0001¡\u0001\u0015&ÿ•@\u0019\u0001)@ \u0002  \u0001•@\u0019\u0001)@‘\u0002       \u0001Àroot@StevieSyn:~/hidapi/Op\r\nev9/device/0003:1B1C:0C04.0002/report_descriptor\r\n\u0006ÿ      \u0001¡\u0001\u0015&ÿ•@\u0019\u0001)@ \u0002  \u0001•@\u0019\u0001)@‘\u0002       \u0001Àroot@StevieSyn:~/hidapi/Op\r\ninCorsairLink# sudo ./OpenCorsairLinkCli -\r\nsudo: unable to resolve host StevieSyn\r\nError: Unable to open Corsair H80i, H100i or H110i CPU Cooler\r\nCannot initialize link.\r\n\r\nroot@StevieSyn:~/hidapi/OpenCorsairLink# cat /sys/class/usbmisc/hidd\r\nev9/device/uevent\r\nDEVNAME=3-2:1.0\r\nDEVTYPE=usb_interface\r\nDRIVER=usbhid\r\nPHYSDEVBUS=usb\r\nPRODUCT=1b1c/c04/200\r\nTYPE=0/0/0\r\nINTERFACE=3/0/0\r\nMODALIAS=usb:v1B1Cp0C04d0200dc00dsc00dp00ic03isc00ip00in00\r\n\r\nroot@StevieSyn:~/hidapi/OpenCorsairLink# cat /sys/class/usbmisc/hidd\r\nev9/uevent\r\nMAJOR=180\r\nMINOR=105\r\nDEVNAME=usb/hiddev9\r\nPHYSDEVPATH=/devices/pci0000:00/0000:00:1d.2/usb3/3-2/3-2:1.0\r\nPHYSDEVBUS=usb\r\nPHYSDEVDRIVER=usbhid\r\nroot@StevieSyn:~/hidapi/OpenCorsairLink# usbhid-dump\r\n\r\nlsusb\r\nBus 002 Device 002: ID 1130:cc00 Tenx Technology, Inc.\r\nBus 003 Device 002: ID 1b1c:0c04 Corsair\r\n\r\n~/hidapi/OpenCorsairLink# usbhid-dump -d 1b1c:0c04\r\n003:002:000:DESCRIPTOR         1439828913.087843\r\n 06 00 FF 09 01 A1 01 15 00 26 FF 00 75 08 95 40\r\n 19 01 29 40 81 02 09 01 75 08 95 40 19 01 29 40\r\n 91 02 09 01 C0\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/audiohacked/OpenCorsairLink/issues/comments/132295574","html_url":"https://github.com/audiohacked/OpenCorsairLink/issues/9#issuecomment-132295574","issue_url":"https://api.github.com/repos/audiohacked/OpenCorsairLink/issues/9","id":132295574,"user":{"login":"stvnmbr1","id":9010189,"avatar_url":"https://avatars.githubusercontent.com/u/9010189?v=3","gravatar_id":"","url":"https://api.github.com/users/stvnmbr1","html_url":"https://github.com/stvnmbr1","followers_url":"https://api.github.com/users/stvnmbr1/followers","following_url":"https://api.github.com/users/stvnmbr1/following{/other_user}","gists_url":"https://api.github.com/users/stvnmbr1/gists{/gist_id}","starred_url":"https://api.github.com/users/stvnmbr1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stvnmbr1/subscriptions","organizations_url":"https://api.github.com/users/stvnmbr1/orgs","repos_url":"https://api.github.com/users/stvnmbr1/repos","events_url":"https://api.github.com/users/stvnmbr1/events{/privacy}","received_events_url":"https://api.github.com/users/stvnmbr1/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T17:55:27Z","updated_at":"2015-08-18T17:55:27Z","body":"I thought i was some permission issue but I don't know for sure.. \r\n\r\nthere's like a double udev, one for syno and one for chroot in syno..\r\n\r\nand by saying that, could it be that because it's binded in syno, chroot can't access it fully.. but then if i would unbind him from syno, would chroot still see it? maybe it's something else..\r\n\r\ni have a udev in /lib from syno root with a rules.d ( i think this is the issue, but i don't have enough experience with this..) and lots of files, i'll post a dir output in a while\r\n\r\nand one in /var/packages/Synagios/target/nagios-chroot/root/hidapi/udev\r\n\r\nand one in /var/packages/Synagios/target/nagios-chroot/lib/udev with also a rules.d full of files\r\n\r\n"}}