Re: USB device class is CDC class - which device driver to write.
- From: chris.aseltine@xxxxxxxxx
- Date: Tue, 11 Mar 2008 06:39:59 -0700 (PDT)
On Mar 11, 4:35 am, SenseShankar
<SenseShan...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
As specified we could use the Usbser.sys and use .INF standardised with
digital signing. But, we dont find much change in functionality vis-a-vis
speed, etc.when compared to existing serial port.(as the device will be added
as a virtual COM port and the speed will be that of serial port itself) Right?
Usbser.sys will operate at the native speed of your device and the USB
stack. Baud rate, etc. settings are sent via control requests to
endpoint zero (see the CDC ACM specification for more details). If
you have a USB 2.0 high speed device, you should be able to attain
speeds in the several megabits-per-second range with this driver.
-In this case if i would like to make out new driver for myself etc. what
do you suggest me likewise Framework - approach - etc.?
If you are going to make a new driver, which I am not sure you need to
do, I would recommend using KMDF.
Shall i go with "Using KMDF - CDC(port) class for my device - generate a
standard .INF file to get Digi-Signed".
I don't know, that's really up to you.
- Regarding the changing of subclass(my case its RSERVED) can you specify
any place to look into on what factors or how it can be changed.
CDC ACM is class 0x02, subclass 0x02. That's what usbser.sys is going
to look for, and also probably what you want if you are going to
emulate a serial device. To change this requires a firmware change to
your device...
.
- Follow-Ups:
- Re: USB device class is CDC class - which device driver to write.
- From: SenseShankar
- Re: USB device class is CDC class - which device driver to write.
- References:
- Re: USB device class is CDC class - which device driver to write.
- From: chris . aseltine
- Re: USB device class is CDC class - which device driver to write.
- From: SenseShankar
- Re: USB device class is CDC class - which device driver to write.
- From: chris . aseltine
- Re: USB device class is CDC class - which device driver to write.
- From: SenseShankar
- Re: USB device class is CDC class - which device driver to write.
- Prev by Date: Mouse Device as a Generic HID Device
- Next by Date: Re: Build printer driver in VS 2008
- Previous by thread: Re: USB device class is CDC class - which device driver to write.
- Next by thread: Re: USB device class is CDC class - which device driver to write.
- Index(es):
Relevant Pages
|