Re: [DNG] mouse driver question

2022-05-13 Thread Fred
Hi Karl, On 5/13/22 03:22, k...@aspodata.se wrote: Fred: On 5/12/22 15:23, Florian Zieboll via Dng wrote: On May 12, 2022 9:44:39 PM GMT+02:00, Fred wrote: I don't use a DE, just openbox and xterm. The regular scroll wheel mouse works correctly in both xev and the application. Button 2 is

Re: [DNG] mouse driver question

2022-05-13 Thread karl
Fred: > On 5/12/22 15:23, Florian Zieboll via Dng wrote: > > On May 12, 2022 9:44:39 PM GMT+02:00, Fred wrote: > >> I don't use a DE, just openbox and xterm. The regular scroll wheel > >> mouse works correctly in both xev and the application. Button 2 is > >> identified as 2 so I contend it has

Re: [DNG] mouse driver question

2022-05-12 Thread Fred
On 5/12/22 15:23, Florian Zieboll via Dng wrote: On May 12, 2022 9:44:39 PM GMT+02:00, Fred wrote: Hi Karl, I don't use a DE, just openbox and xterm. The regular scroll wheel mouse works correctly in both xev and the application. Button 2 is identified as 2 so I contend it has to have

Re: [DNG] mouse driver question

2022-05-12 Thread Florian Zieboll via Dng
On May 12, 2022 9:44:39 PM GMT+02:00, Fred wrote: > Hi Karl, > I don't use a DE, just openbox and xterm. The regular scroll wheel mouse > works correctly in both xev and the application. Button 2 is identified as 2 > so I contend it has to have something to do with program(s) run to use

Re: [DNG] mouse driver question

2022-05-12 Thread Fred
On 5/12/22 03:15, k...@aspodata.se wrote: Fred: ... With xev, buttons 1 and 3 are correctly identified but the middle button is randomly assigned 4,5,6 or 7. Possibly this is the problem as I know the application is expecting button 2. Maybe it is the desktop environment or the window

Re: [DNG] mouse driver question

2022-05-12 Thread karl
Fred: ... > With xev, buttons 1 and 3 are correctly identified but the middle button > is randomly assigned 4,5,6 or 7. Possibly this is the problem as I know > the application is expecting button 2. Maybe it is the desktop environment or the window manager that messes this up. Try installing

Re: [DNG] mouse driver question

2022-05-12 Thread Daniel Abrecht via Dng
To find out what's behind which /dev/input/event* device, and generally what's going on with the input stuff on the kernel side, I usually check: "cat /proc/bus/input/devices" ___ Dng mailing list Dng@lists.dyne.org

Re: [DNG] mouse driver question

2022-05-11 Thread Fred
Hi Karl, On 5/11/22 08:23, k...@aspodata.se wrote: Fred: On 5/11/22 05:02, k...@aspodata.se wrote: You should be able to do lsinput from input-utils package to see which /dev/input/inputX file your mouse's byte stream transformed as events would appear. And then run input-events X to see

Re: [DNG] mouse driver question

2022-05-11 Thread karl
Fred: > On 5/11/22 05:02, k...@aspodata.se wrote: > > You should be able to do lsinput from input-utils package to see which > > /dev/input/inputX file your mouse's byte stream transformed as events > > would appear. And then run input-events X to see the events. E.g.: > > > > # lsinput | tail >

Re: [DNG] mouse driver question

2022-05-11 Thread Fred
Hi Karl, On 5/11/22 05:02, k...@aspodata.se wrote: Fred: ... The Sun Compact 1 three button mouse is 1200 baud, 8 data bits, no parity and sends 5 bytes in Mouse Systems protocol. Byte 0 is button info. exactly the same as msc. Byte 1 is 8 bit signed X movement. Byte 2 is 8 bit signed Y

Re: [DNG] mouse driver question

2022-05-11 Thread karl
Fred: ... > The Sun Compact 1 three button mouse is 1200 baud, 8 data bits, no > parity and sends 5 bytes in Mouse Systems protocol. Byte 0 is button > info. exactly the same as msc. Byte 1 is 8 bit signed X movement. Byte > 2 is 8 bit signed Y movement. Bytes 3, 4 are zero. That fits the

