kyokenn / rogdrv

ASUS ROG userspace mouse driver for Linux
GNU General Public License v3.0
84 stars 13 forks source link

Help for Strix Carry #26

Closed Graval504 closed 2 years ago

Graval504 commented 2 years ago

I recently installled majaro linux on my notebook with using my new mouse, ROG Strix Carry with mouse reciever.( so i am not an expert on manjaro linux, both with ubuntu) to use rogdrv, i installed python,python-evdev,python-hid,cython-hidapi with yay. (actually cython-hidapi is installed after the last command of this text) i tried to find gir-appindicator3 on yay, but i couldn't find them.(only found something different appindicator and just python-hid.) actually i can't remember about the appindicator i installed :(

on this situation, i ran rogdrv on terminal, and got

[graval504@graval504-14u530gh50k ~]$ rogdrv-config dpi --debug
[2021-12-03 11:28:16,663] [DEBUG] searching for device Gladius2 (VendorID: 0x0B05, ProductID: 0x1845)
[2021-12-03 11:28:16,663] [DEBUG] 0 devices found
[2021-12-03 11:28:16,663] [DEBUG] searching for device Gladius2Origin (VendorID: 0x0B05, ProductID: 0x1877)
[2021-12-03 11:28:16,663] [DEBUG] 0 devices found
[2021-12-03 11:28:16,663] [DEBUG] searching for device Gladius2OriginPink (VendorID: 0x0B05, ProductID: 0x18CD)
[2021-12-03 11:28:16,663] [DEBUG] 0 devices found
[2021-12-03 11:28:16,663] [DEBUG] searching for device Pugio (VendorID: 0x0B05, ProductID: 0x1846)
[2021-12-03 11:28:16,664] [DEBUG] 0 devices found
[2021-12-03 11:28:16,664] [DEBUG] searching for device PugioGladiusII (VendorID: 0x0B05, ProductID: 0x1851)
[2021-12-03 11:28:16,664] [DEBUG] 0 devices found
[2021-12-03 11:28:16,664] [DEBUG] searching for device StrixCarry (VendorID: 0x0B05, ProductID: 0x18B4)
[2021-12-03 11:28:16,664] [DEBUG] 0 devices found
[2021-12-03 11:28:16,664] [DEBUG] searching for device StrixImpact (VendorID: 0x0B05, ProductID: 0x1847)
[2021-12-03 11:28:16,665] [DEBUG] 0 devices found
[2021-12-03 11:28:16,665] [DEBUG] searching for device StrixImpactIIWirelessWired (VendorID: 0x0B05, ProductID: 0x1947)
[2021-12-03 11:28:16,665] [DEBUG] 0 devices found
[2021-12-03 11:28:16,665] [DEBUG] searching for device StrixImpactIIWireless (VendorID: 0x0B05, ProductID: 0x1949)
[2021-12-03 11:28:16,665] [DEBUG] 0 devices found
[2021-12-03 11:28:16,665] [DEBUG] searching for device Buzzard (VendorID: 0x0B05, ProductID: 0x1816)
[2021-12-03 11:28:16,665] [DEBUG] 0 devices found
[2021-12-03 11:28:16,666] [DEBUG] searching for device KerisWireless (VendorID: 0x0B05, ProductID: 0x1960)
[2021-12-03 11:28:16,666] [DEBUG] 0 devices found
[2021-12-03 11:28:16,666] [DEBUG] searching for device KerisWirelessWired (VendorID: 0x0B05, ProductID: 0x195E)
[2021-12-03 11:28:16,666] [DEBUG] 0 devices found
Device not found

(actually i losted log about running rogdrv sry) and tried LIBUSB_DEBUG=9 sudo -E lsusb -v -d 0b05:0x18B4

[graval504@graval504-14u530gh50k ~]$ LIBUSB_DEBUG=9 sudo -E lsusb -v -d 0b05:0x18B4            
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.000024] [00001d35] libusb: debug [libusb_init] created default context
[ 0.000040] [00001d35] libusb: debug [libusb_init] libusb v1.0.24.11584
[ 0.000052] [00001d35] libusb: debug [get_kernel_version] reported kernel version is 5.13.19-2-MANJARO
[ 0.000102] [00001d35] libusb: debug [op_init] found usbfs at /dev/bus/usb
[ 0.000110] [00001d35] libusb: debug [op_init] max iso packet length is (likely) 98304 bytes
[ 0.000118] [00001d35] libusb: debug [op_init] sysfs is available
[ 0.000363] [00001d36] libusb: debug [linux_udev_event_thread_main] udev event thread entering
[ 0.005057] [00001d35] libusb: debug [linux_get_device_address] getting address for device: usb2 detached: 0
[ 0.005066] [00001d35] libusb: debug [linux_get_device_address] scan usb2
[ 0.005102] [00001d35] libusb: debug [linux_get_device_address] bus=2 dev=1
[ 0.005109] [00001d35] libusb: debug [linux_enumerate_device] busnum 2 devaddr 1 session_id 513
[ 0.005114] [00001d35] libusb: debug [linux_enumerate_device] allocating new device for 2/1 (session 513)
[ 0.005247] [00001d35] libusb: debug [linux_get_device_address] getting address for device: 2-2 detached: 0
[ 0.005254] [00001d35] libusb: debug [linux_get_device_address] scan 2-2
[ 0.005298] [00001d35] libusb: debug [linux_get_device_address] bus=2 dev=20
[ 0.005304] [00001d35] libusb: debug [linux_enumerate_device] busnum 2 devaddr 20 session_id 532
[ 0.005319] [00001d35] libusb: debug [linux_enumerate_device] allocating new device for 2/20 (session 532)
[ 0.005361] [00001d35] libusb: debug [linux_get_parent_info] dev 0x561f1ad46df0 (2-2) has parent 0x561f1ad5e380 (usb2) port 2
[ 0.005472] [00001d35] libusb: debug [linux_get_device_address] getting address for device: 2-3 detached: 0
[ 0.005478] [00001d35] libusb: debug [linux_get_device_address] scan 2-3
[ 0.005512] [00001d35] libusb: debug [linux_get_device_address] bus=2 dev=2
[ 0.005519] [00001d35] libusb: debug [linux_enumerate_device] busnum 2 devaddr 2 session_id 514
[ 0.005524] [00001d35] libusb: debug [linux_enumerate_device] allocating new device for 2/2 (session 514)
[ 0.005567] [00001d35] libusb: debug [linux_get_parent_info] dev 0x561f1ad46fb0 (2-3) has parent 0x561f1ad5e380 (usb2) port 3
[ 0.005661] [00001d35] libusb: debug [linux_get_device_address] getting address for device: 2-4 detached: 0
[ 0.005667] [00001d35] libusb: debug [linux_get_device_address] scan 2-4
[ 0.005703] [00001d35] libusb: debug [linux_get_device_address] bus=2 dev=3
[ 0.005709] [00001d35] libusb: debug [linux_enumerate_device] busnum 2 devaddr 3 session_id 515
[ 0.005714] [00001d35] libusb: debug [linux_enumerate_device] allocating new device for 2/3 (session 515)
[ 0.005751] [00001d35] libusb: debug [linux_get_parent_info] dev 0x561f1ad473e0 (2-4) has parent 0x561f1ad5e380 (usb2) port 4
[ 0.005839] [00001d35] libusb: debug [linux_get_device_address] getting address for device: 2-7 detached: 0
[ 0.005845] [00001d35] libusb: debug [linux_get_device_address] scan 2-7
[ 0.005882] [00001d35] libusb: debug [linux_get_device_address] bus=2 dev=4
[ 0.005887] [00001d35] libusb: debug [linux_enumerate_device] busnum 2 devaddr 4 session_id 516
[ 0.005892] [00001d35] libusb: debug [linux_enumerate_device] allocating new device for 2/4 (session 516)
[ 0.005934] [00001d35] libusb: debug [linux_get_parent_info] dev 0x561f1ad5e6e0 (2-7) has parent 0x561f1ad5e380 (usb2) port 7
[ 0.006015] [00001d35] libusb: debug [linux_get_device_address] getting address for device: usb3 detached: 0
[ 0.006021] [00001d35] libusb: debug [linux_get_device_address] scan usb3
[ 0.006059] [00001d35] libusb: debug [linux_get_device_address] bus=3 dev=1
[ 0.006064] [00001d35] libusb: debug [linux_enumerate_device] busnum 3 devaddr 1 session_id 769
[ 0.006069] [00001d35] libusb: debug [linux_enumerate_device] allocating new device for 3/1 (session 769)
[ 0.006164] [00001d35] libusb: debug [linux_get_device_address] getting address for device: usb1 detached: 0
[ 0.006170] [00001d35] libusb: debug [linux_get_device_address] scan usb1
[ 0.006205] [00001d35] libusb: debug [linux_get_device_address] bus=1 dev=1
[ 0.006211] [00001d35] libusb: debug [linux_enumerate_device] busnum 1 devaddr 1 session_id 257
[ 0.006215] [00001d35] libusb: debug [linux_enumerate_device] allocating new device for 1/1 (session 257)
[ 0.006319] [00001d35] libusb: debug [linux_get_device_address] getting address for device: 1-1 detached: 0
[ 0.006325] [00001d35] libusb: debug [linux_get_device_address] scan 1-1
[ 0.006348] [00001d35] libusb: debug [linux_get_device_address] bus=1 dev=2
[ 0.006351] [00001d35] libusb: debug [linux_enumerate_device] busnum 1 devaddr 2 session_id 258
[ 0.006355] [00001d35] libusb: debug [linux_enumerate_device] allocating new device for 1/2 (session 258)
[ 0.006377] [00001d35] libusb: debug [linux_get_parent_info] dev 0x561f1ad47ec0 (1-1) has parent 0x561f1ad47d40 (usb1) port 1
[ 0.006437] [00001d35] libusb: debug [usbi_add_event_source] add fd 6 events 1
[ 0.006445] [00001d35] libusb: debug [usbi_io_init] using timer for timeouts
[ 0.006454] [00001d35] libusb: debug [usbi_add_event_source] add fd 7 events 1
[ 0.006458] [00001d35] libusb: debug [libusb_get_device_list]  
[ 0.006467] [00001d35] libusb: debug [libusb_get_device_descriptor]  
[ 0.006470] [00001d35] libusb: debug [libusb_get_device_descriptor]  
[ 0.006474] [00001d35] libusb: debug [libusb_get_device_descriptor]  
[ 0.006477] [00001d35] libusb: debug [libusb_get_device_descriptor]  
[ 0.006480] [00001d35] libusb: debug [libusb_get_device_descriptor]  
[ 0.006483] [00001d35] libusb: debug [libusb_get_device_descriptor]  
[ 0.006486] [00001d35] libusb: debug [libusb_get_device_descriptor]  
[ 0.006489] [00001d35] libusb: debug [libusb_get_device_descriptor]  

