* [9fans] USB mouse doesn't like being unplugged
@ 2009-03-01 13:23 Matt Adams
2009-03-01 13:39 ` Matt Adams
2009-03-01 18:20 ` cinap_lenrek
0 siblings, 2 replies; 7+ messages in thread
From: Matt Adams @ 2009-03-01 13:23 UTC (permalink / raw)
To: 9fans
Folks:
I am using usb/kb to provide support for my keyboard & mouse which are
plugged into a KVM. They both seem to work well enough. I still have
to use a PS/2 keyboard to input the mount point & user but at least
things start working when rio is available and I can do the "usb/kb"
thing.
My problem is when I switch to another machine and then come back to
my plan9 installation: the keyboard keeps working but the mouse stops
responding to all input.
I also get the following error when this happens:
usb/kb: mouse: read: usb endpoint stalled
Does anyone know how if it is possible to make the mouse portion of
usb/kb somewhat more resiliant to disappearing/reappearing? I would
have hoped that this were possible seeing as how it's USB.
Thanks in advance,
Matt
--
"If builders built buildings the way programmers write programs, then
the first woodpecker that came along would destroy civilization." - anon
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] USB mouse doesn't like being unplugged
2009-03-01 13:23 [9fans] USB mouse doesn't like being unplugged Matt Adams
@ 2009-03-01 13:39 ` Matt Adams
2009-03-01 17:47 ` erik quanstrom
2009-03-01 18:20 ` cinap_lenrek
1 sibling, 1 reply; 7+ messages in thread
From: Matt Adams @ 2009-03-01 13:39 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Matt Adams writes:
> Does anyone know how if it is possible to make the mouse portion of
> usb/kb somewhat more resiliant to disappearing/reappearing? I would
> have hoped that this were possible seeing as how it's USB.
Also, since I'm a newbie it just occured to me that if it isn't easy
to make usb/kb live with the mouse going away & coming back that it
might just be possible to unload & load usb/kb when I need it -
Actually, this would be a pain in the butt since I'd have to revert to
my PS/2 keyboard but that may be better then having to restart the
machine when I want to get my mouse back :-)
--
"If builders built buildings the way programmers write programs, then
the first woodpecker that came along would destroy civilization." - anon
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] USB mouse doesn't like being unplugged
2009-03-01 13:39 ` Matt Adams
@ 2009-03-01 17:47 ` erik quanstrom
2009-03-01 18:03 ` Matt Adams
0 siblings, 1 reply; 7+ messages in thread
From: erik quanstrom @ 2009-03-01 17:47 UTC (permalink / raw)
To: 9fans
!/bin/upas/marshal -s 'Re: [9fans] USB mouse doesn''t like being unplugged' -R /mail/fs/mbox/65 9fans@9fans.net
> Also, since I'm a newbie it just occured to me that if it isn't easy
> to make usb/kb live with the mouse going away & coming back that it
> might just be possible to unload & load usb/kb when I need it -
you can kill off usb/usbd and usb/kb and restart
them and that usually works. i got usb/kb sort-of
reliable for replugging with intel usb. but i couldn't
sign up for supporting that configuration.
- erik
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] USB mouse doesn't like being unplugged
2009-03-01 17:47 ` erik quanstrom
@ 2009-03-01 18:03 ` Matt Adams
0 siblings, 0 replies; 7+ messages in thread
From: Matt Adams @ 2009-03-01 18:03 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
erik quanstrom writes:
> you can kill off usb/usbd and usb/kb and restart
> them and that usually works.
Oddly enough the keyboard seems to work after the switch (most of the
time) but the mouse never does. Use of usb/kb -k and usb/usbmouse
(and successive restarts of usb/usbmouse) seems to do the trick most
of the time but it is ungainly to say the least.
Would you be willing to provide an example of a script that I could
start from profile (or whatever is reasonable) - something that would
check for a stuck usb device and restart the appropriate components?
I would give this a shot myself but I am newbie enough that I think it
would take me a long time to get to that point.
In any case, thanks for your assistance -
Matt
--
"If builders built buildings the way programmers write programs, then
the first woodpecker that came along would destroy civilization." - anon
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] USB mouse doesn't like being unplugged
2009-03-01 13:23 [9fans] USB mouse doesn't like being unplugged Matt Adams
2009-03-01 13:39 ` Matt Adams
@ 2009-03-01 18:20 ` cinap_lenrek
2009-03-01 23:50 ` John Barham
1 sibling, 1 reply; 7+ messages in thread
From: cinap_lenrek @ 2009-03-01 18:20 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 456 bytes --]
had a kvm switch once and it sucked even for just ps2. now i find it
rare for the need to access the real keyboard/mouse of a machine.
expecialy in the case of plan9 where you can use drawterm or vnc.
in case you want to use 2 monitors and only switch for keyboard/mouse
input you can use the synergy client [1] for plan9. (expecting you are
using window/unix on the other machine)
[1] /n/sources/contrib/cinap_lenrek/synergy.tgz
--
cinap
[-- Attachment #2: Type: message/rfc822, Size: 3466 bytes --]
From: Matt Adams <madams@phantomware.ca>
To: 9fans@9fans.net
Subject: [9fans] USB mouse doesn't like being unplugged
Date: Sun, 1 Mar 2009 08:23:55 -0500
Message-ID: <18858.35947.679086.368352@marvin.toronto.adams.loc>
Folks:
I am using usb/kb to provide support for my keyboard & mouse which are
plugged into a KVM. They both seem to work well enough. I still have
to use a PS/2 keyboard to input the mount point & user but at least
things start working when rio is available and I can do the "usb/kb"
thing.
My problem is when I switch to another machine and then come back to
my plan9 installation: the keyboard keeps working but the mouse stops
responding to all input.
I also get the following error when this happens:
usb/kb: mouse: read: usb endpoint stalled
Does anyone know how if it is possible to make the mouse portion of
usb/kb somewhat more resiliant to disappearing/reappearing? I would
have hoped that this were possible seeing as how it's USB.
Thanks in advance,
Matt
--
"If builders built buildings the way programmers write programs, then
the first woodpecker that came along would destroy civilization." - anon
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] USB mouse doesn't like being unplugged
@ 2009-03-01 13:34 Francisco J Ballesteros
0 siblings, 0 replies; 7+ messages in thread
From: Francisco J Ballesteros @ 2009-03-01 13:34 UTC (permalink / raw)
To: 9fans
Usb code does not handle hot plugging.
If you happen to have uhci I can help u off list.
El 01/03/2009, a las 14:29, madams@phantomware.ca escribió:
> Folks:
>
> I am using usb/kb to provide support for my keyboard & mouse which are
> plugged into a KVM. They both seem to work well enough. I still have
> to use a PS/2 keyboard to input the mount point & user but at least
> things start working when rio is available and I can do the "usb/kb"
> thing.
>
> My problem is when I switch to another machine and then come back to
> my plan9 installation: the keyboard keeps working but the mouse stops
> responding to all input.
>
> I also get the following error when this happens:
>
> usb/kb: mouse: read: usb endpoint stalled
>
> Does anyone know how if it is possible to make the mouse portion of
> usb/kb somewhat more resiliant to disappearing/reappearing? I would
> have hoped that this were possible seeing as how it's USB.
>
>
> Thanks in advance,
>
> Matt
> --
> "If builders built buildings the way programmers write programs, then
> the first woodpecker that came along would destroy civilization." -
> anon
>
> [/mail/box/nemo/msgs/200903/35198]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-03-01 23:50 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-01 13:23 [9fans] USB mouse doesn't like being unplugged Matt Adams
2009-03-01 13:39 ` Matt Adams
2009-03-01 17:47 ` erik quanstrom
2009-03-01 18:03 ` Matt Adams
2009-03-01 18:20 ` cinap_lenrek
2009-03-01 23:50 ` John Barham
2009-03-01 13:34 Francisco J Ballesteros
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).