Re: [DNG] mouse driver question

2022-05-10 Thread Fred
On 4/27/22 15:40, k...@aspodata.se wrote: Fred: ... In spare time I am building a board to convert mouse output to RS232. I did research on this in 2011. I found a program I wrote (for embedded controller) to watch serial port and show mouse bytes on lcd. I don't know yet if it was finished

Re: [DNG] mouse driver question

2022-04-27 Thread karl
Fred: ... > In spare time I am building a board to convert mouse output to RS232. I > did research on this in 2011. I found a program I wrote (for embedded > controller) to watch serial port and show mouse bytes on lcd. I don't > know yet if it was finished or works. Viewing the mouse

Re: [DNG] mouse driver question

2022-04-27 Thread Fred
Hi Karl, On 4/25/22 15:09, k...@aspodata.se wrote: Fred: On 4/25/22 10:17, k...@aspodata.se wrote: ... I am using the DLP-TXRX-G usb/serial adapter with a transistor to invert the mouse output. The mouse has an active high output and the dlp rx input is active low. This one:

Re: [DNG] mouse driver question

2022-04-25 Thread karl
Fred: > On 4/25/22 10:17, k...@aspodata.se wrote: ... > I am using the DLP-TXRX-G usb/serial adapter with a transistor to invert > the mouse output. The mouse has an active high output and the dlp rx > input is active low. This one: http://www.dlpdesign.com/usb/txrx.php seems to be ttl, not

Re: [DNG] mouse driver question

2022-04-25 Thread Fred
On 4/25/22 10:17, k...@aspodata.se wrote: Fred: ... I ran gpm-mouse-test again. That program seems to have major problems. It can't even detect the baud rate which I know to be 1200. ... I tested it here and it succesfully detected my MouseMan at 1200baud. It can be that your serial to

Re: [DNG] mouse driver question

2022-04-25 Thread Fred
On 4/25/22 10:17, k...@aspodata.se wrote: Nick: On 25-04-2022 16:20, Fred wrote: ... The compile went ok.  I used command line: inputattach --daemon --baud 1200 -msc /dev/ttyUSB0 It accepted the baud rate option this time however the middle button still does not work.  The pointer freezes

Re: [DNG] mouse driver question

2022-04-25 Thread karl
Fred: ... > I ran gpm-mouse-test again. That program seems to have major > problems. It can't even detect the baud rate which I know to be 1200. ... I tested it here and it succesfully detected my MouseMan at 1200baud. It can be that your serial to usb converter confuses the program because

Re: [DNG] mouse driver question

2022-04-25 Thread karl
Nick: > On 25-04-2022 16:20, Fred wrote: ... > > The compile went ok.  I used command line: > > inputattach --daemon --baud 1200 -msc /dev/ttyUSB0 > > It accepted the baud rate option this time however the middle button > > still does not work.  The pointer freezes when the middle button is >

Re: [DNG] mouse driver question

2022-04-25 Thread d...@d404.nl
On 25-04-2022 16:20, Fred wrote: On 4/25/22 02:39, k...@aspodata.se wrote: Fred: ... The compile fails because SDL.h can't be found. Package sd12 was not found in the pkg-config search path.  It also mentions adding directory containing sd12.pc to the PKG-CONFIG_PATH environment variable. To

Re: [DNG] mouse driver question

2022-04-25 Thread Fred
On 4/25/22 02:39, k...@aspodata.se wrote: Fred: ... The compile fails because SDL.h can't be found. Package sd12 was not found in the pkg-config search path. It also mentions adding directory containing sd12.pc to the PKG-CONFIG_PATH environment variable. To find which package a missing file

Re: [DNG] mouse driver question

2022-04-25 Thread karl
Fred: ... > The compile fails because SDL.h can't be found. > Package sd12 was not found in the pkg-config search path. It also > mentions adding directory containing sd12.pc to the PKG-CONFIG_PATH > environment variable. To find which package a missing file belongs to, do: # apt-get install

Re: [DNG] mouse driver question

