[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] PS/2 Controller



Hi Pablo,

I was sifting through the /drivers/input/ list on the git repository and I have found the driver for the xps_ps2 IP core. This can be found here:

http://git.monstr.eu/git/gitweb.cgi?p=linux-2.6-microblaze.git;a=history;f=drivers/input/serio/xilinx_ps2.c;h=ebb22f88c8426bdd3cebff9e2f822d0b7412ade7;hb=HEAD

Its been added by John Linn from Xilinx on July of 2008. As part of my project of migrating Petalinux to the XUPV2P board, I want to eventually use a PS/2 keyboard attached to the PS/2 port of the board. My EDK project is microblaze-based and uses the XPS_PS2 core. However, looking at the Kconfig entry of the XPS_PS2 driver, john linn mentions that its for PPC, I am new to all of this so do you know if it will work with a microblaze-based design instead?

By the way, I also checked the SVN trunk for Petalinux here (username: guest, no password):

https://developer.petalogix.com/pr/internal/petalinux/trunk/software/linux-2.6.x-petalogix/drivers/input/serio/

and the driver does not exist.

If anyone has tried using this driver, would you please let me know if it works with a microblaze-based EDK project.

Best Regards.

Aws\

On Fri, Apr 3, 2009 at 2:41 AM, <pcolodron@xxxxxxxx> wrote:
Hi all,

I am actually working with a ML405 board and microblaze. I have succesfully ported a uClinux system with framebuffer support. My next aim is to work with a PS/2 mouse and a PS/2 keyboard.

I guessed I had to activate 'Device Drivers'->'Input device support'->'Mouse interface' and 'Provide legacy /dev/psaux'.

I also activated 'Device Drivers'->'Input device support'->'Mouse'->'PS/2 Mouse' and also 'AT Keyboard'.

However, if I do this I do not have any /dev/psaux in my system and neither I have /dev/input. Is this normal?

'i8042 PC keyboard controller' is activated as well but I believe that, in my case, I need a specific Xilinx PS/2 driver, am I right?

I have been looking at ../drivers/input files and, if I am not mistaken, mousedev.c should register the devices /dev/psaux and dev/mice. When the kernel boots, I receive 'mice: PS/2 mouse device common for all mice'.

Could anyone help to understand the connection beeween these drivers and devices? Do you know any place where I could find a driver for Xilinx PS/2?

Thanks a lot for your help.

Kind regards,

Pablo Colodron

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/