On 09:58 AM 5/1/00 +0200, Stefano Carboni wrote:
>#mouse connected to usb port, monitor hub and keyboard disconnected
>usb.c: registered new driver usbdevfs
>usb.c: registered new driver hub
>usb.c: registered new driver hid
>mice: PS/2 mouse device common for all mice
>PCI: Enabling bus mastering for device 00:a0
>usb-ohci.c: USB OHCI at membase 0xc4000000, IRQ 5
>usb.c: new USB bus registered, assigned bus number 1
>usb.c: USB new device connect, assigned device number 1
>hub.c: USB hub found
>hub.c: 2 ports detected
>(...)
>usb.c: USB new device connect, assigned device number 2
>mouse0: PS/2 mouse device for input0
>event0: Event device for input0
>input0: USB HID v1.00 Mouse
>
>and then, I followed step by step your guide indications:
>- In /proc/interrupts this time the count in the line:
> 5: 9 XT-PIC usb-ohci, ESS Solo1
>increased by two per click.
>- But when I continued to the next step, I obtained the result:
>[root@localhost /root]# mkdir /dev/usb
>[root@localhost /root]# mknod /dev/usb/usbmouse0 c 13 32
>[root@localhost /root]# cat /dev/usb/usbmouse0
>cat: /dev/usb/usbmouse0: No such device
Hi,
I was getting the same sort of problems with the latest backport patch,
although I have a uhci controller rather than a ohci controller. I found
that if I build everything as modules rather than directly into the kernel,
then the mouse works with the backport patch. The problem seems to be that
the kernel has no clue about char-major-13 when the usb stuff is compiled
directly into the kernel. When I look at /proc/devices with the usb stuff
compiled directly into the kernel, there is no entry for char major 13, but
when usb is compiled as modules, there is an entry for char major 13.
As far as Brad's question about the contents of /proc/bus/usb/devices,
I compared the output from the 2.2.15pre20 + the latest backport patch
to what gets generated from 2.3.99-pre6 final, with both of them having
the usb stuff built directly into the kernel, the contents of
/proc/bus/usb/devices is identical. Also, the contents of
/proc/bus/usb/devices is identical whether I build 2.2.15pre20+backport patch
as modules of directly into the kernel.
-Harold
--
"Life sucks, deal with it!"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]