Page 2 of 3

Re: Problem on Windows 7

Posted: Thu Aug 28, 2014 6:45 am
by corogame
hello,

i read this post by gobbledygook,
PostPosted: Thu Aug 28, 2014 12:22 am
gobbledygook wrote:I tryed to use Arduino-Leonardo(no overwritten bootloader) and PL2303HX-UART module. its work!
but ubuntu only. On windows(win7, 64bit), GIMX application down A few seconds later after PS4 connection.
(error message: libusb_submit_tansfer: Input/Output Error.\n adapter_forward_data_out failed)

I believe this project will become better. Because this project is very cool. ;)

Thanks for reading to the end my poor english.
im new to GIMX n my english is poor too :).

i have "similar" AVR board (arduino pro micro) and USB-TTL PL2303HX 5 pin (checked with prolific checkchip ver.1006, i hope it is genuine) module, ubuntu 14.04. but they're not working.

- ubuntu+arduino micro+bluetooth setup before GIMX.3 release.

loaded the firmware HEX to micro using arduino builder on windows XP PC. it worked, detected as game controller in device manager.

then i use ubuntu 14.04 laptop (toshiba portege m600).
run helper.sh, i can't plug-unplug my internal bluetooth (bluecore4- bdaddr can be changed), so i plug external bluetooth dongle (not working dongle - bdaddr can not be changed) and the helper did run fine. (got DS4 address, got PS4 address).

run gimx launcher (without external bluetooth) -> (config file selected autobind PS4Killzone) new pairing -> internal bluetooth detected, i paired it with DS4 -> .... -> didnt work (i forget the exact message, something about can not create linkkeys and /home/user/.../... linkkeys directory or file)
run gimx via command line (without external bluetooth) and the same message appear.

i tried those steps few times with internal bluetooth address changed via terminal so it does match my PS4 address and with random addresses.

i guess my internal bluetooth is not working, eventhough its address can be changed.

- ubuntu+arduino micro+DIY USB ADAPTER setup after GIMX.3 release

reseting the arduino micro with arduino ide by loading basic bare-minimum hex, loaded the new firmware HEX to micro using arduino builder on windows XP PC. it did not work. not detected in device manager. (tried this step few times, with pre-GIMX.3 firmware detected as game controller, with GIMX.3 firmware undetected). but after reading post by gobbledygook (above), i think i must have missed something, so i'd like to know what firmware HEX and software loader you used ?

(ubuntu) connecting PL2303HX to micro with cable, run GIMX launcher, as expected not worked, (switching Rx and Tx pins few times). i forget the exact message, something about can not find controller.

i already ordered a teensy ++ 2.0 (i dunno when it will come, its 3,5x more expensive and hard to find in my country so i ran into arduino micro instead) and have FT232RL FTDI (i dunno if it will work with arduino micro or teensy. the CP2102 is as rare as the teensy).

i'm trying to make "the cheapest easy to obtain DIY-USB adapter for dummies (me included)" in my region for many reasons, so me and my friends can run GIMX.

thanks to mattlo for making this project. we (me and my friends) find it more fun making this DIY-USB adapter / bluetooth connection to work rather than playing PS4 game itself :D :D :D

Re: Problem on Windows 7

Posted: Thu Aug 28, 2014 6:54 am
by Matlo
Hello,

Why the hell are you all trying to use a PL2303 adapter when it's not listed in the wiki?!
corogame wrote: run helper.sh, i can't plug-unplug my internal bluetooth (bluecore4- bdaddr can be changed), so i plug external bluetooth dongle (not working dongle - bdaddr can not be changed) and the helper did run fine. (got DS4 address, got PS4 address).
The helper script does nothing more than what the GUI does, so there's no need to run it if you're using the GUI.

Re: Problem on Windows 7

Posted: Thu Aug 28, 2014 11:06 am
by Matlo
corogame wrote: reseting the arduino micro with arduino ide by loading basic bare-minimum hex, loaded the new firmware HEX to micro using arduino builder on windows XP PC. it did not work. not detected in device manager. (tried this step few times, with pre-GIMX.3 firmware detected as game controller, with GIMX.3 firmware undetected).
This is because the DIY USB adapter waits for a gimx order before communicating with the host (PC, PS4...)

What voltage level is your AVR USB board operating at?
It has to be 5V because the gimx firmware needs to run at 16MHz.
Is your PL2303 adapter 5V tolerant? If it's not it can break.

Re: Problem on Windows 7

Posted: Thu Aug 28, 2014 2:29 pm
by inviictzz-_-
Ok my details:

AVR USB Board: teensy 2.0
USB To UART adapter: CP2102
Driver USB to UART adapter: in the tutorial DIY USB for dummies

Re: Problem on Windows 7

Posted: Thu Aug 28, 2014 3:05 pm
by Matlo
inviictzz-_- wrote: Driver USB to UART adapter: in the tutorial DIY USB for dummies
Please go into the device manager and read the driver version!
The link in the tutorial is a redirection to a file that is hosted on a server of the chip manufacturer (ftdi).
Ftdi can update this file at any time. It's possible that I'm using a different version that yours.

Re: Problem on Windows 7

Posted: Thu Aug 28, 2014 3:35 pm
by inviictzz-_-
Im lost Matlo can you give the Link i Can't find it

Re: Problem on Windows 7

Posted: Thu Aug 28, 2014 3:50 pm
by Matlo
Press Windows+Pause, click on device manager.
You'll see something like this:
Image
Double click on the CP210x device, and click on the driver tab.
The driver version is displayed there.

Re: Problem on Windows 7

Posted: Thu Aug 28, 2014 3:51 pm
by inviictzz-_-
Ok Ok :D

Re: Problem on Windows 7

Posted: Thu Aug 28, 2014 4:09 pm
by inviictzz-_-
My version is 6.7.0.0

Re: Problem on Windows 7

Posted: Thu Aug 28, 2014 6:14 pm
by Matlo
I think you forgot to replace the DS4 driver with the libusbK driver.

http://gimx.fr/wiki/index.php?title=Qui ... _adapter_2