Which Khadas SBC do you use?
VIM3
Which system do you use? Android, Ubuntu, OOWOW or others?
Android
Which version of system do you use? Khadas official images, self built images, or others?
Android12
Please describe your issue below:
VIM3开发板+TS050触摸屏,在出厂自带的Android P镜像下工作良好。但是在将VIM3镜像更新为Android12(参考Google doc)后,TS050触摸屏失灵。LCD未驱动成功,但是外接HDMI屏幕是可以正常显示的。新的Android12 内核版本换成了5.4.189,是不是这个版本的内核没有TS050相关驱动?请问如何解决这个问题?
@jasonl, @goenjoy
Post a console log of your issue below:
Google doc link:https://source.android.com/setup/build/devices#vim3_and_vim3l_boards
dumpsys display查看屏幕信息明显不对:
Display Devices: size=1
DisplayDeviceInfo{"Built-in Screen": uniqueId="local:0", 1024 x 768, modeId 1, defaultModeId 1, supportedModes [{id=1, width=1024, height=768, fps=60.00384, alternativeRefreshRates=[]}, {id=2, width=800, height=600, fps=60.31654, alternativeRefreshRates=[56.250004]}, {id=3, width=800, height=600, fps=56.250004, alternativeRefreshRates=[60.31654]}, {id=4, width=848, height=480, fps=60.00043, alternativeRefreshRates=[]}], colorMode 0, supportedColorModes [0], hdrCapabilities HdrCapabilities{mSupportedHdrTypes=[], mMaxLuminance=500.0, mMaxAverageLuminance=500.0, mMinLuminance=0.0}, allmSupported false, gameContentTypeSupported false, density 320, 213.0 x 213.0 dpi, appVsyncOff 1000000, presDeadline 16665600, touch INTERNAL, rotation 0, type INTERNAL, address {port=0}, deviceProductInfo null, state ON, frameRateOverride , brightnessMinimum 0.0, brightnessMaximum 1.0, brightnessDefault 0.39763778, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
mAdapter=LocalDisplayAdapter
mUniqueId=local:0
mDisplayToken=android.os.BinderProxy@ff126b
mCurrentLayerStack=0
mCurrentFlags=1
mCurrentOrientation=0
mCurrentLayerStackRect=Rect(0, 0 - 1024, 768)
mCurrentDisplayRect=Rect(0, 0 - 1024, 768)
mCurrentSurface=null
mPhysicalDisplayId=0
mDisplayModeSpecs={baseModeId=1 allowGroupSwitching=false primaryRefreshRateRange=[0 60] appRequestRefreshRateRange=[0 Infinity]}
mDisplayModeSpecsInvalid=false
mActiveModeId=1
mActiveColorMode=0
mDefaultModeId=1
mState=ON
mBrightnessState=0.05
mBacklightAdapter=BacklightAdapter [useSurfaceControl=false (force_anyway? false), backlight=com.android.server.lights.LightsService$LightImpl@df9a1c8]
mAllmSupported=false
mAllmRequested=false
mGameContentTypeSupported=false
mGameContentTypeRequested=false
mStaticDisplayInfo=StaticDisplayInfo{isInternal=true, density=2.0, secure=true, deviceProductInfo=null}
mSfDisplayModes=
DisplayMode{id=0, width=1024, height=768, xDpi=213.0, yDpi=213.0, refreshRate=60.00384, appVsyncOffsetNanos=1000000, presentationDeadlineNanos=16665600, group=1}
DisplayMode{id=1, width=800, height=600, xDpi=213.0, yDpi=213.0, refreshRate=60.31654, appVsyncOffsetNanos=1000000, presentationDeadlineNanos=16579200, group=2}
DisplayMode{id=2, width=800, height=600, xDpi=213.0, yDpi=213.0, refreshRate=56.250004, appVsyncOffsetNanos=1000000, presentationDeadlineNanos=17777777, group=2}
DisplayMode{id=3, width=848, height=480, xDpi=213.0, yDpi=213.0, refreshRate=60.00043, appVsyncOffsetNanos=1000000, presentationDeadlineNanos=16666547, group=3}
mActiveSfDisplayMode=DisplayMode{id=0, width=1024, height=768, xDpi=213.0, yDpi=213.0, refreshRate=60.00384, appVsyncOffsetNanos=1000000, presentationDeadlineNanos=16665600, group=1}
mSupportedModes=
DisplayModeRecord{mMode={id=1, width=1024, height=768, fps=60.00384, alternativeRefreshRates=[]}}
DisplayModeRecord{mMode={id=2, width=800, height=600, fps=60.31654, alternativeRefreshRates=[56.250004]}}
DisplayModeRecord{mMode={id=3, width=800, height=600, fps=56.250004, alternativeRefreshRates=[60.31654]}}
DisplayModeRecord{mMode={id=4, width=848, height=480, fps=60.00043, alternativeRefreshRates=[]}}
mSupportedColorModes=[0]
mDisplayDeviceConfig=DisplayDeviceConfig{mLoadedFrom=<config.xml>, mBacklight=null, mNits=null, mRawBacklight=null, mRawNits=null, mBrightness=null, mBrightnessToBacklightSpline=MonotoneCubicSpline{[(0.0, 0.0: 1.0), (1.0, 1.0: 1.0)]}, mBacklightToBrightnessSpline=MonotoneCubicSpline{[(0.0, 0.0: 1.0), (1.0, 1.0: 1.0)]}, mBacklightMinimum=0.035433073, mBacklightMaximum=1.0, mBrightnessDefault=0.39763778, mQuirks=null, isHbmEnabled=false, mHbmData=null, mBrightnessRampFastDecrease=0.70472443, mBrightnessRampFastIncrease=0.70472443, mBrightnessRampSlowDecrease=0.23228346, mBrightnessRampSlowIncrease=0.23228346, mScreenDarkeningMinThreshold=0.0, mScreenBrighteningMinThreshold=0.0, mAmbientLuxDarkeningMinThreshold=0.0, mAmbientLuxBrighteningMinThreshold=0.0, mAmbientLightSensor=Sensor{type: , name: , refreshRateRange: [0.0, Infinity]} , mProximitySensor=Sensor{type: , name: , refreshRateRange: [0.0, Infinity]} , mRefreshRateLimitations= []}