A system and apparatus for irrigating a surgical site during an electrosurgical procedure are disclosed. The system includes a hand piece having an elongated housing connected to a multilumen tube extending proximally from the housing and having an irrigation tube for delivering irrigation fluid, a suction tube for withdrawing irrigation fluid, and electrical wiring, a first controls for adjusting flow of irrigation fluid within the irrigation tube and second controls for adjusting flow of irrigation fluid within the suction tube. A valve cassette is connected to the multilumen tube, which includes an irrigation valve configured to control the flow within the irrigation tube and a suction valve configured to control the flow within the suction tube. A hardware control module controls the irrigation valve and the suction valve based on control signals from the first and second controls.