User Tools

Site Tools


bsd:notes:xorg.conf_snippets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bsd:notes:xorg.conf_snippets [2025/08/24 21:12] – [intel] Sean Rhonebsd:notes:xorg.conf_snippets [2025/09/11 06:43] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
   mousepad '/var/log/Xorg.0.log'   mousepad '/var/log/Xorg.0.log'
 +
 +  cp '/var/log/Xorg.0.log' ~ && gio open ~/'Xorg.0.log'
  
   cat '/var/log/Xorg.0.log' | grep 'Using input driver'   cat '/var/log/Xorg.0.log' | grep 'Using input driver'
Line 18: Line 20:
  
   * ''glxgears'' does over 9000 FPS (( 8-) )) with ''intel'' vs 7000 ''modesetting''   * ''glxgears'' does over 9000 FPS (( 8-) )) with ''intel'' vs 7000 ''modesetting''
-  * TODO: PCI ID match+  * TODO: https://docs.freebsd.org/en/books/handbook/x11/#x-config-gpu
  
   su -   su -
Line 29: Line 31:
 Section "OutputClass" Section "OutputClass"
     Identifier "Intel (intel custom)"     Identifier "Intel (intel custom)"
-    BusID "PCI:0:2:0"+    MatchDriver "i915"
     Driver "intel"     Driver "intel"
     Option "AccelMethod" "SNA"     Option "AccelMethod" "SNA"
Line 39: Line 41:
     Option "TripleBuffer" "0"     Option "TripleBuffer" "0"
     Option "LinearFramebuffer" "1"     Option "LinearFramebuffer" "1"
-EndSection +EndSection</code>
- +
-# End</code>+
  
 ===== modesetting ===== ===== modesetting =====
- 
-  * TODO: PCI ID match 
  
   su -   su -
Line 61: Line 59:
  
 ====== Input ====== ====== Input ======
 +
 +===== libinput =====
 +
 +==== Mouse ====
 +
 +  su -
 +
 +  mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-mouse-custom.conf'
 +
 +<code>
 +Section "InputClass"
 +    Identifier "ATTACK SHARK R6 Mouse (libinput custom)"
 +    MatchUSBID "373e:0021"
 +    Driver "libinput"
 +    Option "AccelProfile" "flat"
 +    Option "AccelSpeed" "-1"
 +EndSection</code>
  
 ===== evdev ===== ===== evdev =====
Line 88: Line 103:
     Identifier "BY Tech Gaming Keyboard (evdev custom)"     Identifier "BY Tech Gaming Keyboard (evdev custom)"
     MatchUSBID "258a:010c"     MatchUSBID "258a:010c"
-    MatchDevicePath "/dev/input/event*" 
     Driver "evdev"     Driver "evdev"
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
     Option "AccelerationScheme" "none"     Option "AccelerationScheme" "none"
-EndSection +EndSection</code>
- +
-# End</code>+
  
 ==== Mouse ==== ==== Mouse ====
Line 108: Line 120:
     Identifier "ATTACK SHARK R6 Mouse (evdev custom)"     Identifier "ATTACK SHARK R6 Mouse (evdev custom)"
     MatchUSBID "373e:0021"     MatchUSBID "373e:0021"
-    MatchDevicePath "/dev/input/event*" 
     Driver "evdev"     Driver "evdev"
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
     Option "AccelerationScheme" "none"     Option "AccelerationScheme" "none"
-EndSection +EndSection</code>
- +
-# End</code>+
  
 ==== Tablet ==== ==== Tablet ====
Line 131: Line 140:
     Identifier "Wacom CTH-470 (evdev custom)"     Identifier "Wacom CTH-470 (evdev custom)"
     MatchUSBID "056a:00de"     MatchUSBID "056a:00de"
-    MatchDevicePath "/dev/input/event*" 
     Driver "evdev"     Driver "evdev"
     Option "Mode" "Absolute"     Option "Mode" "Absolute"
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
     Option "AccelerationScheme" "none"     Option "AccelerationScheme" "none"
-EndSection +EndSection</code>
- +
-# End</code>+
  
 ===== Synaptics ===== ===== Synaptics =====
Line 152: Line 158:
     Identifier "Touchpad (synaptics custom)"     Identifier "Touchpad (synaptics custom)"
     MatchProduct "DELL0819:00"     MatchProduct "DELL0819:00"
-    MatchDevicePath "/dev/input/event*" 
     Driver "synaptics"     Driver "synaptics"
     Option "TapAndDragGesture" "0"     Option "TapAndDragGesture" "0"
Line 170: Line 175:
     Option "HorizEdgeScroll" "0"     Option "HorizEdgeScroll" "0"
     Option "VertEdgeScroll" "0"     Option "VertEdgeScroll" "0"
-EndSection +EndSection</code>
- +
-# End</code>+
  
/srv/www/wiki/data/attic/bsd/notes/xorg.conf_snippets.1756084361.txt.gz · Last modified: by Sean Rhone