You are not logged in.

#1 2022-10-21 21:25:30

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

[Solved] Logitech Marble Mouse setup confusing

The Arch Linux Logitech Marble Mouse wiki specs both 10-evdev.conf and 10-libinput.conf. It also references Ubuntu which specs 40-libinput.conf. Furthermore, both directories /usr/share/xorg.conf.d and /etc/X11/xorg.conf.d are referenced as places to place the conf files. Please get someone to fix all this so I can get back to normal?

Last edited by OrigBitmancer (2022-10-25 21:17:18)

Offline

#2 2022-10-22 04:42:23

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: [Solved] Logitech Marble Mouse setup confusing

The wiki is maintained by the community. If you can improve the wiki page, please do so. If you aren't sure or if you plan substantial changes, post on the talk page first. You can also post notes there if you find stuff confusing, even if you don't know what best to do about it.

I'm assuming a device-specific page is not going to get huge numbers of people looking at it or editing it, just because the number of people using that device is likely to be somewhat limited. In the first instance, you are probably better off working through the information on configuring mice generally. Refer to the device-specific page if you have problems.

If you're using Xorg, you may well find that either evdev or libinput can be used for the device. However, one may suit your needs better than the other.

Do not edit files in /usr/share/xorg.conf.d unless you know exactly what you are doing. /etc/X11/ is where you want to configure stuff if you're using Xorg or in your home directory if you want a user-specific setup. See the wiki on configuring input devices generally for details. The device-specific page will probably make more sense when you know what different things do and what the options are.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2022-10-22 18:04:32

lfitzgerald
Member
Registered: 2021-07-16
Posts: 175

Re: [Solved] Logitech Marble Mouse setup confusing

If you link to the specific wiki page, someone might be able to help untangle where the wiki is wrong and what to do instead. When you do find a solution, you should edit the wiki to correct the information for the next person.

Offline

#4 2022-10-24 03:55:30

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Logitech Marble Mouse setup confusing

The page I went to was: https://wiki.archlinux.org/title/Logitech_Marble_Mouse

“ This page was last edited on 30 September 2022, at 06:18.”

and everything I tried was on that page.

I followed ss2.1 to the letter:

Install xf86-input-libinput
Edit /etc/X11/xorg.conf.d/10-libinput.conf.
Append the following content:
(skip to second insert)

Section "InputClass"
  Identifier    "Marble Mouse"
  MatchProduct  "Logitech USB Trackball"
  Driver        "libinput"
  Option        "ScrollMethod"        "button"
  Option        "ScrollButton"        "9"
  Option        "MiddleEmulation"     "true"
  Option        "HorizontalScrolling" "false"
  Option        "ButtonMapping"       "1 2 3 4 5 6 7 9 8"
EndSection

This was not complete as far as preferred buttons were concerned, so I continued down the page.

In 4.1.1, Assigning Buttons. it showed:

# Three buttons are given new assignments. For right-handed user.

Option "ButtonMapping" "1 9 3 4 5 6 7 2 2"

and

# Emulate3Buttons refers to the act of pressing buttons A and D
# simultaneously to emulate a middle-click or wheel click.
Option "Emulate3Buttons" "true"

Option "XAxisMapping" "6 7"

which I entered.


In 4.4, it suggests,

Xorg input hotplugging
Note: Section undergoing revision. Please jump to the sample configuration
Add this entry to your /etc/X11/xorg.conf:

Section "InputClass"
    Identifier   "Logitech Trackball"
    MatchProduct "Trackball"
    Option       "ButtonMapping"      "1 8 3 4 5 6 7 2 9"
    Option       "EmulateWheel"       "True"
    Option       "EmulateWheelButton" "9"
    Option       "XAxisMapping"       "6 7"
EndSection

and it mentions evdev !

In 5.1, I performed the edits suggested to

/etc/X11/xorg.conf.d/10-evdev.conf

So I am confused as to which Driver is right. Help?

Last edited by OrigBitmancer (2022-10-24 05:19:08)

Offline

#5 2022-10-24 05:28:27

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Logitech Marble Mouse setup confusing

Also. the following is in my /etc/X11/xorg.conf.d/40-libinput.conf ::

Section "InputClass"
  Identifier   "Marble Mouse"
  MatchProduct "Logitech USB Trackball"
  MatchIsPointer "on"
  MatchDevicePath "/dev/input/event*"
  Driver       "libinput"
  Option       "ScrollMethod"    "button"
  Option       "ScrollButton"    "8"
  Option       "MiddleEmulation" "true"
  Option        "HorizontalScrolling" "false"
  Option 	"Emulate3Buttons"	"true"
  Option        "ButtonMapping"       "1 8 3 4 5 6 7 2 2"
  Option 	"EmulateWheel" "true"
  Option 	"EmulateWheelButton" "8"

  Option "EmulateWheelInertia" "10"

  Option "ZAxisMapping" "4 5"

EndSection

Offline

#6 2022-10-24 09:14:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,300

