Moving Console back to HDMI.

Home Forums Forums Technical Support for PiScreen Moving Console back to HDMI.

Tagged: ,

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #3563
    gjgsmith
    Participant

    I deleted the line of text in the boot cmdline.txt as per the instructions but on rebooting it has made no difference; it's still boots to the PiScreen as normal.

    I'm sure this worked for me before so maybe my boot cmd file is corrupted. Could this also be affecting my Wi-Pi auto recognise issue as well??? (as a guess!)

    My Karma just ran over your Dogma.

    #3564
    Mark Williams
    Keymaster

    Not sure about the Wi-Pi issue, this would be a first.

    What does your cmdline.txt file look like?

    You can also try this.
    Move console to HDMI;
    con2fbmap 1 0

    Move console to PiScreen
    con2fbmap 1 1

    Mark --OzzMaker.com --

    #3566
    gjgsmith
    Participant

    This is the cmdline.txt file text:

    dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

    I entered this into the terminal and then rebooted but still no change.
    con2fbmap 10

    My Karma just ran over your Dogma.

    #3574
    gjgsmith
    Participant

    After re-imaging, the PiScreen is working normally again except that I still can't shift the Console back to HDMI after deleting the respective text.

    Interestingly, on reboot I see the font has changed to a bigger size on the HDMI monitor for a few moments, but then the focus changes to the PiScreen which then loads normally. It's like thee is some other setting that is directing output to the piscreen instead of the HDMI monitor.

    When I enter
    con2fbmap10
    into the terminal, I get the message - bash: con2fbmap10: command not found

    My Karma just ran over your Dogma.

    #3576
    Mark Williams
    Keymaster

    when you enter con2fbmap10.. there is a space on either side of the "1"?
    con2fbmap 1 0

    If you dont have it, then you would need to install it
    sudo apt-get install con2fbmap

    When using con2fbmap, the change is instant and there is no need to reboot.

    Just to be sure... do you see anything out the HDMI port? E.g. colors as the Pi boots?

    Mark --OzzMaker.com --

    #3579
    gjgsmith
    Participant

    Thanks Mark,

    I re-entered command as you said with spaces:
    con2fbmap 1 0
    no success.

    Tried installing:
    sudo apt-get install con2fbmap
    - message returned said: could not find package. I then ran - sudo apt-get update - and tried installing again but with same result. Also tried - sudo pip install con2fbmap - with same result, could not find package.

    FWIW I did successfully install wiringpi2 using:
    sudo pip install wiringpi2
    - no problem there...

    Lastly, when the Pi boots yes, I can see a big 'rainbow' coloured square at the start and all the boot messages show on the HDMI monitor. At the end of the boot process the PiScreen loads the desktop and HDMI go blank. If anything, I have proved you don't need that addition text in the cmdline.txt to get PiScreen working, (on mine anyway!)

    Everything seems to be working fine except for this issue. I'm keen to get the touch buttons working to control the GPIO but would love to be able to use the HDMI monitor to work on it.

    Cheers
    Geoff

    My Karma just ran over your Dogma.

    #3580
    Mark Williams
    Keymaster

    I am at a loss... i am not sure what is wrong.

    When you have time, can you show me the output of these two commands;
    uname -a
    cat /boot/config.txt

    Mark --OzzMaker.com --

    #3583
    gjgsmith
    Participant

    Thanks Mark, hope this helps.
    See attachment.

    My Karma just ran over your Dogma.

    #3585
    gjgsmith
    Participant

    Mark, I don't have any expertise at all in this area but, using some reverse logic, it seems the pi is getting the configuration on boot from somewhere, obviously not the cmdline.txt file. Could it have been cached somewhere else in another file, driver or module perhaps?

    I noticed that the font size of the boot messages is smaller than the normal std Raspbian boot messages, so could it be that the output config settings like font, framebuffer etc... are being picked up somewhere and used early in the boot process? I realised this suggestion is probably 'rubbish' but then something odd seems to be happening here.

    Is there some work-around that I could try in an attempt to isolate the issue like, re-directing FB output to HDMI prior to startx??

    My Karma just ran over your Dogma.

    #3630
    yanunix
    Participant

    I can't switch back to HDMI too.
    The content of cmdline.txt:
    dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

    I tried con2fbmap 1 0 but it's not work.

    ---
    edit:
    I cannot upload pictures, contents of unname -a and config.txt is below:
    uname -a
    config.txt

    #3633
    Mark Williams
    Keymaster

    Sorry for the late reply.

    If you have a spare SD Card, please try this image;
    https://ozzmaker.com/piscreen/PiScreenImage-SDCard-1.7.zip

    It is running the latest Raspbian, which means it runs on Pi 2.
    I tested changing the console from cmdline.txt and it works.

    Mark --OzzMaker.com --

    #3641
    gjgsmith
    Participant

    Thanks Mark,

    I'm assuming the new updated image is compatible with Pi B+ too???

    My Karma just ran over your Dogma.

    #3643
    Mark Williams
    Keymaster

    yes, I have tested in on A, A+, B , B+ and Pi 2

    Mark --OzzMaker.com --

    #3688
    gjgsmith
    Participant

    Sorry for the late reply.

    If you have a spare SD Card, please try this image;

    https://ozzmaker.com/piscreen/PiScreenImage-SDCard-1.7.zip

    It is running the latest Raspbian, which means it runs on Pi 2.
    I tested changing the console from cmdline.txt and it works.

    Hi Mark,
    I re-imaged with your Ver1.7 without any problems, the new X desktop looks good btw, and opened up the cmdline.txt file but found the 'fbcon=map:10 fbcon=rotate:2 fbcon=font:ProFont6x11' was not present. I haven't made any changes or edits to anything, but I thought that this line was needed to direct output to the PiScreen? I tried entering 'con2fbmap 1 0' into the terminal (from X desktop) but still can't move the console back to hdmi.

    I also tried the v1.7 image on a brand new straight out of the box Pi2 with exactly the same result.

    When you say that - "I tested changing the console from cmdline.txt and it works." - would you mind describing exactly what you did? Thanks Mark, Cheers.

    Geoff

    My Karma just ran over your Dogma.

    #3693
    Mark Williams
    Keymaster

    Geoff, we have updated the image, as a few people were saying that 1.7 was having random lockups.

    https://ozzmaker.com/piscreen/PiScreenImage-SDCard-1.8.zip

    I test moving the console on this image and it also works.

    Right after the first boot I entered;
    sudo nano /boot/cmdline.txt
    deleted 'fbcon=map:10 fbcon=rotate:0 fbcon=font:ProFont6x11' from the end, and rebooted.

    Console is now on HDMI

    BTW:
    Try testing with X not running.
    To stop X from automatically starting on each boot.
    edit rc.local
    sudo nano /etc/rc.local
    And add a hash '#' in front of 'su -l pi -c "env FRAMEBUFFER=/dev/fb1 startx &'

    Mark --OzzMaker.com --

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.

Blip, blop, bloop...