2022-04-24 Thread Fred
On 4/24/22 13:56, k...@aspodata.se wrote: Fred: On 4/23/22 12:53, k...@aspodata.se wrote: ... If so, press Ctl-Alt-F2 buttons simultaineusly to get to a console. There log in as root and then try one of gpm -b 1200 -m /dev/ttyUSB0 -t msc gpm -b 1200 -m /dev/ttyUSB0 -t sun gpm -b

Re: [DNG] mouse driver question

2022-04-24 Thread karl
Fred: ... > The middle button is being seen as the pointer won't move when it is > held down. It would appear the application is being told something > different than when the standard pc mouse is used. It is probably because you were forced to set the wron baudrate. Regards, /Karl Hammar

Re: [DNG] mouse driver question

2022-04-24 Thread karl
Fred: > On 4/23/22 12:53, k...@aspodata.se wrote: ... > > If so, press Ctl-Alt-F2 buttons simultaineusly to get to a console. > > There log in as root > > and then try one of > >gpm -b 1200 -m /dev/ttyUSB0 -t msc > >gpm -b 1200 -m /dev/ttyUSB0 -t sun > >gpm -b 1200 -m /dev/ttyUSB0 -t

Re: [DNG] mouse driver question

2022-04-24 Thread Fred
On 4/24/22 10:49, Fred wrote: Hi, On 4/23/22 12:53, k...@aspodata.se wrote: Fred: On 4/23/22 02:34, k...@aspodata.se wrote: ... So, make sure you are running in a virtual console and logged in as root, then run the gpm -b etc. thing and move the mouse around. To make the mouse to work in

Re: [DNG] mouse driver question

2022-04-24 Thread Fred
Hi, On 4/23/22 12:53, k...@aspodata.se wrote: Fred: On 4/23/22 02:34, k...@aspodata.se wrote: ... So, make sure you are running in a virtual console and logged in as root, then run the gpm -b etc. thing and move the mouse around. To make the mouse to work in X11, please test the mouse with

Re: [DNG] mouse driver question

2022-04-24 Thread Arnt Karlsen
On Sat, 23 Apr 2022 21:11:18 +0200, Florian wrote in message <2022042328.14e36a59.f.zieb...@web.de>: > Some time ago, in a similar situation, I had been successful with > > $ find / | grep xorg.conf > > Also worth a try: > > $ man 5 xorg.conf ..also worth trying:~$ man -k xorg.conf

Re: [DNG] mouse driver question

2022-04-24 Thread aitor
On 24/4/22 13:52, aitor wrote: but enable it when using vdev. *disable* ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Re: [DNG] mouse driver question

2022-04-24 Thread aitor
Hi Ralph, On 23/4/22 23:32, Ralph Ronnquist wrote: Then, I think the X11 system relies on udev for setting up its inputs and load the appropriate modules. You may take over that and do things "by hand" by a) making the following file /etc/X11/xorg.conf.d/a.conf Section "ServerFlags"

Re: [DNG] mouse driver question

2022-04-24 Thread karl
Fred: ... > I also don't like the beetle wings for buttons one and three because > I am often accidentally clicking button three. ... Yes, it is wery annoying when you accidentally press button three. Regards, /Karl Hammar ___ Dng mailing list

Re: [DNG] mouse driver question

2022-04-24 Thread karl
Ralph Ronnquist: ... > I think all mice are supposed to be handled by the kernel and will > then get presented at /dev/input/mice ... At some level every hardware is handled by the kernel. What you are talking about is the input subsystem. To make a serial mouse work or use the input subsystem

Re: [DNG] mouse driver question

2022-04-24 Thread karl
Fred: ... > If gpm only works in a virtual terminal why do I need to continue > working with it? I don't use a virtual terminal. ... Since it is such a simple test to do, e.g. you don't have to restart the X server to try another protocol. Regards, /Karl Hammar

Re: [DNG] mouse driver question

2022-04-23 Thread wirelessduck--- via Dng
> On 24 Apr 2022, at 12:23, Olaf Meeuwissen via Dng wrote: > > Hi, > > Antony Stone writes: > >>> On Saturday 23 April 2022 at 22:57:12, Florian Zieboll via Dng wrote: >>> >>> On Sat, 23 Apr 2022 21:15:34 +0200 Antony Stone wrote: On Saturday 23 April 2022 at 21:11:18, Florian

