Giter VIP home page Giter VIP logo

Comments (6)

cvuchener avatar cvuchener commented on August 20, 2024

Try adding "RATBAG_HIDPP10_INDEX=-1" (or is it 255?) in the hwdb for the "G700s over USB" (and make sure you update the hwdb after). Some devices uses 0 for the device index but other, more recent, uses 0xff (IIRC the G500s supports both, but the G500 uses only 0). Maybe libratbag should guess it from the unknown device error.

from libratbag.

11111010000 avatar 11111010000 commented on August 20, 2024

-1 gives ratbag error: Error parsing RATBAG_HIDPP10_INDEX: '-1' for Logitech G700s Rechargeable Gaming Mouse error, but mouse is recognized as it should. 255 makes it repeat ratbag error: USB error: Connection timed out (110) write: Success endlessly, but RATBAG_HIDPP10_INDEX=0 works fine

from libratbag.

cvuchener avatar cvuchener commented on August 20, 2024

I missed the "Device 'Logitech USB Receiver'" line. If event8 is the receiver, the errors are expected. But then, why did the hwdb property change the behavior? And why does list command say "Logitech G700s..." instead of "Logitech USB Receiver"? I am not familiar with hybrid wireless of the G700s, and I am not sure what should be expected.

Can you give the verbose output for the "list" command? The error may be there.

from libratbag.

11111010000 avatar 11111010000 commented on August 20, 2024

My problem was with the cable connection (I don't know why receiver was listed in info). event8 is cable and because of that is called "Logitech G700s Rechargeable Gaming Mouse"
I fixed the problem but I can't break it back to the same state of brokenness it was, so I can't give useful output You are asking for.

from libratbag.

r3pek avatar r3pek commented on August 20, 2024

Mine is working well on the latests version:

[r3pek@trinity ~]$ sudo ratbag-command info /dev/input/event0
Device 'Logitech G700s Rechargeable Gaming Mouse'
Capabilities: res profile btn-key btn-macros
Number of buttons: 13
Number of leds: 0
Profiles supported: 5
  Profile 0 (enabled) (active)
    Resolutions:
      0: 450x450dpi @ 500Hz
      1: 800x800dpi @ 500Hz
      2: 1200x1200dpi @ 500Hz (active) (default)
      3: 1600x1600dpi @ 500Hz
      4: 3200x3200dpi @ 500Hz
    Button: 0 type left is mapped to 'button 1'
    Button: 1 type middle is mapped to 'button 2'
    Button: 2 type right is mapped to 'button 3'
    Button: 3 type thumb is mapped to 'button 4'
    Button: 4 type thumb2 is mapped to 'button 5'
    Button: 5 type thumb3 is mapped to 'none'
    Button: 6 type thumb4 is mapped to 'none'
    Button: 7 type resolution cycle up is mapped to 'battery level'
    Button: 8 type resolution down is mapped to 'resolution down'
    Button: 9 type resolution up is mapped to 'resolution up'
    Button: 10 type profile cycle up is mapped to 'profile cycle up'
    Button: 11 type wheel left is mapped to 'wheel left'
    Button: 12 type wheel right is mapped to 'wheel right'
  Profile 1 (enabled)
    Resolutions:
      0: 400x400dpi @ 1000Hz
      1: 1600x1600dpi @ 1000Hz (default)
      2: <disabled>
      3: <disabled>
      4: 1200x1200dpi @ 1000Hz
    Button: 0 type left is mapped to 'button 1'
    Button: 1 type middle is mapped to 'button 2'
    Button: 2 type right is mapped to 'button 3'
    Button: 3 type thumb is mapped to 'button 4'
    Button: 4 type thumb2 is mapped to 'button 5'
    Button: 5 type thumb3 is mapped to 'button 6'
    Button: 6 type thumb4 is mapped to 'button 7'
    Button: 7 type resolution cycle up is mapped to 'battery level'
    Button: 8 type resolution down is mapped to 'resolution down'
    Button: 9 type resolution up is mapped to 'button 10'
    Button: 10 type profile cycle up is mapped to 'profile cycle up'
    Button: 11 type wheel left is mapped to 'wheel left'
    Button: 12 type wheel right is mapped to 'wheel right'
  Profile 2 (enabled)
    Resolutions:
      0: 1000x1000dpi @ 125Hz (default)
      1: <disabled>
      2: <disabled>
      3: <disabled>
      4: 1000x1000dpi @ 125Hz
    Button: 0 type left is mapped to 'button 1'
    Button: 1 type middle is mapped to 'button 2'
    Button: 2 type right is mapped to 'button 3'
    Button: 3 type thumb is mapped to 'button 4'
    Button: 4 type thumb2 is mapped to 'button 5'
    Button: 5 type thumb3 is mapped to 'macro "": LEFTCTRL↓ 0.001⏱ C↓ 0.001⏱ C↑ 0.001⏱ LEFTCTRL↑'
    Button: 6 type thumb4 is mapped to 'macro "": LEFTCTRL↓ 0.001⏱ V↓ 0.001⏱ V↑ 0.001⏱ LEFTCTRL↑'
    Button: 7 type resolution cycle up is mapped to 'battery level'
    Button: 8 type resolution down is mapped to 'KEY_SEARCH'
    Button: 9 type resolution up is mapped to 'macro "": LEFTALT↓ 0.001⏱ TAB↓ 0.001⏱ TAB↑ 0.001⏱ TAB↓ 0.001⏱ TAB↑ 0.404⏱ LEFTALT↑'
    Button: 10 type profile cycle up is mapped to 'profile cycle up'
    Button: 11 type wheel left is mapped to 'wheel left'
    Button: 12 type wheel right is mapped to 'wheel right'
  Profile 3 (enabled)
    Resolutions:
      0: 400x400dpi @ 125Hz
      1: 800x800dpi @ 125Hz
      2: 1200x1200dpi @ 125Hz (default)
      3: 1600x1600dpi @ 125Hz
      4: 3200x3200dpi @ 125Hz
    Button: 0 type left is mapped to 'button 1'
    Button: 1 type middle is mapped to 'button 2'
    Button: 2 type right is mapped to 'button 3'
    Button: 3 type thumb is mapped to 'button 4'
    Button: 4 type thumb2 is mapped to 'button 5'
    Button: 5 type thumb3 is mapped to 'button 6'
    Button: 6 type thumb4 is mapped to 'button 7'
    Button: 7 type resolution cycle up is mapped to 'battery level'
    Button: 8 type resolution down is mapped to 'resolution down'
    Button: 9 type resolution up is mapped to 'resolution up'
    Button: 10 type profile cycle up is mapped to 'profile cycle up'
    Button: 11 type wheel left is mapped to 'wheel left'
    Button: 12 type wheel right is mapped to 'wheel right'
  Profile 4 (enabled)
    Resolutions:
      0: 1000x1000dpi @ 125Hz (default)
      1: <disabled>
      2: <disabled>
      3: <disabled>
      4: 800x800dpi @ 125Hz
    Button: 0 type left is mapped to 'button 1'
    Button: 1 type middle is mapped to 'button 2'
    Button: 2 type right is mapped to 'button 3'
    Button: 3 type thumb is mapped to 'macro "": LEFTMETA↓ 0.001⏱ LEFT↓ 0.001⏱ LEFT↑ 0.001⏱ LEFTMETA↑'
    Button: 4 type thumb2 is mapped to 'macro "": LEFTMETA↓ 0.001⏱ RIGHT↓ 0.001⏱ RIGHT↑ 0.001⏱ LEFTMETA↑'
    Button: 5 type thumb3 is mapped to 'macro "": LEFTMETA↓ 0.001⏱ C↓ 0.001⏱ C↑ 0.001⏱ LEFTMETA↑'
    Button: 6 type thumb4 is mapped to 'macro "": LEFTMETA↓ 0.001⏱ V↓ 0.001⏱ V↑ 0.001⏱ LEFTMETA↑'
    Button: 7 type resolution cycle up is mapped to 'battery level'
    Button: 8 type resolution down is mapped to 'macro "": LEFTMETA↓ 0.001⏱ F↓ 0.001⏱ F↑ 0.001⏱ LEFTMETA↑'
    Button: 9 type resolution up is mapped to 'macro "": LEFTCTRL↓ 0.001⏱ UP↓ 0.001⏱ UP↑ 0.001⏱ LEFTCTRL↑'
    Button: 10 type profile cycle up is mapped to 'profile cycle up'
    Button: 11 type wheel left is mapped to 'wheel left'
    Button: 12 type wheel right is mapped to 'wheel right'
[r3pek@trinity ~]$ sudo ratbag-command info /dev/input/event3
Device 'Logitech USB Receiver'
Capabilities:
Number of buttons: 3
Number of leds: 0
Profiles supported: 1
  Profile 0 (enabled) (active)
    Resolutions:
      0: <disabled>
    Button: 0 type left is mapped to 'none'
    Button: 1 type middle is mapped to 'none'
    Button: 2 type right is mapped to 'none'

from libratbag.

bentiss avatar bentiss commented on August 20, 2024

I guess there might have been a FW issue the first time it was used in libratbag. Given that we don't have a reproducer anymore, I am just closing this issue.

from libratbag.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.