Skip to content

Instantly share code, notes, and snippets.

@badbabykosh
badbabykosh / thrustmaster_pedal_setup.md
Last active January 9, 2025 03:19
Thrustmaster T-LCM pedals on Linux instructions
  1. get vendor and device Ids via... udevadm info -n /dev/input/by-id/usb-Thrustmaster_Sim_Pedals-event-if00 | grep -E 'ID_VENDOR_ID|ID_MODEL_ID|ID_MODEL''ID_VENDOR_ID|ID_MODEL_ID|ID_MODEL'

  2. Create a file /etc/udev/rules.d/90-pedals-workaround.rules. Add this to the file, changing your vendor and model IDs

    ACTION=="add|change", KERNEL=="event[0-9]*", ENV{ID_VENDOR_ID}=="044f", ENV{ID_MODEL_ID}=="b371", ENV{ID_INPUT_ACCELEROMETER}="", ENV{ID_INPUT_JOYSTICK}="1", TAG+="uaccess"
    
    
@badbabykosh
badbabykosh / pulse_sreaming.md
Created May 24, 2025 22:54 — forked from savegame/pulse_sreaming.md
PulseAudio / PipeWire streaming audio from Client to remote PulseAudio / PipeWire Server

We have Server machine, this computer with Headphones, and we have Client computer, this is remote PC with music =) On Server we should first open port for listening connections from Client :

# on ubuntu 
sudo ufw allow from <Client_IP> to any port 4656 proto tcp
# on fedora ( with firewalld ) 
sudo firewall-ctl --add-port 4656/tcp

note: port 4656 just for sample. you can use any port you want
than on Server, from current user add listening for connections