讯驰笔记本915GM驱动哪里有下啊?for linux的!
谢谢!还有我的宽屏显示器怎么办啊,不支持!FC3系统 记得内核>2.6.9是支持 i915 的…… dell的6000?915gm的集成显卡驱动xorg 6.8.2里就有
宽屏的机子公社里有安装指南的(不过是for 855Gm的)
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=99298 BENQ的S52 还是不行啊!怎么办
还是不行啊!怎么办
等等吧,看看最近有没有新的patch。gentoo那边已经有人搞定了dell的6000了,用的芯片组和s52是一样的。 gentoo在哪里啊,我要去看看! www.gentoo.org 昨天终于找到 915GM的驱动了,显示速度明显比vesa快很多!
现在就差能改VBIOS的宽屏程序了,那位写855resolution的老兄,什么时候出个支持915GM的程序了!就有福了!
855resolution的老兄,什么时候出个支持915GM的程序了!就有福了!
diy一把?? :mrgreen:
兄弟们就有福了 那个程序,我看了半天,怎么改也不支持915GM的,水平太有限了!
/* 855resolution by Alain Poirier
*
* Currently only tested on a Dell 510m with BIOS A04
* *VERY* likely that this won't work yet on any
* other versions or chipsets!!!
*
* This code is based on the techniques used in :
*
* - 855patch.Many thanks to Christian Zietz (czietz gmx net)
* for demonstrating how to shadow the VBIOS into system RAM
* and then modify it.
*
* - 1280patch by Andrew Tipton (andrewtipton null li).
*
* This source code is into the public domain.
*/
/* VBIOS as found on the Dell 510m */
#include <stdio.h>
#include <sys/io.h>
#include "../plugin.h"
struct vbios_resolution {
unsigned char unknow1;
unsigned char x1;
unsigned char unknow2;
unsigned char x2;
unsigned char y1;
unsigned char unknow3;
unsigned char y2;
} __attribute__((packed));
static void unlock_bios(void) {
outl(0x8000005a, 0xcf8);
outb(0x33, 0xcfe);
}
static void relock_bios(void) {
outl(0x8000005a, 0xcf8);
outb(0x11, 0xcfe);
}
static int detect_vbios_type(struct vbios_mode *modes) {
short int r1, r2;
float f;
r1 = r2 = 32000;
while(modes->mode != 0xff) {
if(modes->resolution <= r1) {
r1 = modes->resolution;
} else {
if(modes->resolution <= r2) {
r2 = modes->resolution;
}
}
modes++;
}
f = ((float) (r2-r1-6)) / sizeof(struct vbios_resolution);
return f == (int) f;
}
static unsigned char *get_vbios_version(unsigned char *vbios_cfg) {
return vbios_cfg+31;
}
static void get_resolution(struct vbios_resolution *resolution, unsigned int *x, unsigned int *y) {
*x = ((((unsigned int) resolution->x2) & 0xf0) << 4) | resolution->x1;
*y = ((((unsigned int) resolution->y2) & 0xf0) << 4) | resolution->y1;
}
static void set_resolution(struct vbios_resolution *resolution, unsigned int x, unsigned int y) {
unlock_bios();
resolution->x2 = (resolution->x2 & 0x0f) | ((x >> 4) & 0xf0);
resolution->x1 = (x & 0xff);
resolution->y2 = (resolution->y2 & 0x0f) | ((y >> 4) & 0xf0);
resolution->y1 = (y & 0xff);
relock_bios();
}
struct plugin plugin2 = {
detect_vbios_type,
get_vbios_version,
(get_resolution_type) get_resolution,
(set_resolution_type) set_resolution
};
这个程序,本身是for 855的,在915上,那个set_resolution()函数就执行后,没有任何效果!而get_resolution()能正常取得系统支持的解析率!
后来我又打开2.6.11内核的原码,driver/video/modedb.c 里面修改了显示模式,重新编译内核后,还是没有需要的1280*768的模式!
版里有没有人能提供 /dev/mem文件的结构,以及内核原码哪一段是实现这个文件结构的!
页:
[1]