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

non-connected devices give error #21

Open
pfps opened this issue Aug 13, 2021 · 5 comments
Open

non-connected devices give error #21

pfps opened this issue Aug 13, 2021 · 5 comments

Comments

@pfps
Copy link

pfps commented Aug 13, 2021

I just go the following output from a Logitech Unifying Receiver paired with a Craft Keyboard and an MX Master 3. The Craft Keyboard was not connected at the time.

idefix build> ./src/tools/hidpp-list-devices
/dev/hidraw14: Logitech USB Receiver (046d:c52b) HID++ 1.0
[error] Error while querying /dev/hidraw14 wireless device 1: Resource error
/dev/hidraw14 (device 2): MX Master 3 (046d:4082) HID++ 4.5

It looks as if non-connected devices give this resource error. Wouldn't it be better to provide a better response?

@cvuchener
Copy link
Owner

If I knew what each error code exactly means I could improve the message. The doc from Logitech (see section 2.10) is not very explicit.

I'm going to reference #16 which also mention an obscure error message from an unifying receiver.

@pfps
Copy link
Author

pfps commented Aug 13, 2021

It looks as if hidpp is doing an HID++ 2.0 protocol version / ping request of the device connected to the receiver. HID++ 1.0 devices give a particular error (0x01) for this request. It appears that if there is no device connected the error is 0x09 "Unsupported", which as you say is rather generic. Solaar assumes that this error from this request is because the device is not connected. Solaar also uses information stored in receiver registers for non-connected devices, as in

  1: Craft Advanced Keyboard
     Device path  : /dev/hidraw15
     WPID         : 4066
     Codename     : Craft
     Kind         : keyboard
     Protocol     : HID++ 4.5
     Polling rate : 8 ms (125Hz)
     Serial number: 112C46EA
     The power switch is located on the edge of top right corner.
     Battery: unknown (device is offline).

@mcuee
Copy link

mcuee commented Aug 15, 2021

Same here under Linux. For my case, both the keyboard and mouse are connected to the USB receiver. But technically the USB receiver will be list as three hidraw devices.

hidpp/build on  master [?] via △ v3.18.4 ❯ sudo ./src/tools/hidpp-list-devices
[sudo] password for mcuee: 
/dev/hidraw3: Logitech USB Receiver (046d:c52b) HID++ 1.0
[error] Error while querying /dev/hidraw3 wireless device 1: Resource error
/dev/hidraw3 (device 2): MK700 (046d:2008) HID++ 1.0
/dev/hidraw6: Bluetooth Mouse M557 (046d:b010) HID++ 2.0
/dev/hidraw6 (device 0): Bluetooth Mouse M557 (046d:b010) HID++ 2.0
hidapi/build on  master [?] via △ v3.18.4 ❯ ./hidtest/hidtest_hidraw 
hidapi test/example tool. Compiled with hidapi version 0.11.0, runtime version 0.11.0.
Compile-time version matches runtime version of hidapi.

Device Found
  type: 046d 101b
  path: /dev/hidraw4
  serial_number: 101b-ae-8a-0c-8c
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x2 (0x1)

Device Found
  type: 046d 101b
  path: /dev/hidraw4
  serial_number: 101b-ae-8a-0c-8c
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x1 (0x1)

Device Found
  type: 046d 101b
  path: /dev/hidraw4
  serial_number: 101b-ae-8a-0c-8c
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x1 (0xff00)

Device Found
  type: 046d 101b
  path: /dev/hidraw4
  serial_number: 101b-ae-8a-0c-8c
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x2 (0xff00)

Device Found
  type: 046d 101b
  path: /dev/hidraw4
  serial_number: 101b-ae-8a-0c-8c
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x4 (0xff00)

Device Found
  type: 046d 2008
  path: /dev/hidraw5
  serial_number: 2008-b6-b4-d3-96
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x6 (0x1)

