I was installing my LCD 5 Inch TFT files in my raspberry Zero which connected to my PC (Linux LMDE), and after a while i have a mistake pressed accidentally some keyboard bottoms and then with this results I have lost my connection to Pi zero via terminal and now my Pi don't recognized by USB port.
pi@raspberrypi:~/Desktop $ ls LCD-show LCD-show.tar.gz pi@raspberrypi:~/Desktop $ cd LCD-show pi@raspberrypi:~/Desktop/LCD-show $ sudo ./LCD5-show this is raspberrypi kernel 1200 need to update touch configuration Selecting previously unselected package xserver-xorg-input-evdev. (Reading database ... 80889 files and directories currently installed.) Preparing to unpack xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb ... Unpacking xserver-xorg-input-evdev (1:2.10.3-1) ... dpkg: dependency problems prevent configuration of xserver-xorg-input-evdev: xserver-xorg-input-evdev depends on xorg-input-abi-22; however: Package xorg-input-abi-22 is not installed. dpkg: error processing package xserver-xorg-input-evdev (--install): dependency problems - leaving unconfigured Processing triggers for man-db (188.8.131.52-2) ... ^[[B0Errors were encountered while processing: xserver-xorg-input-evdev reboot 0000000000packet_write_wait: Connection to 192.168.7.2 port 22: Broken pipe so@notebook:~$ sudo ssh firstname.lastname@example.org ^Z + Stopped sudo ssh email@example.com so@notebook:~$ sudo ssh firstname.lastname@example.org ssh: connect to host 192.168.7.2 port 22: Connection timed out
I have checked the SD card boot files and seen them changed:
config.txt file is changed to this:
# For more options and information see # http://www.raspberrypi.org/documentation/configuration/config-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 enable_uart=1 # Uncomment this to enable the lirc-rpi module #dtoverlay=lirc-rpi # Additional overlays and parameters are documented /boot/overlays/README dtoverlay=dwc2 # Enable audio (loads snd_bcm2835) dtparam=audio=on max_usb_current=1 hdmi_group=2 hdmi_mode=1 hdmi_mode=87 hdmi_drive=1 hdmi_cvt 800 480 60 6 0 0 0 dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
ssh file in boot folder of SD card has been removed!!!!
I s this problem because of my Linux OS, And if I use Window 8 OS this problem don't occurred?
Update: I have asked this question in raspi reference site by this link:
and i find out there is need to hack the lcd driver files to work with pi zero USB OTG by this way:
kombikeg wrote: ↑ Tue Jun 11, 2019 8:12 am Hi Guys. Totally new to this but having similar issues. Is there a basic tutorial for learning the uncomment commands, # and adding to config? Have down loading NOOBS, loaded card and getting no signal on HDMI screen. When it says add Code: Select all hdmi_force_hotplug=1 config already has that as #hdmi_force_hotplug=1 am I adding the entire text including Code: Select all, or just adding the hdmi_force_hotplug=1 without # at end of config? or just ensuring that it is there as #hdmi_force_hotplug=1? Thanks, going to be a big learning curve on this one. any assistance greatly appreciated
it's worked for me, SO if in stack overflow needs to change the title to SOLVED i can add this text in my question title?