Orange Pi

General Chat, Feel Free To talk about anything here.
User avatar
Matlo
Posts: 4344
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Orange Pi

Post by Matlo » Sun Jan 08, 2017 10:39 am

GIMX requires root privileges: https://gimx.fr/wiki/index.php?title=De ... the_setuid
And input devices should be set to the input group: https://gimx.fr/wiki/index.php?title=De ... ermissions
GIMX creator Donate Shop

chuchuchuchu
Posts: 12
Joined: Mon Dec 19, 2016 5:04 pm

Re: Orange Pi

Post by chuchuchuchu » Wed Jan 11, 2017 10:32 am

Hi all,

As summary, I tried compiling by myself different customized armbian 5.24, enabling kernel Joystick support, following the official armbian building guide https://docs.armbian.com/Developer-Guid ... eparation/:
  • armbian 5.24 with kernel 3.4.113-sun8i (jessie) - Joysticks detected under /dev/input/js*
  • armbian 5.24 with kernel 4.9.0-sun8i (jessie) - Joysticks not detected under /dev/input/js*
  • armbian 5.24 with kernel 3.4.113-sun8i (xenial) - Joysticks not detected under /dev/input/js*
  • armbian 5.24 with kernel 4.9.0-sun8i (xenial) - Joysticks not detected under /dev/input/js*
I went ahead with armbian 5.24 with kernel 3.4.113-sun8i (jessie). Using GIMX for raspbian https://gimx.fr/download/gimx-raspbian, DS4 and Wheel were detected successfully (joystick not found message disappeared) and DS4 worked properly on PS4 but the Wheel did not (Message linux/uhidasync.c:223 wait_watch: select timed out remained appearing)

I decided to compile GIMX directly under armbian following https://gimx.fr/wiki/index.php?title=De ... t_on_Linux instructions and once commented some lines related to FILE_ARCH and DOWNLOAD_URL variables (they were not allowing to compile it properly and they does not seem critical) GIMX was compiled but unfortunately, the behavior was the same :(

I tried increasing the time variable under uhidasync.c wait_watch function from 5 to 20 (I don't remember its name now) with no positive result.
Compiling and using agsync tools to check it independently I saw that linux/uhidasync.c:223 wait_watch: select timed out message appears always after native mode is already enabled for HID device 08:01:00:00 (PID=ca03) message using these gasync tools also.

I will keep trying it. For sure it is possible with Orange Pi Zero + armbian as i have saw on links below:
http://page4.auctions.yahoo.co.jp/jp/auction/d215324976 -> GIMX on armbian jessie 5.24
https://item.mercari.com/jp/m173237415/ -> GIMX on armbian jessie 5.24 + Orange Pi Zero (1 USB port)
https://item.mercari.com/jp/m888178184/ -> GIMX on armbian jessie 5.24 + Orange Pi Zero + USB HUB (3 USB port)
[youtube]https://www.youtube.com/watch?v=RBSpeiuD9LM[/youtube]

fishe972
Posts: 6
Joined: Wed Aug 10, 2016 2:30 pm

Re: Orange Pi

Post by fishe972 » Fri Feb 10, 2017 8:30 pm

Yipeee!!! Gimx works on opi pc.i will post tomorrow what i have done. Matlo where right . It was due to the kernel.i activated joystick dev and ev in kernel config and tadaa works with my dfgt and g25. I will write a tutorial later this weekend .but chuchuchuchu dont give up.it works.tried with ttyusb and gimx 6.4 .gimx now does see the ttys uart port also , i will try with it before posting in order to make a complete tuto.thanks matlo

User avatar
Cybereu
Posts: 102
Joined: Sun Jul 10, 2011 1:10 pm

Re: Orange Pi

Post by Cybereu » Thu Feb 16, 2017 2:01 am

Im testing it with DietPi, my only trouble was that wireless module didn't load at boot, solve to that was cpy and paste this on terminal:

Code: Select all

cat << _EOF_ > /etc/systemd/system/xradio_wlan.service
[Unit]
Description=xradio_wlan
After=network.target network-online.target

[Service]
Type=oneshot
RemainAfterExit=yes

ExecStartPre=/bin/bash -c 'modprobe xradio_wlan'
ExecStartPre=/bin/bash -c 'iwconfig wlan0 power off'
ExecStart=/bin/bash -c 'ifup wlan0'

[Install]
WantedBy=multi-user.target
_EOF_
systemctl enable xradio_wlan.service
systemctl daemon-reload
Cant get it working on dietpi, couldnt install bluez package.
Linux 4ev

Post Reply