At 10.11 30/04/00 +0000, Brad Hards wrote:
>Generally looks OK. You might like to not turn on drivers you won't
>need.
>Turning on EVDEV and getting Vojtech's very useful test tools would help
>when we get to the next part of testing.

OK, now my usb-activated .config section is the following (where may I find
Vojtech's test tools? How does it work?):

CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_OHCI=y
CONFIG_USB_HID=y
CONFIG_INPUT_KEYBDEV=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_EVDEV=y

>Which backport patch? Can you use the most recent pre6-7 one?

Yes, I guess: I used usb-2.3.99-pre6-7-for-2.2.14.diff.gz file. By the way,
maybe a(nother) silly question: I applied it to the normal 2.2.14 kernel,
may I apply it also to Mandrake 2.2.14-15mdk.i586 kernel sources?

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

>This says that your chipset has two ports, even though one isn't
>available or (less likely) is connected to something internally.

>> usb.c: USB new device connect, assigned device number 2
>> hub.c: USB hub found

>This is it? Nothing more?
>I believe that the root hub is device 1 and your external hub (in the
>monitor) is being detected as device 2. The additional devices aren't
>being detected, which makes me suspect the monitor hub.
>Can you try it with the mouse or keyboard connected to the root hub?

After compiling the kernel with the new options, I tried three usb
configurations:

#Again, mouse and keyboard connected to monitor hub connected to usb port
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
hub.c: USB hub found

that looks the same, with mouse and keyboard not working

#keyboard connected to usb port, monitor hub and mouse 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
keybdev.c: Adding keyboard: input0
event0: Event device for input0
input0: USB HID v1.00 Keyboard
mouse0: PS/2 mouse device for input1
keybdev.c: Adding keyboard: input1
event1: Event device for input1
input1: USB HID v1.00 device

...and, wonderful, the keyboard works very fine!

#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

I tried also on console (without, for now, touch the X configuration) with:
gpm -m /dev/usb/usbmouse0 -t imps2
with no result. Indeed, on my presario there is a touchpad that is seen as
PS/2, I guess, and I don't know exactly what to do to have both pointers
working (or switch from one to the other)...

>Also, if you can use a 2.3.x kernel or the later backport, I would
>really like the contents of /proc/bus/usb/devices. Unfortunately you
>won't be able to get this with some earlier backport patches.

The directory /proc/bus/usb exists, but it is empty in any of the three
above configurations I tried.
Thank you for your precious help!
Stefano



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to