9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] usbmouse suddenly not working
@ 2007-05-09  4:32 arisawa
  2007-05-09  5:45 ` geoff
  0 siblings, 1 reply; 3+ messages in thread
From: arisawa @ 2007-05-09  4:32 UTC (permalink / raw)
  To: Fans Bell Labs of the OS Plan 9 from

Hello,

After downloading new replica, I encountered same phenomena as that  
reported by Salomon:
>  When I run usbstart, I get
>  usb/usbmouse: /dev/usb/1/ep0data: '/dev/usb/1/ep0data' does not exist

cpu%  cat /dev/kmesg
...
#U/usb0: uhci: port 0xB400 irq 11
#U/usb1: uhci: port 0xB000 irq 11
256M memory: 104M kernel data, 152M user, 578M swap
root is from (tcp, il, local)[local!#S/sdD1/fossil]:
user[none]: arisawa
time...
venti...fossil(#S/sdD1/fossil)...version...time...

init: starting /bin/rc
...
/bin/usb/usbmouse: /dev/usb0/1/ep0data: '/dev/usb0/1/ep0data' does  
not exist
...
cpu% ps
...
arisawa         173    0:00   0:00      936K Sleep    usbd
arisawa         174    0:00   0:00      936K Sleep    usbd
...
cpu% cat /lib/termrc.pc
...
/bin/usb/usbd
/bin/usb/usbmouse
echo -n accelerated > '#m/mousectl'
echo -n 'res 3' > '#m/mousectl'
...
cpu% ls '#U'
'#U/usb0'
'#U/usb1'
cpu% ls '#U/usb0'
'#U/usb0/0'
'#U/usb0/1'
'#U/usb0/new'
'#U/usb0/port'
cpu% ls '#U/usb0/0'
'#U/usb0/0/ctl'
'#U/usb0/0/setup'
'#U/usb0/0/status'
cpu% ls '#U/usb0/1'
'#U/usb0/1/ctl'
'#U/usb0/1/ep1data'
'#U/usb0/1/setup'
'#U/usb0/1/status'
cpu%

My questions are:
Does this problem have been resolved?
What has been changed in regard to usbmouse ?

Thanks in advance.

Kenji Arisawa



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] usbmouse suddenly not working
  2007-05-09  4:32 [9fans] usbmouse suddenly not working arisawa
@ 2007-05-09  5:45 ` geoff
  2007-05-09  9:42   ` arisawa
  0 siblings, 1 reply; 3+ messages in thread
From: geoff @ 2007-05-09  5:45 UTC (permalink / raw)
  To: 9fans

What does
	ns | grep U
print?

Your termrc should have this near the top:

# bind all likely devices (#S was bound in boot)
for(i in f t m v L P U '$' Σ)
	/bin/bind -a '#'^$i /dev >/dev/null >[2=1]



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] usbmouse suddenly not working
  2007-05-09  5:45 ` geoff
@ 2007-05-09  9:42   ` arisawa
  0 siblings, 0 replies; 3+ messages in thread
From: arisawa @ 2007-05-09  9:42 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello geoff,

I cannot look exact situation because rio is running but mouse is not  
working.
I cannot enter any command!
I really want to escape rio using some key strokes.

Fortunately my stand alone terminal is configured to accept telnet.
My previous report is the one that I got via telnet.
The name space is different from that of console of terminal.
But I believe kernel name space is same.

The real problem is:
my USB mouse is connected to '#U/usb0/1/ep1data' and not to '#U/ 
usb0/1/ep0data'
but /bin/usb/usbmouse looks only '#U/usb0/1/ep0data'.

I don't know why my mouse is connected to  '#U/usb0/1/ep1data'.
My PC has two USB connecters but both lead to '#U/usb0/1/ep1data'.


On 2007/05/09, at 14:45, geoff@plan9.bell-labs.com wrote:

> What does
> 	ns | grep U
> print?
>
> Your termrc should have this near the top:
>
> # bind all likely devices (#S was bound in boot)
> for(i in f t m v L P U '$' Σ)
> 	/bin/bind -a '#'^$i /dev >/dev/null >[2=1]
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-09  9:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-09  4:32 [9fans] usbmouse suddenly not working arisawa
2007-05-09  5:45 ` geoff
2007-05-09  9:42   ` arisawa

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).