Hi Jurai and Naoki, i feel real dumb... i had a working port of the mos(4) build myself only initialisation didn't allways work fine. I think i promised to work on it and bring it in-tree to you before but i was swamped with work and completely forgot. Glad you took up the gauntlet and started too. When i was hacking a three days and nearly finished, i discovered the FreeBSD code and that code resets the device by setting its USB config. Most likely the OpenBSD code does that too. If you are interested i can send you the code-so-far i wrote for reference or guide. I'll try out your code soon! With regards, Reinoud
Attachment:
pgpM4AuqYxhb3.pgp
Description: PGP signature