0

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 (2.7.6.1-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 pi@192.168.7.2  
^Z
[9]+  Stopped                 sudo ssh pi@192.168.7.2
so@notebook:~$ sudo ssh pi@192.168.7.2
ssh: connect to host 192.168.7.2 port 22: Connection timed out

enter image description here I have another Pi zero which is new and by inserting my the previous SD card to new Pi zero this new Pi also don't recognized by my PC. Update:

I have checked the SD card boot files and seen them changed:

The 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

And the 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:

https://www.raspberrypi.org/forums/viewtopic.php?t=242274

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?

Thanks.

  • sudo apt-get install xorg-input-abi-22 or for stretch: sudo apt-get install xorg-input-abi-24 from your error dpkg: dependency problems prevent configuration of xserver-xorg-input-evdev ? evdev: " evdev is a component of the Linux kernel that manages input devices, such as keyboards, mice, and joysticks." – Ephemeral Jun 4 at 12:56
  • So what is the problem with installing evdev, i have not keyboard or ... but the LCD Default driver need to install it. – Soheil Paper Jun 11 at 15:01
  • i get this comments from form this site : Looks like an upstream problem. Ubuntu's 18.04package xserver-xorg-input-evdev depends upon xorg-input-abi-24, which does not exist in the standard – Soheil Paper Jun 11 at 15:20
  • continued :` Searching it appears that xorg-input-abi-24 is a virtual package, and aside from the dependency in xserver-xorg-input-evdev the functionality could be obtained by loading the two real packages that xorg-input-abi-22 was using` – Soheil Paper Jun 11 at 15:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.