[Gpephone-devel-ch] 答复: Re: Gpephone-devel-ch Digest, Vol 1, Issue 10
wile
wei_er_cn at 163.com
Wed Aug 8 05:50:17 CEST 2007
大家好:
zmc兄、xianjing兄, 两位好。
我现在也在被这个问题困扰。在此也向两位请教一下。
前段编完了Xfbdev和gtk+之后。也迫不及待地放到2410上面看看是否能起X。发现
找不到字库,就按照xianjin blog上面的提示指定了一下字库等,Xfbdev启动之
后,运行hello world测试,也出现了zmc兄出现的问题,因为不是目标平台,所以
没有继续。我更换工具链重新编了一份放到另外一个BSP平台里面调。Xfbdev启动
的过程则出现了很多错误。
1、内核没有打开socket相关的选项。起X的时候,提示不能打开socket,请求BSP
方重编内核后没有报错了;
2、nandflash没有坏块处理。中间非法断电导致有坏块,无法启动系统,鼓捣了
好几天。更换flash终于可以重新引导了;
3、提示no screens found
x源码中只有一处有这个提示,是因为screen.nums<1导致的。这个又是
CardInfor不正常导致的。我的疑问是,我用的是fb,怎么会用到显卡呢?于是继
续找。
xorg的官方网站上这么提示:
/*-----------------------------------
--------*/
It is very likely that your xorg.conf file doesn't contain the correct
driver(s) for the chipset(s) in your system or that your chipset isn't
supported by any of the drivers.
You can check for the detected devices in the log file (in most
cases /var/log/Xorg.0.log) by looking for lines like:
(--) PCI:*(1:0:0) Neomagic Corporation NM2200 [MagicGraph 256AV] rev 32, Mem @ 0xfd000000/24, 0xfe800000/22, 0xfec00000/20
In this example the active video device (the one with the *) is a
Neomagic NM2200 video chip. In order to get this chipset to work you'd
have to use the neomagic driver.
If you are using a distribution you should rerun its configuration tool.
If there is no such tool, or if it keeps configuring your Xserver wrong
you may want to try xorgcfg, the graphical tool shipped with Xorg. You
can also let the server generate a config file: as root just run
X -configure.
Please note: If you appear to use the correct driver and you still keep
getting this message it is very likely that your chipset isn't supported
(yet). In this case you may try the vesa driver or - if this doesn't
work - the vga driver. However both are entirely unaccellerated.
/*-----------------------------------
--------*/
因为用的是fb。我想是不需要显卡的。难道为了配合Screens的初始化。我需要把
vesa driver加进去?
我目前正在请求BSP方重新提供加入vesa dirver的内核(BSP方修改了mtd,内核
不对我们开放).
还有其他的原因吗?还请诸位多多支招。
谢谢!
zhouwei
20070808
在 2007-08-08三的 10:31 +0800,lixianjing at Topwisesz.com写道:
>
> Tiny-x找不到字体的问题没有关系,因为GTK+使用fontconfig+pango在客户端绘
> 制字体,不需要TinyX去管了,把fontconfig配置好就行了。
>
> 至于下面converting错误,看似locale数据有问题:
>
>
>
>
> zmc_322 at sina.com
> 发件人:
> gpephone-devel-ch-bounces at linuxtogo.org
>
> 2007-08-07 下午 12:39
>
>
> 收件人
> gpephone-devel-ch at linuxtogo.org, gpephone-devel-ch at linuxtogo.org
> 抄送
>
> 主题
> Re:
> [Gpephone-devel-ch] Gpephone-devel-ch Digest, Vol 1, Issue 10
>
>
>
>
>
>
>
>
> 各位前辈:
> 我 在 学习gpephone项目时遇到了下面问题,在这诚恳请
> 教:
>
> 运行Tiny-x时发生找不 到自字库的问题,我 的 字库是从我
> 本机拷贝到开发平台
> 上的,下面是我这边出现的提示:
> / $ Xfbdev
> &
>
> / $ Extended Input Devices not yet supported. Impelement it at line
> 625
> in kinput.c
> Could not init font path element /usr/gpephone/lib/X11/fonts/TTF/,
> removing from list!
> Could not init font path element /usr/gpephone/lib/X11/fonts/OTF,
> removing from list!
>
>
> / $
>
> 我 的 屏幕上有一 个“X”出现,说明Xserver运行起来了,所以我下一步就运行
> 了
> 一个gtk-demo程序,显示如下:
> / $ gtk-demo
>
> (gtk-demo:485): Gdk-WARNING **: Error converting from UTF-8 to STRING:
> Could not open converter from 'UTF-8' to ''
>
> (gtk-demo:485): Gdk-WARNING **: Error converting from UTF-8 to STRING:
> Conversion from character set 'UTF-8' to 'd
>
> (gtk-demo:485): GLib-WARNING **: getpwuid_r(): failed due to unknown
> user id (0)
>
> (gtk-demo:485): Gtk-WARNING **: Unable to locate theme engine in
> module_path: "clearlooks",
> No fonts found; this probably means that the fontconfig
> library is not correctly configured. You may need to
> edit the fonts.conf configuration file. More information
> about fontconfig can be found in the fontconfig(3) manual
> page and on http://fontconfig.org
> FreeFontPath: FPE "/usr/gpephone/lib/X11/fonts/misc/" refcount is 2,
> should be 1; fixing.
> / $ Extended Input Devices not yet supported. Impelement it at line
> 625
> in kinput.c
> Could not init font path element /usr/gpephone/lib/X11/fonts/TTF/,
> removing from list!
> Could not init font path element /usr/gpephone/lib/X11/fonts/OTF,
> removing from list!
>
> / $
>
> 我 的程序不能运行,请帮帮我 !!我的问题出在哪啊!!
> 期待回答
>
>
> 谢谢!
>
>
>
>
>
> ----- Original Message -----
> From:gpephone-devel-ch-request at linuxtogo.org
> To:gpephone-devel-ch at linuxtogo.org
> Subject:Gpephone-devel-ch Digest, Vol 1, Issue 10
> Date:07-07-25 10:41:15
>
>
>
> -------------------------------------------------------------------
> MOTONBA 促
> 销( http://d1.sina.com.cn/sina/limeng3/mail_zhuiyu/2007/mail_zhuiyu_20070806.html)
>
> ===================================================================
> 注册新浪2G免费邮箱( http://mail.sina.com.cn/chooseMode.html)
> _______________________________________________
> Gpephone-devel-ch mailing list
> Gpephone-devel-ch at linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpephone-devel-ch
>
> _______________________________________________
> Gpephone-devel-ch mailing list
> Gpephone-devel-ch at linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpephone-devel-ch
More information about the Gpephone-devel-ch
mailing list