Thanks xiaofan The usb device has been fixed by the chip romcode, so there is little chance for switching to HID. But can I implement a usb-serial driver with libusb, which just work like usbser.sys? I will check the libusb, thank you! On Thu, Jul 25, 2013 at 10:48 AM, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote: > On Wed, Jul 24, 2013 at 8:11 PM, Yingchun Li <sword.l.dragon@xxxxxxxxx> wrote: >> Hi, >> I have a cdc-acm usb device, used for transfering data to/from windows PC, >> for windows PC, and I use the Documentation/usb/linux-cdc-acm.inf to load the >> windows driver(which is the usbser.sys). >> On PC, there is an application use the COM port to transfer the data. >> During transfer, the windows happened blue screen(BSOD) randomly, sometimes >> one day, sometimes a few hours. I have the core dump, if needed I can post it. >> It seems that the usbser.sys is buggy and problematic, >> http://www.microchip.com/forums/m469465.aspx >> But I am not familiar with windows, could you give me some advice? and >> is there an open soruce driver work like usbser.sys? > > As mentioned in the Microchip forum thread, I will suggest you to switch your > device to use either HID or vendor specific device. > > For HID, there is a cross platform HIDAPI which you can use. > > For vendor specific device, you can use libusb-1.0/libusbx which is > a cross-platform library. Under Windows, libusbx supports either > Microsoft's WinUSB driver or open-source driver like libusb-win32 > device driver or libusbK device driver. > > -- > Xiaofan -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html