Windows + DIY cable + G27 not working

Need help? Ask here and someone will help
bertie
Posts: 14
Joined: Sat Oct 24, 2015 3:25 pm

Windows + DIY cable + G27 not working

Post by bertie »

Found this site a few days ago and is something I've been searching for!

So I ordered a Teensy 2++ and CP2104 from hobbytronics.co.uk and wired up as per DIY dummies guide. (GND > GND, D2 > TX, D3 > RX)

Downloaded GIMX 5.2, firmwares and Teensy loader. Installed GIMX + USB driver and flashed firmwares/EMUG29PS4/atmega32u4.hex onto Teensy.

Connected CP2104 via USB to PC and checked COM port. Connected PS4 controller with USB cable and G27 USB cable to PC. All show in device manager with no errors.

To clarify, I have it connected as:

PS4 > Teensy - CP2104 > PC USB
DS4 > PC USB
G27 > PC USB

Opened gimx-launcher and downloaded config for Dualshock4 and LogitechG27_G29. Chose DIY USB in Output, correct COM port, Physical Devices in Input, Config LogitechG27_G29.xml and click Check. ** Complains ** Logitech G27 joystick not found. (even though a device with 0x046d as USB vendor id exists). Disconnect DS4 and check reports no DS4 controller connected - correct. Change to Dualshock4.xml config, check works.

But in both config choices, Click start and command window flashes up and quits, too quickly to see what is happening.

1) Could the window not quit so I can capture the error?
2) Is the CP2104 supported? I got this as was only one on site I ordered the Teensy from.
3) Why is GIMX not finding my connected G27?

I have tried the D2/D3 > RX/TX the other way round, no difference.

Thanks

P.s Will order a CP2102 in the mean time....
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Windows + DIY cable + G27 not working

Post by Matlo »

Hi,
1) Select Messages>Log file and click on start. The log file will automatically be opened.
2) The CP2104 should work.
3) Did you install the Logitech Gaming Software?
GIMX creator
bertie
Posts: 14
Joined: Sat Oct 24, 2015 3:25 pm

Re: Windows + DIY cable + G27 not working

Post by bertie »

1) enabled logging (doh) and now can see:
option -l with value `log.txt'
option -c with value `LogitechG27_G29.xml'
option -p with value `COM5'
status flag is set
subpos flag is set
force_updates flag is set
Detected USB adapter: G29 PS4.
libusb_init: Entity not found.
No controller was found on USB buses.
adapter_detect failed
switching RX/TX around I get
.
.
force_updates flag is set
ReadFile failed: timeout expired.
can't read packet header
No controller detected.
adapter_detect failed
2) great

3) yes have installed the Logitech software but G27 still shows as a Human Interface Devices, HID-compliant game controller.
DS4: HID\VID_054C&PID_05C4&REV_0100
G27: HID\VID_046D&PID_C294&REV_1238
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Windows + DIY cable + G27 not working

Post by Matlo »

bertie wrote:Detected USB adapter: G29 PS4.
This message is displayed when the wiring is correct.
bertie wrote:libusb_init: Entity not found.
It seems there is a problem with USBDK.
Did you install GIMX i686 on a 64 bit Windows? If yes, try the x86_64 version instead.
GIMX creator
bertie
Posts: 14
Joined: Sat Oct 24, 2015 3:25 pm

Re: Windows + DIY cable + G27 not working

Post by bertie »

Didn't realise I was running Windows 10 x64. Uninstalled GIMX and reinstalled 64bit version. Manually installed USBDK from tools directory.

Removed all HID devices from device manager, including hidden, and removed CP2104 COM port. Reconnected and allowed to re-install drivers.

Run gimx-launcher, check still fails to detect the G27. Slick start, and command window stays open until shift+esc. Resulting log file is now:
option -l with value `log.txt'
option -c with value `LogitechG27_G29.xml'
option -p with value `COM5'
grab flag is unset
status flag is set
subpos flag is set
force_updates flag is set
native mode is already enabled for HID device \\?\hid#vid_046d&pid_c29b#6&32400ec9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (PID=c29b)
Detected USB adapter: G29 PS4.
using default refresh period: 5.00ms
joystick not found: Logitech G27 Racing Wheel USB 0
Warning: can't open macro directory C:\Users\Richard\AppData\Roaming//gimx//macros/
0 1445768013.638085
0 1445768025.912986, left (255)
0 1445768026.033032
0 1445768026.253014, right (255)
0 1445768026.477958
Exiting
gimx-launcher opened "Run as Administrator" too. Think the left and right logged are from the DS4.
bertie
Posts: 14
Joined: Sat Oct 24, 2015 3:25 pm

Re: Windows + DIY cable + G27 not working

Post by bertie »

Realised there is a x64 Logitech Gaming software. Installed this and now have a Logitech Driving Force USB & Logitech Driving Force USB (HID) in device manager instead.

gimx-launcher still can't detect the G27 though.

p.s created the macros folder and that error has gone away
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Windows + DIY cable + G27 not working

Post by Matlo »

It looks like your wheel is working in compatibility mode.
Were did you download the Logitech gaming software?
GIMX creator
bertie
Posts: 14
Joined: Sat Oct 24, 2015 3:25 pm

Re: Windows + DIY cable + G27 not working

Post by bertie »

Logitech software downloaded from http://support.logitech.com/product/g27-racing-wheel

How do I change it? What mode should it be?

Thx
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Windows + DIY cable + G27 not working

Post by Matlo »

The G27 should show up as a "Logitech G27 Racing Wheel USB" controller in the "Devices and Printers" panel.
Try to uninstall all installed LGS softwares (32bit and 64bit), reboot your computer, and install lgs510_x64.
GIMX creator
bertie
Posts: 14
Joined: Sat Oct 24, 2015 3:25 pm

Re: Windows + DIY cable + G27 not working

Post by bertie »

Seems USB3 ports confuse the G27 and gets recognised wrongly as a Driving Force instead - hence me sometimes seeing DF and sometimes G27 in Device Manager.

Had already uninstalled / reinstalled everything but did again, no joy.

Switched to another PC, Windows 7 32bit, installed GIMX 5.2 (x32), Logitech Software (x32), etc. etc.

Still can't find the G27 in GIMX.

Have put everything on screen and taken a screenshot: http://www.bertie.org/images/screenshot.jpg
Post Reply