Re: [DNG] mouse driver question

2022-04-23 Thread Olaf Meeuwissen via Dng
Hi, Antony Stone writes: > On Saturday 23 April 2022 at 22:57:12, Florian Zieboll via Dng wrote: > >> On Sat, 23 Apr 2022 21:15:34 +0200 Antony Stone wrote: >> > On Saturday 23 April 2022 at 21:11:18, Florian Zieboll via Dng wrote: >> > >> > > Some time ago, in a similar situation, I had been

Re: [DNG] mouse driver question

2022-04-23 Thread Fred
On 4/23/22 12:53, k...@aspodata.se wrote: Fred: On 4/23/22 02:34, k...@aspodata.se wrote: ... So, make sure you are running in a virtual console and logged in as root, then run the gpm -b etc. thing and move the mouse around. To make the mouse to work in X11, please test the mouse with gpm

Re: [DNG] mouse driver question

2022-04-23 Thread Fred
On 4/23/22 15:26, Hendrik Boom wrote: On Fri, Apr 22, 2022 at 12:19:45PM -0700, Fred wrote: The mouse is a Sun three button mouse without the scroll wheel. I frequently use a program that makes extensive use of the middle button and the pc mouse scroll wheel is hateful. I would like a mouse

Re: [DNG] mouse driver question

2022-04-23 Thread Florian Zieboll via Dng
On Sat, 23 Apr 2022 18:26:59 -0400 Hendrik Boom wrote: > I would like a mouse with a middle button *and* a scroll wheel. > So there's no ambiguity as to which I am using. > I've never seen one. Out of curiosity, I just did a quick websearch for four+button+mouse - there are dozens of options

Re: [DNG] mouse driver question

2022-04-23 Thread Hendrik Boom
On Fri, Apr 22, 2022 at 12:19:45PM -0700, Fred wrote: > The mouse is a Sun three button mouse without the scroll wheel. I > frequently use a program that makes extensive use of the middle button and > the pc mouse scroll wheel is hateful. I would like a mouse with a middle button *and* a scroll

Re: [DNG] mouse driver question

2022-04-23 Thread Antony Stone
On Saturday 23 April 2022 at 22:57:12, Florian Zieboll via Dng wrote: > On Sat, 23 Apr 2022 21:15:34 +0200 Antony Stone wrote: > > On Saturday 23 April 2022 at 21:11:18, Florian Zieboll via Dng wrote: > > > > > Some time ago, in a similar situation, I had been successful with > > > > > > $

Re: [DNG] mouse driver question

2022-04-23 Thread Ralph Ronnquist
On Sat, Apr 23, 2022 at 09:07:57AM -0700, Fred wrote: > On 4/23/22 02:34, k...@aspodata.se wrote: > > Fred: > > > On 4/22/22 15:31, k...@aspodata.se wrote: > > ... > > > >gpm -b 1200 -m /dev/ttyS1 -t msc > > ... > > > It shows up at /dev/ttyUSB0. I have tried that command line several > > >

Re: [DNG] mouse driver question

2022-04-23 Thread Florian Zieboll via Dng
On Sat, 23 Apr 2022 21:15:34 +0200 Antony Stone wrote: > On Saturday 23 April 2022 at 21:11:18, Florian Zieboll via Dng wrote: > > > On Sat, 23 Apr 2022 09:07:57 -0700 Fred wrote: > [...] > > > > Some time ago, in a similar situation, I had been successful with > > > > $ find / | grep

Re: [DNG] mouse driver question

2022-04-23 Thread karl
Fred: > On 4/23/22 02:34, k...@aspodata.se wrote: ... > > So, make sure you are running in a virtual console and logged in as > > root, then run the gpm -b etc. thing and move the mouse around. > > > > To make the mouse to work in X11, please test the mouse with gpm in > > a console first to

Re: [DNG] mouse driver question

