3.1 sys-usb and mouse buttons - back/forward

135 views
Skip to first unread message

cubit

unread,
Mar 28, 2016, 4:23:44 PM3/28/16
to Qubes Users
Hello

I have recently upgraded to Qubes 3.1.   I use and external mouse that has buttons that allow for going back and forward in firefox and file manager and others.

In 3.0 this worked perfectly when mouse was connect to dom0

In 3.1 when mouse is in sys-usb the back and forward does not work. 

Is there any way to add this functionality back?

cubit

Marek Marczykowski-Górecki

unread,
Mar 28, 2016, 4:51:04 PM3/28/16
to cubit, Qubes Users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Mon, Mar 28, 2016 at 09:23:39PM +0100, cubit wrote:
> Hello
>
> I have recently upgraded to Qubes 3.1.   I use and external mouse that has
> buttons that allow for going back and forward in firefox and file manager and
> others.
>
> In 3.0 this worked perfectly when mouse was connect to dom0
>
> In 3.1 when mouse is in sys-usb the back and forward does not work. 

Can you provide exact button list of that mouse? Currently only selected
are allowed by input proxy (a tool which enables USB mouse usage with
sys-usb).
You can get that with evtest tool (you need to install it first). For
example:

$ sudo evtest /dev/input/event2
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x3f0 product 0x641 version 0x111
Input device name: "PixArt HP X1200 USB Optical Mouse"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 272 (BTN_LEFT)
Event code 273 (BTN_RIGHT)
Event code 274 (BTN_MIDDLE)
Event type 2 (EV_REL)
Event code 0 (REL_X)
Event code 1 (REL_Y)
Event code 8 (REL_WHEEL)
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
^C



- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJW+ZkxAAoJENuP0xzK19csJXUH/i6KeUssHTvJuRfjN/NSsPJy
BDv14Y7CC+LTNAe0MkKgAwhT3s2YFijq07lJwAtp8+4ISK8m43AMp8+IsfbbxI2L
ioEh417uXV9C5dwxrIeoxOLEEiQJI1Q473VVCbI0OZ/g/E4TLCKDAShxjGxADhlH
PAI1YHqO/r8UnmjjHdTnoBcCCXXF+l+iCK2bBWrV/AFNN9V1EOW602TvjDIMq4EH
RaQFzwvjqyeJM0yhOOAl9vTM0CW8F8sjU8W0yW2p5O66UBfdZjvaawSPH5I5DO3i
ODlJ6WpwPgzL3nkAz1ZRMJ/OaHy6s6QEGH5Ddy85nrnMRTx5dUMYhnl7u0JSoq8=
=wd+M
-----END PGP SIGNATURE-----

cubit

unread,
Mar 28, 2016, 5:12:31 PM3/28/16
to Marek Marczykowski-Górecki, Qubes Users
28. Mar 2016 20:50 by marm...@invisiblethingslab.com:

You can get that with evtest tool (you need to install it first). For
example:

$ sudo evtest /dev/input/event2


Hello Marek.  Here is output.  I guessing the buttons for back / forward are BTN_SIDE and BTN_EXTRA


$ sudo evtest /dev/input/event1


Input driver version is 1.0.1

Input device ID: bus 0x3 vendor 0x45e product 0x23 version 0x100
Input device name: "Microsoft Microsoft Trackball Optical®"


Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 272 (BTN_LEFT)
    Event code 273 (BTN_RIGHT)
    Event code 274 (BTN_MIDDLE)

    Event code 275 (BTN_SIDE)
    Event code 276 (BTN_EXTRA)


  Event type 2 (EV_REL)
    Event code 0 (REL_X)
    Event code 1 (REL_Y)
    Event code 8 (REL_WHEEL)
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)

***********************************************
  This device is grabbed by another process.
  No events are available to evtest while the
  other grab is active.
  In most cases, this is caused by an X driver,
  try VT-switching and re-run evtest again.
  Run the following command to see processes with
  an open fd on this device
 "fuser -v /dev/input/event1"
***********************************************

Marek Marczykowski-Górecki

unread,
Mar 28, 2016, 5:17:48 PM3/28/16
to cubit, Qubes Users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Mon, Mar 28, 2016 at 10:12:26PM +0100, cubit wrote:
> 28. Mar 2016 20:50 by marm...@invisiblethingslab.com:
>
> > You can get that with evtest tool (you need to install it first). For
> > example:
> >
> > $ sudo evtest /dev/input/event2
> >
>
>
>
>
> Hello Marek.  Here is output.  I guessing the buttons for back / forward are
> BTN_SIDE and BTN_EXTRA

I think so too.
Tracking it here: https://github.com/QubesOS/qubes-issues/issues/1881
Will fix that soon.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJW+Z9zAAoJENuP0xzK19cs9B4H/15eh6MYs+oGAkGbvV8JhR9E
PBlXAPYNVkFG1Gp7kbND03UvjGvTF8FHd35UaingOyS5yZ4YBRUx+06oMOYOVrhR
Xxpd9fs4q/9If5uqFp5cTr1ZGrWwp7JHbZ8QNfKkOyfFDmcAv4ROlWwRiFJOGs+F
+YwwkhvzaI6HMHkSandM5XbwhIoLTgQT5dV4q30fd8hV6XNqF3wO7iePVCj4sxVk
8FFLTAVpTTsHxJD8kIOalMFxH6wuDxV8spxMMWFQuJM/v4xu2Wujtgmm6phzGw0X
1DZ3PQyYAvQ55XVDy5xl+CezS2zfvM3v7aIfAT1SmhKnhcVNVUX7wNsM5NZZMVg=
=xHUg
-----END PGP SIGNATURE-----

