Re: hid-logitech-hidpp / hid-logitech-dj driver hiding inputs and breaking Logitech G700s buttons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Benjamin,

Yes I have macros on these buttons, most of them are the ones pre-recorded from the Logitech Windows software (Previous, Forward, Ctrl+Tab, Ctrl+Shift+Tab). I also have two custom ones which are Ctrl+W and Ctrl+T, respectively on G9 and
G10.

I do have an input recorded on hid-recorder. Thank you for the link.
Please find below the isolated output for each of the problematic buttons:

g06_ctrl_alt_tab.txt
# ReportID: 16 /Vendor Defined Page 1 ['01', '41', '07', '12', '2a', '10']
	E: 000229.982728 7 10 01 41 07 12 2a 10
	# ReportID: 2 / Button: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
	| X: 0 | Y: 0 | Wheel: 0 | AC Pan: 0
	E: 000229.985686 9 02 00 00 00 00 00 00 00 00
# ReportID: 16 /Vendor Defined Page 1 ['01', '81', '00', '10', '00', '00']
	E: 000229.993657 7 10 01 81 00 10 00 00
# ReportID: 16 /Vendor Defined Page 1 ['01', '80', '00', '00', '00', '00']
	E: 000230.005685 7 10 01 80 00 00 00 00
# ReportID: 16 /Vendor Defined Page 1 ['01', '81', '07', '01', '00', '00']
	E: 000230.017710 7 10 01 81 07 01 00 00
	# ReportID: 2 / Button: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
	| X: 0 | Y: 0 | Wheel: 0 | AC Pan: 0
	E: 000230.170755 9 02 00 00 00 00 00 00 00 00

g07_ctrl_tab.txt
# ReportID: 16 /Vendor Defined Page 1 ['01', '41', '07', '12', '2a', '10']
	E: 000204.737718 7 10 01 41 07 12 2a 10
	# ReportID: 2 / Button: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
	| X: 0 | Y: 0 | Wheel: 0 | AC Pan: 0
	E: 000204.740705 9 02 00 00 00 00 00 00 00 00
# ReportID: 16 /Vendor Defined Page 1 ['01', '81', '00', '10', '00', '00']
	E: 000204.748724 7 10 01 81 00 10 00 00
# ReportID: 16 /Vendor Defined Page 1 ['01', '80', '00', '00', '00', '00']
	E: 000204.760914 7 10 01 80 00 00 00 00
# ReportID: 16 /Vendor Defined Page 1 ['01', '81', '07', '01', '00', '00']
	E: 000204.772824 7 10 01 81 07 01 00 00
	# ReportID: 2 / Button: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
	| X: 0 | Y: 0 | Wheel: 0 | AC Pan: 0
	E: 000204.907710 9 02 00 00 00 00 00 00 00 00

g08_battery_level.txt (on-mice LED display only)
	# ReportID: 2 / Button: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
	| X: 0 | Y: 0 | Wheel: 0 | AC Pan: 0
	E: 000635.415154 9 02 00 00 00 00 00 00 00 00
	# ReportID: 2 / Button: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
	| X: 0 | Y: 0 | Wheel: 0 | AC Pan: 0
	E: 000635.718188 9 02 00 00 00 00 00 00 00 00
# ReportID: 16 /Vendor Defined Page 1 ['01', '81', '07', '01', '00', '00']
	E: 000635.970283 7 10 01 81 07 01 00 00

g09_ctrl_w.txt
	# ReportID: 2 / Button: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
	| X: 0 | Y: 0 | Wheel: 0 | AC Pan: 0
	E: 000162.848869 9 02 00 00 00 00 00 00 00 00
# ReportID: 16 /Vendor Defined Page 1 ['01', '41', '07', '12', '2a', '10']
	E: 000162.858891 7 10 01 41 07 12 2a 10
# ReportID: 16 /Vendor Defined Page 1 ['01', '81', '00', '10', '00', '00']
	E: 000162.875925 7 10 01 81 00 10 00 00
# ReportID: 16 /Vendor Defined Page 1 ['01', '80', '00', '00', '00', '00']
	E: 000162.887846 7 10 01 80 00 00 00 00
# ReportID: 16 /Vendor Defined Page 1 ['01', '81', '07', '01', '00', '00']
	E: 000162.899826 7 10 01 81 07 01 00 00
	# ReportID: 2 / Button: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
	| X: 0 | Y: 0 | Wheel: 0 | AC Pan: 0
	E: 000163.100815 9 02 00 00 00 00 00 00 00 00

g10_ctrl_t.txt
	# ReportID: 2 / Button: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
	| X: 0 | Y: 0 | Wheel: 0 | AC Pan: 0
	E: 000046.352043 9 02 00 00 00 00 00 00 00 00
# ReportID: 16 /Vendor Defined Page 1 ['01', '41', '07', '12', '2a', '10']
	E: 000046.364976 7 10 01 41 07 12 2a 10
# ReportID: 16 /Vendor Defined Page 1 ['01', '81', '00', '10', '00', '00']
	E: 000046.381939 7 10 01 81 00 10 00 00
# ReportID: 16 /Vendor Defined Page 1 ['01', '80', '00', '00', '00', '00']
	E: 000046.394148 7 10 01 80 00 00 00 00
# ReportID: 16 /Vendor Defined Page 1 ['01', '81', '07', '01', '00', '00']
	E: 000046.406072 7 10 01 81 07 01 00 00
	# ReportID: 2 / Button: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
	| X: 0 | Y: 0 | Wheel: 0 | AC Pan: 0
	E: 000046.600971 9 02 00 00 00 00 00 00 00 00

For info, all the mouse functionalities seems to work fine with bare usbhid driver and upower picking up the battery level, is there a feature added or a
specific reason to use Logitech drivers?

Thanks,
Hamza.


On Mon, 16 Dec, 2019 at 3:41 PM, Benjamin Tissoires <benjamin.tissoires@xxxxxxxxx> wrote:
On Mon, Dec 16, 2019 at 2:48 AM Filipe Laíns <lains@xxxxxxxxxxxxx> wrote:

 On Mon, 2019-12-16 at 01:12 +0000, Hamza Attak wrote:
 > Hi Filipe,
 >
> I'm on the latest 5.4.3 from kernel from kernel.org git repository. Only
 > a few security options are tweaked in the kconfig.
 > For your information, I am also facing the same issue on untouched
 > Ubuntu
 > built kernels,
 >
> I never followed linux-input before and don't know how active was the
 > code
 > taking care of the G700s, but do you think there might have been a
 > regression
 > since you say that it was a fixed issue?
 >
 > Unfortunately, I didn't keep track on when it happened, ie after a
 > kernel
> upgrade or if it was always there and I only noticed after trying the
 > mouse
 > wirelessly.
 >
 > Thanks,
 > Hamza ATTAK.
 >

 Okay. Do the logs show anything interesting?

I don't have the mouse but I think Benjamin does. Let's see if he knows
 what's going on.

Hmm, I just gave a test on the G700 (not s) that I have, and  in both
cases (wired or not), I can see the incoming button events *when they
are mapped to something meaningful*.

FYI, 0xC531 wireless receiver has been added in v5.4, so that is when
you must have seen your problem appearing.

So:
- have you mapped any special buttons/macros to those buttons (G6-G10)?
- can we get the output of hid-recorder[1] so see what the mouse
actually sends (both in wired or wireless mode)?

Cheers,
Benjamin

[1] https://gitlab.freedesktop.org/libevdev/hid-tools




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux