Raspberry 4 & Yocto & Xorg: tslib가 내 콘솔에 "tslib: 선택한 장치가 Linux 입력 이벤트 장치가 아닙니다"라는 오류가 표시됩니다.

Raspberry 4 & Yocto & Xorg: tslib가 내 콘솔에 "tslib: 선택한 장치가 Linux 입력 이벤트 장치가 아닙니다"라는 오류가 표시됩니다.

저는 Raspberry 터치 스크린(800x480)이 있는 Raspberry 4를 사용하고 있으며 Yocto로 구축된 맞춤형 OS를 가지고 있습니다. 터치 스크린을 사용하려면 tslib 드라이버를 사용합니다.

원하는 기능은 모두 작동하지만 화면을 터치하면 tslib: Selected device is not a Linux input event device 콘솔(직렬 디버그 콘솔)에 오류가 넘쳐 성능이 저하됩니다.

도와주세요?

미리 감사드립니다.

/etc/ts.conf파일:

# Uncomment if you wish to use the linux input layer event interface
module_raw input

# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
# module_raw collie

# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
# module_raw corgi

# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
# module_raw ucb1x00

# Uncomment if you're using an HP iPaq h3600 or similar
# module_raw h3600

# Uncomment if you're using a Hitachi Webpad
# module_raw mk712

# Uncomment if you're using an IBM Arctic II
# module_raw arctic2

module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear

내 Xorg 로그


[     7.761]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[     7.762] Build Operating System: Linux
[     7.762] Current Operating System: Linux raspberrypi4-64 5.4.72-v8 #1 SMP PREEMPT Mon Oct 19 11:12:20 UTC 2020 aarch64
[     7.762] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 video=HDMI-A-1:800x480M@59 smsc95xx.macaddr=DC:A6:32:94:BA:C9 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait logo.nologo vt.global_cursor_default=0 psplash=false
[     7.762] Build Date: 29 March 2020  08:21:46PM
[     7.762]
[     7.762] Current version of pixman: 0.38.4
[     7.762]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[     7.762] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     7.762] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar  9 12:35:19 2018
[     7.786] (==) Using config file: "/etc/X11/xorg.conf"
[     7.786] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     7.808] (==) No Layout section.  Using the first Screen section.
[     7.808] (==) No screen section available. Using defaults.
[     7.808] (**) |-->Screen "Default Screen Section" (0)
[     7.808] (**) |   |-->Monitor "<default monitor>"
[     7.809] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[     7.809] (==) Automatically adding devices
[     7.809] (==) Automatically enabling devices
[     7.809] (==) Automatically adding GPU devices
[     7.809] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     7.816] (WW) The directory "/usr/share/fonts/X11/misc/" does not exist.
[     7.816]    Entry deleted from font path.
[     7.816] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[     7.816]    Entry deleted from font path.
[     7.816] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[     7.816]    Entry deleted from font path.
[     7.816] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
[     7.816]    Entry deleted from font path.
[     7.816] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[     7.816]    Entry deleted from font path.
[     7.816] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[     7.816]    Entry deleted from font path.
[     7.816] (==) FontPath set to:

