api123
Posts: 8
Joined: Sun Jul 17, 2016 11:36 am

Pi 3 VGA

Sun Jul 17, 2016 12:01 pm

I have recently upgraded my B+ Raspberry Pi to a raspberry pi 3. The VGA/HDMI adapter and monitor that I used for my old Pi don't work with my Pi 3.
From what was done last time I understand that I need to access and edit the code. Unfortunately I don't know how to access or the code.
Classic example of done once and promptly forgotten.

DNPNWO
Posts: 126
Joined: Fri Jul 08, 2016 1:51 am

Re: Pi 3 VGA

Sun Jul 17, 2016 1:37 pm

Put pi3 sdcard into a card reader/PC, and edit config.txt

something like:

Code: Select all

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=1
hdmi_mode=1

api123
Posts: 8
Joined: Sun Jul 17, 2016 11:36 am

Re: Pi 3 VGA

Sun Jul 17, 2016 1:56 pm

Thanks when we made the edit, it wouldn't let us save the file. i.e. when we ok'd to let it overwrite the existing file it said it couldn't open it to write.

Any ideas?

DNPNWO
Posts: 126
Joined: Fri Jul 08, 2016 1:51 am

Re: Pi 3 VGA

Sun Jul 17, 2016 2:17 pm

api123 wrote:Thanks when we made the edit, it wouldn't let us save the file. i.e. when we ok'd to let it overwrite the existing file it said it couldn't open it to write.

Any ideas?
Make it writable. Are you using an sdcard adapter? Make sure you have write protection off.

api123
Posts: 8
Joined: Sun Jul 17, 2016 11:36 am

Re: Pi 3 VGA

Sun Jul 17, 2016 2:24 pm

No, we've hooked up the PI to the HDMI socket of the living room TV so there should(?) be no write protect

Thanks again

DNPNWO
Posts: 126
Joined: Fri Jul 08, 2016 1:51 am

Re: Pi 3 VGA

Sun Jul 17, 2016 2:31 pm

api123 wrote:No, we've hooked up the PI to the HDMI socket of the living room TV so there should(?) be no write protect

Thanks again
Are you trying to edit the file though the OS (terminal), or file manager? Did you use sudo?

Terminal:

Code: Select all

sudo nano /boot/config.txt
File Manager (select "tools" and then "run command in current file"):

Code: Select all

gksudo pcmanfm
Last edited by DNPNWO on Sun Jul 17, 2016 2:40 pm, edited 2 times in total.

api123
Posts: 8
Joined: Sun Jul 17, 2016 11:36 am

Re: Pi 3 VGA

Sun Jul 17, 2016 2:36 pm

We opened up the config.txt file through the boot folder. I remember using sudo in the past, is that our way in?
I don't know if the latest raspbian software is less accessible than previous versions.

DirkS
Posts: 10138
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Pi 3 VGA

Sun Jul 17, 2016 2:42 pm

api123 wrote:We opened up the config.txt file through the boot folder. I remember using sudo in the past, is that our way in?
I don't know if the latest raspbian software is less accessible than previous versions.
The FAT partition (/boot directory on a running Raspbian system) always needs admin privileges.
So yes, you need to use sudo (and it always has been that way)

api123
Posts: 8
Joined: Sun Jul 17, 2016 11:36 am

Re: Pi 3 VGA

Sun Jul 17, 2016 4:18 pm

Thanks, my pi is now up and working :D

W. H. Heydt
Posts: 11489
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Pi 3 VGA

Sun Jul 17, 2016 4:31 pm

api123 wrote:Thanks when we made the edit, it wouldn't let us save the file. i.e. when we ok'd to let it overwrite the existing file it said it couldn't open it to write.

Any ideas?
Try using Open Office/Libre Office to edit the file from a PC. It will handle the newline/CR issue correctly. If you're logging in to the Pi using ssh, use your editor of choice, but run it as suod, e.g. "sudo vi /boot/config.txt".

Zebu
Posts: 29
Joined: Tue Aug 11, 2015 1:57 am
Location: Australia

Re: Pi 3 VGA

Mon Jul 18, 2016 5:31 am

Probably not usefull here but just as a side note. When editing config.txt Windows PC, Wordpad rather than Notepad will do a better job of keeping line breaks where they should be

Return to “General discussion”