Hi,
The raspi-config part is indeed required.
I looked at the raspi-config source code, and there's no way it modifies enable_uart in /boot/config.txt.
https://github.com/asb/raspi-config/blo ... onfig#L523
Pi GPIO in place of USB-UART
Re: Pi GPIO in place of USB-UART
GIMX creator
Re: Pi GPIO in place of USB-UART
Alright so I should follow the rpi gimx directions step by step. Even when I do that I still get the adaptor error. Should I try flipping the rx and tx wires around? Im not sure what it could be because like I said with the usb adaptor it works on my laptop and raspberry pi.
Re: Pi GPIO in place of USB-UART
Be careful with the wiring. The voltage levels are different (5V vs 3.3V). A wrong wiring could damage the RPi.
GIMX creator
Re: Pi GPIO in place of USB-UART
I have double checked everything and it all looks to be wired right. The only other thing would be what order to boot everything up. I start by turning on the ps4 with it plugged into the teensy. Then I turn the raspberry pi with the gpio wires connected. Maybe I should unhook the teensy and boot the raspberry pi up and then the ps4 and then connect the teensy to the ps4... I don't what the issue is unless there is some setting that isn't listed on the tutorial. Does enable_uart=1 have to be added to the config.txt? I have also read about editing the cmdline.txt but I am not sure about that either.
Re: Pi GPIO in place of USB-UART
Please post a log file, and the content of the /boot/config.txt file.
GIMX creator
Re: Pi GPIO in place of USB-UART
# For more options and information see
# http://www.raspberrypi.org/documentatio ... fig-txt.md
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
enable_uart=1
init_uart_clock=8000000
That is the config.txt how would i get a log file on a raspberry pi that is running it in terminal?
# http://www.raspberrypi.org/documentatio ... fig-txt.md
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
enable_uart=1
init_uart_clock=8000000
That is the config.txt how would i get a log file on a raspberry pi that is running it in terminal?
Re: Pi GPIO in place of USB-UART
So two second after i posted that i tried cmd line again and it WORKED not sure why but it did so i shut it all off and tried again and sure enough it worked... Not sure if something didnt install correctly the first time or what. but thanks
Re: Pi GPIO in place of USB-UART
Did you reboot in the meantime?
Rebooting is required to apply the changes.
Rebooting is required to apply the changes.
GIMX creator
Re: Pi GPIO in place of USB-UART
I wanted to post an update on what i have found works best...
First you have to run the script manually trying to have it start at boot does not work. I also found that it works best to have ps4 off. First power on the rpi once thats botted power on the ps4. Then run the manual command in console. I tried creating a script that had two buttons when i press button one it launches gimx when i press button 2 it shuts down. The script works perfect if i run it manually but the instant i try to have it start automatically at boot it does not work... Not sure if anyone on here has any ideas i could try.
First you have to run the script manually trying to have it start at boot does not work. I also found that it works best to have ps4 off. First power on the rpi once thats botted power on the ps4. Then run the manual command in console. I tried creating a script that had two buttons when i press button one it launches gimx when i press button 2 it shuts down. The script works perfect if i run it manually but the instant i try to have it start automatically at boot it does not work... Not sure if anyone on here has any ideas i could try.
Re: Pi GPIO in place of USB-UART
I am using it with the onboard UART since a long time and had the same problem. Power the Pi from Ps4 with a switched of PS4 (not standby). Then wait until G25 started its initialisation procedure turning full right - plug the arduino into the second PS4 Port powering it while wheel is on its way to full left. With this timing its working in 99%. I think there is some trash on uart signal of pi so the arduino thinks it should start sending its "presence" when raspberry is not listening. Later raspberry is listening but arduino is no longer telling it is there. it would by nice if gimx would give us a reset for the arduino on GPiO and then wait for it. Maybe a bigger capacitor keeping the arduino longer in reset and powering both devices same time will also work.
(still using wheezy on Raspberry B).
(still using wheezy on Raspberry B).