My mobile is htc shooteru(evo 3d gsm) whose cpu is msm8660, but I can't make debian wheezy armhf's xorg work on it.I can't use cat /dev/urandom > /dev/fb0 to change screen, it will only show htc logo, but in android, cat /dev/urandom > /dev/graphics/fb0 can make screen changed.Or I didn't config kernel properly.
And how to turn off screen? I know echo 1 > /dev/class/graphics/fb0/blank , but if you using power button to do that , you can only turn on screen by pressing the power button again.
I want to know which sysfs entry control it.
Here is the xorg log
[ 15.203]
X.Org X Server 1.12.3
Release Date: 2012-07-09
[ 15.203] X Protocol Version 11, Revision 0
[ 15.203] Build Operating System: Linux 3.2.0-3-mx5 armv7l Debian
[ 15.203] Current Operating System: Linux MINAMO 3.0.16 #2 SMP PREEMPT Sun Aug 5 18:21:39 CST 2012 armv7l
[ 15.203] Kernel command line: poweron_status=1 board_shooter_u.disable_uart3=0 diag.enabled=0 board_shooter_u.debug_uart=0 userdata_sel=0 androidboot.emmc=true androidboot.pagesize=2048 skuid=0 ddt=20 androidboot.lb=1 androidboot.baseband=11.23.3504.09_M2 androidboot.cid=0202 androidboot.batt_poweron=good_battery androidboot.carrier=COMMON androidboot.mid=PG8630000 androidboot.keycaps=qwerty androidboot.dq=PASS androidboot.mode=normal androidboot.serialno=HT1CWV213674 androidboot.bootloader=1.49.1107 zygote_oneshot=off msm_watchdog.enable=1 root=/dev/mmcblk1p2 rw rootwait noinitrd init=/sbin/init
[ 15.203] Build Date: 18 July 2012 09:49:51AM
[ 15.203] xorg-server 2:1.12.3-1 (Julien Cristau <[email protected]>)
[ 15.203] Current version of pixman: 0.26.0
[ 15.203] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 15.203] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 15.204] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug 8 03:45:21 2012
[ 15.223] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 15.228] (==) No Layout section. Using the first Screen section.
[ 15.228] (==) No screen section available. Using defaults.
[ 15.228] (**) |-->Screen "Default Screen Section" (0)
[ 15.228] (**) | |-->Monitor "<default monitor>"
[ 15.229] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 15.229] (==) Automatically adding devices
[ 15.229] (==) Automatically enabling devices
[ 15.266] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 15.266] Entry deleted from font path.
[ 15.266] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 15.266] Entry deleted from font path.
[ 15.266] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 15.266] Entry deleted from font path.
[ 15.266] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 15.266] Entry deleted from font path.
[ 15.266] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 15.266] Entry deleted from font path.
[ 15.266] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 15.266] Entry deleted from font path.
[ 15.266] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[ 15.267] Entry deleted from font path.
[ 15.267] (==) FontPath set to:
/usr/share/fonts/X11/misc,
built-ins
[ 15.267] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 15.267] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 15.267] (II) Loader magic: 0x401c1cf0
[ 15.267] (II) Module ABI versions:
[ 15.267] X.Org ANSI C Emulation: 0.4
[ 15.267] X.Org Video Driver: 12.0
[ 15.267] X.Org XInput driver : 16.0
[ 15.267] X.Org Server Extension : 6.0
[ 15.267] (II) LoadModule: "extmod"
[ 15.271] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 15.282] (II) Module extmod: vendor="X.Org Foundation"
[ 15.282] compiled for 1.12.3, module version = 1.0.0
[ 15.282] Module class: X.Org Server Extension
[ 15.282] ABI class: X.Org Server Extension, version 6.0
[ 15.282] (II) Loading extension SELinux
[ 15.282] (II) Loading extension MIT-SCREEN-SAVER
[ 15.282] (II) Loading extension XFree86-VidModeExtension
[ 15.282] (II) Loading extension XFree86-DGA
[ 15.282] (II) Loading extension DPMS
[ 15.282] (II) Loading extension XVideo
[ 15.282] (II) Loading extension XVideo-MotionCompensation
[ 15.282] (II) Loading extension X-Resource
[ 15.283] (II) LoadModule: "dbe"
[ 15.283] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 15.286] (II) Module dbe: vendor="X.Org Foundation"
[ 15.286] compiled for 1.12.3, module version = 1.0.0
[ 15.286] Module class: X.Org Server Extension
[ 15.286] ABI class: X.Org Server Extension, version 6.0
[ 15.286] (II) Loading extension DOUBLE-BUFFER
[ 15.286] (II) LoadModule: "glx"
[ 15.286] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 15.304] (II) Module glx: vendor="X.Org Foundation"
[ 15.304] compiled for 1.12.3, module version = 1.0.0
[ 15.304] ABI class: X.Org Server Extension, version 6.0
[ 15.304] (==) AIGLX enabled
[ 15.304] (II) Loading extension GLX
[ 15.305] (II) LoadModule: "record"
[ 15.305] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 15.309] (II) Module record: vendor="X.Org Foundation"
[ 15.310] compiled for 1.12.3, module version = 1.13.0
[ 15.310] Module class: X.Org Server Extension
[ 15.310] ABI class: X.Org Server Extension, version 6.0
[ 15.310] (II) Loading extension RECORD
[ 15.310] (II) LoadModule: "dri"
[ 15.310] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 15.319] (II) Module dri: vendor="X.Org Foundation"
[ 15.319] compiled for 1.12.3, module version = 1.0.0
[ 15.319] ABI class: X.Org Server Extension, version 6.0
[ 15.319] (II) Loading extension XFree86-DRI
[ 15.319] (II) LoadModule: "dri2"
[ 15.320] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 15.322] (II) Module dri2: vendor="X.Org Foundation"
[ 15.322] compiled for 1.12.3, module version = 1.2.0
[ 15.322] ABI class: X.Org Server Extension, version 6.0
[ 15.322] (II) Loading extension DRI2
[ 15.322] (==) Matched fbdev as autoconfigured driver 0
[ 15.322] (==) Assigned the driver to the xf86ConfigLayout
[ 15.322] (II) LoadModule: "fbdev"
[ 15.327] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 15.330] (II) Module fbdev: vendor="X.Org Foundation"
[ 15.330] compiled for 1.12.1, module version = 0.4.2
[ 15.330] ABI class: X.Org Video Driver, version 12.0
[ 15.330] (II) FBDEV: driver for framebuffer: fbdev
[ 15.330] (++) using VT number 7
[ 15.333] (WW) Falling back to old probe method for fbdev
[ 15.333] (II) Loading sub module "fbdevhw"
[ 15.333] (II) LoadModule: "fbdevhw"
[ 15.333] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 15.335] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 15.335] compiled for 1.12.3, module version = 0.0.2
[ 15.335] ABI class: X.Org Video Driver, version 12.0
[ 15.336] (II) FBDEV(0): using default device
[ 15.336] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 15.336] (II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 15.336] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[ 15.336] (==) FBDEV(0): RGB weight 888
[ 15.336] (==) FBDEV(0): Default visual is TrueColor
[ 15.336] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 15.336] (II) FBDEV(0): hardware: msmfb40_90201 (video memory: 6120kB)
[ 15.336] (II) FBDEV(0): checking modes against framebuffer device...
[ 15.336] (II) FBDEV(0): checking modes against monitor...
[ 15.336] (--) FBDEV(0): Virtual size is 540x960 (pitch 540)
[ 15.336] (**) FBDEV(0): Built-in mode "current": 0.0 MHz, 0.0 kHz, 0.0 Hz
[ 15.336] (II) FBDEV(0): Modeline "current"x0.0 0.00 540 6636 6668 6669 960 976 977 993 -hsync -vsync -csync (0.0 kHz b)
[ 15.336] (==) FBDEV(0): DPI set to (96, 96)
[ 15.336] (EE) FBDEV(0): unrecognised fbdev hardware type (269488144)
Thank you