Subject: usbd adds new ums* & wsmouse* entries everytime same mouse reconnected
To: NetBSD i386 Mailing List <port-i386@netbsd.org>
From: Alicia da Conceicao <alicia@cyberstation.ca>
List: port-i386
Date: 12/22/1998 13:24:41
This is a multi-part message in MIME format.
--------------A0AE65B6EBE7CD4E400B34A7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Seasons Greetings:
I noticed some wierd behavour from usbd everytime I disconnect my usb
mouse and reconnect it afterwards. I am using NetBSD 1.3I
When the mouse is disconnected, usbd properly notices this and returns:
usb0: device addr 2 on hub addr 1, port 1 disconnected
Then when the mouse is reconnected, usbd returns:
ums* at uhub0 port 1 configuration 0 interface 0
ums*: ELECOM ELECOM USB mouse (rev 1.00/4.51), addr 2, iclass 3/1
wsmouse* at ums*
-where: * = 1, 2, 3, 4, 5, ... (first time reconnect, second, etc.)
It would appear that usbd is not freeing up ums (& wsmouse) slots during
a disconnect, like it is suppose to, right?
Here is an excerpt of the usb stuff from my NetBSD 1.3I boot messages, on
my Fujitsu FMV-Biblo MC823 hand held:
uhci0 at pci0 dev 1 function 2: Intel 82371AB USB Host Controller
(PIIX4) (rev. 0x01)
uhci0: interrupting at irq 9
uhci0: USB version 1.0
usb0 at uhci0
uhub0 at usb0
uhub0: Intel UHCI root hub (class 9/1) (rev 1.00/1.00), addr 1
ums0 at uhub0 port 2 configuration 0 interface 0
ums0: ELECOM ELECOM USB mouse (rev 1.00/4.51), addr 2, iclass 3/1
wsmouse0 at ums0
Alicia.
PS. Too bad XFree86 3.3 doesn't have a pointer protocol for my mini Elecom
usb mouse. :-(
PPS. Does anyone know if (and how) it possible to get a PS/2 touch screen
to work under XFree86 with absolute positioning, so when I touch
a spot with the pen, the X pointer jumps to it. The touch screen
pen currently works in relative mode, using the BusMouse protocol,
so that when I move the pen, the pointer moves in the same
direction (so often I manipulate the X-pointer with the pen in
another location on the screen, like a glidepad).
--------------A0AE65B6EBE7CD4E400B34A7
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Alicia da Conceicao
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Alicia da Conceicao
n: da Conceicao;Alicia
org: Cyberstation Inc.
adr: 121 Richmond Street West, Suite 1104;;;Toronto;Ontario;M5H-2G4;Canada
email;internet: alicia@cyberstation.ca
title: VP of Technology
tel;work: 416-860-9378
tel;fax: 416-860-9380
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
version: 2.1
end: vcard
--------------A0AE65B6EBE7CD4E400B34A7--