GUS freezes keyboard

Emil Stepniewski (emil@oeiizk.waw.pl)
Tue, 19 Mar 1996 19:47:14 +0000 (GMT)


Hi!
I've just got Gravis Ultrasound rev. 2.4 but I cannot enjoy it. I compiled
new kernel (1.3.71 but 72 and 74 makes no difference) with suport for GUS
and the GUS works fine but my keyboard freezes after few key strokes from
the moment GUS starts playing anything. All the rest works fine, I can use
mouse or telnet from another host. After reboot keyboard is OK.
I tried to find what's going on and what I found:
1. After keyboard freeze /proc/interrupts shows IRQ1 count not increasing
while pressing any keys.
2. I can make my keyboard working again by logging in from another host
and running program, that reads directly from keyboard port.

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

fd=open("/dev/port",O_RDONLY);
lseek(fd,0x60,0);
read(fd,&w,1);
close(fd);
}

Then the keyboard works again, but if the sound playing continues
it freezes again quickly (unless I'm not pressing anything).
Seems to me like a missed irq from keyboard.
I experienced it with Doom, Abuse or just playing mods with tracker.
I didn't have any troubles with SBPro, that I used earlier.

Any clever ideas? Does anyone have similar problems?

Emil Stepniewski