Did you tried with this fork of cgminer ?
I highly doubt it would work as it will not have the s17 chip driver...
You *are* aware that there is a reason #xnsub is not a normal part of cgminer right? Because it allows external subroutines to run
without any indication/information that the user can see it is a huge security risk...