2.4.x kernel keyboard fix for Digital HiNote Ultra 2000

2.4.x kernel keyboard fix for Digital HiNote Ultra 2000

Post by Mark Cleg » Mon, 26 Feb 2001 22:20:04



I have been using the 2.2.x kernels on the Digital HiNote Ultra 2000
(Mobile Pentium MMX 266) (I think this system was later rebadged as a
Compaq Armada 6500) without problem, however, on upgrading to the 2.4
series (2.4.0, 2.4.1 and 2.4.2) I have experienced the system*
quite reliably. - The problem goes away when an external keyboard/mouse
is attached.

Further investigation showed that the system itself isn't*, just
the keyboard/mouse becomes inoperable (I can still telnet into the
system). Booting without X and GPM is fine but cat /dev/psaux will zap
the keyboard.

I have traced this to drivers/char/pc_keyb.c and it is related to
operation of the builtin mouse (synaptics touchpad).

It would appear that the keyboard hardware is rather sensitive to
something. (RedHat 6.2 Kudzu locks it out as well - this one is
documented in the HiNote HOWTO)).

I have resolved the problem by commenting out a line in
drivers/char/pc_keyb.c related to fixing problems on a Toshiba 4030cdt.
It would appear that the fix for the Tosh, breaks the HiNote. (I don't
have a Tosh to experiment with).

Patch below.....

Regards
Mark

--- drivers/char/pc_keyb.c.orig Sat Feb 24 20:01:46 2001

        aux_write_ack(AUX_ENABLE_DEV); /* Enable aux device */
        kbd_write_cmd(AUX_INTS_ON); /* Enable controller ints */

-       send_data(KBD_CMD_ENABLE);      /* try to workaround
toshiba4030cdt problem */
+//     send_data(KBD_CMD_ENABLE);      /* try to workaround
toshiba4030cdt problem */

        return 0;
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://www.veryComputer.com/
Please read the FAQ at  http://www.veryComputer.com/

 
 
 

2.4.x kernel keyboard fix for Digital HiNote Ultra 2000

Post by Alan Co » Tue, 27 Feb 2001 03:10:02


Quote:> drivers/char/pc_keyb.c related to fixing problems on a Toshiba 4030cdt.
> It would appear that the fix for the Tosh, breaks the HiNote. (I don't
> have a Tosh to experiment with).

Reading the pc_keyb.c code two things strike me. The first is to wonder how
the hell Linus let that code get submitted ;) and the second is that the
delay rules are totally violated, and thats something we know the hinote's
hate.

> --- drivers/char/pc_keyb.c.orig Sat Feb 24 20:01:46 2001
> +++ drivers/char/pc_keyb.c      Sat Feb 24 20:02:03 2001

>         aux_write_ack(AUX_ENABLE_DEV); /* Enable aux device */
>         kbd_write_cmd(AUX_INTS_ON); /* Enable controller ints */

> -       send_data(KBD_CMD_ENABLE);      /* try to workaround
> toshiba4030cdt problem */
> +//     send_data(KBD_CMD_ENABLE);      /* try to workaround
> toshiba4030cdt problem */

Instead of commenting it put

        mdelay(1);

before and after, and let me know if that helps

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.4.x kernel keyboard fix for Digital HiNote Ultra 2000

Post by Mark Cleg » Wed, 28 Feb 2001 05:50:04


I've tried adding mdelay(1) before and after but
this doesn't help. However, increasing the delay
does, and the minimum I've got to work is mdelay(2)
before, with no delay afterwards. I don't know what
the delay rules for the controller are, so it may
be necessary to add one afterwards as well. It
certainly doesn't seem to hurt the HiNote whether
there is or not.

Regards
Mark

Revised patch....

--- drivers/char/pc_keyb.c.orig Mon Feb 26 20:22:45 2001

        aux_write_ack(AUX_ENABLE_DEV); /* Enable aux device */
        kbd_write_cmd(AUX_INTS_ON); /* Enable controller ints */

+       mdelay(2);
        send_data(KBD_CMD_ENABLE);      /* try to workaround toshiba4030cdt
problem */

        return 0;

Akan Cox wrote.

> > drivers/char/pc_keyb.c related to fixing problems on a Toshiba 4030cdt.
> > It would appear that the fix for the Tosh, breaks the HiNote. (I don't
> > have a Tosh to experiment with).

> Reading the pc_keyb.c code two things strike me. The first is to wonder how
> the hell Linus let that code get submitted ;) and the second is that the
> delay rules are totally violated, and thats something we know the hinote's
> hate.

> > --- drivers/char/pc_keyb.c.orig Sat Feb 24 20:01:46 2001
> > +++ drivers/char/pc_keyb.c      Sat Feb 24 20:02:03 2001

> >         aux_write_ack(AUX_ENABLE_DEV); /* Enable aux device */
> >         kbd_write_cmd(AUX_INTS_ON); /* Enable controller ints */

> > -       send_data(KBD_CMD_ENABLE);      /* try to workaround
> > toshiba4030cdt problem */
> > +//     send_data(KBD_CMD_ENABLE);      /* try to workaround
> > toshiba4030cdt problem */

> Instead of commenting it put

>         mdelay(1);

> before and after, and let me know if that helps

> Alan

--
+-------------------------------------------------------------------+
| Mark Clegg                           www.cleggies.freeserve.co.uk |
| 38th Rossendale (Open) Scout Group          www.the38thrsg.org.uk |
+-------------------------------------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Anyone have experience with Redhat on Digital HiNote Ultra 2000?

We're looking at purchasing a DEC Hinote 2000 laptop and want to know
if anyone has successfully set up Redhat 5 on one.  Specifically, we
are wondering about how the display performs with XFree86 and if you
can get the advertised resolutions (1024x768, 16bit on LCD; 1280x1024,
16bit on external) using XFree.  
        We are also interested in any troubles with drivers for any of
the usual suspects on laptops (keyboards, touchpad, ports, sound, etc)
and especially any information or experience on getting the
suspend/hibernate modes to work with Linux.  

Thanks in advance;

Erik Miller


2. LIMIT DOES REALLY NOT LIMIT

3. Linux/XFree on Digital HiNote Ultra 2000 and Hitachi Visionbook Elite

4. dhcpcd lease renewal

5. Laptop DIGITAL HiNote Ultra 2000

6. Conifiguring keyboard shortcuts in KDE.

7. floppy / 2.0.35 / Digital Hinote Ultra 2000 : unexpected interrupt

8. LINUX drivers for Viper?

9. Has Anyone Had Any Success with Solaris 7 on a Digital Hinote Ultra 2000?

10. Network on Digital HiNote 2000

11. Digital HiNote 2000 & Caldera OpenLinux 2.2 Setup

12. Network on Digital HiNote 2000

13. Help \w digital hinote 2000 XF86Config?