VirtualBox

Changeset 38777 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 16, 2011 1:14:34 PM (13 years ago)
Author:
vboxsync
Message:

Reverted r73986: Additions/linux: use the kernel input driver for X.Org Server 1.3 and later

Location:
trunk/src/VBox/Additions
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/70-xorg-vboxmouse.rules

    r38723 r38777  
    1 KERNEL=="event*",DRIVER=="vboxguest",SYMLINK+="input/vboxevent"
    2 KERNEL=="event*",DRIVERS=="vboxguest",SYMLINK+="input/vboxevent"
    3 
     1KERNEL=="vboxguest",ENV{ID_INPUT}="1"
  • trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh

    r38723 r38777  
    286286    # But not to install the configuration file into xorg.conf.d
    287287    doxorgconfd=""
    288     # Or to install the udev rule to symlink our kernel event device
    289     # to a stable device name
     288    # But without the workaround for SUSE 11.1 not doing input auto-detection
    290289    newmouse=""
    291290    # By default we want to use hal/udev/whatever for auto-loading the mouse driver
     
    482481                rm -r /var/cache/hald/fdi-cache 2> /dev/null
    483482            fi
    484         # Install a udev rule for symlinking our event device node to
    485         # something stable (dev/input/vboxevent)
    486         if test -d /etc/udev/rules.d -a -n "$newmouse"
    487         then
    488             install -o 0 -g 0 -m 0644 "$share_dir/70-xorg-vboxmouse.rules" /etc/udev/rules.d
    489             # Create the /dev/input/vboxevent symlink manually straight
    490             # after installation
    491             device=`find -L /sys/class/input/event* -name vboxguest \
    492                 -maxdepth 5 2>/dev/null \
    493                 | sed 's/.*\(event[0-9]*\).*/\1/'`
    494             case "$device" in ?*)
    495                 ln -sf "$device" /dev/input/vboxevent;;
    496             esac
    497         fi
    498483        if test -n "$doxorgconfd"
    499484        then
     485            if test -d /etc/udev/rules.d
     486            then
     487                install -o 0 -g 0 -m 0644 "$share_dir/70-xorg-vboxmouse.rules" /etc/udev/rules.d
     488                # This is normally silent.  I have purposely not redirected
     489                # error output as I want to know if something goes wrong,
     490                # particularly if the command syntax ever changes.
     491                udevadm trigger --action=change --subsystem-match=misc
     492            fi
    500493            test -d /usr/share/X11/xorg.conf.d &&
    501494                install -o 0 -g 0 -m 0644 "$share_dir/50-vboxmouse.conf" /usr/share/X11/xorg.conf.d
  • trunk/src/VBox/Additions/x11/Installer/x11config.sh

    r38723 r38777  
    112112
    113113Section "InputDevice"
    114   Driver       "evdev"
     114  Driver       "vboxmouse"
    115115  Identifier   "Mouse[2]"
    116   Option       "Device" "/dev/input/vboxevent"
    117   Option       "Name" "VirtualBox mouse integration"
     116  Option       "Device" "/dev/vboxguest"
     117  Option       "Name" "VirtualBox Mouse"
    118118  Option       "Vendor" "Oracle Corporation"
    119119  Option       "SendCoreEvents"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette