Jump to content

xpad driver on latest Armbian


Wizzard

Recommended Posts

Hello, friends. I am using legacy Armbian 3.x kernel on my development boards where I run Stella emulator with some special USB joystick. The joystick is detected as XBOX controller, hence I guess it uses xpad driver.

The problem is that this driver is not present in the latest Armbian so this joystick does not work. I would like to use latest Armbian to have the latest packages, using it as a print/scan/radio server and would like also to play some Atari game from time to time.

I tried to build it from the source using this https://github.com/paroj/xpad I can load it with modprobe, the joystick seems to be detected, but it is not working in Stella, I cannot even map any of the buttons, seems like it is not generating any event.

I am testing it on Orange Pi PC with Armbian Focal with 5.4.45 kernel.

Thank you very much for any help!

 

Logs: http://ix.io/2uNB

Link to comment
Share on other sites

Well just for the heck of it you could build a new image with sunxi-legacy and joystick support, test it and then grab a normal Ubuntu 20.04 for your PC which comes with kernel 5.4.x too and do a small comparison. I don't there is any difference from the kernel point of view. Though it might be possible that x86 Ubuntu Desktop ships some additional software tools with to make these toys properly work. But there is only one way to find out....

Link to comment
Share on other sites

I just tried it on my x86 PC with Ubuntu Focal with 5.4.0 kernel. Modprobe xpad works, joystick seem to be detected in Stella and Retroarch, just does not work, cannot map any key and it does nothing. Seems like some kernel issue cause it only worked  in on legacy kernel 3.4.x.

 

Just made another quick search and it is problem very similar to this: https://github.com/paroj/xpad/issues/83

 

although the device is different, it has the same id 045e:028e

So it may not be Armbian problem, but general Linux problem, although I still do not know what to do. It is just the best joystick I have for playing  Atari games :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines