Your message dated Sun, 08 Jul 2007 11:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#250619: fixed in afbinit 1.0-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: afbinit
Version: 1.0-1.1
Severity: important

Hi,

I have a machine with an Elite3D card. Recently I tried using xorg on 
it, and found that afbinit init script does not load the microcode on 
boot. It relies on encountering 'Elite' string in dmesg output as an 
indication that the microcode must be loaded. Latest kernels do not 
contain this string, so it exits silently. The simple attached patch 
works on my box. 

Ben, I would like to ask for your permission to become a comaintainer 
of afbinit in Debian. Then I could upload this fix, and sync with 
Ubuntu.

Best regards,
-- 
Jurij Smakov                                           [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC
diff -aur a/debian/afbinit.init b/debian/afbinit.init
--- a/debian/afbinit.init	2007-02-18 13:15:46.000000000 -0800
+++ b/debian/afbinit.init	2007-02-18 13:14:59.000000000 -0800
@@ -11,13 +11,11 @@
 	exit
 fi
 
-# Need a better way to test this
-[ `dmesg | grep -c "Elite 3D"` -ne 0 ] || exit
-
 case "$1" in
   start)
 	# Make FB device list.
-	afb_devs=`/bin/dmesg | /bin/egrep -i "Elite 3D" | /bin/sed 's/\:.*//'`
+	afb_devs=$(awk '/Elite/ {printf "fb%d\n",$1}' /proc/fb)
+	[ -n "${afb_devs}" ] || exit 0
 
 	# Load microcode onto each card.
 	for AFB in ${afb_devs}; do
diff -aur a/debian/control b/debian/control
--- a/debian/control	2007-02-18 13:15:46.000000000 -0800
+++ b/debian/control	2007-02-18 13:25:25.000000000 -0800
@@ -7,7 +7,7 @@
 
 Package: afbinit
 Architecture: sparc
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, mawk | awk
 Description: Elite 3D Framebuffer firmware initializer
  The package provides a program that can initialize the microcode firmware
  on an Elite 3D framebuffer card found on many UltraSPARC systems. This is

--- End Message ---
--- Begin Message ---
Source: afbinit
Source-Version: 1.0-2

We believe that the bug you reported is fixed in the latest version of
afbinit, which is due to be installed in the Debian FTP archive:

afbinit_1.0-2.diff.gz
  to pool/contrib/a/afbinit/afbinit_1.0-2.diff.gz
afbinit_1.0-2.dsc
  to pool/contrib/a/afbinit/afbinit_1.0-2.dsc
afbinit_1.0-2_sparc.deb
  to pool/contrib/a/afbinit/afbinit_1.0-2_sparc.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emanuele Rocca <[EMAIL PROTECTED]> (supplier of updated afbinit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 08 Jul 2007 13:27:18 +0200
Source: afbinit
Binary: afbinit
Architecture: source sparc
Version: 1.0-2
Distribution: unstable
Urgency: low
Maintainer: Emanuele Rocca <[EMAIL PROTECTED]>
Changed-By: Emanuele Rocca <[EMAIL PROTECTED]>
Description: 
 afbinit    - Elite 3D Framebuffer firmware initializer
Closes: 250619 282955
Changes: 
 afbinit (1.0-2) unstable; urgency=low
 .
   * New maintainer
   * debian/afbinit.init:
     - card recognition code modified to work properly with 2.6 kernels
       (Closes: #250619)
     - redirect afbinit standard output to /dev/null
     - use LSB init-functions
     - add LSB keyword section
   * debian/rules:
     - run init script after mountall (Closes: #282955)
     - do not ignore errors in the clean target
     - binary-arch and binary-indep targets added
   * debian/control:
     - Standards-Version set to 3.7.2
     - set myself as the maintainer
   * debian/copyright:
     - Author(s) replaced with Author
     - added pointer to /usr/share/common-licenses/GPL-2
   * debian/README.Debian, debian/afbinit.8:
     - s/afb/afbinit/
Files: 
 02c10ff74585f7b83b2cd7dc3985a793 553 contrib/utils optional afbinit_1.0-2.dsc
 e3880f78f3ca8976ce0e8e14538ca6b3 3555 contrib/utils optional 
afbinit_1.0-2.diff.gz
 8df75ea193c44655255f49af9838a195 7484 contrib/utils optional 
afbinit_1.0-2_sparc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGkMxKC6DuA+rxm2ARAgNUAJ0XMOj1K2S+Suj4rspfLkIaKh1JXACfbgy+
5lx2HIrzf2gx5X6H29HiLQs=
=jE+U
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to