Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 17 years ago
parent
commit
5d18335702
3 changed files with 59 additions and 0 deletions
  1. +1
    -0
      package/base/hwinfo/hwinfo.conf
  2. +42
    -0
      package/base/hwinfo/hwinfo.desc
  3. +16
    -0
      package/base/hwinfo/tiocgdev.patch

+ 1
- 0
package/base/hwinfo/hwinfo.conf

@ -0,0 +1 @@
postmake="cp -v doc/hwinfo.8 $mandir/man8/"

+ 42
- 0
package/base/hwinfo/hwinfo.desc

@ -0,0 +1,42 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/base/util-linux/util-linux.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] probe for hardware
[T] hwinfo is used to probe for the hardware present in the system.
[T] It can be used to generate a system overview log which can be
[T] later used for support.
[A] Steffen Winterfeldt <snwint@suse.de>
[M] Clifford Wolf <clifford@clifford.at>
[C] base/system
[F] CORE
[L] GPL
[S] Stable
[V] 13.28
[P] X -X---5---9 179.401
[D] 2713566454 hwinfo_13.28.orig.tar.gz http://ftp.debian.org/debian/pool/main/h/hwinfo/

+ 16
- 0
package/base/hwinfo/tiocgdev.patch

@ -0,0 +1,16 @@
--- ./src/hd/kbd.c.orig 2007-06-01 00:12:35.000000000 +0200
+++ ./src/hd/kbd.c 2007-06-01 00:13:02.000000000 +0200
@@ -142,11 +142,13 @@
}
if(!dev && (fd = open(DEV_CONSOLE, O_RDWR | O_NONBLOCK | O_NOCTTY)) >= 0) {
+#if 0
if(ioctl(fd, TIOCGDEV, &u) != -1) {
tty_major = (u >> 8) & 0xfff;
tty_minor = (u & 0xff) | ((u >> 12) & 0xfff00);
ADD2LOG(DEV_CONSOLE ": major %u, minor %u\n", tty_major, tty_minor);
}
+#endif
if(tty_major == 229 /* iseries hvc */) {
if (tty_minor >= 128) {

Loading…
Cancel
Save