Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

xpad driver on latest Armbian

Featured Replies

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

  • Author

Thank you very much, I will try it, but would it be possible to create also some test build for Banana Pi M1? It is easier for me to test it on this board now. Thank you very much!

  • Author

Thank you very much. I tried BPI image, xpad is present, it detects joystick, but still does not do any actions. Another joystick works, xbox compatible joystick not. Very interesting for me.

 

http://ix.io/2uQkery

  • Author

Thank you very much. I was not sure where to ask for help, did not know if it is Armbian specific bug or general Linux kernel issue.

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....

  • Author

Some time ago I tried that joystick on Pinebook Pro and it did not work either, I think the same problem was with x86 PC in Linux, but have to check it again.

  • Author

I would just expect that many people use SBCs for gaming with Retropie and similar software, mostly RPI, but sunxi devices are interesting for me because of their price.

  • Author

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 :)

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.