da ja dort auch der treiber in der conf angegeben ist aber nicht funktioniert halt.
Kommt wohl auf den Installationsort von libserdisp und deren Header an.
(Korrektur "Inhalt von include/ hinzufügen und Paket erstellen.")
Die serdisplib-Header wären in Build-Verzeichnis zBsp. lcd4linux-0.10.1~rc2/serdisplib/ wohl unnütz,
sie werden an anderem Ort gesucht:
Code: Alles auswählen
# grep serdisp ../configure.strace
29424 open("/usr/local/include/serdisplib/serdisp.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
29424 open("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/serdisplib/serdisp.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
29424 open("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include-fixed/serdisplib/serdisp.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
29424 open("/usr/include/serdisplib/serdisp.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
29433 open("/usr/local/include/serdisplib/serdisp.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
29433 open("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/serdisplib/serdisp.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
29433 open("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include-fixed/serdisplib/serdisp.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
29433 open("/usr/include/serdisplib/serdisp.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
30919 stat("././.deps/drv_serdisplib.Po", {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
also zBsp, /usr/local/include/serdisplib/serdisp.h ->
Code: Alles auswählen
# grep serdisp ../configure.strace
1081 open("/usr/local/include/serdisplib/serdisp.h", O_RDONLY|O_NOCTTY) = 4
1081 open("/usr/local/include/serdisplib/serdisplib/serdisp_connect.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
1081 open("/usr/local/include/serdisplib/serdisp_connect.h", O_RDONLY|O_NOCTTY) = 4
1081 open("/usr/local/include/serdisplib/serdisplib/serdisp_control.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
1081 open("/usr/local/include/serdisplib/serdisp_control.h", O_RDONLY|O_NOCTTY) = 4
1081 open("/usr/local/include/serdisplib/serdisp_connect.h", O_RDONLY|O_NOCTTY) = 4
1081 open("/usr/local/include/serdisplib/serdisplib/serdisp_tools.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
1081 open("/usr/local/include/serdisplib/serdisp_tools.h", O_RDONLY|O_NOCTTY) = 4
1081 open("/usr/local/include/serdisplib/serdisp_control.h", O_RDONLY|O_NOCTTY) = 4
1081 open("/usr/local/include/serdisplib/serdisplib/serdisp_messages.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
1081 open("/usr/local/include/serdisplib/serdisp_messages.h", O_RDONLY|O_NOCTTY) = 4
1081 open("/usr/local/include/serdisplib/serdisplib/serdisp_colour.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
1081 open("/usr/local/include/serdisplib/serdisp_colour.h", O_RDONLY|O_NOCTTY) = 4
1087 open("/usr/local/include/serdisplib/serdisp.h", O_RDONLY|O_NOCTTY) = 3
1087 open("/usr/local/include/serdisplib/serdisplib/serdisp_connect.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
1087 open("/usr/local/include/serdisplib/serdisp_connect.h", O_RDONLY|O_NOCTTY) = 3
1087 open("/usr/local/include/serdisplib/serdisplib/serdisp_control.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
1087 open("/usr/local/include/serdisplib/serdisp_control.h", O_RDONLY|O_NOCTTY) = 3
1087 open("/usr/local/include/serdisplib/serdisp_connect.h", O_RDONLY|O_NOCTTY) = 3
1087 open("/usr/local/include/serdisplib/serdisplib/serdisp_tools.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
1087 open("/usr/local/include/serdisplib/serdisp_tools.h", O_RDONLY|O_NOCTTY) = 3
1087 open("/usr/local/include/serdisplib/serdisp_control.h", O_RDONLY|O_NOCTTY) = 3
1087 open("/usr/local/include/serdisplib/serdisplib/serdisp_messages.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
1087 open("/usr/local/include/serdisplib/serdisp_messages.h", O_RDONLY|O_NOCTTY) = 3
1087 open("/usr/local/include/serdisplib/serdisplib/serdisp_colour.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
1087 open("/usr/local/include/serdisplib/serdisp_colour.h", O_RDONLY|O_NOCTTY) = 3
2633 stat("././.deps/drv_serdisplib.Po", {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
# grep -i serdisp config.log
configure:5435: checking serdisplib/serdisp.h usability
configure:5435: checking serdisplib/serdisp.h presence
configure:5435: checking for serdisplib/serdisp.h
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define WITH_SERDISPLIB 1
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define WITH_SERDISPLIB 1
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define WITH_SERDISPLIB 1
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define WITH_SERDISPLIB 1
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define WITH_SERDISPLIB 1
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define WITH_SERDISPLIB 1
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define WITH_SERDISPLIB 1
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define WITH_SERDISPLIB 1
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define WITH_SERDISPLIB 1
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define WITH_SERDISPLIB 1
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define WITH_SERDISPLIB 1
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define WITH_SERDISPLIB 1
| #define HAVE_SERDISPLIB_SERDISP_H 1
| #define WITH_SERDISPLIB 1
ac_cv_header_serdisplib_serdisp_h=yes
DRIVERS=' drv_BeckmannEgle.o drv_Crystalfontz.o drv_Curses.o drv_Cwlinux.o drv_EA232graphic.o drv_HD44780.o drv_LCDTerm.o drv_LEDMatrix.o drv_LPH7508.o drv_M50530.o drv_MatrixOrbital.o drv_MilfordInstruments.o drv_Noritake.o drv_NULL.o drv_RouterBoard.o drv_Sample.o drv_serdisplib.o drv_SimpleLCD.o drv_T6963.o drv_USBLCD.o drv_WincorNixdorf.o drv_X11.o drv_Image.o drv_generic_text.o drv_generic_graphic.o drv_generic_gpio.o drv_generic_parport.o drv_generic_serial.o drv_generic_i2c.o drv_generic_keypad.o'
DRVLIBS=' -lncurses -L/usr/local/lib -lserdisp -lX11'
#define HAVE_SERDISPLIB_SERDISP_H 1
#define WITH_SERDISPLIB 1
Ein so konfigurierte lcd4linux würde wohl serdisplib benutzen.
Das Einzige was mich jetzt noch beunruhigt sind die Meldungen in der syslog immer wieder.
Dec 31 17:10:49 destiny lcd4linux: serdisp_acoolsdcm_transfer_rect(): request 'ALPHACOOL_GFX_WRITE_INIT' failed
Dec 31 17:10:49 destiny kernel: [ 3351.284295] usb 6-3: usbfs: USBDEVFS_CONTROL failed cmd lcd4linux rqt 64 rq 50 len 0 ret -110
Liegt vielleicht am Alter von serdisplib-1.97.9, 2010-02 ? (s.u. usbdevfs)
Vielleicht fehlten beim Bauen von lcd4linux / serdisplib / alphacool auch einige Pakete oder waren nicht eingebunden.
usbdevfs müßte wohl erst noch gemountet werden,
siehe google '
mount -t usbdevfs none /proc/bus/usb'
# grep FS= /boot/config-* | grep USB_DEV
/boot/config-2.6.32-5-amd64:CONFIG_USB_DEVICEFS=y
/boot/config-2.6.32-5-xen-amd64:CONFIG_USB_DEVICEFS=y
/boot/config-3.2.0-0.bpo.4-amd64:CONFIG_USB_DEVICEFS=y
/boot/config-3.2.0-4-amd64:CONFIG_USB_DEVICEFS=y
Im 3.6-trunk / 3.7-trunk nicht mehr enthalten ("veraltet").
Manche usb-Debugprogramme/Monitorprogramme laufen wohl auch darüber.