qt-embedded && framebuffer
Hi, there,
есть qt-embedded-2.3.10, хочу запустьти какое-нибудь приложение, вот что получаю в ответ:
soft@uvsoft ~$ cd `echo $QTDIR`soft@uvsoft ~/qt-embedded/qt-2.3.10 $ cd tools/qvfb/
soft@uvsoft ~/qt-embedded/qt-2.3.10 $ qmake...
...soft@uvsoft ~/qt-embedded/qt-2.3.10/tools/qvfb $ ./qvfb
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
No Qt/Embedded server appears to be running.
If you want to run qvfb as a server,
add the "-qws" command-line option.soft@uvsoft ~/qt-embedded/qt-2.3.10/tools/qvfb $ ./qvfb -qws
Can't open framebuffer device /dev/fb0
Can't open framebuffer device /dev/fb0
driver cannot connectsoft@uvsoft ~/qt-embedded/qt-2.3.10/tools/qvfb $ ls -l /dev/fb0
lrwxrwxrwx 1 root root 4 Мар 4 2006 /dev/fb0 -> fb/0soft@uvsoft ~/qt-embedded/qt-2.3.10/tools/qvfb $ ls -l /dev/fb/0
crw-rw---- 1 root video 29, 0 Фев 27 23:05 /dev/fb/0
Вот что у меня в ядре включено:
<*> Support for frame buffer devices
<*> VGA 16-color graphics support
<*> VESA VGA graphics support
(X) VESA driver type: vesafb-tng
nVidia Framebuffer Support
[*] VGA text console: Video mode selection support
<*> Framebuffer Console support
если посмотреть на throlltech.com требования:
Qt/Embedded has no hardware dependencies. It can support any processor and graphics card supported by Linux. It does require a Linux kernel with linear framebuffer support (1, 4, 8, 16, or 32 bit + VGA16 supported), and has been tested on popular embedded processor architectures such as x86, ARM, MIPS, PPC, and SH. Since Qt/Embedded is both a window system and GUI toolkit, it does not require an additional windowing system, such as X.
видим что все зависит от конфигурации ядра.... Может кто-нибудь сталкивался как настроить все это дело?
Спасибо.
--
Regards,
UVSoft.
- Для комментирования войдите или зарегистрируйтесь
# cdmod a+rw /dev/fb0 #
# cdmod a+rw /dev/fb0
# ./qvfb -qws
Cannot create semaphore /tmp/qtembedded-0/QtEmbedded-0 'd'
Error 22 Invalid argument
Cannot get display lock
Вот еще
Вот еще немножечко информации что происходит.....
Какие-то постоянно ошибки при modprobe, вообщем смотрите сами, я уже просто @#$%^ с этим @#$%^ framebuffer'ом(((
uvsoft soft # lsmod
Module Size Used by
nvidia 4093232 12
sd_mod 19712 2
uvsoft soft # find /lib/modules/2.6.15-gentoo-r1/ -name "*.ko"
/lib/modules/2.6.15-gentoo-r1/kernel/crypto/arc4.ko
/lib/modules/2.6.15-gentoo-r1/kernel/crypto/sha1.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/base/firmware_class.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/dummy.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/s2io.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/scsi/ata_piix.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/scsi/dpt_i2o.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/scsi/ipr.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/scsi/libata.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/scsi/sata_sis.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/scsi/sata_sx4.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/scsi/sd_mod.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/scsi/sg.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/usb/misc/cytherm.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/usb/misc/phidgetservo.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/cfbcopyarea.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/cfbfillrect.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/cfbimgblt.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/console/bitblit.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/console/fbcon.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/console/font.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/console/softcursor.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/nvidia/nvidiafb.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/riva/rivafb.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/vesafb-thread.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/vesafb-tng.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/vfb.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/vga16fb.ko
/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/vgastate.ko
/lib/modules/2.6.15-gentoo-r1/kernel/lib/crc-ccitt.ko
/lib/modules/2.6.15-gentoo-r1/kernel/lib/libcrc32c.ko
/lib/modules/2.6.15-gentoo-r1/kernel/net/ipv4/netfilter/ipt_NOTRACK.ko
/lib/modules/2.6.15-gentoo-r1/kernel/net/ipv4/netfilter/iptable_raw.ko
/lib/modules/2.6.15-gentoo-r1/video/nvidia.ko
uvsoft soft # modprobe vesafb-tng
FATAL: Error inserting vesafb_tng (/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/vesafb-tng.ko): Unknown symbol in module, or unknown parameter (see dmesg)
uvsoft soft # modprobe fbcon
WARNING: Error inserting softcursor (/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/console/softcursor.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting bitblit (/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/console/bitblit.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting fbcon (/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/console/fbcon.ko): Unknown symbol in module, or unknown parameter (see dmesg)
uvsoft soft # modprob vga16fb
bash: modprob: command not found
uvsoft soft # modprobe vga16fb
FATAL: Error inserting vga16fb (/lib/modules/2.6.15-gentoo-r1/kernel/drivers/video/vga16fb.ko): Unknown symbol in module, or unknown parameter (see dmesg)
uvsoft soft # lsmod
Module Size Used by
vgastate 11264 0
font 9344 0
cfbcopyarea 4992 0
cfbimgblt 4224 0
vesafb_thread 10944 0
cfbfillrect 4992 0
nvidia 4093232 12
sd_mod 19712 2
uvsoft soft # cat /usr/src/linux/.config | grep -v "#" | grep -i FB
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=m
CONFIG_FB_CFB_COPYAREA=m
CONFIG_FB_CFB_IMAGEBLIT=m
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_VGA16=m
CONFIG_FB_VESA=m
CONFIG_FB_VESA_TNG=y
CONFIG_FB_VESA_DEFAULT_MODE="12800x1024@75"
CONFIG_FB_NVIDIA=m
CONFIG_FB_RIVA=m
CONFIG_FB_VIRTUAL=m
soft@uvsoft ~/qt-embedded/qt-2.3.10/tools/qvfb $ ./qvfb
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
No Qt/Embedded server appears to be running.
If you want to run qvfb as a server,
add the "-qws" command-line option.
soft@uvsoft ~/qt-embedded/qt-2.3.10/tools/qvfb $ ./qvfb -qws
Can't open framebuffer device /dev/fb0
Can't open framebuffer device /dev/fb0
driver cannot connect
soft@uvsoft ~/qt-embedded/qt-2.3.10/tools/qvfb $ ls -l /dev/fb/0
crw-rw-rw- 1 root video 29, 0 Фев 27 23:05 /dev/fb/0
soft@uvsoft ~/qt-embedded/qt-2.3.10/tools/qvfb $ dmesg
vesafb_tng: Unknown symbol unregister_framebuffer
vesafb_tng: Unknown symbol fb_videomode_to_var
vesafb_tng: Unknown symbol fb_validate_mode
vesafb_tng: Unknown symbol framebuffer_alloc
vesafb_tng: Unknown symbol fb_find_best_mode
vesafb_tng: Unknown symbol fb_destroy_modedb
vesafb_tng: Unknown symbol fb_edid_to_monspecs
vesafb_tng: Unknown symbol fb_get_mode
vesafb_tng: Unknown symbol fb_videomode_to_modelist
vesafb_tng: Unknown symbol fb_find_nearest_mode
vesafb_tng: Unknown symbol fb_dealloc_cmap
vesafb_tng: Unknown symbol vesa_modes
vesafb_tng: Unknown symbol fb_var_to_videomode
vesafb_tng: Unknown symbol register_framebuffer
vesafb_tng: Unknown symbol fb_alloc_cmap
vesafb_tng: Unknown symbol fb_add_videomode
vesafb_tng: Unknown symbol fb_destroy_modelist
vesafb_tng: Unknown symbol framebuffer_release
softcursor: Unknown symbol fb_pad_aligned_buffer
softcursor: Unknown symbol fb_get_buffer_offset
bitblit: Unknown symbol fb_pad_unaligned_buffer
bitblit: Unknown symbol fb_pad_aligned_buffer
bitblit: Unknown symbol fb_get_color_depth
bitblit: Unknown symbol soft_cursor
bitblit: Unknown symbol fb_pan_display
bitblit: Unknown symbol fb_get_buffer_offset
fbcon: Unknown symbol fb_videomode_to_var
fbcon: Unknown symbol fb_blank
fbcon: Unknown symbol num_registered_fb
fbcon: Unknown symbol fb_match_mode
fbcon: Unknown symbol fb_show_logo
fbcon: Unknown symbol fb_unregister_client
fbcon: Unknown symbol fb_set_cmap
fbcon: Unknown symbol fb_set_var
fbcon: Unknown symbol fb_find_best_mode
fbcon: Unknown symbol registered_fb
fbcon: Unknown symbol fb_find_nearest_mode
fbcon: Unknown symbol fb_mode_is_equal
fbcon: Unknown symbol fb_default_cmap
fbcon: Unknown symbol fb_prepare_logo
fbcon: Unknown symbol fb_copy_cmap
fbcon: Unknown symbol fb_get_color_depth
fbcon: Unknown symbol fbcon_set_bitops
fbcon: Unknown symbol fb_register_client
vga16fb: Unknown symbol unregister_framebuffer
vga16fb: Unknown symbol framebuffer_alloc
vga16fb: Unknown symbol fb_dealloc_cmap
vga16fb: Unknown symbol register_framebuffer
vga16fb: Unknown symbol fb_alloc_cmap
vga16fb: Unknown symbol framebuffer_release
soft@uvsoft ~/qt-embedded/qt-2.3.10/tools/qvfb $ fbset
open /dev/fb0: No such device or address