CB1 icon indicating copy to clipboard operation
CB1 copied to clipboard

Enabling USB via config.txt

Open atcproxys opened this issue 2 years ago • 12 comments

Attempting to use a touch screen with the cb1. They say to change the config.txt file which is never created on the current images. Adding it manually doesn't enable USB either.

support said: Hello, this file is in your system settings. A USB 2.0 Hub is loaded on the Pad5 board. In order to save power, the USB port of CM4 is disabled by default. If you need to enable it, you need to add the following contents to the config.txt file:

dtoverlay=dwc2,dr_ mode=host

Does anyone know how to enable USB when the config file doesn't exist?

atcproxys avatar Nov 21 '22 19:11 atcproxys

You have to edit the config file when the SD card is plugged into a computer, not when its in the CB1. The config file is located on the small FAT32 partition.

emersonsc avatar Nov 22 '22 14:11 emersonsc

FAT32 partition

Hi,

That is where I'm looking for the config.txt but it doesn't exist.

Drive contents

atcproxys avatar Nov 22 '22 18:11 atcproxys

i believe its the system.cfg the same place where you add lines for the wifi and other variables.

emersonsc avatar Nov 23 '22 14:11 emersonsc

The USB on CB1 is enabled by default. If your touchscreen does not work, the problem is somewhere else. The config.txt settings only apply for CM4.

frutabruta avatar Nov 28 '22 16:11 frutabruta

So this module is not compatible with a raspberry pi touchscreen then

On Mon, Nov 28, 2022 at 8:40 AM frutabruta @.***> wrote:

The USB on CB1 is enabled by default. If your touchscreen does not work, the problem is somewhere else. The config.txt settings only apply for CM4.

— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/CB1/issues/64#issuecomment-1329405134, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI4HR5XSLJLGTNGDRVS3E6LWKTOAVANCNFSM6AAAAAASG7XHH4 . You are receiving this because you authored the thread.Message ID: @.***>

-- Let us know if you have any more questions!

Amber Hughes, Support Atcproxys.com @.***

Copyright © ATCproxys, All rights reserved.

atcproxys avatar Nov 28 '22 20:11 atcproxys

So this module is not compatible with a raspberry pi touchscreen then

Which one? What specific make/model screen are you trying to use?

emersonsc avatar Nov 28 '22 20:11 emersonsc

No, displays connected via DSI interface are not supported on CB1 (BTT Pad 5 and official 7" Raspberry display). You can use only HDMI connected displays (some SPI displays might be added later). From BTT Pad 5 product webpage:

Please note: 2, The Raspberry Pad 5 couldn't work with CB1, please be aware. https://biqu.equipment/products/bigtreetech-raspberry-pad-5

BTT HDMI 5 works fine.

frutabruta avatar Nov 28 '22 20:11 frutabruta

This is what I have.

Touchscreen Monitor, EVICIV 7 Inch Portable USB Monitor Raspberry Pi Touch Screen IPS Display Computer Monitor 1024X600 16:9 Game Monitor for Pi 4/3 / https://www.amazon.com/dp/B07L6WT77H/ref=cm_sw_r_cp_apip_KwL14xE5gdc4B

On Mon, Nov 28, 2022 at 12:09 PM Emerson Corder @.***> wrote:

So this module is not compatible with a raspberry pi touchscreen then

Which one? What specific make/model screen are you trying to use?

— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/CB1/issues/64#issuecomment-1329704305, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI4HR5Q4S2C7KWD3L5JBPKDWKUGQXANCNFSM6AAAAAASG7XHH4 . You are receiving this because you authored the thread.Message ID: @.***>

-- Let us know if you have any more questions!

Amber Hughes, Support Atcproxys.com @.***

Copyright © ATCproxys, All rights reserved.

atcproxys avatar Nov 28 '22 20:11 atcproxys

This screen uses hdmi for signal and usb for power and touch screen input. DSI is not used for it which means there should be a touch screen driver fix?

On Mon, Nov 28, 2022 at 12:10 PM frutabruta @.***> wrote:

No, displays connected via DSI interface are not supported on CB1 (BTT Pad 5 and official 7" Raspberry display). You can use only HDMI connected displays (some SPI displays might be added later). From BTT Pad 5 product webpage:

Please note: 2, The Raspberry Pad 5 couldn't work with CB1, please be aware. https://biqu.equipment/products/bigtreetech-raspberry-pad-5

BTT HDMI 5 works fine.

— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/CB1/issues/64#issuecomment-1329705712, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI4HR5QPZRM5JRZ57CMK2TLWKUGU3ANCNFSM6AAAAAASG7XHH4 . You are receiving this because you authored the thread.Message ID: @.***>

-- Let us know if you have any more questions!

Amber Hughes, Support Atcproxys.com @.***

Copyright © ATCproxys, All rights reserved.

atcproxys avatar Nov 28 '22 20:11 atcproxys

@atcproxys so it is a HDMI display. So you should be able to see the image. If the touch layer does not work, you might try this sudo apt install xserver-xorg-input-libinput If that did not help, the toushcreen uses some non sstandard driver.

frutabruta avatar Nov 28 '22 20:11 frutabruta

Looks like that package was already on the image so it sounds like it needs a different driver. Too bad.

On Mon, Nov 28, 2022 at 12:14 PM frutabruta @.***> wrote:

@atcproxys https://github.com/atcproxys so it is a HDMI display. So you should be able to see the image. If the touchscreen does not work, you might try this sudo apt install xserver-xorg-input-libinput If that did not help, the toushcreen uses some non sstandard driver.

— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/CB1/issues/64#issuecomment-1329709998, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI4HR5XXLAG2CAHHDGMQGVLWKUHB7ANCNFSM6AAAAAASG7XHH4 . You are receiving this because you were mentioned.Message ID: @.***>

-- Let us know if you have any more questions!

Amber Hughes, Support Atcproxys.com @.***

Copyright © ATCproxys, All rights reserved.

atcproxys avatar Nov 28 '22 20:11 atcproxys

@frutabruta did you ever resolve the touch issues with your screen? I appear to be having a similar issue. I can see that the touch device is detected but it is completely unresponsive.

khaltis avatar Aug 01 '23 12:08 khaltis

cmd the 'sudo apt install xserver-xorg-input-libinput' did help for me!

SokolovJek avatar Sep 27 '24 09:09 SokolovJek