User Tools

Site Tools


bsd:notes:joystick

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:joystick [2024/09/13 21:33] – [Joystick Research] Sean Rhonebsd:notes:joystick [2025/04/01 03:52] (current) Sean Rhone
Line 29: Line 29:
 ====== devd.conf ====== ====== devd.conf ======
  
-  * TODO: Move to main FreeBSD notes 
   * Last updated: 2024/09/13   * Last updated: 2024/09/13
  
Line 46: Line 45:
         action "/usr/local/sbin/uhidd -h -H uhid -u /dev/$ugen";         action "/usr/local/sbin/uhidd -h -H uhid -u /dev/$ugen";
 };</code> };</code>
 +
 +===== TODO =====
 +
 +  * ''ld-elf.so.1 %LIBCUSE%'' error ([[https://forums.freebsd.org/threads/ld-elf-so-1-shared-object-libcuse-not-found.86293/|thread]])
 +
 +  su -l
 +
 +  mv '/usr/local/etc/devd/uhidd-devd.conf' '/usr/local/etc/devd/uhidd-devd.conf~'
 +
 +===== TODO 2 =====
 +
 +  * This avoids needing ''uhidd'' (connect joystick within 3 seconds)
 +  * TODO: USB device reset command and devd
 +
 +  su - root -c "sysctl 'hw.usb.usbhid.enable=0' && sleep '3' && sysctl 'hw.usb.usbhid.enable=1'"
 +
 +==== Solo Key ====
 +
 +****
 +
 +  su - root -c "sysctl 'hw.usb.usbhid.enable=0' && sleep '3' && sysctl 'hw.usb.usbhid.enable=1' && chmod '060' '/dev/uhid0'"
  
/srv/www/wiki/data/attic/bsd/notes/joystick.1726277636.txt.gz · Last modified: by Sean Rhone