Jun 10, 2015 windows does not seem to be supporting my usbcdcacm _6_1, please help with my driver problem.
Scan performed on 4/24/2017, Computer: HP Pavilion G60-418CA - Windows 7 64 bit
Outdated or Corrupted drivers:12/23
Device/Driver | Status | Status Description | Updated By Scanner |
Motherboards | |||
Intel(R) 8 Series/C220 Chipset Family SATA AHCI Controller | Up To Date and Functioning | ||
Mice And Touchpads | |||
Logitech Logitech WheelMouse (USB) | Up To Date and Functioning | ||
Fujitsu Component touchpad/touchscreen | Corrupted By Usbcdcacm 7 1d87c6b1 0 0001 00 | ||
Usb Devices | |||
Microsoft Universal Serial Bus (USB) Controller | Up To Date and Functioning | ||
usb-audio.de Burr-Brown USB Audio Codec 2900 (commercial 2.8.45) | Outdated | ||
Sound Cards And Media Devices | |||
NVIDIA NVIDIA GeForce GTX 550 Ti | Up To Date and Functioning | ||
Toshiba TOSHIBA USB ISDB-T and ISDB-S TV Tuner(x64) | Up To Date and Functioning | ||
ASUSTek ASUS TV7134 WDM TVTuner (FM1216ME) | Outdated | ||
Network Cards | |||
Broadcom Broadcom 4313 802.11b/g/n | Up To Date and Functioning | ||
Keyboards | |||
Microsoft Keyboard Device Filter | Up To Date and Functioning | ||
Hard Disk Controller | |||
ATI Standard Dual Channel PCI IDE Controller | Corrupted By Usbcdcacm 7 1d87c6b1 0 0001 00 | ||
Others | |||
Texas Instruments Mass Storage Controller | Corrupted By Usbcdcacm 7 1d87c6b1 0 0001 00 | ||
Intel Port racine express PCI Intel(R) 82801FB/FBM PCI - 2660 | Corrupted By Usbcdcacm 7 1d87c6b1 0 0001 00 | ||
Panasonic MATSHITA DVD-RAM UJ-830Sa | Up To Date and Functioning | ||
NEC Texas Instruments PCIxx21/x515 Cardbus Controller | Up To Date and Functioning | ||
Nokia Nokia C6-00 USB Phonet | Corrupted By Usbcdcacm 7 1d87c6b1 0 0001 00 | ||
Acronis Seagate DiscWizard Image Backup Archive Explorer | Corrupted By Usbcdcacm 7 1d87c6b1 0 0001 00 | ||
Cameras, Webcams And Scanners | |||
Canon CanoScan LiDE 110 | Corrupted By Usbcdcacm 7 1d87c6b1 0 0001 00 | ||
Video Cards | |||
ATI RADEON X600 Series Secondary (Microsoft Corporation - WDDM) | Up To Date and Functioning | ||
Input Devices | |||
Logitech USB Input Device | Up To Date and Functioning | ||
Port Devices | |||
Mobile Connector Device Diagnostic Interface (COM11) | Corrupted By Usbcdcacm 7 1d87c6b1 0 0001 00 | ||
Monitors | |||
Sony Digital Flat Panel (1024x768) | Corrupted By Usbcdcacm 7 1d87c6b1 0 0001 00 | ||
Mobile Phones And Portable Devices | |||
Acer NOKIA | Outdated |
This may not be considered to be directly programming related but I am at a loss to know where else to ask. I have tried looking at a variety of websites but so far Google has not been my friend.
I am having trouble finding out whether I need to write my own device driver for the various windows/linux/mac platforms that the device I am developing may be connected to, or whether the functionality is provided by the standard drivers.
My device is a USB CDC (communications device) that appears as a COM: port. It also includes a battery charger that will, once the device has been enumerated require the full 5 unit load (500mA) supply current that can be drawn from the USB connector. My problem is that if the USB driver in the host decides that it cannot deliver the full supply current then it should fail to enumerate the device.
If, as a fallback, I provide a second configuration set that only allows the device to draw 1 unit load from the interface connector will the standard drivers enumerate the device using this configuration.
uɐɪuɐɪ5 Answers
You need to write a .inf file for Windows that ties up your device VID and PID with the system usbser.sys. Mine looks like this (Replace YourCompany as necessary, put in your VID and PID (in hex), and change the DriverVer line to whatever date and version you want):
Note this works with 32 bit OSs only. It also works with Vista although the file header doesn't say so!
Be aware that some versions of usbser.sys have significant problems, including bluescreening, for example when transferring packets that are exact multiples of 64 bytes. If you're using XP SP2 or previous then install hotfix KB943198. XP SP3 and Vista are fine.
For the Mac you simply need to report your device class correctly and the driver scan picks up the correct drivers. (Windows ignores the device class which is why you need to supply the .inf file).
EDIT: Sorry, I should have been clearer. This will not fail to enumerate if it can't draw the full load - I'm not sure that's possible.
VickyVickyI am not sure about power question but ther is pleanty CDC drivers (or I think there is) so you could use one. For the power question, the solution with many configuration is probably good one, I have never encountered this in work (I have USB analyzer) but at home sometimes when I have 3 or more different devices that requires power from USB I got failed enumeration. I supose this is operating system choice if it can't supply power to new device it cut's it off (sensible choice as it can't power it). This is my gues rather checking USB standart.
If your device reports a device ID that the host OS already supports,then they won't need a driver.
You may need to impersonate an existing USB uart. Data sheets are readily available.(But I figure you already knew that.)
I'm not sure that the host OS will honour your multi-configuration idea.
But give it a punt so we all know!
You are correct on the driver question. When the device is plugged in and goes through the enumeration process it is required to stay < 100mA. The host will interrogate and determine the configuration(s). If there are more than one which support different power levels, then the driver will need to decide to select the appropriate configuration. If there is only high-power and it is not available, then it will not enumerate the device. In general, the standard driver doing CDC wouldn't be aware of the different device level configurations that would possible and so would require some degree of customization to handle them.
naven87naven87If your device is connecting as USB CDC-ACM device to the windows desktop host, the windows desktop already provides the driver usbser.sys. But there are some some issues in windows Vista. You just need the inf to install the usbser.sys on desktop. For WinCE you do not have the driver and for you need to write or get one from any third party vendor. Here is one
If your device specifies itself as self powered in its device descriptor then the host would rely on the devices self power capability. You can check at usb.org for details.Thanks.