Martin Maurer | 2 Jul 2006 15:57
Picon

Where to get latest precompiled stable binaries of libusb-win32 ?

Hello,

i don't want to compile libusb-win32 by myself, i just want to download and 
use latest precompiled binaries.
Where do i get them ? Is there any webpage to download them ?

What i found so far is on

http://sourceforge.net/project/showfiles.php?group_id=78138

libusb-win32-device-bin-20060518.tar.gz
libusb-win32-filter-bin-20060518.exe
libusb-win32-src-20060518.tar.gz

Is it a version i can use (at least a bit stable) or just for developers ?
Or it it better to use the released 0.1.10.1 ?

Regards,

       Martin 

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Stephan Meyer | 3 Jul 2006 18:32
Picon

Re: Where to get latest precompiled stable binaries of libusb-win32 ?


> libusb-win32-device-bin-20060518.tar.gz
> libusb-win32-filter-bin-20060518.exe
> libusb-win32-src-20060518.tar.gz
> 
> Is it a version i can use (at least a bit stable) or just for developers ?
> Or it it better to use the released 0.1.10.1 ?
> 
> Regards,
> 
>        Martin 
> 
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Libusb-win32-devel mailing list
> Libusb-win32-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel

______________________________________________________________________________
Mit WEB.DE iNews werden Sie über die Ergebnisse der wichtigsten WM-Begegnungen
per SMS informiert: http://freemail.web.de/features/inews.htm/?mc=021202

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
(Continue reading)

Stephan Meyer | 3 Jul 2006 18:34
Picon

Re: Where to get latest precompiled stable binaries of libusb-win32 ?


> libusb-win32-device-bin-20060518.tar.gz
> libusb-win32-filter-bin-20060518.exe
> libusb-win32-src-20060518.tar.gz
> 
> Is it a version i can use (at least a bit stable) or just for developers ?

You can use this version. It's stable and it passed all of my test cases.

> Or it it better to use the released 0.1.10.1 ?
> 
> Regards,
> 
>        Martin 
> 
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Libusb-win32-devel mailing list
> Libusb-win32-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel

__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!		
Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131

Using Tomcat but need to do more? Need to support web services, security?
(Continue reading)

John Eigelaar | 4 Jul 2006 11:03
Picon
Favicon

Problems with usb_set_configuration

Hi,

I have just started building a driver for 
my custom USB device. I started by using the Windows usbser.sys as 
a CDC driver. This worked well for my board.

I then downloaded the libusb binary driver (not the filter driver)
and used that to start my USB application. I am using the free 
Borland BCC 5.5.1 compiler. The code compiles and runs.

Upon detecting my device I issue a usb_set_configuration() to select 
configuration 1. Then I claim interface 1 which is the data interface for
my CDC implementation.

The SET_CONFIGURATION command is never sent to my device. This 
means that the device always stays in the address stat and never goes into 
the configured state.

What am I doing wrong here ?

John Eigelaar

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Dan Ellis | 4 Jul 2006 11:14

Re: Problems with usb_set_configuration

John Eigelaar wrote:
> 
> I then downloaded the libusb binary driver (not the filter driver)
> and used that to start my USB application. I am using the free
> Borland BCC 5.5.1 compiler. The code compiles and runs.  
> 
> Upon detecting my device I issue a usb_set_configuration() to select
> configuration 1. Then I claim interface 1 which is the data interface
> for my CDC implementation.  
> 
> The SET_CONFIGURATION command is never sent to my device. This means
> that the device always stays in the address stat and never goes into
> the configured state.  
> 
> What am I doing wrong here ?

Presumably you've identified your device by checking the VID and PID
returned after scanning the bus and they are as expected?

Have you checked for an error return from usb_set_configuration?

How do you know SET_CONFIGURATION isn't sent? Did you snoop the traffic
on the PC, use an analyzer, or have some output from your device?

Dan.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
(Continue reading)

John Eigelaar | 4 Jul 2006 11:34
Picon
Favicon

Re: Problems with usb_set_configuration

On Tue, 04 Jul 2006 10:14:33 +0100, Dan Ellis wrote:

> Presumably you've identified your device by checking the VID and PID
> returned after scanning the bus and they are as expected? 

Yes the device is found OK and usb_open returns no error

> Have you checked for an error return from usb_set_configuration?

Returns 0 so success.
> 
> How do you know SET_CONFIGURATION isn't sent? Did you snoop the traffic
> on the PC, use an analyzer, or have some output from your device?

I am using a serial port on the device to print messages to the screen. 
When using windows usber.sys, linux usbserial or linux libusb
SET_CONFIGURATION is received on the device.

> Dan.
> 
> Using Tomcat but need to do more? Need to support web services,
> security? Get stuff done quickly with pre-integrated technology to make
> your job easier Download IBM WebSphere Application Server v.1.0.1 based
> on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
(Continue reading)

Stephan Meyer | 4 Jul 2006 19:13
Picon

Re: Problems with usb_set_configuration


Which version of the driver are you using?

> On Tue, 04 Jul 2006 10:14:33 +0100, Dan Ellis wrote:
> 
> > Presumably you've identified your device by checking the VID and PID
> > returned after scanning the bus and they are as expected? 
> 
> Yes the device is found OK and usb_open returns no error
> 
> > Have you checked for an error return from usb_set_configuration?
> 
> Returns 0 so success.
> > 
> > How do you know SET_CONFIGURATION isn't sent? Did you snoop the traffic
> > on the PC, use an analyzer, or have some output from your device?
> 
> I am using a serial port on the device to print messages to the screen. 
> When using windows usber.sys, linux usbserial or linux libusb
> SET_CONFIGURATION is received on the device.
> 
> > Dan.
> > 
> > Using Tomcat but need to do more? Need to support web services,
> > security? Get stuff done quickly with pre-integrated technology to make
> > your job easier Download IBM WebSphere Application Server v.1.0.1 based
> > on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> 
(Continue reading)