Device Found
  type: 046d 2008
  path: /dev/hidraw5
  serial_number: 2008-b6-b4-d3-96
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x1 (0xc)

Device Found
  type: 046d 2008
  path: /dev/hidraw5
  serial_number: 2008-b6-b4-d3-96
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x80 (0x1)

Device Found
  type: 046d 2008
  path: /dev/hidraw5
  serial_number: 2008-b6-b4-d3-96
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x88 (0xffbc)

Device Found
  type: 046d 2008
  path: /dev/hidraw5
  serial_number: 2008-b6-b4-d3-96
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x1 (0xff00)

Device Found
  type: 046d 2008
  path: /dev/hidraw5
  serial_number: 2008-b6-b4-d3-96
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x2 (0xff00)

Device Found
  type: 046d 2008
  path: /dev/hidraw5
  serial_number: 2008-b6-b4-d3-96
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x4 (0xff00)

Device Found
  type: 046d c52b
  path: /dev/hidraw3
  serial_number: 
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x1 (0xff00)

Device Found
  type: 046d c52b
  path: /dev/hidraw3
  serial_number: 
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x2 (0xff00)

Device Found
  type: 046d c52b
  path: /dev/hidraw3
  serial_number: 
  Manufacturer: Logitech
  Product:      USB Receiver
  Release:      2410
  Interface:    2
  Usage (page): 0x4 (0xff00)

Device Found
  type: 047f c025
  path: /dev/hidraw2
  serial_number: CB13A3E40E8E47D6A40769C27E90A38E
  Manufacturer: Plantronics
  Product:      Plantronics C320-M
  Release:      135
  Interface:    3
  Usage (page): 0x1 (0xc)

Device Found
  type: 047f c025
  path: /dev/hidraw2
  serial_number: CB13A3E40E8E47D6A40769C27E90A38E
  Manufacturer: Plantronics
  Product:      Plantronics C320-M
  Release:      135
  Interface:    3
  Usage (page): 0x5 (0xb)

Device Found
  type: 047f c025
  path: /dev/hidraw2
  serial_number: CB13A3E40E8E47D6A40769C27E90A38E
  Manufacturer: Plantronics
  Product:      Plantronics C320-M
  Release:      135
  Interface:    3
  Usage (page): 0x1 (0xffa0)

Device Found
  type: 04d9 0007
  path: /dev/hidraw0
  serial_number: 
  Manufacturer:  
  Product:      Raspberry Pi Internal Keyboard
  Release:      161
  Interface:    0
  Usage (page): 0x6 (0x1)

Device Found
  type: 04d9 0007
  path: /dev/hidraw1
  serial_number: 
  Manufacturer:  
  Product:      Raspberry Pi Internal Keyboard
  Release:      161
  Interface:    1
  Usage (page): 0x1 (0xc)

Device Found
  type: 046d b010
  path: /dev/hidraw6
  serial_number: 34:88:5d:ab:0c:12
  Manufacturer: 
  Product:      Bluetooth Mouse M557
  Release:      0
  Interface:    -1
  Usage (page): 0x2 (0x1)

Device Found
  type: 046d b010
  path: /dev/hidraw6
  serial_number: 34:88:5d:ab:0c:12
  Manufacturer: 
  Product:      Bluetooth Mouse M557
  Release:      0
  Interface:    -1
  Usage (page): 0x1 (0x1)

Device Found
  type: 046d b010
  path: /dev/hidraw6
  serial_number: 34:88:5d:ab:0c:12
  Manufacturer: 
  Product:      Bluetooth Mouse M557
  Release:      0
  Interface:    -1
  Usage (page): 0x1 (0xc)

Device Found
  type: 046d b010
  path: /dev/hidraw6
  serial_number: 34:88:5d:ab:0c:12
  Manufacturer: 
  Product:      Bluetooth Mouse M557
  Release:      0
  Interface:    -1
  Usage (page): 0x1 (0xff00)

