I tried connecting to the switch console. But I always get black screen and can't type anything. I changed the speed to different values ( | 1200 | 2400 | 4800 | 9600 | 19200 |38400 | 57600), I still get the same black screen.
Since I couldn't connect using the console cable directly, I installed a dhcp server temporarily, then I accesses the leased ip address to my HP Procurve switch, changed the IP into a static one and accessed the switch terminal through a telnet connection. afterward I stopped the dhcp server since I don't really need it any more.