ZSNES usb controller on FreeBSD not functional

Gamepad acting up? Keyboard not responding properly? Can't get that other user to work? Read and post about it here.

Moderator: ZSNES Mods

Post Reply
n0dl
New Member
Posts: 3
Joined: Thu Feb 12, 2009 2:20 pm

ZSNES usb controller on FreeBSD not functional

Post by n0dl »

Hello, I am trying to use a usb joypad device with zsnes version 1.51 obtained via pkg_add but I get an error message saying "ZSNES could not find any joysticks" upon exiting the program. I read on a FreeBSD mailing list that usb joypads only work with certain programs and that the code for joypad support was taken out of zsnes package. However that thread was made in 2003 concerning ZSNES on FreeBSD version 5.x. Has this been fixed since then? I tried using linux-js as well as xjoypad to no avail.
I am on 7.1-RELEASE
This is my dmesg input for uhid0:
uhid0: <WiseGroup.,Ltd TigerGame PS/PS2 Game Controller Adapter, class 0/0, rev 1.00/1.00, addr 2> on uhub0
linux_js: /dev/uhid0 (WiseGroup.,Ltd TigerGame PS/PS2 Game Controller Adapter) attached to /dev/input/js0
ZH/Franky

Post by ZH/Franky »

<WiseGroup.,Ltd TigerGame PS/PS2 Game Controller Adapter, class 0/0, rev 1.00/1.00, addr 2> on uhub0
As it happens, that's the exact PS1/PS2 to usb adapter that I use, and it works fine for me on FreeBSD.
Don't ask me for help though.
n0dl
New Member
Posts: 3
Joined: Thu Feb 12, 2009 2:20 pm

Post by n0dl »

I know that it is against the rules to ask how to get a specific controller working. I was simply wondering if there was a specific option that could be passed to zsnes to specify that there is an input device at a certain location (such as /dev/uhid0), or if I needed a specific package to use a usb joypad with zsnes. I included the controller information for the sake of formality
sweener2001
Inmate
Posts: 1751
Joined: Mon Dec 06, 2004 7:47 am
Location: WA

Post by sweener2001 »

it's not that it's against the rules, it's that he doesn't know why his is working and yours isn't
[img]http://i26.photobucket.com/albums/c128/sweener2001/StewieSIGPIC.png[/img]
paulguy
Zealot
Posts: 1076
Joined: Sat Jul 02, 2005 2:01 am
Contact:

Post by paulguy »

Well, I know this probably isn't the best way but you could create a symlink in /dev/input, since that seems to be where zsnes, at least in linux, looks. I had a similar problem, though, and it turned out the event device for my gamepad had the permissions set to 0600. I changed it to 0666 and it worked. Mind, this was in Linux so I could just be talking out of my ass.
n0dl
New Member
Posts: 3
Joined: Thu Feb 12, 2009 2:20 pm

Post by n0dl »

Thanks for the suggestion Paulguy. As far as symlinking goes I believe the package linux-js creates a symlink of /dev/uhid0 (usb port 0 in freebsd) in /dev/input. I tried setting the permissions to 0666, however the issue remains unresolved :(
Post Reply