No, that's not what you want. You want your driver to emulate the hardware device currently under development. Registration with usbfs is handled entirely within the host, so it has nothing to do with your driver.
Guys, the problem is, I already have this part working. My only hang-up right now is that I don't get IOCTLs passed to me. I get open/release/read/writes, but not IOCTLs.
You can do what you want by using the Gadget framework. See include/linux/usb/gadget.h and <http://www.linux-usb.org/gadget/>.
I don't really want to start over when I'm THIS close to being done. Hope this makes sense.
-- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html