Bus 002 Device 020: ID 0b05:18b4 ASUSTek Computer, Inc. ROG STRIX CARRY
[ 0.012193] [00001d35] libusb: debug [libusb_open] open 2.20
[ 0.012223] [00001d35] libusb: debug [usbi_add_event_source] add fd 8 events 4
[ 0.012231] [00001d35] libusb: debug [libusb_get_device_descriptor]  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0b05 ASUSTek Computer, Inc.
  idProduct          0x18b4 
  bcdDevice            1.09
  iManufacturer           1 ASUSTek
  iProduct                2 ROG STRIX CARRY
  iSerial                 0 
  bNumConfigurations      1
[ 0.012777] [00001d35] libusb: debug [libusb_get_config_descriptor] index 0
[ 0.012787] [00001d35] libusb: debug [libusb_get_config_descriptor] index 0
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0074
    bNumInterfaces          4
    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      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      64
[ 0.013101] [00001d35] libusb: debug [libusb_claim_interface] interface 0
         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     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      25
[ 0.013405] [00001d35] libusb: debug [libusb_claim_interface] interface 1
         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     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      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      47
[ 0.013747] [00001d35] libusb: debug [libusb_claim_interface] interface 2
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      23
[ 0.014066] [00001d35] libusb: debug [libusb_claim_interface] interface 3
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
[ 0.014107] [00001d35] libusb: debug [libusb_alloc_transfer] transfer 0x561f1ad535a8
[ 0.014111] [00001d35] libusb: debug [libusb_submit_transfer] transfer 0x561f1ad535a8
[ 0.014115] [00001d35] libusb: debug [add_to_flying_list] arm timer for timeout in 5000ms (first in line)
[ 0.014132] [00001d35] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.014136] [00001d35] libusb: debug [handle_events] event sources modified, reallocating event data
[ 0.014142] [00001d35] libusb: debug [usbi_wait_for_events] poll() 3 fds with timeout in 60000ms
[ 0.014346] [00001d35] libusb: debug [usbi_wait_for_events] poll() returned 1
[ 0.014360] [00001d35] libusb: debug [reap_for_handle] urb type=2 status=-32 transferred=0
[ 0.014364] [00001d35] libusb: debug [handle_control_completion] handling completion status -32
[ 0.014368] [00001d35] libusb: debug [handle_control_completion] unsupported control request
[ 0.014372] [00001d35] libusb: debug [arm_timer_for_next_timeout] no timeouts, disarming timer
[ 0.014377] [00001d35] libusb: debug [usbi_handle_transfer_completion] transfer 0x561f1ad535a8 has callback 0x7f7167fd57d0
[ 0.014381] [00001d35] libusb: debug [sync_transfer_cb] actual_length=0
[ 0.014387] [00001d35] libusb: debug [libusb_free_transfer] transfer 0x561f1ad535a8
[ 0.014392] [00001d35] libusb: debug [libusb_alloc_transfer] transfer 0x561f1ad553d8
[ 0.014396] [00001d35] libusb: debug [libusb_submit_transfer] transfer 0x561f1ad553d8
[ 0.014400] [00001d35] libusb: debug [add_to_flying_list] arm timer for timeout in 5000ms (first in line)
[ 0.014410] [00001d35] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.014414] [00001d35] libusb: debug [usbi_wait_for_events] poll() 3 fds with timeout in 60000ms
[ 0.014626] [00001d35] libusb: debug [usbi_wait_for_events] poll() returned 1
[ 0.014634] [00001d35] libusb: debug [reap_for_handle] urb type=2 status=-32 transferred=0
[ 0.014638] [00001d35] libusb: debug [handle_control_completion] handling completion status -32
[ 0.014641] [00001d35] libusb: debug [handle_control_completion] unsupported control request
[ 0.014644] [00001d35] libusb: debug [arm_timer_for_next_timeout] no timeouts, disarming timer
[ 0.014649] [00001d35] libusb: debug [usbi_handle_transfer_completion] transfer 0x561f1ad553d8 has callback 0x7f7167fd57d0
[ 0.014652] [00001d35] libusb: debug [sync_transfer_cb] actual_length=0
[ 0.014657] [00001d35] libusb: debug [libusb_free_transfer] transfer 0x561f1ad553d8
[ 0.014661] [00001d35] libusb: debug [libusb_alloc_transfer] transfer 0x561f1ad5a488
[ 0.014665] [00001d35] libusb: debug [libusb_submit_transfer] transfer 0x561f1ad5a488
[ 0.014668] [00001d35] libusb: debug [add_to_flying_list] arm timer for timeout in 5000ms (first in line)
[ 0.014677] [00001d35] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.014680] [00001d35] libusb: debug [usbi_wait_for_events] poll() 3 fds with timeout in 60000ms
[ 0.014873] [00001d35] libusb: debug [usbi_wait_for_events] poll() returned 1
[ 0.014880] [00001d35] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=2
[ 0.014884] [00001d35] libusb: debug [handle_control_completion] handling completion status 0
[ 0.014888] [00001d35] libusb: debug [arm_timer_for_next_timeout] no timeouts, disarming timer
[ 0.014892] [00001d35] libusb: debug [usbi_handle_transfer_completion] transfer 0x561f1ad5a488 has callback 0x7f7167fd57d0
[ 0.014895] [00001d35] libusb: debug [sync_transfer_cb] actual_length=2
[ 0.014900] [00001d35] libusb: debug [libusb_free_transfer] transfer 0x561f1ad5a488
Device Status:     0x0000
  (Bus Powered)
