[gpm] GPM and USB Optical Mouses

Jamenson Ferreira Espindula de Almeida Melo jafesp@gmail.com
Fri Jan 11 21:19:52 CET 2019


Em qui, 10 de jan de 2019 às 10:00, Nico Schottelius
<nico-gpm@schottelius.org> escreveu:
>
>
> Hey,
>
> can you try imps2 intead of ps2?
>
> I think mice (for about 10-15y) rarely use ps2 nowadays.
>
> There should also be an emulated mouse at /dev/input/mice and/or
> /dev/input/mouseX respectively. As far as I recall, they are also
> emulating imps2 by default.
>
> Best,
>
> Nico
>
> Jamenson Ferreira Espindula de Almeida Melo <jafesp@gmail.com> writes:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> >
> > Hi.
> >
> > What about USB Optical Mouses support?
> >
> > I have a two button and a central wheel "U+P Mouse". Below is what
> > kernel log says:
> >
> >
> > usb 2-1.1: new low-speed USB device number 3 using ehci-pci
> > usb 2-1.1: New USB device found, idVendor=1c4f, idProduct=0003
> > usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> > usb 2-1.1: Product: U+P Mouse
> > usb 2-1.1: Manufacturer: SIGMACH1P
> >
> >
> > My "/etc/sysconfig/mouse" looks like this:
> >
> >
> > # Begin /etc/sysconfig/mouse
> >
> > MDEVICE="/dev/hidraw0"
> > PROTOCOL="ps2"
> > GPMOPTS=""
> >
> > # End /etc/sysconfig/mouse
> >
> >
> > My Operating System is GNU/Linux From Scratch 8.1 (System V)
> >
> > The problem: when I move mouse pointer, it goes vertically up to the
> > top of the screen. Nothing else. No clicks at all.
> >
> > I do not have the X Server running. I would like to use the mouse
> > without the X Server, i.e., in a Terminal on the Framebuffer top.
> >
> > Any ideas?
> >
> > Thank you.
> >
> > Jamenson Ferreira Espindula de Almeida Melo
> > - From Jaboatão dos Guararapes, Pernambuco, Brazil
> > GNU/Linux user # 166197
> > https://linuxcounter.net/cert/166197.png
> >
> > Key fingerprint:
> > 234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.18 (GNU/Linux)
> >
> > iQEcBAEBCAAGBQJcNuCaAAoJECrgJcAIqGGAh2IIAIH5pTtga6CIhnYJyEAGPvRT
> > sFM1tdLe9pjaMeIxfHclF8VUMkuuGrkIqhbdfO53U/DZfZ3aLJuimBusL/HhGwPV
> > HdYuIeJJ337eHONMUa7isGAYkp/7lSadXaUPEKs3m1RjJpDpP5lb0drw9Qdvssgp
> > bPpwTqvWGwkj1xe2KQ2N4zfx6gxxbCNcD4ryUptdZ5Mm529V34pua/3BkchbCWzZ
> > UFrJCChDJhGhfJj/vIJ5gCD1EqEVkeTWBQYppKefGG4dyoW2PJMI6/ImxcNRUcIx
> > G3stfvOFmR8gF4Ccg+sMl2LUi+EIt3DGdGtFW8BaVxNY/jOJdDh1ImyLzVUbeN4=
> > =vur/
> > -----END PGP SIGNATURE-----
> > _______________________________________________
> > gpm mailing list
> > gpm@lists.linux.it
> > https://lists.linux.it/listinfo/gpm
>
>
> --
> Your Swiss, Open Source and IPv6 Virtual Machine. Now on www.datacenterlight.ch.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



I have tried imps2 instead of ps2. Below is what happened.


Links Browser in graphic mode (links -g) says this:


Could not initialize any graphics driver. Tried the following drivers:
x:
Can't open display "(null)"
fb:
Cannot open GPM mouse.


/var/log/daemon.log report this:


/usr/sbin/gpm[3122]: *** err [mice.c(1966)]:
/usr/sbin/gpm[3122]: imps2: PS/2 mouse failed init
/usr/sbin/gpm[3122]: O0o.oops(): [daemon/old_main.c(70)]:
/usr/sbin/gpm[3122]: mouse initialization failed


