Hello, I have integrated the PS2 device driver in the petalinux distribution. The original code is from a PPC system I found on the web. Mouse and keyboard is working for me. I have not tested it on the Xilinx evaluation boards. On our own boards it works! I have tested it only on a noMMU microblaze system. On my system I connect the PS2 keyboard/mouse via the "dual_ps2_ioadapter_v1_00_a" and "opb_ps2_dual_ref_v1_00_a" pcores. The attachment contains a patch for the PS2 Linux device driver. Hope this helps, Hans John Williams <jwilliams@xxxxxxxxxxxxxx> wrote: > Hi Cocan, > > Cocan Lucian wrote: > > > I am trying to use the keyboard as the stdin and the monitor as the > > stdout in petalinux (instead of the serial port) and I have a few > > questions > >(I am using a Virtex II pro board with the latest dist of petalinux) On > >the EDK side is it enough to include the ps2 module and the > >plb_tft_cntlr_ref module in my project? > >What settings I should use in petalinux to get a compiled kernel that will > >make use of my keyboard and my monitor? > > You'll need to write or obtain a device driver for the ps2 controller, > and probably need to hack on the xilinx_fb driver in drivers/vidio to > get it going with the newer tft_cntrl design. > > Simon Tam who has posted here a few times was working on something > similar, Simon do you have any updates to drivers and infrastructure > that you can share? > > Thanks, > > John > > ___________________________ > 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/ -- Dr. Johann Pfefferl ------------ mailto j.pfefferl at eubus dot net Eubus GmbH http://www.eubus.net ++++ http://www.ebmhydraxc.com Gollierstr. 70 D-80339 Muenchen Phone: +49 (0)89 45 22 578-67 Fax: +49 (0)89 45 22 578-55 Registergericht Muenchen HRB 145 336, Ust-Id Nr. DE 225 783 933 Geschaeftsfuehrer: Volker Ulrich, Peter Sibities == -o) A computer program does what you tell it to do, /\\ not what you want it to do. _\_v-
Attachment:
xilinx_ps2.patch.gz
Description: Binary data