cubit

unread,
Mar 28, 2016, 5:21:03 PM3/28/16
to Marek Marczykowski-Górecki, Qubes Users
28. Mar 2016 21:17 by marm...@invisiblethingslab.com:

I think so too.
Tracking it here: https://github.com/QubesOS/qubes-issues/issues/1881
Will fix that soon.


Great. thank you.

cubit

unread,
Apr 26, 2016, 7:43:57 AM4/26/16
to Marek Marczykowski-Górecki, Qubes Users

28. Mar 2016 21:17 by marm...@invisiblethingslab.com:

I think so too.
Tracking it here: https://github.com/QubesOS/qubes-issues/issues/1881
Will fix that soon.


Hello Marek.


I noticed that there was a comit and ticket closed.  Has this been pushed out to Qubes 3.1? I recall recent updates to both dom0 and templates but am not seeing the back/forward working yet

Marek Marczykowski-Górecki

unread,
Apr 26, 2016, 11:03:03 AM4/26/16
to cubit, Qubes Users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

No, this isn't included in any package yet. Will be somehow next week.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXH4MgAAoJENuP0xzK19cszj4H/0O1xnr8LdN6+dFf2plOaymz
Dqcak/JwbHdd+FzwMlCh850xAp88X9Mk8h+FgAI2MK5qrjp/88YGNvMxYv40ExWU
OhkXb9dQ09gwNGOWewQGNo+85Po1VhQgzStYkKYpy8cngE/meTmba4CcVA+bSNpv
yLXc3fllWe2Fpp8ijTJMWihP7ofkgfWfwUjMgDxwc9Ny6jswD2T7/5xOPIpOC8Yj
WxeK0aaqAfahFrCzTpCkn1YDX3LdBVhvfENbrrsaJVemmjPy0PLkfpWp89oUuAWP
sEdMINU7mpKWrbqhbCF2f9gupPzyDhcAjcCxT/DwKE3i4cHl8EqzxJzIJEAivHI=
=c2PN
-----END PGP SIGNATURE-----

cubit

unread,
May 25, 2016, 2:36:58 PM5/25/16
to Marek Marczykowski-Górecki, Qubes Users
26. Apr 2016 15:02 by marm...@invisiblethingslab.com:

I noticed that there was a comit and ticket closed.  Has this been pushed out
to Qubes 3.1? I recall recent updates to both dom0 and templates but am not
seeing the back/forward working yet

No, this isn't included in any package yet. Will be somehow next week.


Thank you Marek,  it is better to be still waiting packaging than to be packaged and not working :o)



Marek Marczykowski-Górecki

unread,
May 25, 2016, 7:01:37 PM5/25/16
to cubit, Qubes Users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

The package is already (for almost a month) in testing repo.
See comments in https://github.com/QubesOS/qubes-issues/issues/1881 for
installation instruction.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXRi7IAAoJENuP0xzK19cs2m4IAIP9fCc/xyrpC/Lv4NkIixFO
zbPzDD41jp0SuU3XrggOYtkxWFz2R4EQXrFir8AZk88RJmjyoMASX5hAD6Izyizv
bos/w0vLsNiqhn87q0otZarh+2QRA8TNlQeeO1ffJyF9K1Xj1RuUbk0jpX/qanzD
1YEVZdzBCyXQG0lebODMStetqXPzqceVgXgzM7439HQhwLPehd/4YqyZIDQWmq8D
0DCk8PRNLCMINgLYJAg3M2nFSj4z72AGjxMUZJv+ZUm9beW0PeRl4hdBavy8OZza
GHVhuo6jrKPmK992Ndx/h6TxS+WJByAPD80REiwfB/aXz7L/7781zXhonEqe8/Q=
=gx1a
-----END PGP SIGNATURE-----

cubit

unread,
Jun 9, 2016, 10:13:55 AM6/9/16
to Marek Marczykowski-Górecki, Qubes Users
25. May 2016 23:01 by marm...@invisiblethingslab.com:

The package is already (for almost a month) in testing repo.
See comments in https://github.com/QubesOS/qubes-issues/issues/1881 for
installation instruction.


Thank you.  Are there any other repercussions to enablig "current-testing"  am I likely to experience instabilities of system as a result?



Marek Marczykowski-Górecki

unread,
Jun 9, 2016, 4:21:46 PM6/9/16
to cubit, Qubes Users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

As the name suggests, packages there are for testing, so may contains
some regressions. But on the other hand, you can simply enable it just
for one package installation (using --enablerepo command line - it
doesn't change persistent configuration).

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXWc/SAAoJENuP0xzK19cskmIH/ih4E2xjLzgBxp8qvOwmGKtQ
PZpuanylPGUpoNbr1T3A/CDPLrqBGlUMbkk+k5mTMmKo6eBQXXQ4JxqZGwabR+U0
7HnK9VZdH6HQEqSIiaOzioXQqij9JjJ1cd2lfcRIzpwq2l/858+GsXXG+pC2ox0i
+/AM5cfD7kUbKrPtdUbCRcXo3kJJsClliRY+jZzQuuMzvZWo7b8H/cEMJzk7I0yY
Tfcwi4YMRqRCZJwyrgwgvZIo96Jj1NAlK58KYvrfDxBZeua32BkDCmjjxyz7NcVY
RkmLekUg/uWSUSYhBVTU8ObhnCnVZAbIv1sB1IiYG8pGZzvyfY2x1EWIr+JbmfA=
=cOta
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages