| 
      
      
      From: Vu N. <vu...@gm...> - 2007-11-08 17:30:13
       | 
| Hi Xiaofan, It works, because nothing happened I thought it did not work Thank you very much again Vu On Nov 8, 2007 9:12 AM, <lib...@li...> wrote: > Send Libusb-win32-devel mailing list submissions to > lib...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > or, via email, send a message with subject or body 'help' to > lib...@li... > > You can reach the person managing the list at > lib...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Libusb-win32-devel digest..." > > > Today's Topics: > > 1. Re: usb_set_configuration() hangs (soundman32) > 2. 64-bit support (Paarvai Naai) > 3. Re: Libusb-win32-devel Digest, Vol 18, Issue 3 (Vu Nguyen) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 8 Nov 2007 07:43:11 -0800 (PST) > From: soundman32 <nei...@go...> > Subject: Re: [Libusb-win32-devel] usb_set_configuration() hangs > To: lib...@li... > Message-ID: <136...@ta...> > Content-Type: text/plain; charset=us-ascii > > > I have the same issue and I'm not using a filter driver. > > I can query the device and it tells me it is using configuration 1, but > still usb_set_configuration(dev, 1) hangs the process and requires a > reboot. > > Neil > > -- > View this message in context: > http://www.nabble.com/usb_set_configuration%28%29-hangs-tf4556199.html#a13649512 > Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com. > > > > > ------------------------------ > > Message: 2 > Date: Thu, 8 Nov 2007 09:04:33 -0800 > From: "Paarvai Naai" <ope...@gm...> > Subject: [Libusb-win32-devel] 64-bit support > To: lib...@li... > Message-ID: > <521...@ma...> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi all, > > I know this is an oft asked question, but I did some searching on the > mailing list and did not find very clear answers to a few questions > that I had. I'd appreciate if anyone here can help clarify these > issues for me: > > 1) What is the build process for a 64-bit version of libusb-win32? > There were no clear steps that I saw. Does a DDK have to be > installed? Which one? What compiler is to be used? A short bullet > list of what to do here would be much appreciated. > > 2) If I do build the 64-bit version of the sys and dll, can I use the > unaltered 32-bit version of the dll for use by 32-bit applications on > the 64-bit OS? > > 3) I have read in numerous posts that the 64-bit libusb-win32 will not > work on Vista 64 due to the lack of a signed driver. It seems that as > long as I have a VeriSign certificate, I should be able to sign the > driver. Has anyone tried this and been able to use libusb-win32 on a > Vista 64 machine as a result? > > 4) I know there is an effort to move to winusb.sys but it seems like > progress on this has been slow. Is there a way the libusb-win32 can > have a stop gap in the meantime? For example, is the libusb-win32 > development team open to having a company sponsor the fees required to > obtaining a VeriSign certificate so that any future released versions > of the libusb-win32 64-bit drivers are properly signed? > > I look forward to some information on this topic. Thank you in advance. > > Best regards, > Paarvai > > > > ------------------------------ > > Message: 3 > Date: Thu, 8 Nov 2007 09:12:04 -0800 > From: "Vu Nguyen" <vu...@gm...> > Subject: Re: [Libusb-win32-devel] Libusb-win32-devel Digest, Vol 18, > Issue 3 > To: lib...@li... > Message-ID: > <935...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Xiaofan, > > I tried your command line suggestion, but after I hit enter, nothing > happens, and I got the prompt back. How do I debug if there is a problem > with installation? Below is my inf file; would you please have a look to > see if I made anything obviously wrong/ > > ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// > ;C:\Program Files\SlimLinePcuDriver\driver>rundll32 > libusb0.dll,usb_install_driver_np_rundll > sl_tpcu.inf > > ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// > > [Version] > Signature = "$Chicago$" > provider = %manufacturer% > DriverVer = 03/09/2005,0.1.10.1 > CatalogFile = sl_tpcu.cat > > Class = LibUsbDevices > ClassGUID = {EB781AAF-9C70-4523-A5DF-642A87ECA567} > > [ClassInstall] > AddReg=ClassInstall.AddReg > > [ClassInstall32] > AddReg=ClassInstall.AddReg > > [ClassInstall.AddReg] > HKR,,,,"LibUSB-Win32 Devices" > HKR,,Icon,,"-20" > > [Manufacturer] > %manufacturer%=Devices > > > ;-------------------------------------------------------------------------- > ; Files > > ;-------------------------------------------------------------------------- > > [SourceDisksNames] > 1 = "Libusb-Win32 Driver Installation Disk",, > > [SourceDisksFiles] > libusb0.sys = 1,, > libusb0.dll = 1,, > > [DestinationDirs] > LIBUSB.Files.Sys = 10,System32\Drivers > LIBUSB.Files.Dll = 10,System32 > > [LIBUSB.Files.Sys] > libusb0.sys > > [LIBUSB.Files.Dll] > libusb0.dll > > > ;-------------------------------------------------------------------------- > ; Device driver > > ;-------------------------------------------------------------------------- > > [LIBUSB_DEV] > CopyFiles = LIBUSB.Files.Sys, LIBUSB.Files.Dll > AddReg = LIBUSB_DEV.AddReg > > [LIBUSB_DEV.NT] > CopyFiles = LIBUSB.Files.Sys, LIBUSB.Files.Dll > > [LIBUSB_DEV.HW] > DelReg = LIBUSB_DEV.DelReg.HW > > [LIBUSB_DEV.NT.HW] > DelReg = LIBUSB_DEV.DelReg.HW > > [LIBUSB_DEV.NT.Services] > AddService = libusb0, 0x00000002, LIBUSB.AddService > > [LIBUSB_DEV.AddReg] > HKR,,DevLoader,,*ntkern > HKR,,NTMPDriver,,libusb0.sys > > [LIBUSB_DEV.DelReg.HW] > HKR,,"LowerFilters" > > > ;-------------------------------------------------------------------------- > ; Services > > ;-------------------------------------------------------------------------- > > [LIBUSB.AddService] > DisplayName = "LibUsb-Win32 - Kernel Driver 03/09/2005, 0.1.10.1" > ServiceType = 1 > StartType = 3 > ErrorControl = 0 > ServiceBinary = %12%\libusb0.sys > > > ;-------------------------------------------------------------------------- > ; Devices > > ;-------------------------------------------------------------------------- > > [Devices] > "SlimLine TPCU_xx Keyboard"=LIBUSB_DEV, USB\VID_0471&PID_0206 > ;"SlimLine TPCU_xx Keyboard"=LIBUSB_DEV, > USB\VID_0471&PID_0206&Rev_0000&Col01 > ;"SlimLine TPCU_xx Mouse"=LIBUSB_DEV, USB\VID_0471&PID_0206&Rev_0000&Col02 > ;"SlimLine TPCU_xx Joystic"=LIBUSB_DEV, > USB\VID_0471&PID_0206&Rev_0000&Col03 > > [Strings] > manufacturer = "Thales Avionics" > > > > ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// > > ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// > Thank you very much for your help > > Vu > > On Nov 7, 2007 12:05 PM, <lib...@li... > > > wrote: > > > Send Libusb-win32-devel mailing list submissions to > > lib...@li... > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > > or, via email, send a message with subject or body 'help' to > > lib...@li... > > > > You can reach the person managing the list at > > lib...@li... > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Libusb-win32-devel digest..." > > > > > > Today's Topics: > > > > 1. Re: Libusb-win32-devel Digest, Vol 17, Issue 4 (Vu Nguyen) > > 2. Re: Libusb-win32-devel Digest, Vol 17, Issue 4 (Xiaofan Chen) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Tue, 6 Nov 2007 18:17:59 -0800 > > From: "Vu Nguyen" <vu...@gm...> > > Subject: Re: [Libusb-win32-devel] Libusb-win32-devel Digest, Vol 17, > > Issue 4 > > To: lib...@li... > > Message-ID: > > <935...@ma...> > > Content-Type: text/plain; charset="iso-8859-1" > > > > Hi Xiaofan, > > > > It has been a while since I got your answer; My device is a HID > keyboard > > and mouse device; I tried to update the driver as you suggested with > the > > INF file I created, but WindowsXP does not take my INF file; > > I used innoSetup to install the libUsb driver also; > > I also looked at the device manager for it HW ID and match that in the > INF > > file, but nothing works; > > Is there something I missed? > > > > Thank you in advance. > > > > Vu > > > > > > > > On 10/3/07, Vu Nguyen <vu...@gm...> wrote: > > > > > I have a hid keyboard device running windowsXP with libusb version > > > > 0.1.12.1; > > > > > I need to send vendor specific command to my device; > > > > > > > > > > I tried to claim the interface so I called the > > usb_set_configuration() > > > > > function first. it hangs and never returns; > > > > > > > > You need to use device driver and not the filter driver, > > > > which means you have to "update" the HID driver to > > > > the libusb-win32 driver. Therefore you lose the function > > > > of using the original application. > > > > > > > > The new libusb1 development version will have an HID > > > > backend and will solve this problem. However it is not > > > > working yet. > > > > > > > > Xiaofan > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by: Splunk Inc. > > > > Still grepping through log files to find problems? Stop. > > > > Now Search log events and configuration files using AJAX and a > > browser. > > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > > > > > ------------------------------ > > > > > > > > _______________________________________________ > > > > Libusb-win32-devel mailing list > > > > Lib...@li... > > > > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > > > > > > > > > > > > End of Libusb-win32-devel Digest, Vol 17, Issue 3 > > > > ************************************************* > > > > > > > -------------- next part -------------- > > > An HTML attachment was scrubbed... > > > > > > ------------------------------ > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > > > ------------------------------ > > > > > > _______________________________________________ > > > Libusb-win32-devel mailing list > > > Lib...@li... > > > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > > > > > > > > > End of Libusb-win32-devel Digest, Vol 17, Issue 4 > > > ************************************************* > > > > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > > > ------------------------------ > > > > Message: 2 > > Date: Wed, 7 Nov 2007 11:02:40 +0800 > > From: "Xiaofan Chen" <xia...@gm...> > > Subject: Re: [Libusb-win32-devel] Libusb-win32-devel Digest, Vol 17, > > Issue 4 > > To: lib...@li... > > Message-ID: > > <a27...@ma...> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > On 11/7/07, Vu Nguyen <vu...@gm...> wrote: > > > It has been a while since I got your answer; My device is a HID > > keyboard > > > and mouse device; I tried to update the driver as you suggested with > > the > > > INF file I created, but WindowsXP does not take my INF file; > > > I used innoSetup to install the libUsb driver also; > > > I also looked at the device manager for it HW ID and match that in the > > INF > > > file, but nothing works; > > > Is there something I missed? > > > > > > > > > > Last time I had some problems with PICkit 2 as well since Windows > > does not like the INF file generated by the INF wizard. > > > > Stephan taught me to use the following and it worked. You can try > > to install/update the driver by using the DLL's (undocumented) > > usb_install_driver_np function? > > > > You can call it from the command line through its rundll interface > > rundll32 libusb0.dll,usb_install_driver_np_rundll your_inf_file.inf > > > > Try it and see if this works for you. > > > > Regards, > > Xiaofan > > http://mcuee.blogspot.com > > > > > > ---------- Forwarded message ---------- > > From: Stephan Meyer <ste...@we...> > > Date: Aug 25, 2006 1:22 AM > > Subject: Re: [Libusb-win32-devel] HID device problem > > To: lib...@li... > > > > > > > > Have you tried to install/update the driver by using the DLL's > > (undocumented) usb_install_driver_np function? > > > > You can call it from the command line through its rundll interface: > > > > rundll32 libusb0.dll,usb_install_driver_np_rundll your_inf_file.inf > > > > > > > > ------------------------------ > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > ------------------------------ > > > > _______________________________________________ > > Libusb-win32-devel mailing list > > Lib...@li... > > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > > > > > > End of Libusb-win32-devel Digest, Vol 18, Issue 3 > > ************************************************* > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > ------------------------------ > > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > > > End of Libusb-win32-devel Digest, Vol 18, Issue 4 > ************************************************* > |