Device Found
  type: 046d b010
  path: /dev/hidraw6
  serial_number: 34:88:5d:ab:0c:12
  Manufacturer: 
  Product:      Bluetooth Mouse M557
  Release:      0
  Interface:    -1
  Usage (page): 0x2 (0xff00)

Device Found
  type: 046d b010
  path: /dev/hidraw6
  serial_number: 34:88:5d:ab:0c:12
  Manufacturer: 
  Product:      Bluetooth Mouse M557
  Release:      0
  Interface:    -1
  Usage (page): 0x6 (0x1)

Device Found
  type: 046d b010
  path: /dev/hidraw6
  serial_number: 34:88:5d:ab:0c:12
  Manufacturer: 
  Product:      Bluetooth Mouse M557
  Release:      0
  Interface:    -1
  Usage (page): 0x1 (0xc)

unable to open device

@mcuee
Copy link

mcuee commented Aug 15, 2021

It seems to me the error is not consistent. Most of the time it is okay for me. But the bluetooth mouse will appear sometimes once and sometimes twice.

hidpp/build on  master [?] via △ v3.18.4 ❯ sudo ./src/tools/hidpp-list-devices
/dev/hidraw3: Logitech USB Receiver (046d:c52b) HID++ 1.0
/dev/hidraw3 (device 1): M705 (046d:101b) HID++ 1.0
/dev/hidraw3 (device 2): MK700 (046d:2008) HID++ 1.0
/dev/hidraw6 (device 0): Bluetooth Mouse M557 (046d:b010) HID++ 2.0

hidpp/build on  master [?] via △ v3.18.4 took 3s ❯ sudo ./src/tools/hidpp-list-devices
/dev/hidraw3: Logitech USB Receiver (046d:c52b) HID++ 1.0
/dev/hidraw3 (device 1): M705 (046d:101b) HID++ 1.0
/dev/hidraw3 (device 2): MK700 (046d:2008) HID++ 1.0
/dev/hidraw6: Bluetooth Mouse M557 (046d:b010) HID++ 2.0
/dev/hidraw6 (device 0): Bluetooth Mouse M557 (046d:b010) HID++ 2.0

@mcuee
Copy link

mcuee commented Aug 15, 2021

Debug log:

