lkml.org 
[lkml]   [1996]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 1.99.11: keyboard dead

On Tue, 4 Jun 1996, Herbert Rosmanith wrote:
>
> please ignore my previous post. I wrote, that 1.99.11 does not
> show the keyboard-lock syndrom. wrong, it *does* show it. I didn't
> recognise it, because it does not show up immediately, but requires some
> time to appear (30 seconds ? 60 senconds ?). symptoms: unable to
> switch VCs, pressing keys like CAPS, NUM and SCROLL-LOCK wont alter
> the LEDs on the keyboard.
>
> when I log in from another computer at home (I have built a test-LAN),
> I can however "cat > /dev/tty1" and will see whatever I type on the
> 2nd computer.
>
> It is also impossible to restart the console by terminating the process
> that owns it (i.e. bash or agetty).
>
> plugging in a different keyboard doesn't help either.
>

I have got the same symptoms, though only when my GUS is playing any sound
for a while. It looks like missed interrupt for me because reading a single
character directly from keybord I/O returns it to life. It needn't to be
your case but why not trying this when logged from another machine.
This works for me:

(*---------cut here---------*)

#include <fcntl.h>

int main()
{
int fd;
unsigned char w;

fd=open("/dev/port",O_RDONLY);
if(fd<0) printf("Error 1");
lseek(fd,0x60,0);
read(fd,&w,1);
close(fd);
printf("value=%x\n",w);
}
(*--------cut here-----------*)

Please tell me if it helps.

Best regards,

Emil


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.042 / U:2.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site