From: Vojtech P. <vo...@us...> - 2002-07-10 22:34:04
|
Update of /cvsroot/linuxconsole/ruby/utils In directory usw-pr-cvs1:/tmp/cvs-serv27583/utils Modified Files: inputattach.c Log Message: Sync input drivers to the BK tree. Index: inputattach.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/utils/inputattach.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- inputattach.c 25 Sep 2001 09:37:57 -0000 1.20 +++ inputattach.c 10 Jul 2002 22:34:01 -0000 1.21 @@ -319,6 +319,11 @@ { unsigned char c, o = 0; + c = 0x80; + + if (write(fd, &c, 1) != 1) /* Enable command */ + return -1; + while (1) if (!readchar(fd, &c, 1)) { printf("%02x (%c) ", c, ((c > 32) && (c < 127)) ? c : 'x'); @@ -364,7 +369,7 @@ { "--ps2serkbd", "-ps2ser", B1200, CS8, SERIO_PS2SER, 0x00, 1, NULL }, { "--twiddler", "-twid", B2400, CS8, SERIO_TWIDKBD, 0x00, 0, twiddler_init }, { "--twiddler-joy", "-twidjoy", B2400, CS8, SERIO_TWIDJOY, 0x00, 0, twiddler_init }, -{ "--dump", "-dump", B1200, CS7, 0, 0x00, 0, dump_init }, +{ "--dump", "-dump", B2400, CS8, 0, 0x00, 0, dump_init }, { "", "", 0, 0 } }; |