Re: USB device class is CDC class - which device driver to write.



Hi,

It would be of great help if you could answer.

Will it be a issue to get digital certification from MS to support
Vista/XP/2000
when the USB device's class is different to that of the one which we specify
in
..INF file. (Given the thing that, my purpose of accessing the USB device is
working fine on Windows 2000/XP/Vista with minimal Authentication message
blocks while installation of the driver)

To be in specific, My USB Device shows baseclass as CDC -0x02; But I used
'Modem' as the Class to mention in .INF; (used the inbox usbser.sys driver,
by
using my own .INF), now would like to go for digital signing to avoid UCA
messages.



--
Thanks in advance,
Shankar G.


"chris.aseltine@xxxxxxxxx" wrote:

On Mar 12, 9:34 am, SenseShankar
<SenseShan...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

"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 0"

- If i understand it right, above thing you quoted is something how it
happens between 'Driver<-->H/w Device'.

Well, mostly. I'm saying if you call, say, SetCommState() on the COM
port created by usbser.sys, this will result in a series of serial
IOCTLs being sent to the driver. The driver, in turn, will translate
them into endpoint zero control requests sent to the device. In other
words, you won't get much in the way of endpoint zero requests without
interaction from userspace.

-Can you just breifly explain how exactly, from my application I should be
interacting with the device/Driver ?
(For example, In current existing scenario i wrote a serial class to write
&Read on to the port handle with specific baud(19200) rate given by my
protocol MODBUS - packet format.etc.)

Well, if you use usbser.sys, one of the advantages is that (in theory)
you can use exactly the same approach -- ReadFile()/WriteFile() plus
the existing set of serial API's.

- Will the usage of 'usbser.sys-CDC ACM' will still install the driver as a
'virtual COM port' OR Is there any other way to get it installed ? My concern
of questioning being - trying to make it(driver) work optimally and by
following the standards.

You basically have two choices: "Modem" class (which you don't want,
since your device is not a modem) or "Ports" ("virtual COM port")
class.

The class installer for each one will reserve you a COM port on the
system, while "Modem" class will additionally install your device as a
"modem" on the system, which again I don't think you want.

.



Relevant Pages

  • Re: External USB Drive not detected
    ... "USB device recognized. ... One of the USB devices attached to the computer ... I then plugged a regular 2G memory stick into the same port, ... port without having to rely on your Windows installation. ...
    (microsoft.public.windowsxp.general)
  • Re: Laptop external drive help.
    ... I recently bought a western digital 250 GB external drive on ebay. ... had a USB 1.1 port not a USB 2.0 Port which WD needs. ... I'd get a copy of the installation CD from somewhere. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Filering usb mouse data
    ... I begin to wonder if moufiltr can be used to filter USB mouse, ... > I have successfully installed moufiltr on PS/2 port by simply change ... Installation inf for the Device that needs flitering adapter. ...
    (microsoft.public.development.device.drivers)
  • How do I create a USB printer port manually
    ... I have installed a new Canon USB iP4200 printer on my Dell Inspiron 700 ... I am not using a hub and the USB cable is the standard one. ... An old port for my defunct Lexmark is present, but no other, ... When I powered the printer on during the installation process a message ...
    (microsoft.public.win2000.printing)
  • usb_insert_transfer panic with if_zyd
    ... When I use my ZyXEL G-220 Wireless USB Stick with the if_zyd driver, ... <ACPI PCI bus> on pcib0 ... device problem, disabling port 1 ... <Ethernet over FireWire> on firewire0 ...
    (freebsd-current)

Loading