[9fans] usbmouse suddenly not working - Plan9

This is a discussion on [9fans] usbmouse suddenly not working - Plan9 ; 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: ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: [9fans] usbmouse suddenly not working

  1. [9fans] usbmouse suddenly not working

    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


  2. Re: [9fans] usbmouse suddenly not working

    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]


  3. Re: [9fans] usbmouse suddenly not working

    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 '$' $B&2(B)
    > /bin/bind -a '#'^$i /dev >/dev/null >[2=1]
    >



+ Reply to Thread