hidpp/build on  master [?] via △ v3.18.4 took 3s ❯ sudo ./src/tools/hidpp-list-devices -vdebug
[debug:hid] Opened device "Logitech M705" (046d:101b)
[debug:reportdesc] Collection: 10002
[debug:reportdesc] - Report Input 2
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 16*1
[debug:reportdesc]     Usages: [90001, 90010]
[debug:reportdesc]   - Flags: 6 (Data, Variable), Size: 2*12
[debug:reportdesc]     Usages: 10030 10031
[debug:reportdesc]   - Flags: 6 (Data, Variable), Size: 1*8
[debug:reportdesc]     Usages: 10038
[debug:reportdesc]   - Flags: 6 (Data, Variable), Size: 1*8
[debug:reportdesc]     Usages: c0238
[debug:reportdesc] Collection: ff000001
[debug:reportdesc] - Report Input 16
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 6*8
[debug:reportdesc]     Usages: ff000001
[debug:reportdesc] - Report Output 16
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 6*8
[debug:reportdesc]     Usages: ff000001
[debug:reportdesc] Collection: ff000002
[debug:reportdesc] - Report Input 17
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 19*8
[debug:reportdesc]     Usages: ff000002
[debug:reportdesc] - Report Output 17
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 19*8
[debug:reportdesc]     Usages: ff000002
[debug:reportdesc] Collection: ff000004
[debug:reportdesc] - Report Input 32
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 14*8
[debug:reportdesc]     Usages: ff000041
[debug:reportdesc] - Report Input 33
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 31*8
[debug:reportdesc]     Usages: ff000042
[debug:reportdesc] - Report Output 32
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 14*8
[debug:reportdesc]     Usages: ff000041
[debug:reportdesc] - Report Output 33
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 31*8
[debug:reportdesc]     Usages: ff000042
[warning] Missing input report for report 
[warning] Missing output report for report 
[debug:report] Send HID report: 10 ff 00 11 00 00 00
[warning] Device /dev/hidraw4 (index 255) timed out
[debug:report] Send HID report: 10 00 00 11 00 00 00
[warning] Device /dev/hidraw4 (index 0) timed out
[debug:hid] Opened device "Logitech MK700" (046d:2008)
[debug:reportdesc] Collection: 10006
[debug:reportdesc] - Report Input 1
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 8*1
[debug:reportdesc]     Usages: [700e0, 700e7]
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 6*8
[debug:reportdesc]     Usages: [70000, 700ff]
[debug:reportdesc] - Report Output 14
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 5*1
[debug:reportdesc]     Usages: [80001, 80005]
[debug:reportdesc] Collection: c0001
[debug:reportdesc] - Report Input 3
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 2*16
[debug:reportdesc]     Usages: [c0001, c02ff]
[debug:reportdesc] Collection: 10080
[debug:reportdesc] - Report Input 4
[debug:reportdesc]   - Flags: 60 (Data, Array), Size: 1*2
[debug:reportdesc]     Usages: 10082 10081 10083
[debug:reportdesc] Collection: ffbc0088
[debug:reportdesc] - Report Input 8
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 1*8
[debug:reportdesc]     Usages: [ffbc0001, ffbc00ff]
[debug:reportdesc] Collection: ff000001
[debug:reportdesc] - Report Input 16
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 6*8
[debug:reportdesc]     Usages: ff000001
[debug:reportdesc] - Report Output 16
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 6*8
[debug:reportdesc]     Usages: ff000001
[debug:reportdesc] Collection: ff000002
[debug:reportdesc] - Report Input 17
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 19*8
[debug:reportdesc]     Usages: ff000002
[debug:reportdesc] - Report Output 17
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 19*8
[debug:reportdesc]     Usages: ff000002
[debug:reportdesc] Collection: ff000004
[debug:reportdesc] - Report Input 32
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 14*8
[debug:reportdesc]     Usages: ff000041
[debug:reportdesc] - Report Input 33
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 31*8
[debug:reportdesc]     Usages: ff000042
[debug:reportdesc] - Report Output 32
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 14*8
[debug:reportdesc]     Usages: ff000041
[debug:reportdesc] - Report Output 33
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 31*8
[debug:reportdesc]     Usages: ff000042
[warning] Missing input report for report 
[warning] Missing output report for report 
[debug:report] Send HID report: 10 ff 00 11 00 00 00
[warning] Device /dev/hidraw5 (index 255) timed out
[debug:report] Send HID report: 10 00 00 11 00 00 00
[warning] Device /dev/hidraw5 (index 0) timed out
[debug:hid] Opened device "Logitech USB Receiver" (046d:c52b)
[debug:reportdesc] Collection: ff000001
[debug:reportdesc] - Report Input 16
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 6*8
[debug:reportdesc]     Usages: ff000001
[debug:reportdesc] - Report Output 16
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 6*8
[debug:reportdesc]     Usages: ff000001
[debug:reportdesc] Collection: ff000002
[debug:reportdesc] - Report Input 17
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 19*8
[debug:reportdesc]     Usages: ff000002
[debug:reportdesc] - Report Output 17
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 19*8
[debug:reportdesc]     Usages: ff000002
[debug:reportdesc] Collection: ff000004
[debug:reportdesc] - Report Input 32
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 14*8
[debug:reportdesc]     Usages: ff000041
[debug:reportdesc] - Report Input 33
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 31*8
[debug:reportdesc]     Usages: ff000042
[debug:reportdesc] - Report Output 32
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 14*8
[debug:reportdesc]     Usages: ff000041
[debug:reportdesc] - Report Output 33
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 31*8
[debug:reportdesc]     Usages: ff000042
[warning] Missing input report for report 
[warning] Missing output report for report 
[debug:report] Send HID report: 10 ff 00 11 00 00 00
[debug:report] Recv HID report: 10 ff 8f 00 11 01 00
/dev/hidraw3: Logitech USB Receiver (046d:c52b) HID++ 1.0
[debug:report] Send HID report: 10 00 00 11 00 00 00
[debug:report] Recv HID report: 10 00 8f 00 11 08 00
[debug:report] Send HID report: 10 ff 00 11 00 00 00
[debug:report] Recv HID report: 10 ff 8f 00 11 01 00
[debug:register] Getting long register 0xb5
[debug:register] Parameters: 20 00 00
[debug:report] Send HID report: 10 ff 83 b5 20 00 00
[debug:report] Recv HID report: 11 ff 83 b5 20 07 08 10 1b 04 00 02 06 00 00 00 00 00 00 00
[debug:register] Results: 20 07 08 10 1b 04 00 02 06 00 00 00 00 00 00 00
[debug:register] Getting long register 0xb5
[debug:register] Parameters: 40 00 00
[debug:report] Send HID report: 10 ff 83 b5 40 00 00
[debug:report] Recv HID report: 11 ff 83 b5 40 04 4d 37 30 35 00 00 00 00 00 00 00 00 00 00
[debug:register] Results: 40 04 4d 37 30 35 00 00 00 00 00 00 00 00 00 00
[debug:report] Send HID report: 10 01 00 11 00 00 00
[debug:report] Recv HID report: 10 01 8f 00 11 01 00
/dev/hidraw3 (device 1): M705 (046d:101b) HID++ 1.0
[debug:report] Send HID report: 10 ff 00 11 00 00 00
[debug:report] Recv HID report: 10 ff 8f 00 11 01 00
[debug:register] Getting long register 0xb5
[debug:register] Parameters: 21 00 00
[debug:report] Send HID report: 10 ff 83 b5 21 00 00
[debug:report] Recv HID report: 11 ff 83 b5 21 08 14 20 08 04 02 01 0d 00 00 00 00 00 00 00
[debug:register] Results: 21 08 14 20 08 04 02 01 0d 00 00 00 00 00 00 00
[debug:register] Getting long register 0xb5
[debug:register] Parameters: 41 00 00
[debug:report] Send HID report: 10 ff 83 b5 41 00 00
[debug:report] Recv HID report: 11 ff 83 b5 41 05 4d 4b 37 30 30 20 20 20 20 20 20 20 20 20
[debug:register] Results: 41 05 4d 4b 37 30 30 20 20 20 20 20 20 20 20 20
[debug:report] Send HID report: 10 02 00 11 00 00 00
[debug:report] Recv HID report: 10 02 8f 00 11 01 00
/dev/hidraw3 (device 2): MK700 (046d:2008) HID++ 1.0
[debug:report] Send HID report: 10 ff 00 11 00 00 00
[debug:report] Recv HID report: 10 02 8f 00 11 01 00
[debug:dispatcher] Ignored response because of different device index.
[debug:report] Recv HID report: 10 02 8f 00 11 01 00
[debug:dispatcher] Ignored response because of different device index.
[debug:report] Recv HID report: 10 02 49 03 00 55 00
[debug:dispatcher] Ignored response because of different device index.
[warning] Device /dev/hidraw3 (index 3) timed out
[debug:report] Send HID report: 10 ff 00 11 00 00 00
[debug:report] Recv HID report: 10 ff 8f 00 11 01 00
[debug:register] Getting long register 0xb5
[debug:register] Parameters: 23 00 00
[debug:report] Send HID report: 10 ff 83 b5 23 00 00
[debug:report] Recv HID report: 10 ff 8f 83 b5 03 00
[debug:report] Send HID report: 10 ff 00 11 00 00 00
[debug:report] Recv HID report: 10 ff 8f 00 11 01 00
[debug:register] Getting long register 0xb5
[debug:register] Parameters: 24 00 00
[debug:report] Send HID report: 10 ff 83 b5 24 00 00
[debug:report] Recv HID report: 10 ff 8f 83 b5 03 00
[debug:report] Send HID report: 10 ff 00 11 00 00 00
[debug:report] Recv HID report: 10 ff 8f 00 11 01 00
[debug:register] Getting long register 0xb5
[debug:register] Parameters: 25 00 00
[debug:report] Send HID report: 10 ff 83 b5 25 00 00
[debug:report] Recv HID report: 10 ff 8f 83 b5 03 00
[debug:hid] Opened device "Plantronics Plantronics C320-M" (047f:c025)
[debug:reportdesc] Collection: c0001
[debug:reportdesc] - Report Input 1
[debug:reportdesc]   - Flags: 6 (Data, Variable), Size: 2*1
[debug:reportdesc]     Usages: c00e9 c00ea
[debug:reportdesc] - Report Input 2
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 16*1
[debug:reportdesc]     Usages: c0000
[debug:reportdesc] - Report Input 5
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 32*8
[debug:reportdesc]     Usages: c0000
[debug:reportdesc] - Report Input 7
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 32*8
[debug:reportdesc]     Usages: c0000
[debug:reportdesc] - Report Output 4
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 36*8
[debug:reportdesc]     Usages: c0000
[debug:reportdesc] - Report Output 6
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 36*8
[debug:reportdesc]     Usages: c0000
[debug:reportdesc] Collection: b0005
[debug:reportdesc] - Report Input 8
[debug:reportdesc]   - Flags: 6 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: b002f
[debug:reportdesc]   - Flags: 22 (Data, Variable), Size: 2*1
[debug:reportdesc]     Usages: b0020 b0021
[debug:reportdesc] - Report Output 9
[debug:reportdesc]   - Flags: 22 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: 80009
[debug:reportdesc] - Report Output 23
[debug:reportdesc]   - Flags: 22 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: 80017
[debug:reportdesc] - Report Output 24
[debug:reportdesc]   - Flags: 22 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: 80018
[debug:reportdesc] - Report Output 30
[debug:reportdesc]   - Flags: 22 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: 8001e
[debug:reportdesc] - Report Output 32
[debug:reportdesc]   - Flags: 22 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: 80020
[debug:reportdesc] - Report Output 42
[debug:reportdesc]   - Flags: 22 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: 8002a
[debug:reportdesc] Collection: ffa00001
[debug:reportdesc] - Report Input 3
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 32*8
[debug:reportdesc]     Usages: ffa00030
[debug:reportdesc] - Report Input 20
[debug:reportdesc]   - Flags: 6 (Data, Variable), Size: 5*1
[debug:reportdesc]     Usages: ffa000b1 ffa000b2 ffa000b5 ffa000b7 ffa000b3
[debug:reportdesc] - Report Input 21
[debug:reportdesc]   - Flags: 22 (Data, Variable), Size: 1*16
[debug:reportdesc]     Usages: ffa0008c
[debug:reportdesc] - Report Input 31
[debug:reportdesc]   - Flags: 6 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: ffa0009c
[debug:reportdesc] - Report Output 3
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 32*8
[debug:reportdesc]     Usages: ffa00030
[debug:reportdesc] - Report Output 25
[debug:reportdesc]   - Flags: 22 (Data, Variable), Size: 4*1
[debug:reportdesc]     Usages: ffa0008d ffa0008f ffa0009e ffa000dc
[debug:reportdesc]   - Flags: 6 (Data, Variable), Size: 2*1
[debug:reportdesc]     Usages: ffa000d2 ffa000d9
[debug:reportdesc] - Report Output 26
[debug:reportdesc]   - Flags: 22 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: ffa000b5
[debug:reportdesc] - Report Feature 27
[debug:reportdesc]   - Flags: 22 (Data, Variable), Size: 3*1
[debug:reportdesc]     Usages: ffa000cf ffa000b5 ffa000de
[debug:reportdesc]   - Flags: 23 (Constant, Variable), Size: 1*1
[debug:reportdesc]     Usages: ffa000d8
[debug:reportdesc]   - Flags: 22 (Data, Variable), Size: 6*1
[debug:reportdesc]     Usages: ffa00009 ffa00017 ffa00018 ffa0001e ffa00020 ffa0002a
[debug:hid] Opened device "  Raspberry Pi Internal Keyboard" (04d9:0007)
[debug:reportdesc] Collection: 10006
[debug:reportdesc] - Report Input 0
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 8*1
[debug:reportdesc]     Usages: [700e0, 700e7]
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 6*8
[debug:reportdesc]     Usages: [70000, 700ff]
[debug:reportdesc] - Report Output 0
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 3*1
[debug:reportdesc]     Usages: [80001, 80003]
[debug:hid] Opened device "  Raspberry Pi Internal Keyboard" (04d9:0007)
[debug:reportdesc] Collection: c0001
[debug:reportdesc] - Report Input 0
[debug:reportdesc]   - Flags: 6 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: c00cd
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: c00b5
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: c00b6
[debug:reportdesc]   - Flags: 6 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: c00b8
[debug:reportdesc]   - Flags: 6 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: c00e2
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: c00ea
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: c00e9
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: c0223
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 1*1
[debug:reportdesc]     Usages: c0192
[debug:hid] Opened device "Bluetooth Mouse M557" (046d:b010)
[debug:reportdesc] Collection: 10002
[debug:reportdesc] - Report Input 2
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 8*1
[debug:reportdesc]     Usages: [90001, 90008]
[debug:reportdesc]   - Flags: 6 (Data, Variable), Size: 2*12
[debug:reportdesc]     Usages: 10030 10031
[debug:reportdesc]   - Flags: 6 (Data, Variable), Size: 1*8
[debug:reportdesc]     Usages: 10038
[debug:reportdesc]   - Flags: 6 (Data, Variable), Size: 1*8
[debug:reportdesc]     Usages: c0238
[debug:reportdesc] Collection: c0001
[debug:reportdesc] - Report Input 3
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 1*8
[debug:reportdesc]     Usages: 60020
[debug:reportdesc] Collection: ff000001
[debug:reportdesc] - Report Input 16
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 6*8
[debug:reportdesc]     Usages: ff000001
[debug:reportdesc] - Report Output 16
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 6*8
[debug:reportdesc]     Usages: ff000001
[debug:reportdesc] Collection: ff000002
[debug:reportdesc] - Report Input 17
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 19*8
[debug:reportdesc]     Usages: ff000002
[debug:reportdesc] - Report Output 17
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 19*8
[debug:reportdesc]     Usages: ff000002
[debug:reportdesc] Collection: 10006
[debug:reportdesc] - Report Input 4
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 8*1
[debug:reportdesc]     Usages: [700e0, 700e7]
[debug:reportdesc]   - Flags: 0 (Data, Array), Size: 6*8
[debug:reportdesc]     Usages: [70000, 700ff]
[debug:reportdesc] - Report Output 4
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 5*1
[debug:reportdesc]     Usages: [80001, 80005]
[debug:reportdesc] Collection: c0001
[debug:reportdesc] - Report Input 5
[debug:reportdesc]   - Flags: 2 (Data, Variable), Size: 2*1
[debug:reportdesc]     Usages: c0225 c0224
[debug:report] Send HID report: 10 ff 00 11 00 00 00
[warning] Device /dev/hidraw6 (index 255) timed out
[debug:report] Send HID report: 10 00 00 11 00 00 00
[debug:report] Recv HID report: 11 ff 00 11 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[debug:dispatcher] Ignored response because of different device index.
[debug:report] Recv HID report: 11 00 00 11 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
/dev/hidraw6 (device 0): Bluetooth Mouse M557 (046d:b010) HID++ 2.0

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

3 participants