Your message dated Tue, 29 Apr 2008 02:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#473671: fixed in acerhk 0.5.35-3
has caused the Debian Bug report #473671,
regarding acerhk: enable amd64 support
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
473671: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473671
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: acerhk
Version: 0.5.35-2
Severity: wishlist
Tags: patch

Please consider applying this patch, got from:
http://gentoo-wiki.com/HARDWARE_Acer_Aspire_5102WLMi#acerhk

I suggest to document this combination in README.Debian:
options acerhk poll=0 usedritek=1 force_series=2020

After setkeycoding, it works like a charm.
diff -bBur acerhk-0.5.35-old/acerhk.c acerhk-0.5.35/acerhk.c
--- acerhk-0.5.35-old/acerhk.c  2007-02-10 17:46:23.000000000 +0200
+++ acerhk-0.5.35/acerhk.c      2007-04-28 19:18:49.000000000 +0300
@@ -550,6 +550,7 @@
  */
 static asmlinkage void call_bios_6xx(struct register_buffer *buf)
 {
+#ifndef __x86_64__
   if (bios_routine) {
       local_irq_disable();
        __asm__ __volatile__(
@@ -578,10 +579,12 @@
                                                 );
       local_irq_enable();
   }
+#endif
 }

 static asmlinkage void call_bios_52x(struct register_buffer *buf)
 {
+#ifndef __x86_64__
   if (bios_routine) {
       local_irq_disable();
        __asm__ __volatile__(
@@ -611,6 +614,7 @@
                                                 );
       local_irq_enable();
   }
+#endif
 }

 #define PRINT_BUFFER(x) \
@@ -783,7 +787,8 @@
   unsigned char c = 0;

   spin_lock_irqsave (&rtc_lock, flags);
-#ifndef DUMMYHW
+/* #ifndef DUMMYHW */
+#if !(defined(DUMMYHW) || defined(__x86_64__))
   if (cmos_index)
     c = CMOS_READ(cmos_index);
   else if (verbose > 3)
@@ -867,9 +872,9 @@

 static struct proc_dir_entry *proc_acer_dir;

-static unsigned int __init find_hk_area(void)
+static unsigned long __init find_hk_area(void)
 {
-  int offset, sig;
+  long offset, sig;
   unsigned int fkt;
   fkt = 0;
   sig = -1; /* offset to signature in io area */
@@ -887,9 +892,9 @@
     fkt = readl(reg1 + sig + 5);
     /* adjust fkt to address of mapped IO area */
     if (fkt >= 0xf0000)
-      fkt = (unsigned int)reg1 + fkt - 0xf0000;
+      fkt = (unsigned long)reg1 + fkt - 0xf0000;
     else if (fkt >= 0xe0000)
-      fkt = (unsigned int)reg1 + fkt - 0xe0000;
+      fkt = (unsigned long)reg1 + fkt - 0xe0000;
     else
       fkt = 0;
   }
@@ -1144,6 +1149,7 @@
   case 2000:
   case 2010:
   case 2020:
+  case 5100:
     /* Aspire 13xx series laptops use dritek hardware, no
        acerhk-mapping needed
        VolUp and VolDown are managed as normal keys
@@ -1458,6 +1464,7 @@
   case 1800:
   case 2010:
   case 2020:
+  case 5100:
     /* Dritek EC, bluetooth, wifi, mail */
     acerhk_type = TM_dritek;
     acerhk_model_features = TM_F_MAIL_LED_EC2 | TM_F_WLAN_EC2 | TM_F_BLUE_EC2;
@@ -1792,6 +1799,8 @@
           break;
         case '2': series = 5020; break;
         }
+      } else if (str[8] == '1' && str[9] == '0') {
+       series = 5100;
       } else {
         if (verbose > 1)
           printk(KERN_INFO"acerhk: model string indicates unknown Aspire 5xxx series\n");
@@ -2117,7 +2126,8 @@
 /* polling timer handler */
 static void acerhk_poll_event(unsigned long save_size)
 {
-#ifndef DUMMYHW
+/* #ifndef DUMMYHW */
+#if !(defined(DUMMYHW) || defined(__x86_64__))
   unsigned int max = MAX_POLLING_LOOPS;
   /* make sure not to loop more then 32 times */
   if (!max || max > 32)
@@ -2139,7 +2149,8 @@
 {
   if (acerhk_blueled_blinking != -1) {
     acerhk_blueled_blinking = !acerhk_blueled_blinking;
-#ifndef DUMMYHW
+/* #ifndef DUMMYHW */
+#if !(defined(DUMMYHW) || defined(__x86_64__))
     wbutton_fct_1(acerhk_blueled_blinking);
 #endif
     acerhk_timer_blinking.expires = jiffies + acerhk_blueled_blinking_delay;
@@ -2904,7 +2915,8 @@
     /* attach to input system */
     init_input();
     memset(acerhk_model_string, 0x00, ACERHK_MODEL_STRLEN);
-#ifdef DUMMYHW
+/* #ifdef DUMMYHW */
+#if !(defined(DUMMYHW) || defined(__x86_64__))
     acerhk_model_addr = (void*)0x12345678;
     /* copy the string, but not more than 15 characters */
     strncpy(acerhk_model_string, "TravelmateDummy", ACERHK_MODEL_STRLEN-1);

--- End Message ---
--- Begin Message ---
Source: acerhk
Source-Version: 0.5.35-3

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

acerhk-source_0.5.35-3_all.deb
  to pool/main/a/acerhk/acerhk-source_0.5.35-3_all.deb
acerhk_0.5.35-3.diff.gz
  to pool/main/a/acerhk/acerhk_0.5.35-3.diff.gz
acerhk_0.5.35-3.dsc
  to pool/main/a/acerhk/acerhk_0.5.35-3.dsc



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.
Adam Cécile (Le_Vert) <[EMAIL PROTECTED]> (supplier of updated acerhk 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.8
Date: Mon, 28 Apr 2008 19:14:16 +0200
Source: acerhk
Binary: acerhk-source
Architecture: source all
Version: 0.5.35-3
Distribution: unstable
Urgency: low
Maintainer: Adam Cécile (Le_Vert) <[EMAIL PROTECTED]>
Changed-By: Adam Cécile (Le_Vert) <[EMAIL PROTECTED]>
Description: 
 acerhk-source - Source for the acerhk driver
Closes: 473671 478253
Changes: 
 acerhk (0.5.35-3) unstable; urgency=low
 .
   * Add patch for Aspire 5100 series / 64bits mode (Closes: #473671, #478253).
   * Improve README.Debian.
Checksums-Sha1: 
 64befb2189b769456a9d25969d6b2fb3251c7888 1019 acerhk_0.5.35-3.dsc
 79ae715824145fd495916987e349ec75c95e1ad4 4680 acerhk_0.5.35-3.diff.gz
 132fad61d6faf2ab2a7b6c7c9cfad1fc9374c7ad 38560 acerhk-source_0.5.35-3_all.deb
Checksums-Sha256: 
 5158aebbee31c711aa40e11d592bd1b03e1281cffc227056b3caf8ba90be5803 1019 
acerhk_0.5.35-3.dsc
 3c11c5d9ed5d67ff8f8f299891ca06b463544dff301c10b41c2f0222fd37a234 4680 
acerhk_0.5.35-3.diff.gz
 0dfc821f8bed8301d827a87dd05d0c459d7bc56634b312a260318ac610a4113e 38560 
acerhk-source_0.5.35-3_all.deb
Files: 
 4afbd0c54b69db5238770c10572f5b4b 1019 misc optional acerhk_0.5.35-3.dsc
 2e132ab0cc596423b495f06f64ab3a7b 4680 misc optional acerhk_0.5.35-3.diff.gz
 6c841b417c2758a1dde43ffae2f3424c 38560 misc optional 
acerhk-source_0.5.35-3_all.deb

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

iD8DBQFIFn15AQwuptkwlkQRAiidAJ9kh+zlLYPQ6WMQmVP0SSK34WVEUwCfV7iM
15AezAyx3AUt9Zx5W0/YLWk=
=MHI2
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to