[     7.816] (==) ModulePath set to "/usr/lib/xorg/modules"
[     7.816] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[     7.816] (II) Loader magic: 0x557f500c28
[     7.816] (II) Module ABI versions:
[     7.816]    X.Org ANSI C Emulation: 0.4
[     7.816]    X.Org Video Driver: 24.1
[     7.816]    X.Org XInput driver : 24.1
[     7.816]    X.Org Server Extension : 10.0
[     7.817] (II) xfree86: Adding drm device (/dev/dri/card1)
[     7.828] (II) xfree86: Adding drm device (/dev/dri/card0)
[     7.829] (II) no primary bus or device found
[     7.829]    falling back to /sys/devices/platform/gpu/drm/card1
[     7.829] (II) LoadModule: "glx"
[     7.853] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     8.117] (II) Module glx: vendor="X.Org Foundation"
[     8.117]    compiled for 1.20.8, module version = 1.0.0
[     8.117]    ABI class: X.Org Server Extension, version 10.0
[     8.117] (==) Matched modesetting as autoconfigured driver 0
[     8.117] (==) Matched fbdev as autoconfigured driver 1
[     8.117] (==) Assigned the driver to the xf86ConfigLayout
[     8.117] (II) LoadModule: "modesetting"
[     8.118] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     8.127] (II) Module modesetting: vendor="X.Org Foundation"
[     8.127]    compiled for 1.20.8, module version = 1.20.8
[     8.127]    Module class: X.Org Video Driver
[     8.127]    ABI class: X.Org Video Driver, version 24.1
[     8.127] (II) LoadModule: "fbdev"
[     8.128] (WW) Warning, couldn't open module fbdev
[     8.128] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     8.128] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     8.128] (--) using VT number 2