/var/log/kern.log report this:


kernel: [  218.937155] hid-generic 0003:1C4F:0003.0001: pid 3122 /
passed too short report
kernel: [  294.519177] hid-generic 0003:1C4F:0003.0001: pid 3122 /
passed too short report
kernel: [  294.527063] hid-generic 0003:1C4F:0003.0001: pid 3122 /
passed too short report
kernel: [  294.565215] hid-generic 0003:1C4F:0003.0001: pid 3122 /
passed too short report
kernel: [  294.565227] hid-generic 0003:1C4F:0003.0001: pid 3122 /
passed too short report
kernel: [  294.565231] hid-generic 0003:1C4F:0003.0001: pid 3122 /
passed too short report


/var/log/sys.log report this:


kernel: [  294.931927] usb 2-1.1: USB disconnect, device number 3
kernel: [  295.615111] usb 2-1.1: new low-speed USB device number 5 /
using ehci-pci
kernel: [  295.699497] usb 2-1.1: New USB device found, idVendor=1c4f, /
idProduct=0003
kernel: [  295.699504] usb 2-1.1: New USB device strings: Mfr=1, /
Product=2, SerialNumber=0
kernel: [  295.699508] usb 2-1.1: Product: U+P Mouse
kernel: [  295.699511] usb 2-1.1: Manufacturer: SIGMACH1P
kernel: [  295.703249] input: SIGMACH1P U+P Mouse as /
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:1C4F:0003.0004/input/input10
kernel: [  295.703440] hid-generic 0003:1C4F:0003.0004: input,hidraw0: /
USB HID v1.10 Mouse [SIGMACH1P U+P Mouse] on usb-0000:00:1d.0-1.1/input0
kernel: [  296.211543] usb 2-1.1: USB disconnect, device number 5
kernel:    296.895112] usb 2-1.1: new low-speed USB device number 6 /
using ehci-pci
kernel: [  296.979764] usb 2-1.1: New USB device found, idVendor=1c4f, /
idProduct=0003
kernel: [  296.979771] usb 2-1.1: New USB device strings: Mfr=1, /
Product=2, SerialNumber=0
kernel: [  296.979775] usb 2-1.1: Product: U+P Mouse
kernel: [  296.979778] usb 2-1.1: Manufacturer: SIGMACH1P
kernel: [  296.983103] input: SIGMACH1P U+P Mouse as /
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:1C4F:0003.0005/input/input11
kernel: [  296.983338] hid-generic 0003:1C4F:0003.0005: input,hidraw0: /
USB HID v1.10 Mouse [SIGMACH1P U+P Mouse] on usb-0000:00:1d.0-1.1/input0


Thank you.


Jamenson Ferreira Espindula de Almeida Melo
- From Jaboatão dos Guararapes, Pernambuco, Brazil
GNU/Linux user # 166197
https://linuxcounter.net/cert/166197.png

Key fingerprint:
234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.1.18 (GNU/Linux)

iQEzBAEBCAAdFiEEI00ZFEIkfFO9E2hVKuAlwAioYYAFAlw3hJcACgkQKuAlwAio
YYD1qAf/TGyokKe0K53EnJkWaC+xLySPRD/k3cQqY6dPciXQK5m47/ILAHE1lT20
xruAfsZlksLtb5fxyEDo31J++Mrv7Wza485Do/zFE+KgucZq8qXQhtIDVUZRXJ53
/FAvG0voIfvC5Uz+3KXZPmrsnGXOyZG0EsrP+kmJ/3ymofX5ZkiBuJa1JZ8Ah2mw
wTJW697iiGVHHXy5cypAb/Mh6Pdo4OkhqojJbDm77EW/36AMG68fwpuSbzEh1BgO
UIJonwbyuQUkGM4bmzj4xtmcoU10SmeNhLxF32Jd4S7voT3+2d4s8UsjP0MptS+o
99C0HnNuNfH2RNF2QDr0PsNR07a/1A==
=pcWj
-----END PGP SIGNATURE-----


More information about the gpm mailing list