Package: acerhk-source Version: 0.5.35-3 Severity: grave Tags: patch The module does not work on i386. Reason is a wrong #if statement which causes the dummy code path used for testing to be enabled when compiling on i386. See attached patch for a fix.
-- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages acerhk-source depends on: ii bzip2 1.0.5-0.1 high-quality block-sorting file co ii debhelper 7.0.15 helper programs for debian/rules ii make 3.81-5 The GNU version of the "make" util ii module-assistant 0.10.11.0 tool to make module package creati acerhk-source recommends no packages. acerhk-source suggests no packages. -- no debconf information
--- /tmp/t/modules/acerhk/acerhk.c 2008-04-29 03:42:30.000000000 +0200 +++ acerhk/acerhk.c 2008-08-10 00:53:47.000000000 +0200 @@ -2973,7 +2993,7 @@ init_input(); memset(acerhk_model_string, 0x00, ACERHK_MODEL_STRLEN); /* #ifdef DUMMYHW */ -#if !(defined(DUMMYHW) || defined(__x86_64__)) +#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);