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 [2026/04/24 04:27] – [intel] Sean Rhonebsd:notes:xorg.conf_snippets [2026/07/07 08:03] (current) – [Mouse] Sean Rhone
Line 1: Line 1:
 ====== Debugging ====== ====== Debugging ======
 +
 +  * https://xorg.freedesktop.org/archive/current/doc/man/man5/xorg.conf.5.xhtml
  
   mousepad '/var/log/Xorg.0.log'   mousepad '/var/log/Xorg.0.log'
Line 90: Line 92:
  
 ===== evdev ===== ===== evdev =====
 +
 +  * ''xf86-input-evdev'' requires ''webcamd''
  
   su -   su -
  
-  pkg install 'xf86-input-evdev+  pkg install xf86-input-evdev webcamd
- +
-==== webcamd ==== +
- +
-  * ''xf86-input-evdev'' requires ''webcamd'' +
- +
-  pkg install 'webcamd'+
  
   sysrc webcamd_enable="YES"   sysrc webcamd_enable="YES"
Line 126: Line 124:
 <code> <code>
 Section "InputClass" Section "InputClass"
-    Identifier "CORSAIR HARPOON RGB PRO Gaming Mouse (evdev custom)" +    Identifier "ATTACK SHARK X3 Mouse (evdev custom)" 
-    MatchUSBID "1b1c:1b75"+    MatchUSBID "1d57:fa61"
     Driver "evdev"     Driver "evdev"
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
Line 136: Line 134:
  
 <code> <code>
-    Identifier "ATTACK SHARK R6 Mouse (evdev custom)" +    Identifier "CORSAIR HARPOON RGB PRO Gaming Mouse (evdev custom)" 
-    MatchUSBID "373e:0021"+    MatchUSBID "1b1c:1b75"
 </code> </code>
 +
 +<code>
 +    Identifier "WolfLawS KM-5 Mouse (evdev custom)"
 +    MatchUSBID "1d57:130f"
 +</code>
 +
 +==== Trackball ====
 +
 +  mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-trackball-custom.conf'
 +
 +<code>
 +Section "InputClass"
 +    Identifier "Nulea M511 Trackball Mouse (evdev custom)"
 +    MatchUSBID "195d:1021"
 +    Driver "evdev"
 +    Option "AccelerationProfile" "5"
 +    Option "AccelerationScheme" "lightweight"
 +EndSection
 +
 +# End</code>
  
 ==== Tablet ==== ==== Tablet ====
Line 158: Line 176:
  
 # End</code> # End</code>
 +
 +=== Wacom TODO ===
 +
 +  * ''wacom'' driver is used without ''xorg.conf'' override
 +
 +  pkg install 'xf86-input-wacom'
 +
 +  ee '/usr/local/etc/X11/xorg.conf.d/wacom.conf.sample'
 +
 +<code>
 +xsetwacom --set 'Wacom Bamboo 16FG 4x5 Pad pad' 'Button' '1' 'key +up'
 +xsetwacom --set 'Wacom Bamboo 16FG 4x5 Pad pad' 'Button' '9' 'key +left'
 +xsetwacom --set 'Wacom Bamboo 16FG 4x5 Pad pad' 'Button' '8' 'key +right'
 +xsetwacom --set 'Wacom Bamboo 16FG 4x5 Pad pad' 'Button' '3' 'key +down'</code>
  
 ===== synaptics ===== ===== synaptics =====
Line 214: Line 246:
  
 # End</code> # End</code>
 +
 +====== USB IDs ======
 +
 +  * ''idVendor''
 +  * ''idProduct''
 +
 +  su -
 +
 +  usbconfig
 +
 +  usbconfig -d ugen0.2 dump_device_desc
 +
 +===== xorg.conf =====
 +
 +<code>
 +idVendor = 0x1d57 
 +idProduct = 0x130f</code>
 +
 +<code>MatchUSBID "1d57:130f"</code>
  
/usr/local/www/wiki/data/attic/bsd/notes/xorg.conf_snippets.1777019262.txt.gz · Last modified: by Sean Rhone