| 
      
      
      From: Vu N. <vu...@gm...> - 2007-11-07 02:18:04
       | 
| 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 > ************************************************* > | 
| 
      
      
      From: hyugabin <m_o...@ho...> - 2008-03-06 01:29:56
       | 
| may i ask, how do i run this ---> rundll32 libusb0.dll,usb_install_driver_np_rundll your_inf_file.inf ---> sorry but i am still very new to programming. Vu Nguyen-5 wrote: > > 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 >> ************************************************* >> > > ------------------------------------------------------------------------- > 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 > > -- View this message in context: http://www.nabble.com/Re%3A-Libusb-win32-devel-Digest%2C-Vol-17%2C-Issue-4-tp13620189p15823581.html Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com. | 
| 
      
      
      From: Stephan M. <ste...@go...> - 2008-03-06 17:46:18
       | 
| * start->run * enter 'cmd.exe' (a DOS box will open) * 'cd' to the directory where your .inf file is located * enter the command mentioned below Stephan On Thu, Mar 6, 2008 at 2:29 AM, hyugabin <m_o...@ho...> wrote: > > may i ask, how do i run this ---> > rundll32 libusb0.dll,usb_install_driver_np_rundll your_inf_file.inf > ---> > sorry but i am still very new to programming. > > > > Vu Nguyen-5 wrote: > > > > 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 > >> ************************************************* > >> > > > > ------------------------------------------------------------------------- > > 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 > > > > > > -- > View this message in context: http://www.nabble.com/Re%3A-Libusb-win32-devel-Digest%2C-Vol-17%2C-Issue-4-tp13620189p15823581.html > Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > | 
| 
      
      
      From: Xiaofan C. <xia...@gm...> - 2007-11-07 03:02:42
       | 
| 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 |