On Tue, 17 Dec 2002, Johannes Erdfelt wrote: | On Tue, Dec 17, 2002, A.J. Aranyosi <[EMAIL PROTECTED]> wrote: | > I've recently picked up a Dell Dimension 8250, and I'm having some strange | > USB problems in Linux (Gentoo). Specifically, whenever I insert either | > the uhci or usb-uhci module, my PS/2 keyboard freezes up. If I log in | > remotely I can see that the module initialized the usb mouse properly, but | > removing the module doesn't free up the keyboard. The freezing happens | > regardless of whether I have the mouse plugged in or not, and regardless | > of whether I have legacy emulation support turned on or off in the bios. | > I've tried it with vanilla 2.4.18, 2.4.20, and 2.5.51 kernels, and with | > Gentoo's modified 2.4.19 kernel, all with the same results. The usb | > chipsets (there are four of them, plus two usb 2.0 ones) are VIA UHCI (rev | > 80) (the usb 2.0 ones are rev 81), and the motherboard chipset is an Intel | > 82850. Any idea what might be causing this? I'm planning to poke around | > in uhci.c to see if I can figure out where the freeze happens. Any | > pointers on where to focus my search? Thanks, | | That's interesting. The UHCI drivers turn off legacy emulation when they | start because we take over the HC. I don't think either turn it back on | when they are removed.
I think you are right, and I think it would be good to change it. I'd like for soft reboot (which should notify drivers of shutdown or unload) to re-enable legacy emulation for the next boot sequence. | Maybe the integration on these chips mix the USB and PS/2 functionality | and there's some sort of hidden dependency or bug there? | | Can you try turning on legacy emulation again when the module is | removed? | | Or if you're not comfortable enough doing that, I can hack up a patch. -- ~Randy ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
