デスクトップとして使う(19)DisplayLink専用ドライバ

Debian LS-VL

残る課題は、描画が正しく行われないこと。

いつもたいへんお世話になっているボンタさんの LCD-8000U @ 玄柴(Debian) で、DisplayLink の Xsererver用ドライバがあることを知った。

ソースの入手

yasunari@vl:~$ cd /mnt/src/
yasunari@vl:/mnt/src$ ls
build  linux-2.6.31.8  linux-2.6.31.8.tar.bz2  udlfb
yasunari@vl:/mnt/src$ git clone http://git.plugable.com/webdav/xf-video-udlfb
Cloning into xf-video-udlfb...
yasunari@vl:/mnt/src$ ls
build  linux-2.6.31.8  linux-2.6.31.8.tar.bz2  udlfb  xf-video-udlfb
yasunari@vl:/mnt/src$

configure

yasunari@vl:/mnt/src$ cd xf-video-udlfb/
yasunari@vl:/mnt/src/xf-video-udlfb$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... armv5tel-unknown-linux-gnueabi
checking host system type... armv5tel-unknown-linux-gnueabi
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking if RANDR is defined... no
checking if RENDER is defined... no
checking if XV is defined... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... configure: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto ) were not met:

No package 'xorg-server' found
No package 'xproto' found
No package 'fontsproto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

yasunari@vl:/mnt/src/xf-video-udlfb$
xorg-server, xproto, fontsproto パッケージが必要と

必要なパッケージのインストール

yasunari@vl:/mnt/src/xf-video-udlfb$ apt-cache search xorg-server
yasunari@vl:/mnt/src/xf-video-udlfb$ apt-cache search xproto
x11proto-core-dev - X11 core wire protocol and auxiliary headers
x11proto-dmx-dev - X11 Distributed Multihead X extension wire protocol
yasunari@vl:/mnt/src/xf-video-udlfb$ apt-cache search fontsproto
yasunari@vl:/mnt/src/xf-video-udlfb$
どれもない。

困った

検索すると、、、pkg-config が要ると。
LCD-8000U @ 玄柴(Debian) にも書いてあった。

pkg-config をインストールする

yasunari@vl:/mnt/src/xf-video-udlfb$ apt-cache search pkg-config
connman-dev - Development files for connman
libextutils-pkgconfig-perl - simplistic perl interface to pkg-config
libgctp-dev - General Cartographic Transformation Package - development files
libidn11-dev - Development files for GNU Libidn, an IDN library
libpthread-stubs0-dev - pthread stubs not provided by native libc, development files
osso-af-settings - pkg-config based registry for maemo directories
pkg-config - manage compile and link flags for libraries
xserver-xorg-dev - Xorg X server - development files
yasunari@vl:/mnt/src/xf-video-udlfb$ apt-get install pkg-config
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
yasunari@vl:/mnt/src/xf-video-udlfb$ sudo !!
sudo apt-get install pkg-config
[sudo] password for yasunari:
Reading package lists... Done
Building dependency tree
Reading state information... Done
pkg-config is already the newest version.
pkg-config set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
yasunari@vl:/mnt/src/xf-video-udlfb$

再度 configure

yasunari@vl:/mnt/src/xf-video-udlfb$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... armv5tel-unknown-linux-gnueabi
checking host system type... armv5tel-unknown-linux-gnueabi
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking if RANDR is defined... no
checking if RENDER is defined... no
checking if XV is defined... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... configure: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto ) were not met:

No package 'xorg-server' found
No package 'xproto' found
No package 'fontsproto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

yasunari@vl:/mnt/src/xf-video-udlfb$
全然変わっていない。

残りは、xserver-xorg-dev ?

yasunari@vl:/mnt/src/xf-video-udlfb$ sudo apt-get install xserver-xorg-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libpciaccess-dev libpixman-1-dev libpthread-stubs0 libpthread-stubs0-dev
  libx11-dev libxau-dev libxcb1-dev libxdmcp-dev libxkbfile-dev
  x11proto-core-dev x11proto-dri2-dev x11proto-fonts-dev x11proto-input-dev
  x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-video-dev
  x11proto-xext-dev xtrans-dev
The following NEW packages will be installed:
  libpciaccess-dev libpixman-1-dev libpthread-stubs0 libpthread-stubs0-dev
  libx11-dev libxau-dev libxcb1-dev libxdmcp-dev libxkbfile-dev
  x11proto-core-dev x11proto-dri2-dev x11proto-fonts-dev x11proto-input-dev
  x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-video-dev
  x11proto-xext-dev xserver-xorg-dev xtrans-dev
