[LUFA] Virtual Serial CDC Device Driver in Windows 8

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

.inf file provided by LUFA is unsigned. And I would have to go through hoops to install it in Windows 8.
As the geniuses in Microsoft thought it best to bury deep the option to "install anyway" the unsigned drivers.
Does anybody know a way around this? Can I edit the .inf file? Or the only way around is to actually digitally sign the inf?
EDIT: I have actually installed the driver for my machine. Problem is if I am to this again to other pc's

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Someone tells me that I could avoid the unsigned driver thing if I use HID class.
I'm off to try this one.
I might also try Mass Storage class.

BTW. I am supposed to make a data logger. I already have a VB frontend that fetches the data through CDC.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Dear midea31! I faced the problem too. The device, for which I write a code, must communicate with PC. We used USB CDC Device class before. But now win8 has come to sad us( Yes, one way is to use HID class instead of CDC. But for us it means that we must rewrite some tons of code for devices.

My question is the same as yours: is there any appropriate way to eliminate signing of inf file for already signed usbser.sys? I know about F8. But it isn't convenient solution. Maybe there is a simple way to sign inf file without paying anything (I'm not going write my own driver, I'm going use in-built win driver for this).

Thanks in advance!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I do not know if this is possible or if it is practical.
But I was thinking that after I work out HID on my board, I will write something that will collect the data through HID and then pass it via CDC to my already working VB frontend.
Maybe you could do the same?

EDIT: oops, I thought that you were reluctant to rewrite your software on PC side. I re-read your post and you were referring to AVR side.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The CAT file is signed for Windows 8 - the point being modifications changes the driver hash, which breaks the signing. If you want to modify a signed driver you need to purchase a code signing certificate (hard requirement for Windows 8, recommended for earlier versions).

- Dean :twisted:

Make Atmel Studio better with my free extensions. Open source and feedback welcome!