| 
      
      
      From: Stephan M. <ste...@we...> - 2006-08-24 17:22:39
      
     | 
| Have you tried to install/update the driver by using the DLL's=20 (undocumented) usb=5Finstall=5Fdriver=5Fnp function=3F You can call it from the command line through its rundll interface: rundll32 libusb0.dll,usb=5Finstall=5Fdriver=5Fnp=5Frundll your=5Finf=5Ffile.inf Stephan > On 8/22/06, Xiaofan Chen <xia...@gm...> wrote: > > I have a little cute MCU programmer Microchip PICKit 2 and I beta > > tests alternative driving programs using libusb under Linux and Window= s. > > Under Windows I need to use libusb-win32 device driver. > > > > It runs fine for my home desktop under Windows XP professional > > SP2 in Singapore (along with various versions of Linux). For more > > detail, please refer to the following posts. > > http://forum.microchip.com/tm.aspx=3Fm=3D110205 > > > > Now I am under training in USA and I only has access to the corporate > > desktop running Windows XP SP2. I have one problem now. > > > > Normally PICkit 2 will appear under device manager as two > > device: "HID-compliant device" and "USB Human Interface Device". > > > > And it did appear as two device initially and I could also use the > > Microchip provided Windows program (using native Windows > > HID driver) to run it. > > > > Then I was trying to "update" the native HID driver to the device driv= er > > generated by libusb-win32 (1stly the 20060518 version and then > > the 0.1.10.1 version). Somehow it failed. This was working for my > > desktop at home. > > > > And then I have a major problem now: PICkit 2 only > > appears as a "HID-compliant device" inside device manager > > instead of both "HID-compliant device" and "USB Human Interface > > Device". The Microchip PC application still works. But I am not > > able to test the libusb based application since I am not able to > > install the libusb-win32 device driver. > > > > I know I can not use the filter driver due to the fact that this > > PICkit 2 has dual configurations (HID and custom). We had > > a discussion on this last year when I was trying to port the > > libusb based Linux application to Windows with libusb-win32. > > > > This is kind of stranger. Is there a reason why an HID device > > only has one entry in the device manager=3F > > > > Sorry for the long email. > > >=20 > Note I could only "update" the driver using the entry > "USB Human Interface Device" but not the entry > ""HID-compliant device" before. >=20 > As described in my Microchip Forum post, the procedure > to switch the driver to libusb-win32 device driver is the following. >=20 > ***************************** > Step 1: Go to Device Manager, verify that under > Human Interface Devices there are two PICkit 2 related device (HID-compi= lant > device and USB Human Interface Device). You know that through the detail= s > tab (Device Instance Id: VID=5F04D8&PID=5F0033\xxx). >=20 > Step 2: Right click "USB Human Interface Device" and select "Update Driv= er..." > Choose No to the Windows update question and click Next. > Choose "Install from a list of specific location Advanced" and click Nex= t. > Choose "Don't search. I will choose the driver to install" and choose Ne= xt. > Choose "Have Disk" and browse to the device driver directory > "C:\Program Files\libusb-win32-device-bin-0.1.10.1\bin" > and select pickit2.inf. Pickit2 should be in the Model text box. > Ignore the warning "This driver is not digitally signed". (MS will most = likely > not sign an LGPL/GPLed driver). Select Pickit 2 and click Next. >=20 > Windows will install the driver. >=20 > ******************************** >=20 > Regards, > Xiaofan >=20 > ------------------------------------------------------------------------= - > Using Tomcat but need to do more=3F Need to support web services, security= =3F > Get stuff done quickly with pre-integrated technology to make your job e= asier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geroni= mo > http://sel.as-us.falkag.net/sel=3Fcmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642= > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= Erweitern Sie FreeMail zu einem noch leistungsst=E4rkeren E-Mail-Postfach! =09 Mehr Infos unter http://freemail.web.de/home/landingpad/=3Fmc=3D021131 |