Summary: | x11-misc/mkxf86config-0.9.7 doesn't recognize mouse | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Luca <luca.casagrande> |
Component: | New packages | Assignee: | Gentoo LiveCD Package Maintainers <livecd> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
here is another .conf
here is another .config |
Description
Luca
2006-08-30 09:09:41 UTC
/dev/input/mice is handled *almost* correctly few lines later: # Kernel 2.6 reports psaux via /dev/input/mice like USB case "$KVER" in 2.6.*) if [ -z "$PSMOUSE" ]; then PSMOUSE='s|^.*InputDevice.*"PS/2 Mouse".*$|# PS/2 Mouse using /dev/input/mice in Kernel 2.6|g;' USBMOUSE="" fi ;; esac There are 2 problems: 1. I haven't found anything that set $KVER, I changed it to $(uname -r) 2. When PS/2 mouse is not detected, $PSMOUSE is set to ugly sed command, so it isn't empty: changed if [ -z "$PSMOUSE" ]; to if [ -n "$PSMOUSE" ]; Working section: # Kernel 2.6 reports psaux via /dev/input/mice like USB case "$(uname -r)" in 2.6.*) if [ -n "$PSMOUSE" ]; then PSMOUSE='s|^.*InputDevice.*"PS/2 Mouse".*$|# PS/2 Mouse using /dev/input/mice in Kernel 2.6|g;' USBMOUSE="" fi ;; esac Marek Wr /dev/input/mice is handled *almost* correctly few lines later: # Kernel 2.6 reports psaux via /dev/input/mice like USB case "$KVER" in 2.6.*) if [ -z "$PSMOUSE" ]; then PSMOUSE='s|^.*InputDevice.*"PS/2 Mouse".*$|# PS/2 Mouse using /dev/input/mice in Kernel 2.6|g;' USBMOUSE="" fi ;; esac There are 2 problems: 1. I haven't found anything that set $KVER, I changed it to $(uname -r) 2. When PS/2 mouse is not detected, $PSMOUSE is set to ugly sed command, so it isn't empty: changed if [ -z "$PSMOUSE" ]; to if [ -n "$PSMOUSE" ]; Working section: # Kernel 2.6 reports psaux via /dev/input/mice like USB case "$(uname -r)" in 2.6.*) if [ -n "$PSMOUSE" ]; then PSMOUSE='s|^.*InputDevice.*"PS/2 Mouse".*$|# PS/2 Mouse using /dev/input/mice in Kernel 2.6|g;' USBMOUSE="" fi ;; esac Marek Wróbel Created attachment 104065 [details]
here is another .conf
Just another .config that ps/2 mouse doesn't work.
Created attachment 104066 [details]
here is another .config
Just another .config that ps/2 mouse doesn't work.
sorry those were posted to wrong bug supposed to go to 157493 , not sure what happened. Can you try out the new version of mkxf86config... it's in my dev overlay... svn co http://overlays.gentoo.org/svn/dev/wolf31o2 If this works for you, it'll become "official" and go into the tree. 0.9.8 is in the tree now |