Modification du port callback