Questions tagged [ps2]
19 questions
5
votes
2 answers
How to Change Secondary/Multi-line (>>) Prompt for PowerShell
I've found plenty of instructions for changing the primary PowerShell prompt (i.e. prompt(); here is an example of one of the many helpful resources: http://blog.dabasinskas.net/customizing-windows-powershell-command-prompt/) which is great, but I…

user6678142
- 51
- 4
2
votes
0 answers
Setting up a computer to act as an HID device connected to another computer via ps/2,usb or another wired connection
I’m interested in setting up a machine (host A) and connect it to another one (host B) via usb or ps/2 such that host B will recognise host A as a keyboard. On host A an artificial neuronal network is running which generates dynamically input…

Neoxy
- 21
- 1
2
votes
2 answers
ps/2 keyboard interface VHDL
Alright so I'm trying to implement a keyboard controller for use with an altera DE2 FPGA board, and am having some issues. I have ran this code in the quartus simulator and everything seems to be doing what I think it should be doing. However, when…

user2209486
- 61
- 2
- 4
2
votes
1 answer
I'm trying to connect a Genius mouse to an Arduino using a PS2 mouse sketch, but it will not initialise the mouse
I have been using the mouse sketch at the bottom of this message (written by someone else) to try to get the motion data out of a PS/2 mouse. I have checked the specification for this mouse which says that it is PS/2 compatible. However, when I run…

Terry Rozmus
- 396
- 3
- 17
1
vote
0 answers
Differences between spherical mapping techniques
I am working on a game engine with no pixel shaders and on a fixed function GPU. I am trying to implement spherical mapping and coming across the problems with seams and artefacts when the texture wraps to the other side, similar to spherical…

Drew Fletcher
- 41
- 1
- 4
1
vote
0 answers
Why does PS2 reset not work when VMX is enabled?
I am recently writing a micro-hypervisor for Intel CPUs. My micro-hypervisor runs while VMX is enabled. However, I ran into problem when trying to reboot the machine.
I decide to follow https://wiki.osdev.org/Reboot and perform a PS/2 8042 reset…

Eric Stdlib
- 1,292
- 1
- 18
- 32
1
vote
1 answer
Reading PS/2 Keyboard Scan Codes on STM32 L476RG
I am trying to read scan codes from a PS/2 keyboard on an STM32 L476RG (NUCLEO L476RG dev board).
PS/2 and USART:
I believe that I can use the USART hardware on the STM32 to read PS/2 data, if there is a reason why not then please help me…

M Tut
- 69
- 7
1
vote
1 answer
Will a USB mouse through a PS/2 converter support mouse wheel scrolling?
I want to use a USB mouse through a USB to PS/2 converter to interface to a microcontroller. Does the PS/2 protocol support scrolling wheel movement?

Ganesh S
- 21
- 1
- 4
1
vote
0 answers
What's the purpose of parity bit in PS/2 keyboard interface?
So I was reading about mentioned interface and the only thing I didn't get is the parity bit part. Is it used to somehow detect errors in transmission? If so, how?

Disciples
- 662
- 1
- 6
- 15
1
vote
1 answer
Code to test ps/2 on verilog
I have a logitech keyboard with a ps/2 connection. I also have a Baysis2 fpga that I would like to use to read keyboard input. The problem is, the keyboard doesn't seem to be receiving power. I may be wrong, but non of the lights on the keyboard…

Noah Mendoza
- 777
- 1
- 7
- 17
1
vote
0 answers
Generating PS/2 interrupts on a DE2 board
I am trying to generate PS/2 interrupts on a DE2 board with a Nios II processor. The following assembly language code is a very simple interrupt service routine, but it never gets executed. I have checked and checked the code and I can't figure…

Schemer
- 1,635
- 4
- 19
- 39
0
votes
0 answers
CS50 ps2. The command check50 returns error message "non numeric code"
I wrote CS50 course's the caesar task's code. Everything is working excellent. But when I run the command check50, in the response there is a mistake. When the input is not-numeric my code returns 0 and terminates the program. But the response is…

Vahram
- 11
- 2
0
votes
1 answer
Sending enable interrupts (0xF4) command to ps2 keyboard results in system crash. OSDEV
I have just finished initializing the IDT and started the ps2 stuff. I got the ps2 controller initializer and now I want to enable the interrupts in the first ps2 port or the keyboard. Here is my code for initializing the ps2 controller:
uint8_t…

Özgür Güzeldereli
- 1,630
- 7
- 23
0
votes
1 answer
PS2 keyboard delay error / VHDL
I have a problem that is caused by this keyboard interface. I'm trying to make a digital piano with a keyboard and an amplifier but the sound does not come as we press the button; there is a ~1 second delay. Can you help me with this problem please?…

Alp
- 63
- 6
0
votes
0 answers
Interfacing PS2 joystick with atmega640 with SPI
I am trying to interface PS2 joystick with avr Atmega 640 with microcontroller SPI ,there are many codes in bit bang avalible in internet but i want to interface PS2 with SPI in AVR.I have written code in winavr
i have written a code BUT…

Sunil Sheth
- 1
- 1