Changeset 38777 in vbox for trunk/src/VBox
- Timestamp:
- Sep 16, 2011 1:14:34 PM (13 years ago)
- 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 1 KERNEL=="vboxguest",ENV{ID_INPUT}="1" -
trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh
r38723 r38777 286 286 # But not to install the configuration file into xorg.conf.d 287 287 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 290 289 newmouse="" 291 290 # By default we want to use hal/udev/whatever for auto-loading the mouse driver … … 482 481 rm -r /var/cache/hald/fdi-cache 2> /dev/null 483 482 fi 484 # Install a udev rule for symlinking our event device node to485 # something stable (dev/input/vboxevent)486 if test -d /etc/udev/rules.d -a -n "$newmouse"487 then488 install -o 0 -g 0 -m 0644 "$share_dir/70-xorg-vboxmouse.rules" /etc/udev/rules.d489 # Create the /dev/input/vboxevent symlink manually straight490 # after installation491 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 esac497 fi498 483 if test -n "$doxorgconfd" 499 484 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 500 493 test -d /usr/share/X11/xorg.conf.d && 501 494 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 112 112 113 113 Section "InputDevice" 114 Driver " evdev"114 Driver "vboxmouse" 115 115 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" 118 118 Option "Vendor" "Oracle Corporation" 119 119 Option "SendCoreEvents"
Note:
See TracChangeset
for help on using the changeset viewer.