QDNX Bug Tracker :: https://bugs.qdnx.org/ QDNX Bug Tracker :: RatSlap: Recently closed tasks 2018-08-06T15:11:53Z QB#124: Failed operations don't abort execution https://bugs.qdnx.org/task/124 2018-08-06T15:11:53Z Krayon A failed operation doesn’t abort execution such that subsequent parameters arestill parsed and executed. eg. $ ./ratslap -s INVALID1 -s INVALID2 -s INVALID3 RatSlap v0.2.2 (BUILT: 2018-05-01 01:00:50+1000) Copyright (C) 2016 Todd Harbour Linux configuration tool for Logitech mice (currently only G300/G300S) https://gitlab.com/krayon/ratslap/ Found Logitech G300s (046d:c246) @ 0x1470620 Detaching kernel driver... 20180711T012738+1000 [E] main.c:01322:main ERROR: Invalid mode for select option: INVALID1 20180711T012738+1000 [E] main.c:01322:main ERROR: Invalid mode for select option: INVALID2 20180711T012738+1000 [E] main.c:01322:main ERROR: Invalid mode for select option: INVALID3 Attaching kernel driver... I can’t think of any way at present that this could be bad but it’s probablynot a good idea. A failed operation doesn’t abort execution such that subsequent parameters are
still parsed and executed. eg.

$ ./ratslap -s INVALID1 -s INVALID2 -s INVALID3
RatSlap v0.2.2 (BUILT: 2018-05-01 01:00:50+1000)
Copyright (C) 2016 Todd Harbour
Linux configuration tool for Logitech mice (currently only G300/G300S)
https://gitlab.com/krayon/ratslap/
Found Logitech G300s (046d:c246) @ 0x1470620
Detaching kernel driver...
20180711T012738+1000 [E]           main.c:01322:main            ERROR: Invalid mode for select option: INVALID1
20180711T012738+1000 [E]           main.c:01322:main            ERROR: Invalid mode for select option: INVALID2
20180711T012738+1000 [E]           main.c:01322:main            ERROR: Invalid mode for select option: INVALID3
Attaching kernel driver...

I can’t think of any way at present that this could be bad but it’s probably
not a good idea.

]]>
QB#123: Check mode_load() return code https://bugs.qdnx.org/task/123 2018-08-06T15:11:40Z Krayon Currently we are not checking the return code of mode_load(). This could leadto weird results in the printing of a mode. Currently we are not checking the return code of mode_load(). This could lead
to weird results in the printing of a mode.

]]>
QB#122: Help shouldn't require USB permissions https://bugs.qdnx.org/task/122 2018-08-06T15:11:27Z Krayon From GitHub Issue #15 by ChillyWillyGuru: If you run 'ratslap -h' normally such that the user doesn't have access to the usb, you get an error about not being able to do any usb ops rather than the help. Help should ALWAYS be available. I'd suggest checking if the help option has been asked for first before anything else, and if so print the help and exit. Only if the user doesn't want help should it then try to get the usb. From GitHub Issue #15 by ChillyWillyGuru:

If you run 'ratslap -h' normally such that the user doesn't have access to
the usb, you get an error about not being able to do any usb ops rather than
the help. Help should ALWAYS be available. I'd suggest checking if the help
option has been asked for first before anything else, and if so print the
help and exit. Only if the user doesn't want help should it then try to get
the usb.
]]>
QB#114: Factory reset option https://bugs.qdnx.org/task/114 2018-07-10T14:44:31Z Krayon It would be good to have a factory reset option to return the mouse to(Logitech’s idea of) sane button assignments. It would be good to have a factory reset option to return the mouse to
(Logitech’s idea of) sane button assignments.

]]>
QB#121: set_debug is deprecated, use libusb_set_option instead https://bugs.qdnx.org/task/121 2018-07-10T14:40:37Z Krayon From GitHub PR #14 by captn3m0 : Use libusb_set_option, set_debug is deprecated From GitHub PR #14 by captn3m0 :

Use libusb_set_option, set_debug is deprecated

]]>
QB#111: Build fails: implicit declaration of function 'libusb_strerror' https://bugs.qdnx.org/task/111 2017-02-27T11:47:47Z Krayon On systems with older libusb, libusb_strerror isn’t defined and will therefore lead toa failure to build. On systems with older libusb, libusb_strerror isn’t defined and will therefore lead to
a failure to build.

]]>
QB#117: Compile fails when ctags missing https://bugs.qdnx.org/task/117 2017-02-27T11:47:30Z Krayon From GitHub Issue #7 by akred : Hello, Can you add documentation in order to explain how to install this tool please ? For those who are not familiar to C language. On my side, I have download sources and run the command "make", but I have an error which is : /bin/sh: 1: ctags: not found Makefile:170 : la recette pour la cible ? ctags ? a ?chou?e make: *** [ctags] Erreur 127 Thanks for your help Obviously ctags shouldn’t be required for compilation, only development. From GitHub Issue #7 by akred :

  Hello,
  
  Can you add documentation in order to explain how to install this tool please ?
  For those who are not familiar to C language.
  On my side, I have download sources and run the command "make", but I have an error which is :
  
      /bin/sh: 1: ctags: not found
      Makefile:170 : la recette pour la cible ? ctags ? a ?chou?e
      make: *** [ctags] Erreur 127
  
  Thanks for your help

Obviously ctags shouldn’t be required for compilation, only development.

]]>
QB#106: Modify mode - change button assignment https://bugs.qdnx.org/task/106 2016-11-08T13:46:42Z Krayon Ability to map different keys to each button Ability to map different keys to each button

]]>
QB#109: kernel driver disconnect after --listkeys https://bugs.qdnx.org/task/109 2016-11-08T13:46:01Z Krayon The kernel driver stays disconnected after calling ratslap with –listkeys. The kernel driver stays disconnected after calling ratslap with –listkeys.

]]>
QB#108: kernel driver disconnect after --help/--version https://bugs.qdnx.org/task/108 2016-11-08T13:45:37Z Krayon The kernel driver stays disconnected after calling ratslap with –help or –version. The kernel driver stays disconnected after calling ratslap with –help or –version.

]]>