0 upgraded, 20 newly installed, 0 to remove and 12 not upgraded.
Need to get 5569 kB of archives.
After this operation, 12.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
	:
	:
Setting up x11proto-fonts-dev (2.1.0-1) ...
Setting up x11proto-randr-dev (1.3.1-1) ...
Setting up x11proto-render-dev (2:0.11-1) ...
Setting up x11proto-video-dev (2.3.0-1) ...
Setting up x11proto-xext-dev (7.1.1-2) ...
Setting up xserver-xorg-dev (2:1.7.7-14) ...
!yasunari@vl:/mnt/src/xf-video-udlfb$
もう一回 configure
!yasunari@vl:/mnt/src/xf-video-udlfb$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... armv5tel-unknown-linux-gnueabi
checking host system type... armv5tel-unknown-linux-gnueabi
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XV is defined... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... yes
checking whether xf86ConfigIsaEntity is declared... no
checking for ANSI C header files... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
yasunari@vl:/mnt/src/xf-video-udlfb$
できた!

make

yasunari@vl:/mnt/src/xf-video-udlfb$ make
make  all-recursive
make[1]: Entering directory `/mnt/src/xf-video-udlfb'
Making all in src
make[2]: Entering directory `/mnt/src/xf-video-udlfb/src'
	:
	:
libtool: link: gcc -shared  .libs/displaylink.o .libs/displaylink_crtc.o .libs/displaylink_output.o      -Wl,-soname -Wl,displaylink_drv.so -o .libs/displaylink_drv.so
libtool: link: ( cd ".libs" && rm -f "displaylink_drv.la" && ln -s "../displaylink_drv.la" "displaylink_drv.la" )
make[2]: Leaving directory `/mnt/src/xf-video-udlfb/src'
make[2]: Entering directory `/mnt/src/xf-video-udlfb'
make[2]: Leaving directory `/mnt/src/xf-video-udlfb'
make[1]: Leaving directory `/mnt/src/xf-video-udlfb'
yasunari@vl:/mnt/src/xf-video-udlfb$

インストール

yasunari@vl:/mnt/src/xf-video-udlfb$ sudo make install
Making install in src
make[1]: Entering directory `/mnt/src/xf-video-udlfb/src'
make[2]: Entering directory `/mnt/src/xf-video-udlfb/src'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/lib/xorg/modules/drivers" || /bin/mkdir -p "/usr/local/lib/xorg/modules/drivers"
 /bin/bash ../libtool   --mode=install /usr/bin/install -c  'displaylink_drv.la' '/usr/local/lib/xorg/modules/drivers/displaylink_drv.la'
