|
Bugzilla – Full Text Bug Listing |
| Summary: | ps2 mouse is not found on Pegasos | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | peter czanik <peter> |
| Component: | Installation | Assignee: | Jiri Srain <jsrain> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | RC 1 | ||
| Target Milestone: | SUSE Linux 10.1 | ||
| Hardware: | PowerPC | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | YaST2 log | ||
|
Description
peter czanik
2005-09-11 17:52:36 UTC
The second mouse (#11) is always found, even if no mouse is plugged in, or a
working USB mouse is found. Actually, I don't have any Apple mouse. PS2 mice is
never found. This USB mouse (#10) is found, and works fine.
linux:~ # hwinfo --mouse
10: USB 00.0: 10503 USB Mouse
[Created at usb.122]
UDI:
/org/freedesktop/Hal/devices/usb_device_46d_c00e_noserial_if0_logicaldev_input
Unique ID: rXe7.hBvPTbkvHW6
Parent ID: zGOo.4GnYUCJ5yQA
SysFS ID: /devices/pci0000:00/0000:00:0c.3/usb2/2-2/2-2:1.0
SysFS BusID: 2-2:1.0
Hardware Class: mouse
Model: "Logitech Optical Mouse"
Hotplug: USB
Vendor: usb 0x046d "Logitech Inc."
Device: usb 0xc00e "Optical Mouse"
Revision: "11.10"
Compatible to: int 0x0210 0x0013
Driver: "usbhid"
Device File: /dev/input/mice (/dev/input/mouse1)
Device Files: /dev/input/mice, /dev/input/mouse1, /dev/input/event2
Device Number: char 13:63 (char 13:33)
Speed: 1.5 Mbps
Module Alias: "usb:v046DpC00Ed1110dc00dsc00dp00ic03isc01ip02"
Driver Info #0:
Buttons: 3
Wheels: 1
XFree86 Protocol: explorerps/2
GPM Protocol: exps2
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #9 (Hub)
11: ADB 00.0: 10502 Bus Mouse
[Created at input.157]
Unique ID: iOm7.nCDa6GzQ9zF
Hardware Class: mouse
Model: "Apple Macintosh mouse button emulation"
Vendor: int 0x0100 "Apple"
Device: int 0x0300 "Macintosh mouse button emulation"
Compatible to: int 0x0210 0x0003
Device File: /dev/input/mice (/dev/input/mouse0)
Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event0
Device Number: char 13:63 (char 13:32)
Driver Info #0:
Buttons: 3
Wheels: 0
XFree86 Protocol: explorerps/2
GPM Protocol: exps2
Config Status: cfg=new, avail=yes, need=no, active=unknown
you have to run 'modprobe psmouse' as we found today. Patrick will document it. There is now a opensuse entry, http://www.opensuse.org/PPC:X11_config You probably can just enable psmouse as a built-in module in the Pegasos kernel, that's the way it's done on x86. The Apple mouse hack probably shouldn't be built in for the Pegasos. Or are the configs shared with Apple hw? what apple mouse hack? the kerne for pegasos is kernel-default. Mouse #11 in the above config. It's an emulation of extra buttons for Powerbooks, which only have one button next to the touchpad, using keyboard modifier keys (ctrl, etc.). It's probably counterproductive on non-apple systems. ah, this is for CONFIG_ADB. psmouse is now part of initrd and autoloaded, will be in RC4. Created attachment 50815 [details]
YaST2 log
Since SAX2 doesn´t acceft SHIFT-F8 I saves the log from the cdrom module
Any idea why device_type is empty, instead of containing "i8042"? /proc/device-tree/pci@80000000/isa@C/8042@i60: name "8042" device_type "" reg 00000001 00000060 00000005 clock-frequency 00000000 interrupt-controller "" #address-cells 00000001 #size-cells 00000000 #interrupt-cells 00000002 linux,phandle 0fc5b248 (264614472) need help from yast team. Check if there is a ps2 controller, not a connected mouse. where should this go? Something writes hwcfg-static-printer already. Oddly, it even does that for systems without parallel port ... The device node name for a printer port is 'parallel' The device node name for a legacy floppy is 'fdc' #!/bin/sh set -e if test -f /etc/sysconfig/hardware/hwcfg-static-psmouse then exit 0 fi cd /proc/device-tree if find * -name name -print0 | xargs -0 grep -qw 8042 then cat > /etc/sysconfig/hardware/hwcfg-static-psmouse <<EOF MODULE='psmouse' EOF fi What should I do here??? you? I have no idea. I need someone who knows the code location that procduces /etc/sysconfig/hardware/hwcfg-static-printer during a fresh install or system upgrade. Hmm, I honestly don't know who is doing this. If it's not Steffen, perhaps the yast2-printer maintainer. I doubt its written by yast2-printer. I never configured a printer here, and I have no parallel port. Johannes, the point is, who writes a hwcfg-static-$foobar file for harware that doesnt exist? We have to find that place and replace it with something sane. And cover more hardware while we messing with the code in question. No, it's not written by yast2-printer It's written during installation before finishing the first stage (so that the module - if needed - is loaded when printers are configured during second stage). Fixed so that it is written only if there is at least one parallel port. what about ps2 mouse, and other drivers to add? Did you implement that already? Oops, sorry, not yet. Thanks! What is /proc/device-tree? I don't have it in my /proc... This is the openfirmware device-tree. We need something like the script in comment #12 , for psmouse and the powerbook fan drivers. hwinfo reports only a mouse if there is one connected, but not if there is a i8042 port. The fan drivers have no real userinterface, hwinfo doesnt really need to know about them. Should this be done in a shell script? we need an update here, Jiri! |