Toot

Written by monwarez on 2025-01-10 at 09:50

@qlp You may need to use the new usbhid driver early at boot.

Try with adding in /boot/loader.conf the line: hw.usb.usbhid.enable=1, and do as root sysrc kld_list+= " hgame hms hcons hidraw"

Once this is done, add this files /usr/local/etc/devd/steamdeck.conf (change steamvendor and steamdeckgamepad with the correct value)

[#] steam deck controller
notify 100 {
	match "system"		"USB";
	match "subsystem"	"INTERFACE";
	match "type"		"ATTACH";
	match "vendor"		"steamvendor";
        match "product"            "steamdeckgamepad";
	action "chmod g+rw /dev/$cdev; chmod +r /dev/$cdev;chown :games  /dev/$cdev";
};

To find the idVendor and idProduct, use usbconfig -v as root, and then look for the value of idVendor and idProduct associated to the steam deck controller.

Add your user to the games groups.

Enable devd if it is not already done, sysrc devd_enable="YES"

Then, assuming you are using the latest repository for pkg, install controllermap.

Reboot

Then run testgamecontroller and see if it shows up.

=> More informations about this toot | View the thread | More toots from monwarez@bsd.cafe

Mentions

=> View qlp@linh.social profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113803437407057966
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
217.664467 milliseconds
Gemini-to-HTML Time
0.512226 milliseconds

This content has been proxied by September (3851b).