Re: Problems with usb_set_configuration
Stephan Meyer <Stephan.Meyer <at> iav.de>
2006-07-06 07:45:13 GMT
> > 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