Zsnes only detects Hat when root (+ other oddities)

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
Mnemic

Zsnes only detects Hat when root (+ other oddities)

Post by Mnemic »

Zsnes 1.42
Running this on Knoppix Based with kernel 2.6.11

Using a Saitek P-3000 Gamepad

When Zsnes Detects the Gamepad as Device 0 as root, it shows the Hat (D-Pad) and can configure it with no problem.

When logged in as a user it does not however Detect a Hat on Device 0, so its not configurable in zsnes

HOWEVER
if Logged in as a user the Saitek is Detected as Device 1, the Hat works, but doesn't say it detected a Hat in the startup, but the device is configurable in Zsnes.

Not sure if this is a bug or what. 'cat /dev/js0' gives me input on all buttons
same for /dev/js1

but the hat just does not work in zsnes as js1 as a user.

However, for some reason, when signed in as root, zsnes won't detect more then js0, just one controler.

So if I can get either everything working in root, or get hats detected as users, I'll be ok.


Any suggestions?

Edit for clarification:

as root:
Detects Hat on js0
Does not detect more then one device

as users
Does not detect hat on js0, will on js1
Does detect more then one device.
Mnemic

Post by Mnemic »

Other details

Checked PErmissions on all /dev/js* devices, and they have the same permissions. The Hat issue just seems really odd to me.

Jcalibrator works on both /dev/js0 and /dev/js1 as root, so not sure why root won't detect more then 1 controler.
Post Reply