🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Detectar si hay un mouse serie conectado a un PC

#12947
From: Santiago Romero
Date: Wed, 02 May 2001 13:51
25 lines
1509 bytes

 Enas!
 Por unos motivos que no viene al caso (por no alargarme :)
 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.
 
-- 
Santiago Romero
Departamento de Sistemas
sromero@servicom2000.com

C/ Primado Reig, 189 entlo
46020 Valencia - Spain
Tel. (+34) 96 332 12 00
Fax. (+34) 96 332 12 01
http://www.servicom2000.com
Technical Details
Message-ID: <7c3pc9.vd1.ln@127.0.0.1>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!newsfeed.bcn.ttd.net!news.bcn.ttd.net!news.mad.ttd.net!sromero

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,3fd50c75d0339df5,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-05-02 07:27:12 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!newsfeed.bcn.ttd.net!news.bcn.ttd.net!news.mad.ttd.net!sromero
From: sromero@servicom2000.com (Santiago Romero)
Newsgroups: es.comp.os.linux.programacion
Subject: Detectar si hay un mouse serie conectado a un PC
Date: Wed, 2 May 2001 15:51:03 +0200
Organization: Telefonica Transmision de Datos
Lines: 26
Message-ID: <7c3pc9.vd1.ln@127.0.0.1>
Reply-To: sromero@servicom2000.com
NNTP-Posting-Host: top.servicom2000.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: slrn/0.9.6.2 (Linux)