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

[microblaze-uclinux] Xilinx ps/s mouse



Hi,

i am getting the following statement correctly.

printk(KERN_INFO "Xilinx PS/2 #%d at 0x%08X mapped to 0x%08X\n",
              dev->index, dev->save_BaseAddress, cfg->BaseAddress);

which means the device is registered, but i do  have to register the mouse device as "psaux,c,10" ie a character device , because when i want an application to pick up mouse it will search for a device psaux in /dev/psaux(that's how it happens in linux) but if in xilinx its registered how  do i open the device, which device will the application search for?

if i have to initialize in the same way as in pc_keyb.c i will have to write the few values (which r in /linux/pc_keyb.h) they are


1. D3(to control register)  2. 5a(to data write register)
3. A8(        " 		)
4. D4(        "		)  5. F3(        " 		)
6. D4(		"	)  7. 100(	"		)
8. D4(		"	)  9. E8(	"		)
10. D4(		"	)  11. 3(	"		)
12. D4(		"	)  13. E7(	"		)




when i write the same values to the respective registers, the status register is not changing,so the initialization is not being done, i want know if these values are standard for initialising PS/2 mouse.

here in xilinx the control register and data read register seems to be same ie the transmit register (Baseaddress+12, offset 0x0c).

Thanks in advance for the help in this regard.

Regards
hema






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