Chinaunix

标题: [powertool] platform-specific initialization and setting [打印本页]

作者: conke    时间: 2011-01-06 17:59
标题: [powertool] platform-specific initialization and setting
本帖最后由 conke 于 2011-01-06 21:09 编辑

requirements:
1. proprietary drivers detection and installation
2. provide booting arguments if necessary
3. accord with the "dmidecode ID to entry" spec of powertool

references:
1. powertool/platform/id_table
2. powertool/platform/macbook_init.sh
作者: kenzo_zhu    时间: 2011-01-10 22:41
回复 1# conke


    找不到我的电脑要升级的驱动,所以只实现了能够调用init的bash脚本

id_table.patch.tar.gz

10 KB, 下载次数: 16


作者: 0602_hua    时间: 2011-01-11 13:37
在id_table 中添加了电脑的生产商和笔记本型号,并在build powertool时能成功匹配,也运行了自己写的脚本。
 不知道怎么写安装的驱动,也不知道怎么查看哪些驱动没有安装好。
作者: Davis-juye    时间: 2011-01-11 14:01
本帖最后由 Davis-juye 于 2011-01-11 14:04 编辑

回复 1# conke


    id_table 中加入生产商和本机型号,在build时能成功运行了自己写的脚本。
 不清楚怎么通过脚本查看本机有哪些驱动
作者: hellowxw    时间: 2011-01-11 16:17
实现功能:
1、本机型安装后无wifi驱动,故在patch包里增加驱动,并且脚本执行安装。
2、按照macbook_init.sh 设置分辨率和启动参数。

1、通过以下命令给powertool下的platform目录生成platform.patch
  1. diff -Naur platform platform_patch >platform.patch
复制代码
复制代码
2、进入powertool/platform 执行以下命令进行patch
  1. bzcat ../platform.patch.bz2 | patch -p1
复制代码
复制代码 platform.patch.bz2 (89.22 KB, 下载次数: 34)




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2