[ 0.014910] [00001d35] libusb: debug [libusb_close]  
[ 0.014915] [00001d35] libusb: debug [usbi_remove_event_source] remove fd 8
[ 0.014923] [00001d35] libusb: debug [libusb_get_device_descriptor]  
[ 0.014982] [00001d35] libusb: debug [libusb_exit]  
[ 0.014987] [00001d35] libusb: debug [libusb_exit] destroying default context
[ 0.014991] [00001d35] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.014994] [00001d35] libusb: debug [handle_events] event sources modified, reallocating event data
[ 0.015000] [00001d35] libusb: debug [usbi_wait_for_events] poll() 2 fds with timeout in 0ms
[ 0.015005] [00001d35] libusb: debug [usbi_wait_for_events] poll() returned 0
[ 0.015009] [00001d35] libusb: debug [usbi_remove_event_source] remove fd 7
[ 0.015016] [00001d35] libusb: debug [usbi_remove_event_source] remove fd 6
[ 0.015033] [00001d36] libusb: debug [linux_udev_event_thread_main] udev event thread exiting

with confusion, i installed packages newly or again,

[graval504@graval504-14u530gh50k ~]$ python-evdev
bash: python-evdev: command not found
[graval504@graval504-14u530gh50k ~]$ yay -Ss python-evdev
extra/python-evdev 1.4.0-1 (52.6 KiB 236.8 KiB) (Installed)
    Python bindings for the Linux input subsystem