John Eigelaar | 6 Jul 2006 09:08
Picon
Favicon

Re: Problems with usb_set_configuration

On Tue, 04 Jul 2006 19:13:24 +0200, Stephan Meyer wrote:

> 
> 
> Which version of the driver are you using?

I am using libusb-win32-device-bin-20060518.tar.gz which identifies itself
as 0.1.10.2 for the dll.

usb_get_version() returns -1 in all the version fields for the driver.

How is this ?

>> On Tue, 04 Jul 2006 10:14:33 +0100, Dan Ellis wrote:
>> 
>> > Presumably you've identified your device by checking the VID and PID
>> > returned after scanning the bus and they are as expected?
>> 
>> Yes the device is found OK and usb_open returns no error
>> 
>> > Have you checked for an error return from usb_set_configuration?
>> 
>> Returns 0 so success.
>> > 
>> > How do you know SET_CONFIGURATION isn't sent? Did you snoop the
>> > traffic on the PC, use an analyzer, or have some output from your
>> > device?
>> 
>> I am using a serial port on the device to print messages to the screen.
>> When using windows usber.sys, linux usbserial or linux libusb
(Continue reading)

Stephan Meyer | 6 Jul 2006 09:45
Picon

Re: Problems with usb_set_configuration



> > Which version of the driver are you using?
>
> I am using libusb-win32-device-bin-20060518.tar.gz which identifies itself
> as 0.1.10.2 for the dll.

Using this version you should see a set_configuration(1) request sent
to the device right after you plug it. The driver does this automatically
when the device gets started.
When you later send the same request from your application then the
driver won't forward it to device because the device is already configured.
A set_configuration request is only send down to the device if the
requested configuration differs from active one.

>
> usb_get_version() returns -1 in all the version fields for the driver.
>
> How is this ?

The driver version can only be read if the driver is loaded (if a device
is connected that uses it).

>  
> >> On Tue, 04 Jul 2006 10:14:33 +0100, Dan Ellis wrote:
> >>
> >> > Presumably you've identified your device by checking the VID and PID
> >> > returned after scanning the bus and they are as expected?
> >>
> >> Yes the device is found OK and usb_open returns no error
> >>
> >> > Have you checked for an error return from usb_set_configuration?
> >>
> >> Returns 0 so success.
> >> >
> >> > How do you know SET_CONFIGURATION isn't sent? Did you snoop the
> >> > traffic on the PC, use an analyzer, or have some output from your
> >> > device?
> >>
> >> I am using a serial port on the device to print messages to the screen.
> >> When using windows usber.sys, linux usbserial or linux libusb
> >> SET_CONFIGURATION is received on the device.
> >>
> >> > Dan.
> >> >
> >> > Using Tomcat but need to do more? Need to support web services,
> >> > security? Get stuff done quickly with pre-integrated technology to
> >> > make your job easier Download IBM WebSphere Application Server
> >> > v.1.0.1 based on Apache Geronimo
> >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >>
> >>
> >>
> >> Using Tomcat but need to do more? Need to support web services,
> >> security? Get stuff done quickly with pre-integrated technology to make
> >> your job easier Download IBM WebSphere Application Server v.1.0.1 based
> >> on Apache Geronimo
> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> _______________________________________________ Libusb-win32-devel
> >> mailing list
> >> Libusb-win32-devel <at> lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
> >
> >
> > _____________________________________________________________________
> > Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > http://smartsurfer.web.de/?mc=100071&distributionid=000000000071
> >
> >
> > Using Tomcat but need to do more? Need to support web services,
> > security? Get stuff done quickly with pre-integrated technology to make
> > your job easier Download IBM WebSphere Application Server v.1.0.1 based
> > on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Libusb-win32-devel mailing list
> Libusb-win32-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Libusb-win32-devel mailing list
Libusb-win32-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
John Eigelaar | 6 Jul 2006 09:58
Picon
Favicon

Re: Problems with usb_set_configuration

On Tue, 04 Jul 2006 19:13:24 +0200, Stephan Meyer wrote:

> 
> 
> Which version of the driver are you using?

Sorry for the previous post I did not have the device plugged in so 
the driver was not loaded. 
Driver and dll version are both 0.1.10.2
> 
> 
>> On Tue, 04 Jul 2006 10:14:33 +0100, Dan Ellis wrote:
>> 
>> > Presumably you've identified your device by checking the VID and PID
>> > returned after scanning the bus and they are as expected? 
>> 
>> Yes the device is found OK and usb_open returns no error
>> 
>> > Have you checked for an error return from usb_set_configuration?
>> 
>> Returns 0 so success.
>> > 
>> > How do you know SET_CONFIGURATION isn't sent? Did you snoop the traffic
>> > on the PC, use an analyzer, or have some output from your device?
>> 
>> I am using a serial port on the device to print messages to the screen. 
>> When using windows usber.sys, linux usbserial or linux libusb
>> SET_CONFIGURATION is received on the device.
>> 
>> > Dan.
>> > 
>> > Using Tomcat but need to do more? Need to support web services,
>> > security? Get stuff done quickly with pre-integrated technology to make
>> > your job easier Download IBM WebSphere Application Server v.1.0.1 based
>> > on Apache Geronimo
>> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> 
>> 
>> 
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Libusb-win32-devel mailing list
>> Libusb-win32-devel <at> lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
> 
> 
> _____________________________________________________________________
> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> http://smartsurfer.web.de/?mc=100071&distributionid=000000000071
> 
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Gmane