Hello, I'm afraid I included a sweex_usb.c that won't compile, oops... The first line in: void upsdrv_shutdown(void) should be unsigned char reply[REPLY_PACKETSIZE]; Sorry! Regards, Peter