Changeset 38723 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Sep 13, 2011 7:30:27 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 73986
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/70-xorg-vboxmouse.rules
r29406 r38723 1 KERNEL=="vboxguest",ENV{ID_INPUT}="1" 1 KERNEL=="event*",DRIVER=="vboxguest",SYMLINK+="input/vboxevent" 2 KERNEL=="event*",DRIVERS=="vboxguest",SYMLINK+="input/vboxevent" 3 -
trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh
r38093 r38723 286 286 # But not to install the configuration file into xorg.conf.d 287 287 doxorgconfd="" 288 # But without the workaround for SUSE 11.1 not doing input auto-detection 288 # Or to install the udev rule to symlink our kernel event device 289 # to a stable device name 289 290 newmouse="" 290 291 # By default we want to use hal/udev/whatever for auto-loading the mouse driver … … 481 482 rm -r /var/cache/hald/fdi-cache 2> /dev/null 482 483 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 483 498 if test -n "$doxorgconfd" 484 499 then 485 if test -d /etc/udev/rules.d486 then487 install -o 0 -g 0 -m 0644 "$share_dir/70-xorg-vboxmouse.rules" /etc/udev/rules.d488 # This is normally silent. I have purposely not redirected489 # 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=misc492 fi493 500 test -d /usr/share/X11/xorg.conf.d && 494 501 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
r38194 r38723 112 112 113 113 Section "InputDevice" 114 Driver " vboxmouse"114 Driver "evdev" 115 115 Identifier "Mouse[2]" 116 Option "Device" "/dev/ vboxguest"117 Option "Name" "VirtualBox Mouse"116 Option "Device" "/dev/input/vboxevent" 117 Option "Name" "VirtualBox mouse integration" 118 118 Option "Vendor" "Oracle Corporation" 119 119 Option "SendCoreEvents"
Note:
See TracChangeset
for help on using the changeset viewer.