🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #12952

Re: Detectar si hay un mouse serie conectado a un PC

#12952
From: Jos� Antonio P�rez S�nchez
Date: Wed, 02 May 2001 18:40
27 lines
2214 bytes
El d�a Wed, 2 May 2001 15:51:03 +0200, el pensamiento se hizo palabra
en el teclado de sromero@servicom2000.com (Santiago Romero),
y escribi�:

#>  necesito encontrar una manera de detectar (en C, perl, 
#>  bash o lo que sea) si hay un mouse serie conectado al ttyS0.
#> 
#>  Ahora mismo tengo un programa que Kuantiko me pas� para
#>  hacerlo, que abre /dev/ttyS0 y SE SUPONE que si muevo el
#>  mouse mientras lo ejecuto me lo detecta, pero no es as�.
#> 
#>  Simplemente es saber si en el ttyS0 hay un mouse serie, o no.
#> 
#>  saludos y gracias por cualquier ayuda.

puedes mirar el c�digo fuente del programa que lleva el gpm
para detectar el rat�n

--
kernel, n.:
	A part of an operating system that preserves the medieval
	traditions of sorcery and black art.
~~ ^~^  , ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~��~<�>~�~~~~~~~~~~~ o ~~~~~~~~~
  ('Y') ) Jos� Antonio P�rez S�nchez             UiN 82157556 .        () 
  /   \/  zundrdragon AT ono DOT com       Linux User #127782  �<"}}><  � 
 (\|||/)  Debian GNU/Linux ~o~ Kernel 2.4.3 ~o~ PentiumII 350          o  
~~~~~~~~~~~��<o>���~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ }>((`>� ~~
Technical Details
Message-ID: <20010502204014.2e3be755.zundrdragon@ono.com>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!mu1-ras-7-u-0114.du.onolab.COM!not-for-mail
References: <7c3pc9.vd1.ln@127.0.0.1>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,3fd50c75d0339df5
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-05-02 22:35:39 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!mu1-ras-7-u-0114.du.onolab.COM!not-for-mail
From: Jos� Antonio P�rez S�nchez <zundrdragon@ono.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Detectar si hay un mouse serie conectado a un PC
Date: Wed, 2 May 2001 20:40:14 +0200
Organization: High Sorcery Tower ^_^
Lines: 27
Message-ID: <20010502204014.2e3be755.zundrdragon@ono.com>
References: <7c3pc9.vd1.ln@127.0.0.1>
NNTP-Posting-Host: mu1-ras-7-u-0114.du.onolab.com (62.42.185.115)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 988868138 15662639 62.42.185.115 (16 [84459])
X-Orig-Path: 127.0.0.1!nobody
X-Newsreader: Sylpheed version 0.4.64 (GTK+ 1.2.10; i386-debian-linux-gnu)