Changeset 25174 in vbox
- Timestamp:
- Dec 3, 2009 6:09:54 PM (15 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh
r25100 r25174 290 290 # By default we want to use hal for auto-loading the mouse driver 291 291 usehal="--useHal" 292 # We need to tell our xorg.conf hacking script whether /dev/psaux exists 293 nopsaux="--nopsaux" 294 test -c /dev/psaux && nopsaux="" 292 295 # And on newer servers, we want to test whether dynamic resizing will work 293 296 testrandr="true" … … 373 376 # Assume X.Org post-fork or XFree86 374 377 begin "Installing XFree86 4.2/4.3 and X.Org 6.7/6.8 modules" 378 rm "$modules_dir/drivers/vboxvideo_drv.o" 2>/dev/null 379 rm "$modules_dir/input/vboxmouse_drv.o" 2>/dev/null 375 380 ln -s "$lib_dir/vboxvideo_drv.o" "$modules_dir/drivers/vboxvideo_drv.o" 376 381 ln -s "$lib_dir/vboxmouse_drv.o" "$modules_dir/input/vboxmouse_drv.o" … … 427 432 generated="$generated `printf "$i\n"`" 428 433 else 429 "$lib_dir/x11config-new.pl" $newmouse $usehal "$i"434 "$lib_dir/x11config-new.pl" $newmouse $usehal $nopsaux "$i" 430 435 fi 431 436 configured="true" … … 535 540 for i in $x11conf_files; do 536 541 if test -r "$i.vbox"; then 537 if test "$i" -ot "$i.vbox" -o -n "$legacy"; then542 if test ! "$i" -nt "$i.vbox" -o -n "$legacy"; then 538 543 mv -f "$i.vbox" "$i" 539 544 grep -q -E 'vboxvideo|vboxmouse' "$i" && … … 562 567 will continue to work after it is restarted. 563 568 564 $ newer569 $failed 565 570 566 571 EOF -
trunk/src/VBox/Additions/x11/Installer/x11config-new.pl
r25109 r25174 23 23 my $new_mouse = 0; 24 24 my $no_bak = 0; 25 my $old_mouse_dev = "/dev/psaux"; 25 26 26 27 foreach $arg (@ARGV) … … 37 38 { 38 39 $no_bak = 1; 40 } 41 elsif (lc($arg) eq "--nopsaux") 42 { 43 $old_mouse_dev = "/dev/input/mice"; 39 44 } 40 45 else … … 113 118 Driver "vboxmouse" 114 119 Option "Buttons" "9" 115 Option "Device" " /dev/input/mice"120 Option "Device" "$old_mouse_dev" 116 121 Option "Name" "VirtualBox Mouse" 117 122 Option "Protocol" "explorerps/2"
Note:
See TracChangeset
for help on using the changeset viewer.