Ubuntu lubuntu g27
Re: Ubuntu lubuntu g27
GIMX creator
Re: Ubuntu lubuntu g27
Hi Matlo thanks for your time
I tested on my eepc running lubuntu still the same run Gimx press shift escape then run again works fine
On my laptop running Ubuntu it says
error cant read inputs
Log file
option -l with value `log.txt'
option -c with value `LogitechG27_G29.xml'
option -p with value `/dev/ttyUSB0'
status flag is set
subpos flag is set
force_updates flag is set
USB adapter detected, controller type is: G29 PS4.
using default refresh period: 5.00ms
native mode is already enabled for HID device 06:01:00:00 (PID=c29b)
src/input/linux/mkb.c:319 mkb_init: open failed with error: Operation not permitted
Thanks again for your great work if there's anything you want me to test just ask
Cheers
I tested on my eepc running lubuntu still the same run Gimx press shift escape then run again works fine
On my laptop running Ubuntu it says
error cant read inputs
Log file
option -l with value `log.txt'
option -c with value `LogitechG27_G29.xml'
option -p with value `/dev/ttyUSB0'
status flag is set
subpos flag is set
force_updates flag is set
USB adapter detected, controller type is: G29 PS4.
using default refresh period: 5.00ms
native mode is already enabled for HID device 06:01:00:00 (PID=c29b)
src/input/linux/mkb.c:319 mkb_init: open failed with error: Operation not permitted
Thanks again for your great work if there's anything you want me to test just ask
Cheers
Re: Ubuntu lubuntu g27
Hi,
I need a full log file for the first and second tries. Select "Log file" in the "Messages" drop-down menu of gimx-launcher.
I need a full log file for the first and second tries. Select "Log file" in the "Messages" drop-down menu of gimx-launcher.
GIMX creator
Re: Ubuntu lubuntu g27
Ok first running of Gimx
http://pastebin.com/5z5bDNpu
Pressed ps button no response
Pressed shift escape
Second run of Gimx
http://pastebin.com/uemQKgDR
Hope this helps
Any thing else please ask
http://pastebin.com/5z5bDNpu
Pressed ps button no response
Pressed shift escape
Second run of Gimx
http://pastebin.com/uemQKgDR
Hope this helps
Any thing else please ask
Re: Ubuntu lubuntu g27
Hi Thanks Again For your great Work Matlo
i made a script that runs at startup
its a bit rough but gets the job done
it runs Gimx quits xterm then runs again
so now i just press the power button on my eeepc wait a few seconds start racing in drive club dirt rally etc
when finished i shut dow ps4 from the wheel press power button eeepc that shuts down
i made a script that runs at startup
its a bit rough but gets the job done
it runs Gimx quits xterm then runs again
so now i just press the power button on my eeepc wait a few seconds start racing in drive club dirt rally etc
when finished i shut dow ps4 from the wheel press power button eeepc that shuts down
Code: Select all
#!/bin/bash
sleep 4
# /home/mrgonuts/Desktop/test.sh
sleep 1
/usr/bin/gimx-launcher &
sleep 2
xdotool search --onlyvisible --name Information windowactivate
WINIDError=`xdotool getactivewindow`
xdotool key Return
echo $WINIDError
sleep 1
xdotool search --onlyvisible --name Gimx-launcher windowactivate
WINID=`xdotool getactivewindow`
echo $WINID
TOP_LEFT_X=`xwininfo -all -int -id $WINID|grep Absolute |grep X |cut -d ':' -f2 |sed 's/ //g'`
TOP_LEFT_Y=`xwininfo -all -int -id $WINID|grep Absolute |grep Y |cut -d ':' -f2 |sed 's/ //g'`
xdotool mousemove $TOP_LEFT_X $TOP_LEFT_Y
WIDTH=`xwininfo -all -int -id $WINID|grep Width|cut -d ':' -f2 |cut -d ' ' -f2`
HEIGHT=`xwininfo -all -int -id $WINID|grep Height|cut -d ':' -f2 |cut -d ' ' -f2`
CENTER_X=`echo $WIDTH/2|bc`
CENTER_Y=`echo $HEIGHT/2|bc`
#move the mouse to the start button
xdotool mousemove_relative `echo $CENTER_X+50|bc` `echo $HEIGHT-100|bc` click 1
sleep 1
#xdotool mousemove_relative `echo $CENTER_X+60|bc` `echo $HEIGHT-50|bc` click 1
xdotool mousemove_relative 0 50 click 1
sleep 3
var= xdotool search --class xterm getwindowpid
xdotool getactivewindow windowkill
sleep 2
xdotool key Return
xdotool search --onlyvisible --name Gimx-launcher windowactivate
WINID=`xdotool getactivewindow`
xdotool mousemove $TOP_LEFT_X $TOP_LEFT_Y
xdotool mousemove_relative `echo $CENTER_X+60|bc` `echo $HEIGHT-50|bc` click 1
Re: Ubuntu lubuntu g27
Hi,
This looks complicated.
Try this:
Don't forget to adjust config.xml.
The first line starts GIMX and stops it after 5 seconds.
Second line starts GIMX normally.
This looks complicated.
Try this:
Code: Select all
timeout 5 gimx -p /dev/ttyUSB0 -c config.xml --force-updates --subpos
gimx -p /dev/ttyUSB0 -c config.xml --force-updates --subpos
The first line starts GIMX and stops it after 5 seconds.
Second line starts GIMX normally.
GIMX creator
Re: Ubuntu lubuntu g27
Hi thanks I'll give it a try later thanks