gnupic: Traffic lights as extreme feedback device controlled by a PIC via USB


Previous by date: 10 Aug 2012 12:50:29 -0000 Re: Traffic lights as extreme feedback device controlled by a PIC via USB, Holger Oehm
Next by date: 10 Aug 2012 12:50:29 -0000 Re: Traffic lights as extreme feedback device controlled by a PIC via USB, Peter Stuge
Previous in thread: 10 Aug 2012 12:50:29 -0000 Re: Traffic lights as extreme feedback device controlled by a PIC via USB, Holger Oehm
Next in thread: 10 Aug 2012 12:50:29 -0000 Re: Traffic lights as extreme feedback device controlled by a PIC via USB, Peter Stuge

Subject: Re: Traffic lights as extreme feedback device controlled by a PIC via USB
From: Holger Oehm ####@####.####
Date: 10 Aug 2012 12:50:29 -0000
Message-Id: <50250356.50001@holger-oehm.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On 05.08.2012 21:51, Holger Oehm wrote:
> What remains to do for me is now:
> 1. change the firmware: change the device class, add the 0xee string
>    and the descriptor that says that the device wants the WinUSB driver.
> 2. describe (for windows users) how to use that Zadig standalone
>    driver installer.
> Or better: configure libwdi to setup the WinUSB driver on
>    Windows Vista and Windows 7, setup my Linux box to cross-compile
>    it and create an installer. In the java application check if the
>    driver is present and if not run that installer.
> 3. Get rid of that HID descriptor!

ad 1.+3.: Done.

I created a branch named noHid [1] for the removal of the HID stuff from
the project. In that branch I changed the firmware to use the vendor
specific class (0xFF) and also added the string descriptor and the
compatibility descriptor stuff. This seems to work, as zadig[2]
recognizes the device as a WCID and also I can see in the windows
registry all of the described entries (CompatibleIDs contains that
USB\MS_COMP_WINUSB entry).

ad 2.: No success so far.

So far so good, but I cannot get zadig to install the WinUSB driver
successfully. Using the advanced option and turning the debug level to
debug I see that the driver installation complains about a file not
found (from my memory: it was something like
C:\usb_driver\Winusb_.....inf). But I could open the file in question
with an editor, it was there. I have no idea what went wrong.

I am kinda stuck there, do you think I should open an issue at libwdi[3]?

And for the option to include libwdi to automate WinUSB driver
installation: I understand that I need to have:
1. Windows DDK (download ISO image from MS, burn DVD, etc. etc.)
2. A cross compiler environment set up to compile it

And I don't see how I can integrate all that stuff into the CI build of
the project[4]. So I think I wont do that part. This of course means for
a user of the device on windows the usage experience will definitely be
somewhat worse than now (as long as WinUSB is not pre-installed).

Best regards,
Holger.

[1]: https://github.com/holgero/XFD/tree/noHid
[2]: https://github.com/pbatard/libwdi/wiki/Zadig
[3]: https://github.com/pbatard/libwdi/issues
[4]: http://travis-ci.org/#!/holgero/XFD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAlA1IACgkQHdk+97UOUak8/ACeJquQQq7DTOj2T2f05ILYBBN3
RykAn2WpNU4Vedid5aT2H152NZ2iZmfx
=a0ts
-----END PGP SIGNATURE-----

Previous by date: 10 Aug 2012 12:50:29 -0000 Re: Traffic lights as extreme feedback device controlled by a PIC via USB, Holger Oehm
Next by date: 10 Aug 2012 12:50:29 -0000 Re: Traffic lights as extreme feedback device controlled by a PIC via USB, Peter Stuge
Previous in thread: 10 Aug 2012 12:50:29 -0000 Re: Traffic lights as extreme feedback device controlled by a PIC via USB, Holger Oehm
Next in thread: 10 Aug 2012 12:50:29 -0000 Re: Traffic lights as extreme feedback device controlled by a PIC via USB, Peter Stuge


Powered by ezmlm-browse 0.20.