Re: [Solved] Logitech Marble Mouse setup confusing

Do you have an actual problem with the config not working or not behaving like you expect? What's your end goal?

FWIW from article logistics the Configuration section appears to not have been touched since 2012 so it likely refers to evdev.

To know about the options valid for libinput see: https://man.archlinux.org/man/libinput. … ON_DETAILS

Generally evdev is deprecated, you should only use libinput config unless it doesn't offer a feature evdev does that you need evdev for

Offline

#7 2022-10-24 20:49:04

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Logitech Marble Mouse setup confusing

Yes! The trackball does not move the pointer. Clicking the keys does nothing.

Doing a hot swap on the USB bus, the following data emerges from "libinput list-devices":

Device:           Logitech USB Trackball
Kernel:           /dev/input/event10
Group:            7
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive
Rotation:         0.0

If I rename the file "/etc/X11/xorg.conf.d/10-evdev.conf", nothing should happen.

Offline

#8 2022-10-24 21:05:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,300

Re: [Solved] Logitech Marble Mouse setup confusing

The file name is irrelevant. To actually switch drivers you'd have to to have xf86-input-evdev installed and explicitly a Driver "evdev" directive in the config snippet.

FWIW let's back up a bit, if you replace this config with the sample from https://wiki.archlinux.org/title/Logite … igurations for libinput and replug the mouse, what's the behaviour and which actual behaviour are you looking for? Can you post a xorg.log ? Are you even running on xorg or a wayland session?

Last edited by V1del (2022-10-24 21:05:52)

Offline

#9 2022-10-24 21:24:38

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Logitech Marble Mouse setup confusing

Here is what I had for /etc/X11/xorg.conf.d/10-libinput.conf:

Section "InputClass"
  Identifier   "Marble Mouse"
  MatchProduct "Logitech USB Trackball"
  MatchIsPointer "on"
  MatchDevicePath "/dev/input/event*"
  Driver       "libinput"
  Option       "ScrollMethod"    "button"
  Option       "ScrollButton"    "8"
  Option       "MiddleEmulation" "true"
  Option        "HorizontalScrolling" "false"
  Option 	"Emulate3Buttons"	"true"
  Option        "ButtonMapping"       "1 8 3 4 5 6 7 2 2"
  Option 	"EmulateWheel" "true"
  Option 	"EmulateWheelButton" "8"
  Option 	"EmulateWheelInertia" "10"
  Option 	"ZAxisMapping" "4 5"

EndSection

I am looking for any pointer motion by the device, or any button clicks. What is the "xev" command to see if the buttons are even transmitting?
The device seems dead, yet has no power other than USB.

It is an Xorg session, and I can post Xorg.0.log to the helper site. What is the command to do the latter?

The area of Xorg.0.log covering the hotplug event, is only 36 lines. I could insert it.

Last edited by OrigBitmancer (2022-10-24 21:42:44)

Offline

#10 2022-10-24 22:01:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,300

Re: [Solved] Logitech Marble Mouse setup confusing

You are using config options that do not exist on libinput here, refer to the list in https://man.archlinux.org/man/libinput. … ON_DETAILS to know which options you can set. You are mixing evdev and libinput config, which will almost certainly fail.

To post a xorg log see https://wiki.archlinux.org/title/List_o … n_services

Offline

#11 2022-10-25 00:18:53

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: [Solved] Logitech Marble Mouse setup confusing

V1del wrote:

Can you post a xorg.log ? Are you even running on xorg or a wayland session?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#12 2022-10-25 05:32:45

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Logitech Marble Mouse setup confusing

Thank you to V1del, cfr, and everybody else who answered.
The first is an excerpt of the Xorg.0.log, and the second will be the entire log.

curl -F 'file=@-' 0x0.st < trackball_issues-Xorg.text 

http://0x0.st/oxCX.txt

curl -F 'file=@-' 0x0.st < /var/log/Xorg.0.log

http://0x0.st/oxCK.txt

I will review the libinput Configuration Details and make corrections.

My latest example is in

curl -F 'file=@-' 0x0.st < /etc/X11/xorg.conf.d/10-libinput.conf

http://0x0.st/oxCa.txt

Last edited by OrigBitmancer (2022-10-25 05:54:08)

Offline

#13 2022-10-25 16:43:03

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: [Solved] Logitech Marble Mouse setup confusing

Comment

  Option 	"ZAxisMapping" "4 5"

which does not seem to be a libinput option?

See https://wiki.archlinux.org/title/Libinput.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#14 2022-10-25 18:11:10

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Logitech Marble Mouse setup confusing

Thank you, @cfr. I missed one line (?) ; that wiki page is not the one I was reading.

Time for more reading and research.

I forgot to mention at the beginning: trackball stopped working a few days ago.

I just found that my system is running Xwayland. OMG.

Found the item to reset in xfce4-settings-editor. Works now.

Last edited by OrigBitmancer (2022-10-25 21:16:43)

Offline

Board footer

Powered by FluxBB