GithubHelp home page GithubHelp logo

Comments (20)

yunshansimon avatar yunshansimon commented on July 20, 2024 2

At last, we got an official 7inch display. The magic to fix this issue is changing dtoverlay=vc4-kms-v3d,cma-128 to dtoverlay=vc4-fkms-v3d,cma-128 in config.txt . Good luck!

from chromium_os-raspberry_pi.

nmcain avatar nmcain commented on July 20, 2024 1

From my testing, you want something that does not require a Goodix or Silead touch driver.

from chromium_os-raspberry_pi.

yunshansimon avatar yunshansimon commented on July 20, 2024

if you can provide /var/log/messages and shot screen of evtest, that will make things easier.

from chromium_os-raspberry_pi.

akavkl avatar akavkl commented on July 20, 2024

In r72 HDMI driver 2 forces to HDMI hence dsi doesn't work

from chromium_os-raspberry_pi.

yunshansimon avatar yunshansimon commented on July 20, 2024

Any flags in config.txt like hdmi_drive=2 are editable. You can modify them regard as your hardware. dtoverlay=vc4-kms-v3d,cma-128 is only necessary for Chromium OS.

from chromium_os-raspberry_pi.

nmcain avatar nmcain commented on July 20, 2024

from chromium_os-raspberry_pi.

akavkl avatar akavkl commented on July 20, 2024

Write protected hence couldn't change it

from chromium_os-raspberry_pi.

akavkl avatar akavkl commented on July 20, 2024

Only possible way now is using ssh and replacing it with modified one

from chromium_os-raspberry_pi.

yunshansimon avatar yunshansimon commented on July 20, 2024

Does it work? If it does, please share your knowledge about it.

from chromium_os-raspberry_pi.

nmcain avatar nmcain commented on July 20, 2024

How do I get the touch screen working??

from chromium_os-raspberry_pi.

Gordon1974 avatar Gordon1974 commented on July 20, 2024

Anyone found a resolution to this yet?

from chromium_os-raspberry_pi.

MuTong233 avatar MuTong233 commented on July 20, 2024

Yeah,I am using a 7inch touch screen,but my screen resolution is 1024x600.It works very well and everything is OK.At first,My screen is blank too,I solved it by a 3rd party power adapter.Connect the power/touch cable to a power adapter such as smartphone charger and after logged in,put the cable back.I think it's because the HDMI detection can't work very well.

from chromium_os-raspberry_pi.

MarcKarasek avatar MarcKarasek commented on July 20, 2024

Any resolution to this? Would like to get this working on a7" touch screen.

Did you have a hdmi connected and then switched over to touch?

from chromium_os-raspberry_pi.

xmapst avatar xmapst commented on July 20, 2024

Does it support output to the official 7-inch touch display of raspberrypi through the display dsi interface?

from chromium_os-raspberry_pi.

xmapst avatar xmapst commented on July 20, 2024

Which version? What needs to be configured?

from chromium_os-raspberry_pi.

fydeos-alpha avatar fydeos-alpha commented on July 20, 2024

@xmapst
This issue was about the compatibility of the official 7-inch display with Raspberry Pi 3B / 3B+ releases. All releases were affected.

Releases on Raspberry Pi 4B is not affected.

The solution has been provided above, by adding some extra configs to config.txt under partition 12.

A couple of methods to modify this config.txt:

  • Boot target Chromium OS on a Pi, but with a different display setup so that you can see UI. Enter tty shell by hitting ctrl + alt + F2, log in with username chronos. Issue the following command to:

    • Gain sudo access and read/write permission
    • Create a mount point
    • Mount partition 12: it should be mmcblk0p12, check lsblk if it is
    • Do your modification
    • Save, un-mount, reboot
    sudo su
    mount -o remount rw /
    mkdir /tmp/p12
    mount /dev/mmcblk0p12 /tmp/p12
    
    vim /tmp/p12/config.txt    
    #do your changes by changing dtoverlay=vc4-fkms-v3d,cma-128
    
    umount /tmp/p12
    reboot
    
  • Or you can directly modify chromiumos_test_image_<version_string>.img on a Linux machine by mounting its partition 12 and do your modifications:

# uncompress your image file first
xz -d  chromiumos_test_image_<version_string>.img.xz

# add its partition mappings to your host
sudo kpartx -a chromiumos_test_image_<version_string>.img

# list its partition mappings, take note of the loop device it has created
sudo kpartx -l chromiumos_test_image_<version_string>.img

# We will use loop0 as an example, create a mount point, mount it
sudo mkdir /mnt/crosp12
sudo mount -t ext2 /dev/mapper/loop0p12 -o ro /mnt/crosp12

# do your change, by changing dtoverlay=vc4-fkms-v3d,cma-128
sudo vim /mnt/crosp12/config.txt

# Once changes are made and saved, delete the mappings
sudo kpartx -d chromiumos_test_image_<version_string>.img

from chromium_os-raspberry_pi.

gchino avatar gchino commented on July 20, 2024

mount /dev/sda12 /tmp/p12
At this line, i received an error stating that special device /dev/sda12 does not exist
how can i rectify this?

from chromium_os-raspberry_pi.

 avatar commented on July 20, 2024

After using

@xmapst
This issue was about the compatibility of the official 7-inch display with Raspberry Pi 3B / 3B+ releases. All releases were affected.

Releases on Raspberry Pi 4B is not affected.

The solution has been provided above, by adding some extra configs to config.txt under partition 12.

A couple of methods to modify this config.txt:

  • Boot target Chromium OS on a Pi, but with a different display setup so that you can see UI. Enter tty shell by hitting ctrl + alt + F2, log in with username chronos. Issue the following command to:

    • Gain sudo access and read/write permission
    • Create a mount point
    • Mount partition 12: it should be mmcblk0p12, check lsblk if it is
    • Do your modification
    • Save, un-mount, reboot
    sudo su
    mount -o remount rw /
    mkdir /tmp/p12
    mount /dev/mmcblk0p12 /tmp/p12
    
    vim /tmp/p12/config.txt    
    #do your changes by changing dtoverlay=vc4-fkms-v3d,cma-128
    
    umount /tmp/p12
    reboot
    
  • Or you can directly modify chromiumos_test_image_<version_string>.img on a Linux machine by mounting its partition 12 and do your modifications:

# uncompress your image file first
xz -d  chromiumos_test_image_<version_string>.img.xz

# add its partition mappings to your host
sudo kpartx -a chromiumos_test_image_<version_string>.img

# list its partition mappings, take note of the loop device it has created
sudo kpartx -l chromiumos_test_image_<version_string>.img

# We will use loop0 as an example, create a mount point, mount it
sudo mkdir /mnt/crosp12
sudo mount -t ext2 /dev/mapper/loop0p12 -o ro /mnt/crosp12

# do your change, by changing dtoverlay=vc4-fkms-v3d,cma-128
sudo vim /mnt/crosp12/config.txt

# Once changes are made and saved, delete the mappings
sudo kpartx -d chromiumos_test_image_<version_string>.img

the display shows up on the screen but touch controls do not work what so ever

from chromium_os-raspberry_pi.

zan73 avatar zan73 commented on July 20, 2024

The line:
sudo mount -t ext2 /dev/mapper/loop0p12 -o ro /mnt/crosp12
Should be:
sudo mount -t msdos /dev/mapper/loop0p12 -o rw /mnt/crosp12

from chromium_os-raspberry_pi.

nico151999 avatar nico151999 commented on July 20, 2024

Is there a list of supported touch screens? Would prefer a screen around 10".

from chromium_os-raspberry_pi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.