Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b43165416e | ||
|
|
e057ef936e | ||
|
|
4be41866a4 | ||
|
|
e27e1b05e0 | ||
|
|
91c16a76f1 |
3 changed files with 5 additions and 67 deletions
|
|
@ -1,6 +1,6 @@
|
|||
Name: 915resolution
|
||||
Version: 0.5.3
|
||||
Release: 4%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Intel video BIOS hack to support certain resolutions
|
||||
|
||||
Group: User Interface/X Hardware Support
|
||||
|
|
@ -10,11 +10,7 @@ Source0: http://www.geocities.com/stomljen/%{name}-%{version}.tar.gz
|
|||
Source1: %{name}-init
|
||||
Source2: %{name}-config
|
||||
Source3: %{name}-pm-hook
|
||||
|
||||
# support for additional chipsets
|
||||
Patch0: 965GM.patch
|
||||
Patch1: E7221.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
# this doesn't make much sense on ppc. That, and it fails to build :)
|
||||
|
|
@ -47,7 +43,6 @@ differs substantially. 915resolution's code base is much simpler.
|
|||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
# keep rpmlint from complaining....
|
||||
chmod -x dump_bios
|
||||
|
|
@ -71,9 +66,9 @@ install -m 0755 -T %{SOURCE1} \
|
|||
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
|
||||
install -m 0644 -T %{SOURCE2} \
|
||||
%{buildroot}%{_sysconfdir}/sysconfig/915resolution
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/pm/sleep.d
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/pm/hooks
|
||||
install -m 0755 -T %{SOURCE3} \
|
||||
%{buildroot}%{_sysconfdir}/pm/sleep.d/99resolution
|
||||
%{buildroot}%{_sysconfdir}/pm/hooks/99resolution
|
||||
|
||||
|
||||
%clean
|
||||
|
|
@ -100,15 +95,11 @@ fi
|
|||
%doc LICENSE.txt README* changes.log chipset_info.txt dump_bios
|
||||
%{_sbindir}/*
|
||||
%{_sysconfdir}/rc.d/init.d/*
|
||||
%{_sysconfdir}/pm/sleep.d/*
|
||||
%{_sysconfdir}/pm/hooks/*
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Dec 15 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.5.3-4
|
||||
- add support for the E7221 chipset (BZ#425789)
|
||||
- fix suspend/resume hook placement (BZ#253453)
|
||||
|
||||
* Tue Nov 13 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.5.3-3
|
||||
- incorporate patch from bz #331411
|
||||
|
||||
|
|
|
|||
54
E7221.patch
54
E7221.patch
|
|
@ -1,54 +0,0 @@
|
|||
--- 915resolution-0.5.3/915resolution.c.lr 2007-10-14 19:35:46.000000000 +0200
|
||||
+++ 915resolution-0.5.3/915resolution.c 2007-10-14 19:38:49.000000000 +0200
|
||||
@@ -55,12 +55,12 @@ typedef unsigned char boolean;
|
||||
typedef unsigned int cardinal;
|
||||
|
||||
typedef enum {
|
||||
- CT_UNKWN, CT_830, CT_845G, CT_855GM, CT_865G, CT_915G, CT_915GM, CT_945G, CT_945GM,
|
||||
+ CT_UNKWN, CT_830, CT_845G, CT_855GM, CT_865G, CT_915G, CT_E7221, CT_915GM, CT_945G, CT_945GM,
|
||||
CT_946GZ, CT_G965, CT_965GM, CT_Q965
|
||||
} chipset_type;
|
||||
|
||||
char * chipset_type_names[] = {
|
||||
- "UNKNOWN", "830", "845G", "855GM", "865G", "915G", "915GM", "945G", "945GM",
|
||||
+ "UNKNOWN", "830", "845G", "855GM", "865G", "915G", "E7221 (i915)", "915GM", "945G", "945GM",
|
||||
"946GZ", "G965", "965GM", "Q965"
|
||||
};
|
||||
|
||||
@@ -201,6 +201,10 @@ chipset_type get_chipset(cardinal id) {
|
||||
type = CT_915G;
|
||||
break;
|
||||
|
||||
+ case 0x25888086:
|
||||
+ type = CT_E7221;
|
||||
+ break;
|
||||
+
|
||||
case 0x25908086:
|
||||
type = CT_915GM;
|
||||
break;
|
||||
@@ -509,6 +513,7 @@ void unlock_vbios(vbios_map * map) {
|
||||
case CT_845G:
|
||||
case CT_865G:
|
||||
case CT_915G:
|
||||
+ case CT_E7221:
|
||||
case CT_915GM:
|
||||
case CT_945G:
|
||||
case CT_945GM:
|
||||
@@ -550,6 +555,7 @@ void relock_vbios(vbios_map * map) {
|
||||
case CT_845G:
|
||||
case CT_865G:
|
||||
case CT_915G:
|
||||
+ case CT_E7221:
|
||||
case CT_915GM:
|
||||
case CT_945G:
|
||||
case CT_945GM:
|
||||
@@ -800,6 +806,9 @@ int parse_args(int argc, char *argv[], c
|
||||
else if (!strcmp(argv[index], "915G")) {
|
||||
*forced_chipset = CT_915G;
|
||||
}
|
||||
+ else if (!strcmp(argv[index], "E7221")) {
|
||||
+ *forced_chipset = CT_E7221;
|
||||
+ }
|
||||
else if (!strcmp(argv[index], "915GM")) {
|
||||
*forced_chipset = CT_915GM;
|
||||
}
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
i810 driver not present in devel/f9+ :)
|
||||
Reference in a new issue