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 sword.l.dra...@gmail.com 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

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 sword.l.dra...@gmail.com 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

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 sword.l.dra...@gmail.com 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

Re: Piggy-backing new hardware using old usb-serial

2013-03-28 Thread Xiaofan Chen
On Thu, Mar 28, 2013 at 10:58 PM, Wesley W. Terpstra w.terps...@gsi.de wrote: In case anyone else cares, I found some nice Dutch folks who resell PIDs under their VID for cheap: http://www.mcselec.com/index.php?page=shop.product_detailsflypage=shop.flypageproduct_id=92option=com_phpshopItemid=1

Re: USB host port acts like a signal generator

2013-01-23 Thread Xiaofan Chen
On Thu, Jan 24, 2013 at 10:44 AM, Du, Yuyang yuyang...@intel.com wrote: My intent is really special, I don't know whether I missed something, but all the articles about writing a USB driver do not address my need. I want to use the USB port on the host as a signal generator to drive a USB

Re: USB host port acts like a signal generator

2013-01-23 Thread Xiaofan Chen
On Thu, Jan 24, 2013 at 11:44 AM, Du, Yuyang yuyang...@intel.com wrote: Thanks. Millisecond is good for me. Every signal (1 and 0) sent is triggered by a user program. The period the signal lasts is not so important either. I have doubts whether you can achieve millisecond accuracy with the

Re: Correlating SOF with host system time

2012-12-05 Thread Xiaofan Chen
On Wed, Dec 5, 2012 at 8:58 AM, Stefan Tauner stefan.tau...@student.tuwien.ac.at wrote: On Tue, 4 Dec 2012 16:27:00 -0500 (EST) Alan Stern st...@rowland.harvard.edu wrote: I don't think referencing times to SOF packets is the best approach, although it probably is the approach that would

Re: usbutils for Mac OS X and Cygwin

2012-10-16 Thread Xiaofan Chen
On Tue, Oct 16, 2012 at 3:07 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Oct 16, 2012 at 09:57:16AM +0800, Xiaofan Chen wrote: I only need one fix for Mac OS X as Apple's gcc compiler does not like --as-needed. I didn't think Apple used gcc anymore. How about testing

Re: usbutils for Mac OS X and Cygwin

2012-10-16 Thread Xiaofan Chen
On Tue, Oct 16, 2012 at 3:07 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Oct 16, 2012 at 09:57:16AM +0800, Xiaofan Chen wrote: Now usbutils git almost builds successfully out of the box under Mac OS Xand Cygwin (using libusbx). Just wondering if you can accept the minor

Re: usbutils for Mac OS X and Cygwin

2012-10-16 Thread Xiaofan Chen
On Tue, Oct 16, 2012 at 9:15 PM, Xiaofan Chen xiaof...@gmail.com wrote: On Tue, Oct 16, 2012 at 3:07 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Oct 16, 2012 at 09:57:16AM +0800, Xiaofan Chen wrote: Now usbutils git almost builds successfully out of the box under Mac OS

Re: usbutils for Mac OS X and Cygwin

2012-10-16 Thread Xiaofan Chen
On Wed, Oct 17, 2012 at 12:14 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: Might it just be easier to patch usbutils to be something like USB_IDS_DATADIR instead when building on these systems? Good idea. Here is the patch based on your suggestion and it works fine. snip

Re: usbutils for Mac OS X and Cygwin

2012-10-16 Thread Xiaofan Chen
On Wed, Oct 17, 2012 at 12:17 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Oct 16, 2012 at 10:08:48AM -0400, Alan Stern wrote: On Tue, 16 Oct 2012, Greg Kroah-Hartman wrote: mymacmini:usbutils xiaofanc$ git diff diff --git a/Makefile.am b/Makefile.am index

Re: Usb Bugs

2012-10-15 Thread Xiaofan Chen
On Tue, Oct 16, 2012 at 1:09 AM, Nick Krause nickkra...@sympatico.ca wrote: Hey Linux Usb Forum , Do you have any bugs or work that a Linux kernel newbie can do? Instead of the linux kernel USB subsystem, are you interested in improving the user space library libusb (or the libusbx fork)?

Re: Usb Bugs

2012-10-15 Thread Xiaofan Chen
On Tue, Oct 16, 2012 at 9:45 AM, Nick Krause nickkra...@sympatico.ca wrote: Hey Xianofanc , I am thrilled about you giving me some work to do , the only problem is I don't known the libusb source code so can you send me some documentation. libusbx http://libusbx.org/ libusbx documentation:

Re: usbutils for Mac OS X and Cygwin

2012-10-15 Thread Xiaofan Chen
Hi Greg, Sorry the previous email goes to the wrong linux kernel list. Now usbutils git almost builds successfully out of the box under Mac OS Xand Cygwin (using libusbx). Just wondering if you can accept the minor fix for Mac OS X and suggest a way to fix cygwin build. For Cygwin, there is a

Re: usbcore / Linux 2.6.+ / USB IO Board 04d8:000a

2012-09-10 Thread Xiaofan Chen
On Mon, Sep 10, 2012 at 8:37 PM, Florian Wöhrl f...@woehrl.biz wrote: it seems like cdc_acm was altered, too - am I right? modinfo doesn't mention 04d8:000A. It just tells 04d8:000B. Did you make that patch? That is bad. 1634/* Support for Droids MuIn LCD */ 1635{

Re: usbcore / Linux 2.6.+ / USB IO Board 04d8:000a

2012-09-10 Thread Xiaofan Chen
On Mon, Sep 10, 2012 at 9:35 PM, Xiaofan Chen xiaof...@gmail.com wrote: On Mon, Sep 10, 2012 at 8:48 PM, Oliver Neukum oneu...@suse.de wrote: On Monday 10 September 2012 08:37:55 Florian Wöhrl wrote: it seems like cdc_acm was altered, too - am I right? modinfo doesn't mention 04d8:000A

Re: request: patch for oracom mp3 stick -- usb-storage: unusual_devs.h

2008-02-01 Thread Xiaofan Chen
On Feb 1, 2008 11:17 PM, Alan Stern [EMAIL PROTECTED] wrote: On Thu, 31 Jan 2008, David Brownell wrote: On Thursday 31 January 2008, Alan Stern wrote: The interesting difference lay in what Windows did when the Get-Max-LUN stalled. It sent a Clear-Halt request to endpoint 0! Yes

Re: [RFC] USB driver for talking to the Microchip PIC18 boot loader

2007-12-29 Thread Xiaofan Chen
://www.internetking.org/fsusb/ Original libusb based application for the Demo which also includes my patch for libusb-win32. http://www.varxec.net/picdem_fs_usb/ Updated Patches to detach the kernel driver for both the bootloader and Demo application. http://forum.microchip.com/tm.aspx?m=106426 Xiaofan Chen http