免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2553 | 回复: 4

[powertool] platform-specific initialization and setting [复制链接]

论坛徽章:
0
发表于 2011-01-06 17:59 |显示全部楼层
本帖最后由 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

论坛徽章:
0
发表于 2011-01-10 22:41 |显示全部楼层
回复 1# conke


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

id_table.patch.tar.gz

10 KB, 下载次数: 16

论坛徽章:
0
发表于 2011-01-11 13:37 |显示全部楼层
在id_table 中添加了电脑的生产商和笔记本型号,并在build powertool时能成功匹配,也运行了自己写的脚本。
 不知道怎么写安装的驱动,也不知道怎么查看哪些驱动没有安装好。

论坛徽章:
0
发表于 2011-01-11 14:01 |显示全部楼层
本帖最后由 Davis-juye 于 2011-01-11 14:04 编辑

回复 1# conke


    id_table 中加入生产商和本机型号,在build时能成功运行了自己写的脚本。
 不清楚怎么通过脚本查看本机有哪些驱动

论坛徽章:
0
发表于 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)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP