From: Aivils S. <Aiv...@un...> - 2002-09-17 11:07:15
|
Hi, Vojtech How to is safer register new keyboard without necessary VT. Into kdb_connect() keyboard.c we have James comment: /* If we have more keyboards than VTs we still register the handler. * It is possible someone might add a graphics card thus needing the * keyboard later */ With this we have: handle->private == 0 ,if can't find VT. Can I solve this with single line in kbd_event() if(!handle->private) return; So this keyboard still registered, but no process any event. Or kbd_connect() return NULL pointer? Is it allowable? Allow Your i386 arch oriented drivers hot remove/replug? Perform removing automatic unregistering? What should happen if keyboard replugged under linux-ruby? How many USB keyboards should work independ? Should work USBBP simultaneous with USB-HID keyboard? Best regards, Aivils Stoss |