[graval504@graval504-14u530gh50k ~]$ yay -S python-evdev
[sudo] password for graval504: 
warning: python-evdev-1.4.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) python-evdev-1.4.0-1

Total Installed Size:  0.23 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                     [####################################################################] 100%
(1/1) checking package integrity                                                                                   [####################################################################] 100%
(1/1) loading package files                                                                                        [####################################################################] 100%
(1/1) checking for file conflicts                                                                                  [####################################################################] 100%
(1/1) checking available disk space                                                                                [####################################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) reinstalling python-evdev                                                                                    [####################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[graval504@graval504-14u530gh50k ~]$ yay -S appindicator3
 -> Could not find all required packages:
    appindicator3 (Target)
[graval504@graval504-14u530gh50k ~]$ yay -Ss appindicator
aur/libappindicator-gtk2-ubuntu 12.10.1.18.04.20180322.1-1 (+0 0.00) 
    A library to allow applications to export a menu into the Unity Menu bar (GTK+ 2 library)
aur/evolution-on-appindicator-git v3.24.2.r6.g5f77162-1 (+0 0.00) 
    Plugin to put evolution in system tray (with appindicator support).
aur/dhcpcd-ui-patched 0.7.5-1 (+0 0.00) (Out-of-date: 2020-03-14) 
    dhcpcd Monitor in GTK+, patched with AppIndicator support
aur/mate-snw-plugin 0.10.0-1 (+0 0.00) (Orphaned) 
    Mate panel plugin to show StatusNotifierItems (AppIndicators)
aur/pamac-nosnap 10.3.0-2 (+0 0.00) 
    A Gtk3 frontend for libalpm (with AUR, flatpak, appindicator)
aur/qcma-appindicator 0.3.10-1 (+0 0.00) (Orphaned) (Out-of-date: 2020-09-14) 
    Content Manager Assistant for the PS Vita (AppIndicator)
aur/indicator-sensors-git 0.9.r13.gab4487f-1 (+0 0.00) (Orphaned) 
    Small application to provide hardware sensor readings using the AppIndicator framework (git version)
aur/haskell-status-notifier-item 0.3.0.4-2 (+0 0.00) (Out-of-date: 2020-04-04) 
    A wrapper over the StatusNotifierItem/libappindicator dbus specification
aur/pamac-flatpak-gnome 10.2.0-1 (+0 0.00) (Out-of-date: 2021-10-03) 
    A Gtk3 frontend for libalpm (with AUR, Flatpak, AppIndicator support, and GNOME integration)
aur/gtk-sni-tray 0.1.5.0-1 (+0 0.00) (Orphaned) (Out-of-date: 2019-11-02) 
    A standalone StatusNotifierItem/AppIndicator tray in haskell
aur/network-manager-applet-nolibappindicator 1.24.0-1 (+0 0.00) 
    Applet for managing network connections (without dependency to libappindicator)
aur/libappindicator-gtk3-ubuntu 12.10.1.18.04.20180322.1-1 (+0 0.00) 
    A library to allow applications to export a menu into the Unity Menu bar (GTK+ 3 library)
aur/libappindicator-bzr 296-1 (+1 0.00) 
    Allow applications to extend a menu via Ayatana indicators in Unity, KDE or Systray. GTK+ 3 Bzr version.
aur/multiload-ng-indicator-gtk3 1.5.2-3 (+1 0.00) 
    Modern graphical system monitor, AppIndicator plugin
aur/multiload-ng-indicator-gtk2 1.5.2-3 (+1 0.00) 
    Modern graphical system monitor, AppIndicator plugin
aur/pamac-flatpak 10.2.0-1 (+1 0.15) (Out-of-date: 2021-10-03) 
    A Gtk3 frontend for libalpm (with AUR, Flatpak and AppIndicator support)
aur/media-control-indicator-git r18.779fc73-1 (+2 0.00) 
    A script written in python that uses AppIndicator3 to display an applet to control media using Playerctl and Gtk.
aur/lib32-sni-qt 0.2.6-6 (+2 0.00) (Orphaned) 
    A Qt plugin which turns all QSystemTrayIcon into StatusNotifierItems (appindicators) (32-bit)
aur/libappindicator-sharp 12.10.0.r296-3 (+2 0.00) 
    Allow applications to extend a menu in Unity, KDE or Systray (Mono GTK+ 2 bindings)
aur/remmina-appindicator 1:1.4.10-1 (+3 0.00) 
    remote desktop client written in GTK+ (compiled with appindicator)
aur/budgie-sntray-git 0.4.12-1 (+4 0.00) 
    Plugin for budgie to show StatusNotifierItems (AppIndicators) via FlowBox
aur/vala-panel-sntray-git 0.4.12-1 (+4 0.00) 
    Plugin for vala-panel to show StatusNotifierItems (AppIndicators) via FlowBox
aur/xfce4-panel-sntray-git 0.4.12-1 (+4 0.00) 
    Plugin for xfce4-panel to show StatusNotifierItems (AppIndicators) via FlowBox
aur/mate-panel-sntray-git 0.4.12-1 (+4 0.00) 
    Plugin for mate-panel to show StatusNotifierItems (AppIndicators) via FlowBox
aur/indicator-sysmonitor-appindicator-git r117.b99cc39-1 (+4 0.00) 
    An Application Indicator showing cpu temperature, memory, network speed, cpu usage, public IP address and internet connection status; appindicator version
aur/libayatana-appindicator 0.5.90-1 (+5 1.24) 
    Ayatana Application Indicators (Shared Library)
aur/pamac-all-git 1:10.2.2.r1.g125033f-1 (+5 0.22) (Orphaned) 
    A Gtk3 frontend for libalpm (everything in one package - snap, flatpak, appindicator)
aur/sni-qt 0.2.7+17.04.20170112-1 (+6 0.02) (Orphaned) 
    Qt4 plugin which turns all QSystemTrayIcon into StatusNotifierItems (appindicators)
aur/indicator-sensors 1.2-2 (+9 0.00) 
    Small application to provide hardware sensor readings using the AppIndicator framework
aur/python2-libappindicator 12.10.0-14 (+11 0.04) 
    Allow applications to extend a menu via Ayatana indicators in Unity, KDE or Systray
aur/pamac-all 10.3.0-2 (+21 1.16) 
    A Gtk3 frontend for libalpm (everything in one package - snap, flatpak, appindicator)
aur/perl-gtk2-appindicator 0.15-6 (+24 0.04) 
    Gtk2::AppIndicator - Perl extension for libappindicator
aur/indicator-kdeconnect 1:0.9.4-1 (+25 0.00) 
    Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity)
aur/pidgin-indicator 1.0.1-1 (+32 0.00) 
    Pidgin plugin that adds tray icon using libappindicator
aur/gnome-shell-extension-appindicator-git 1:40+1+g4463b84-3 (+37 1.08) 
    AppIndicator/KStatusNotifierItem support for GNOME Shell
aur/indicator-kdeconnect-git r625.669bdd5-1 (+43 0.20) 
    Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity)
multilib/lib32-sni-qt 0.2.6-7 (48.8 KiB 163.0 KiB) 
    A Qt plugin which turns all QSystemTrayIcon into StatusNotifierItems (appindicators) (32-bit)
multilib/lib32-libappindicator-gtk3 12.10.0-12 (21.3 KiB 57.6 KiB) 
    Allow applications to extend a menu via Ayatana indicators in Unity, KDE or Systray (32-bit) (GTK+ 3 library)
multilib/lib32-libappindicator-gtk2 12.10.0-12 (21.3 KiB 57.6 KiB) 
    Allow applications to extend a menu via Ayatana indicators in Unity, KDE or Systray (32-bit) (GTK+ 2 library)
community/libappindicator-gtk3 12.10.0.r296-1 (52.6 KiB 351.0 KiB) (Installed)
    Allow applications to extend a menu via Ayatana indicators in Unity, KDE or Systray (GTK+ 3 library)
community/libappindicator-gtk2 12.10.0.r296-1 (28.4 KiB 82.3 KiB) 
    Allow applications to extend a menu via Ayatana indicators in Unity, KDE or Systray (GTK+ 2 library)
community/indicator-sensors 0.9-1 (106.5 KiB 382.1 KiB) 
    Small application to provide hardware sensor readings using the AppIndicator framework (git version)
community/gnome-shell-extension-appindicator 41-1 (37.6 KiB 153.2 KiB) 
    AppIndicator/KStatusNotifierItem support for GNOME Shell
[graval504@graval504-14u530gh50k ~]$ python3-hid
bash: python3-hid: command not found
[graval504@graval504-14u530gh50k ~]$ yay -Ss python3-hidapi
[graval504@graval504-14u530gh50k ~]$ yay -Ss python3-hid
[graval504@graval504-14u530gh50k ~]$ yay -Ss python-hid
aur/python-hidapi-git 0.10.1.r10.g2353c96-1 (+0 0.00) 
    A Cython interface to the hidapi from signal11/hidapi
aur/python-hiddenlayer 0.2-1 (+0 0.00) 
    A lightweight library for neural network graphs and training metrics for PyTorch, Tensorflow, and Keras
aur/python-hidapi-cffi 0.2.2-2 (+0 0.00) 
    CFFI wrapper for hidapi
community/python-hidapi 0.11.0.2-1 (37.5 KiB 105.1 KiB) 
    A Cython interface to the hidapi from signal11/hidapi
community/python-hid 1.0.4-5 (8.4 KiB 21.8 KiB) 
    Python hidapi bindings in ctypes (aka pyhidapi)
[graval504@graval504-14u530gh50k ~]$ yay -S python-hid
resolving dependencies...
looking for conflicting packages...

Packages (1) python-hid-1.0.4-5

Total Download Size:   0.01 MiB
Total Installed Size:  0.02 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 python-hid-1.0.4-5-any                                                                  8.4 KiB  33.5 KiB/s 00:00 [####################################################################] 100%
(1/1) checking keys in keyring                                                                                     [####################################################################] 100%
(1/1) checking package integrity                                                                                   [####################################################################] 100%
(1/1) loading package files                                                                                        [####################################################################] 100%
(1/1) checking for file conflicts                                                                                  [####################################################################] 100%
(1/1) checking available disk space                                                                                [####################################################################] 100%
:: Processing package changes...
(1/1) installing python-hid                                                                                        [####################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[graval504@graval504-14u530gh50k ~]$ yay -S python-hidapi
resolving dependencies...
looking for conflicting packages...
:: python-hidapi and python-hid are in conflict. Remove python-hid? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: python-hidapi and python-hid are in conflict
 -> error installing repo packages

and ran again rogdrv,

[graval504@graval504-14u530gh50k ~]$ rogdrv
Traceback (most recent call last):
  File "/usr/bin/rogdrv", line 33, in <module>
    sys.exit(load_entry_point('rogdrv==0.3.0', 'console_scripts', 'rogdrv')())
  File "/usr/lib/python3.9/site-packages/rogdrv-0.3.0-py3.9.egg/rog/__main__.py", line 385, in rogdrv
    app = ROGDRV()
  File "/usr/lib/python3.9/site-packages/rogdrv-0.3.0-py3.9.egg/rog/__main__.py", line 44, in __init__
    self._device = get_device()
  File "/usr/lib/python3.9/site-packages/rogdrv-0.3.0-py3.9.egg/rog/device/base.py", line 47, in get_device
    return device_class()
  File "/usr/lib/python3.9/site-packages/rogdrv-0.3.0-py3.9.egg/rog/device/base.py", line 111, in __init__
    self._ctl.open()
  File "/usr/lib/python3.9/site-packages/rogdrv-0.3.0-py3.9.egg/rog/hid.py", line 79, in open
    self._device = hid.Device(path=self['path'])
  File "/usr/lib/python3.9/site-packages/hid/__init__.py", line 130, in __init__
    raise HIDException('unable to open device')
hid.HIDException: unable to open device

errorcode changed like that.

after i installed cython-hidapi and ran rogdrv again, but get the same message. i don't know about how to solve this situation. i think it can be very complicated because i ran many command, installed or removed or changed packages, etc on terminal over two days;

kyokenn commented 2 years ago

Check the permissions on your hidraw devices:

$ ls -l /dev/hidraw*

You can change the permissions as a short solution:

$ sudo chmod 666 /dev/hidraw*

If it helps you can install udev rules - https://github.com/kyokenn/rogdrv#installation

Graval504 commented 2 years ago

tried it but not effective..

ls: cannot access '/dev/hidraw*': No such file or directory
[graval504@graval504-14u530gh50k ~]$ sudo ls -l /dev/hidraw*
[sudo] password for graval504: 
ls: cannot access '/dev/hidraw*': No such file or directory
[graval504@graval504-14u530gh50k ~]$ sudo chmod 666 /dev/hidraw*
chmod: cannot access '/dev/hidraw*': No such file or directory
[graval504@graval504-14u530gh50k rogdrv]$ sudo udevadm trigger
[graval504@graval504-14u530gh50k rogdrv]$ rogdrv
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.9/site-packages/rogdrv-0.3.0-py3.9.egg/rog/__main__.py", line 65, in run
    e = self._device.next_event()
AttributeError: 'NoneType' object has no attribute 'next_event'
Traceback (most recent call last):
  File "/usr/bin/rogdrv", line 33, in <module>
    sys.exit(load_entry_point('rogdrv==0.3.0', 'console_scripts', 'rogdrv')())
  File "/usr/lib/python3.9/site-packages/rogdrv-0.3.0-py3.9.egg/rog/__main__.py", line 393, in rogdrv
    gtk3_main(app.device)
  File "/usr/lib/python3.9/site-packages/rogdrv-0.3.0-py3.9.egg/rog/ui/__init__.py", line 49, in gtk3_main
    if not device.profiles:
AttributeError: 'NoneType' object has no attribute 'profiles'
kyokenn commented 2 years ago

chmod: cannot access '/dev/hidraw*': No such file or directory This is wierd. You are missing hidraw device files.

Can you show output of dmesg after you plugged in your mouse?

Graval504 commented 2 years ago

oh, that just before was on chrome remote desktop and result was different on notebook. i tried on notebook

[graval504@graval504-14u530gh50k ~]$ sudo ls -l /dev/hidraw
hidraw0  hidraw1  hidraw2  hidraw3  
[graval504@graval504-14u530gh50k ~]$ sudo ls -l /dev/hidraw*
[sudo] password for graval504: 
crw-rw----+ 1 root root 239, 0 12월  3일 21:24 /dev/hidraw0
crw-rw----+ 1 root root 239, 1 12월  3일 21:24 /dev/hidraw1
crw-rw----+ 1 root root 239, 2 12월  3일 21:24 /dev/hidraw2
crw-rw----+ 1 root root 239, 3 12월  3일 21:24 /dev/hidraw3
[graval504@graval504-14u530gh50k ~]$ rogdrv
^C
[graval504@graval504-14u530gh50k ~]$ cd ./rogdrv/
[graval504@graval504-14u530gh50k rogdrv]$ sudo ./install_udev 
udev rules are saved into "/etc/udev/rules.d/50-rogdrv.rules"
run to apply them:
$ sudo udevadm control --reload-rules
$ sudo udevadm trigger
[graval504@graval504-14u530gh50k rogdrv]$ sudo udevadm control --reload-rules
[graval504@graval504-14u530gh50k rogdrv]$ sudo udevadm trigger
[graval504@graval504-14u530gh50k rogdrv]$ rogdrv
^C
[graval504@graval504-14u530gh50k rogdrv]$ rogdrv
rogdrv         rogdrv-config  
[graval504@graval504-14u530gh50k rogdrv]$ rogdrv-config dpi
DPI Preset 1 (red): 1600
DPI Preset 2 (purple): 400
[graval504@graval504-14u530gh50k rogdrv]$ rogdrv-config dpi 
build/           install_udev     rog/             rogdrv.egg-info/
dist/            LICENSE          rogdrv           screenshot.png
.git/            MANIFEST.in      rogdrv-config    setup.py
.gitignore       README.md        rogdrv.desktop   
[graval504@graval504-14u530gh50k rogdrv]$ rogdrv-config dpi set 1200
usage: rogdrv-config dpi [-h] [-d DPI] [-p PRESET]
rogdrv-config dpi: error: unrecognized arguments: set 1200
[graval504@graval504-14u530gh50k rogdrv]$ rogdrv-config dpi -d 1200 -p 1
DPI Preset 1 (red): 1200
DPI Preset 2 (purple): 400
[graval504@graval504-14u530gh50k rogdrv]$ rogdrv-config dpi -d 1200 -p 2
DPI Preset 1 (red): 1200
DPI Preset 2 (purple): 1200
[graval504@graval504-14u530gh50k rogdrv]$ rogdrv

it was properly worked and rogdrv was added on my task bar. thank you so much for your help. image