[     8.153] (II) modeset(0): using drv /dev/dri/card1
[     8.154] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[     8.154] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[     8.154] (==) modeset(0): RGB weight 888
[     8.154] (==) modeset(0): Default visual is TrueColor
[     8.154] (II) Loading sub module "glamoregl"
[     8.154] (II) LoadModule: "glamoregl"
[     8.154] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[     8.291] (II) Module glamoregl: vendor="X.Org Foundation"
[     8.291]    compiled for 1.20.8, module version = 1.0.1
[     8.291]    ABI class: X.Org ANSI C Emulation, version 0.4
[     8.895] (II) modeset(0): glamor X acceleration enabled on V3D 4.2
[     8.895] (II) modeset(0): glamor initialized
[     8.895] (II) modeset(0): Output DSI-1 has no monitor section
[     8.896] (II) modeset(0): EDID for output DSI-1
[     8.896] (II) modeset(0): Printing probed modes for output DSI-1
[     8.896] (II) modeset(0): Modeline "FIXED_MODE"x60.0   27.78  800 861 863 907  480 487 489 510 +hsync +vsync (30.6 kHz eP)
[     8.896] (II) modeset(0): Output DSI-1 connected
[     8.896] (II) modeset(0): Using exact sizes for initial modes
[     8.896] (II) modeset(0): Output DSI-1 using initial mode FIXED_MODE +0+0
[     8.896] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[     8.896] (==) modeset(0): DPI set to (96, 96)
[     8.896] (II) Loading sub module "fb"
[     8.896] (II) LoadModule: "fb"
[     8.896] (II) Loading /usr/lib/xorg/modules/libfb.so
[     8.902] (II) Module fb: vendor="X.Org Foundation"
[     8.902]    compiled for 1.20.8, module version = 1.0.0
[     8.902]    ABI class: X.Org ANSI C Emulation, version 0.4
[     9.108] (==) modeset(0): Backing store enabled
[     9.108] (==) modeset(0): Silken mouse enabled
[     9.190] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[     9.190] (==) modeset(0): DPMS enabled
[     9.190] (II) modeset(0): [DRI2] Setup complete
[     9.190] (II) modeset(0): [DRI2]   DRI driver: vc4
[     9.190] (II) modeset(0): [DRI2]   VDPAU driver: vc4
[     9.190] (II) Initializing extension Generic Event Extension
[     9.190] (II) Initializing extension SHAPE
[     9.190] (II) Initializing extension MIT-SHM
[     9.190] (II) Initializing extension XInputExtension
[     9.198] (II) Initializing extension XTEST
[     9.198] (II) Initializing extension BIG-REQUESTS
[     9.198] (II) Initializing extension SYNC
[     9.198] (II) Initializing extension XKEYBOARD
[     9.198] (II) Initializing extension XC-MISC
[     9.198] (II) Initializing extension XFIXES
[     9.198] (II) Initializing extension RENDER
[     9.198] (II) Initializing extension RANDR
[     9.198] (II) Initializing extension COMPOSITE
[     9.198] (II) Initializing extension DAMAGE
[     9.198] (II) Initializing extension MIT-SCREEN-SAVER
[     9.198] (II) Initializing extension DOUBLE-BUFFER
[     9.198] (II) Initializing extension DPMS
[     9.198] (II) Initializing extension Present
[     9.198] (II) Initializing extension DRI3
[     9.198] (II) Initializing extension X-Resource
[     9.198] (II) Initializing extension XVideo
[     9.198] (II) Initializing extension XVideo-MotionCompensation
[     9.198] (II) Initializing extension GLX
[     9.208] (II) AIGLX: Loaded and initialized vc4
[     9.208] (II) GLX: Initialized DRI2 GL provider for screen 0
[     9.208] (II) Initializing extension XFree86-VidModeExtension
[     9.208] (II) Initializing extension XFree86-DGA
[     9.208] (II) Initializing extension XFree86-DRI
[     9.210] (II) Initializing extension DRI2
[     9.217] (II) modeset(0): Damage tracking initialized
[     9.217] (II) modeset(0): Setting screen physical size to 211 x 127
[     9.357] (II) config/udev: Adding input device raspberrypi-ts (/dev/input/event0)
[     9.357] (**) raspberrypi-ts: Applying InputClass "evdev touchscreen catchall"
[     9.357] (**) raspberrypi-ts: Applying InputClass "libinput touchscreen catchall"
[     9.357] (**) raspberrypi-ts: Applying InputClass "tslib touchscreen"
[     9.357] (II) LoadModule: "tslib"
[     9.357] (II) Loading /usr/lib/xorg/modules/input/tslib_drv.so
[     9.361] (II) Module tslib: vendor="X.Org Foundation"
[     9.361]    compiled for 1.20.8, module version = 0.0.1
[     9.361]    Module class: X.Org XInput Driver
[     9.361]    ABI class: X.Org XInput driver, version 24.1
[     9.361] (II) Using input driver 'tslib' for 'raspberrypi-ts'
[     9.361] (**) raspberrypi-ts: always reports core events
[     9.361] (**) raspberrypi-ts: always reports core events
[     9.368] (**) Option "config_info" "udev:/sys/devices/platform/soc/soc:firmware/soc:firmware:touchscreen/input/input0/event0"
[     9.368] (II) XINPUT: Adding extended input device "raspberrypi-ts" (type: TOUCHSCREEN, id 6)
[     9.368] (**) raspberrypi-ts: (accel) keeping acceleration scheme 1
[     9.368] (**) raspberrypi-ts: (accel) acceleration profile 0
[     9.368] (**) raspberrypi-ts: (accel) acceleration factor: 2.000
[     9.368] (**) raspberrypi-ts: (accel) acceleration threshold: 4
[     9.369] (II) config/udev: Adding input device raspberrypi-ts (/dev/input/mouse0)
[     9.369] (**) raspberrypi-ts: Applying InputClass "tslib touchscreen"
[     9.369] (II) Using input driver 'tslib' for 'raspberrypi-ts'
[     9.369] (**) raspberrypi-ts: always reports core events
[     9.369] (**) raspberrypi-ts: always reports core events
[     9.369] (**) Option "config_info" "udev:/sys/devices/platform/soc/soc:firmware/soc:firmware:touchscreen/input/input0/mouse0"
[     9.369] (II) XINPUT: Adding extended input device "raspberrypi-ts" (type: TOUCHSCREEN, id 7)
[     9.369] (**) raspberrypi-ts: (accel) keeping acceleration scheme 1
[     9.369] (**) raspberrypi-ts: (accel) acceleration profile 0
[     9.369] (**) raspberrypi-ts: (accel) acceleration factor: 2.000
[     9.369] (**) raspberrypi-ts: (accel) acceleration threshold: 4
[    24.290] (II) modeset(0): Disabling kernel dirty updates, not required.


편집하다:문제를 찾지 못했지만 대안을 찾았습니다.

DM을 LXDE에서 XFCE4로 변경했습니다.


관련 정보