libtool: install: /usr/bin/install -c .libs/displaylink_drv.so /usr/local/lib/xorg/modules/drivers/displaylink_drv.so
libtool: install: /usr/bin/install -c .libs/displaylink_drv.lai /usr/local/lib/xorg/modules/drivers/displaylink_drv.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib/xorg/modules/drivers
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/xorg/modules/drivers

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory `/mnt/src/xf-video-udlfb/src'
make[1]: Leaving directory `/mnt/src/xf-video-udlfb/src'
make[1]: Entering directory `/mnt/src/xf-video-udlfb'
make[2]: Entering directory `/mnt/src/xf-video-udlfb'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/src/xf-video-udlfb'
make[1]: Leaving directory `/mnt/src/xf-video-udlfb'
yasunari@vl:/mnt/src/xf-video-udlfb$
できたか???

xorg.conf の修正

LCD-8000U @ 玄柴(Debian) の通りに。
yasunari@vl:/mnt/src/xf-video-udlfb$ sudo vi /etc/X11/xorg.conf
	:
	:
yasunari@vl:/mnt/src/xf-video-udlfb$ cat /etc/X11/xorg.conf
Section "Device"
        Identifier "dl0"
        driver "displaylink"
        Option "fbdev" "/dev/fb0"
EndSection
Section "Monitor"
        Identifier "monitor0"
EndSection
Section "Screen"
        Identifier "screen0"
        Device "dl0"
        Monitor "monitor0"
EndSection
Section "ServerLayout"
        Identifier "Default Layout"
        Screen 0 "screen0" 0 0
EndSection
yasunari@vl:/mnt/src/xf-video-udlfb$

X の起動

yasunari@vl:/mnt/src/xf-video-udlfb$ startx


X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32 armv5tel Debian
Current Operating System: Linux vl 2.6.31.8 #5 Fri Mar 16 00:33:08 JST 2012 armv5tel
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,12M panic=5 BOOTVER=0.25
Build Date: 30 October 2011  09:07:45PM
xorg-server 2:1.7.7-14 (Julien Cristau )
Current version of pixman: 0.16.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 27 22:58:34 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "displaylink" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

displaylink のドライバが見つからないと。

なるほど。/usr/local/ にインストールしたのではダメなのか。
ボンタさんの --prefix=/usr の意味をようやく理解。

やり直し

yasunari@vl:/mnt/src/xf-video-udlfb$ sudo rm -fr /usr/local/lib/xorg
yasunari@vl:/mnt/src/xf-video-udlfb$ ./configure --prefix=/usr
	:
	:
yasunari@vl:/mnt/src/xf-video-udlfb$ make
make  all-recursive
make[1]: Entering directory `/mnt/src/xf-video-udlfb'
Making all in src
make[2]: Entering directory `/mnt/src/xf-video-udlfb/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/src/xf-video-udlfb/src'
make[2]: Entering directory `/mnt/src/xf-video-udlfb'
make[2]: Leaving directory `/mnt/src/xf-video-udlfb'
make[1]: Leaving directory `/mnt/src/xf-video-udlfb'
yasunari@vl:/mnt/src/xf-video-udlfb$ make clean
Making clean in src
make[1]: Entering directory `/mnt/src/xf-video-udlfb/src'
test -z "displaylink_drv.la" || rm -f displaylink_drv.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/mnt/src/xf-video-udlfb/src'
Making clean in .
make[1]: Entering directory `/mnt/src/xf-video-udlfb'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/mnt/src/xf-video-udlfb'
yasunari@vl:/mnt/src/xf-video-udlfb$ make
	:
	:
yasunari@vl:/mnt/src/xf-video-udlfb$ sudo make install
Making install in src
make[1]: Entering directory `/mnt/src/xf-video-udlfb/src'
make[2]: Entering directory `/mnt/src/xf-video-udlfb/src'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib/xorg/modules/drivers" || /bin/mkdir -p "/usr/lib/xorg/modules/drivers"
 /bin/bash ../libtool   --mode=install /usr/bin/install -c  'displaylink_drv.la' '/usr/lib/xorg/modules/drivers/displaylink_drv.la'
libtool: install: /usr/bin/install -c .libs/displaylink_drv.so /usr/lib/xorg/modules/drivers/displaylink_drv.so
libtool: install: /usr/bin/install -c .libs/displaylink_drv.lai /usr/lib/xorg/modules/drivers/displaylink_drv.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/lib/xorg/modules/drivers
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib/xorg/modules/drivers

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory `/mnt/src/xf-video-udlfb/src'
make[1]: Leaving directory `/mnt/src/xf-video-udlfb/src'
make[1]: Entering directory `/mnt/src/xf-video-udlfb'
make[2]: Entering directory `/mnt/src/xf-video-udlfb'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/src/xf-video-udlfb'
make[1]: Leaving directory `/mnt/src/xf-video-udlfb'
yasunari@vl:/mnt/src/xf-video-udlfb$

今度こそ

yasunari@vl:/mnt/src/xf-video-udlfb$ startx


X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32 armv5tel Debian
Current Operating System: Linux vl 2.6.31.8 #5 Fri Mar 16 00:33:08 JST 2012 armv5tel
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,12M panic=5 BOOTVER=0.25
Build Date: 30 October 2011  09:07:45PM
xorg-server 2:1.7.7-14 (Julien Cristau )
Current version of pixman: 0.16.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 27 23:11:33 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
SELinux: Disabled on system, not enabling in X server
(EE) Sony FKP-U01: failed to initialize for relative axes.

きたー。

ノイズもなく全画面表示されている。

reboot

yasunari@vl:/mnt/src/xf-video-udlfb$ sudo reboot
ログイン画面も、

ログイン後も

ばっちり。

ボンタさん、有用な情報を有難うございます!!!



LS-VL

楽天市場
Amazon
livedoor デパート
バッファローダイレクト
Yahoo!ショッピング


デスクトップとして使う(18)文字化けの対策
ハックの記録
LinkStation/玄箱 をハックしよう

デスクトップとして使う(20)バックアップ

ツイート Tweet to @yasunari_y @yasunari_yをフォロー

Copyright (C) 2003-2012 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市