2022-04-23 Thread Antony Stone
On Saturday 23 April 2022 at 21:11:18, Florian Zieboll via Dng wrote: > On Sat, 23 Apr 2022 09:07:57 -0700 Fred wrote: > > A previous post mentioned xorg.conf which doesn't appear to exist in > > Devuan Beowulf (AMD64). > > > > So, where do I go from here? > > Some time ago, in a similar

Re: [DNG] mouse driver question

2022-04-23 Thread Florian Zieboll via Dng
On Sat, 23 Apr 2022 09:07:57 -0700 Fred wrote: > A previous post mentioned xorg.conf which doesn't appear to exist in > Devuan Beowulf (AMD64). > > So, where do I go from here? Some time ago, in a similar situation, I had been successful with $ find / | grep xorg.conf Also worth a try: $

Re: [DNG] mouse driver question

2022-04-23 Thread Fred
On 4/23/22 02:34, k...@aspodata.se wrote: Fred: On 4/22/22 15:31, k...@aspodata.se wrote: ... gpm -b 1200 -m /dev/ttyS1 -t msc ... It shows up at /dev/ttyUSB0. I have tried that command line several times. Nothing happens. ps -e shows gpm is running. The pointer will not move and the

Re: [DNG] mouse driver question

2022-04-23 Thread karl
Fred: > On 4/22/22 15:31, k...@aspodata.se wrote: ... > > gpm -b 1200 -m /dev/ttyS1 -t msc ... > It shows up at /dev/ttyUSB0. I have tried that command line several > times. Nothing happens. ps -e shows gpm is running. The pointer will > not move and the mouse buttons have no effect. ...

Re: [DNG] mouse driver question

2022-04-22 Thread Fred
On 4/22/22 15:31, k...@aspodata.se wrote: Fred: On 4/22/22 14:21, Fred wrote: On 4/22/22 13:46, k...@aspodata.se wrote: Fred: ... As I said in an earlier post there is an article on using a (different) Sun mouse on Linux.  The protocol used was msc.  From looking at the output with an

Re: [DNG] mouse driver question

2022-04-22 Thread karl
Fred: > On 4/22/22 14:21, Fred wrote: > > On 4/22/22 13:46, k...@aspodata.se wrote: > >> Fred: > >> ... > >>> As I said in an earlier post there is an article on using a (different) > >>> Sun mouse on Linux.  The protocol used was msc.  From looking at the > >>> output with an oscilloscope that

Re: [DNG] mouse driver question

2022-04-22 Thread Fred
On 4/22/22 14:21, Fred wrote: On 4/22/22 13:46, k...@aspodata.se wrote: Fred: ... As I said in an earlier post there is an article on using a (different) Sun mouse on Linux.  The protocol used was msc.  From looking at the output with an oscilloscope that protocol does appear close if not

Re: [DNG] mouse driver question

2022-04-22 Thread Fred
On 4/22/22 13:46, k...@aspodata.se wrote: Fred: ... As I said in an earlier post there is an article on using a (different) Sun mouse on Linux. The protocol used was msc. From looking at the output with an oscilloscope that protocol does appear close if not correct. Type-4 and -5 mice

Re: [DNG] mouse driver question

2022-04-22 Thread karl
Fred: ... > As I said in an earlier post there is an article on using a (different) > Sun mouse on Linux. The protocol used was msc. From looking at the > output with an oscilloscope that protocol does appear close if not correct. Type-4 and -5 mice seems to been made by mouse systems:

Re: [DNG] mouse driver question

2022-04-22 Thread Fred
On 4/22/22 09:32, k...@aspodata.se wrote: Fred: ... I need to work with a nonstandard serial three button mouse without scroll wheel. It needs a baud rate specification and gpm has an option for this. ... I know that gpm works with this mouse. Since gpm works with the mouse I wouldn't say

Re: [DNG] mouse driver question

2022-04-22 Thread Florian Zieboll via Dng
On April 22, 2022 12:21:02 AM GMT+02:00, aitor wrote: > Hi Fred, > > On 21/4/22 23:39, Fred wrote: > > > I don't understand what you mean by virtual terminal. > > For sure the login prompts of tty2, tty3... brung up by holding down the > Ctrl+Alt keys, and pressing one of the function keys

Re: [DNG] mouse driver question

2022-04-22 Thread karl
Fred: ... > I don't understand what you mean by virtual terminal. There are not many "true" terminals left: https://en.wikipedia.org/wiki/Computer_terminal so basically all terminals today are virtual, in the sense that they behave as if they were an actual terminal, but they are not. There

Re: [DNG] mouse driver question

2022-04-22 Thread karl
Fred: ... > I need to work with a nonstandard serial three button mouse without > scroll wheel. It needs a baud rate specification and gpm has an > option for this. ... > I know that gpm works with this mouse. Since gpm works with the mouse I wouldn't say it is a "non-standard" one. What mouse

Re: [DNG] mouse driver question

2022-04-22 Thread Fred
On 4/21/22 23:00, marc wrote: Hello gpm (and I suppose also consolation) is active only on the console, not in virtual terminals - so there's no conflict. Libre Gre, Florian I don't understand what you mean by virtual terminal. I don't use a DE, just openbox. I may have two xterms

Re: [DNG] mouse driver question

2022-04-22 Thread marc
Hello > >gpm (and I suppose also consolation) is active only on the console, not in > >virtual terminals - so there's no conflict. > > > >Libre Gre, > >Florian > > > > I don't understand what you mean by virtual terminal. I don't use a DE, > just openbox. I may have two xterms open,

Re: [DNG] mouse driver question

2022-04-21 Thread aitor
Hi again, On 22/4/22 0:21, aitor wrote: For sure the login prompts of tty2, tty3... brung up by holding down the Ctrl+Alt keys, and pressing one of the function keys F2, F3... In debian the first six virtual TTYs (tty1, tty2,... tty6) are non-graphical, according to the configuration in

Re: [DNG] mouse driver question

2022-04-21 Thread aitor
Hi Fred, On 21/4/22 23:39, Fred wrote: I don't understand what you mean by virtual terminal. For sure the login prompts of tty2, tty3... brung up by holding down the Ctrl+Alt keys, and pressing one of the function keys F2, F3... Cheers, Aitor.

Re: [DNG] mouse driver question

2022-04-21 Thread Fred
On 4/21/22 13:09, Florian Zieboll wrote: On April 21, 2022 9:28:16 PM GMT+02:00, wrote: Hi, If I install gpm or consolation won't that conflict with whatever driver is already installed? gpm (and I suppose also consolation) is active only on the console, not in virtual terminals - so

Re: [DNG] mouse driver question

2022-04-21 Thread Florian Zieboll via Dng
On April 21, 2022 9:28:16 PM GMT+02:00, wrote: > Hi, > > If I install gpm or consolation won't that conflict with whatever driver > is already installed? gpm (and I suppose also consolation) is active only on the console, not in virtual terminals - so there's no conflict. Libre Grüße,

Re: [DNG] mouse driver question

2022-04-21 Thread Fred
Hi, If I install gpm or consolation won't that conflict with whatever driver is already installed? The gpm man page says it is not allowed to have two instances of gpm running at the same time and there is an option to kill the previous instance. Best regards, Fred On 4/21/22 11:50,

Re: [DNG] mouse driver question

2022-04-21 Thread Daniel Abrecht via Dng
An alternative to "gpm" would be "consolation". It's based on "libinput". I've never tried serial mice, but you can probably install & start "inputattach", and then "consolation" should probably pick it up if it's installed. inputattach should also work with other things such as X11 and

Re: [DNG] mouse driver question

2022-04-21 Thread Gastón via Dng
On Thu, Apr 21, 2022 at 09:07:20AM -0700, Fred wrote: > Hello, > > What program is used as mouse driver on Beowulf and Chimaera? Gpm was > previously used but it is not installed now. I need to work with a > nonstandard serial three button mouse without scroll wheel. It needs a baud > rate

Re: [DNG] mouse driver question

2022-04-21 Thread Florian Zieboll via Dng
On April 21, 2022 6:07:20 PM GMT+02:00, Fred wrote: > Hello, > > What program is used as mouse driver on Beowulf and Chimaera? Gpm was > previously used but it is not installed now. I need to work with a > nonstandard serial three button mouse without scroll wheel. It needs a > baud rate