Hai All,

Previsously I had mentioned the problem
Now we have successfully cleared the issue and u need to do the following in 
the linux kernel to make USB keyboard fully working

1. Enable USB HID FUll Support
2.Enable Input core support for mouse and Keyboard
3. Add the following lines in your main project file like for 
ev64260_defconfig add in ev64260.c file
    #ifdef  CONFIG_DUMMY_CONSOLE
            conswitchp = &dummy_con;
    #endif
    #ifdef  CONFIG_VGA_CONSOLE
          conswitchp = &vga_con;
    #endif
      #ifdef CONFIG_VT
        /* Spruce has a PS2 style keyboard */
        ppc_md.kbd_setkeycode = pckbd_setkeycode;
        ppc_md.kbd_getkeycode = pckbd_getkeycode;
        ppc_md.kbd_translate = pckbd_translate;
        ppc_md.kbd_unexpected_up = pckbd_unexpected_up;
        ppc_md.kbd_leds = pckbd_leds;
        ppc_md.kbd_init_hw = pckbd_init_hw;
    #ifdef CONFIG_MAGIC_SYSRQ
        ppc_md.ppc_kbd_sysrq_xlate = pckbd_sysrq_xlate;
        SYSRQ_KEY = 0x54;
    #endif
    #endif

And the USB keyboard and mouse works perfectly with X

Regards
Arun


--------------------------------------------------------------------------------Hi,

  We"re trying to get a USB keyboard working under X in our embedded system.


  We are using a custom graphics chip, that provides support for a linux

  framebuffer device. On top of this we are then running X, Xfree86 driver.


  We have plugged in a USB keyboard and mouse, and both are recognised by 
the

  kernel. Reading from the appropriate /dev/input/eventX device shows that
  both devices are working. We have successfully configured X to use the USB

  mouse.And the we are able to see mouse movements also.


  However, we are not having any success in getting the keyboard to work 
under
  X. Our system console is on a serial port, and there is no "standard"

  console for the keyboard to "hook" up to.


  Itseems you had come across the same problem

 Can u help us?


 Regards
 Arun 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to