Re: usb cdc-acm driver cause windows xp sp3 blue screen randomly

2013-07-25 Thread Xiaofan Chen
On Thu, Jul 25, 2013 at 4:02 PM, Yingchun Li wrote: >> 1) try to use different timeout >> 2) try to use C# or other DotNet language. >> >> If you can re-write your host application, another choice >> is to use a different driver like WinUSB to your device >> and then use libusb-1.0 API to communic

Re: usb cdc-acm driver cause windows xp sp3 blue screen randomly

2013-07-25 Thread Yingchun Li
> 1) try to use different timeout > 2) try to use C# or other DotNet language. > > If you can re-write your host application, another choice > is to use a different driver like WinUSB to your device > and then use libusb-1.0 API to communicate with your device. Ok, this way work for me, I will try

Re: usb cdc-acm driver cause windows xp sp3 blue screen randomly

2013-07-24 Thread Oliver Neukum
On Thu, 2013-07-25 at 10:06 +0800, Yingchun Li wrote: > Ok, but the linux-cdc-acm.inf is provieded by us, so I think there should > be something I can learn. > Thanks anyway! And the driver binds and operates. The inf file works. The kernel driver is buggy. The driver comes from the vendor. As suc

Re: usb cdc-acm driver cause windows xp sp3 blue screen randomly

2013-07-24 Thread Xiaofan Chen
On Thu, Jul 25, 2013 at 12:39 PM, Yingchun Li wrote: > 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

Re: usb cdc-acm driver cause windows xp sp3 blue screen randomly

2013-07-24 Thread Yingchun Li
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, Xi

Re: usb cdc-acm driver cause windows xp sp3 blue screen randomly

2013-07-24 Thread Greg KH
On Thu, Jul 25, 2013 at 10:06:16AM +0800, Yingchun Li wrote: > Ok, but the linux-cdc-acm.inf is provieded by us, so I think there should > be something I can learn. A .inf file should not crash the kernel, if so, something is really wrong with their operating system :) good luck, greg k-h -- To

Re: usb cdc-acm driver cause windows xp sp3 blue screen randomly

2013-07-24 Thread Xiaofan Chen
On Wed, Jul 24, 2013 at 8:11 PM, Yingchun Li 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 appl

Re: usb cdc-acm driver cause windows xp sp3 blue screen randomly

2013-07-24 Thread Yingchun Li
Ok, but the linux-cdc-acm.inf is provieded by us, so I think there should be something I can learn. Thanks anyway! On Wed, Jul 24, 2013 at 11:10 PM, Greg KH wrote: > On Wed, Jul 24, 2013 at 08:11:05PM +0800, Yingchun Li wrote: >> Hi, >> I have a cdc-acm usb device, used for transfering data

Re: usb cdc-acm driver cause windows xp sp3 blue screen randomly

2013-07-24 Thread Greg KH
On Wed, Jul 24, 2013 at 08:11:05PM +0800, Yingchun Li 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

usb cdc-acm driver cause windows xp sp3 blue screen randomly

2013-07-24 Thread Yingchun Li
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, th