Discussion:
[Libusb-win32-devel] Without installing filter driver, how to use the libusb just for communication?
rameshrr
2009-01-15 12:57:14 UTC
Permalink
Hi All,
I have another problem, I have default driver for my video device. I just
want to use libusb only for pyusb
communication. I dont want to install filter driver. Is there anyway
possible to do ?
--
View this message in context: http://www.nabble.com/Without-installing-filter-driver%2C-how-to-use-the-libusb-just-for-communication--tp21477056p21477056.html
Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com.
Paul Sanders (AlpineSoft)
2009-01-15 14:00:56 UTC
Permalink
Yes there is. Use the 'Inf wizard' to generate an INF file for your device
(you will need to know its vendor and product ID's) and place the resulting
INF file, plus the driver (libusb0.sys) in a folder somewhere. Then, when
you plug your device in and Windows is looking for the driver for it, browse
to that folder and Windows will install the driver. That's all there is to
it.

Regards,

Paul Sanders
AlpineSoft
http://www.alpinesoft.co.uk

----- Original Message -----
From: "rameshrr" <***@gmail.com>
To: <libusb-win32-***@lists.sourceforge.net>
Sent: Thursday, January 15, 2009 12:57 PM
Subject: [Libusb-win32-devel] Without installing filter driver, how to use
the libusb just for communication?



Hi All,
I have another problem, I have default driver for my video device. I just
want to use libusb only for pyusb
communication. I dont want to install filter driver. Is there anyway
possible to do ?
--
View this message in context:
http://www.nabble.com/Without-installing-filter-driver%2C-how-to-use-the-libusb-just-for-communication--tp21477056p21477056.html
Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com.
Sumeet Chakraborty
2009-01-15 15:31:47 UTC
Permalink
Hello Rameshrr,

I am also facing the same problem I want to send some AT Commands to a USB
Modem but I am not able to claim the device and it keeps throwing me the
error "Cyclic Redundancy Check" error. Can any one of you please tell me
from where do I get the INF wizard
Post by rameshrr
Hi All,
I have another problem, I have default driver for my video device. I
just want to use libusb only for pyusb
communication. I dont want to install filter driver. Is there anyway
possible to do ?
--
View this message in context: http://www.nabble.com/Without-installing-filter-driver%2C-how-to-use-the-libusb-just-for-communication--tp21477056p21479974.html
Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com.
Blaine Booher
2009-01-15 16:07:06 UTC
Permalink
Post by Sumeet Chakraborty
Hello Rameshrr,
I am also facing the same problem I want to send some AT Commands to a USB
Modem but I am not able to claim the device and it keeps throwing me the
error "Cyclic Redundancy Check" error. Can any one of you please tell me
from where do I get the INF wizard
Post by rameshrr
Hi All,
I have another problem, I have default driver for my video device. I
just want to use libusb only for pyusb
communication. I dont want to install filter driver. Is there anyway
possible to do ?
Are you using Windows 2000 by chance?

Also - My version (I'm pretty sure I have the latest windows binary) does not have the INF wizard. Is it a separate download?

Blaine
Roman Bitner
2009-01-15 16:15:32 UTC
Permalink
Hi!

did you download it from here?

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


There is inf-wizard.exe zipped inside this file: libusb-win32-device-bin-0.1.12.1.tar.gz

Best regards R. Bitner
Post by Sumeet Chakraborty
Hello Rameshrr,
I am also facing the same problem I want to send some AT Commands to a USB
Modem but I am not able to claim the device and it keeps throwing me the
error "Cyclic Redundancy Check" error. Can any one of you please tell me
from where do I get the INF wizard
Post by rameshrr
Hi All,
I have another problem, I have default driver for my video device. I
just want to use libusb only for pyusb
communication. I dont want to install filter driver. Is there anyway
possible to do ?
Are you using Windows 2000 by chance?

Also - My version (I'm pretty sure I have the latest windows binary) does not have the INF wizard. Is it a separate download?

Blaine
Blaine Booher
2009-01-15 19:24:34 UTC
Permalink
Post by Sumeet Chakraborty
Hello Rameshrr,
I am also facing the same problem I want to send some AT Commands to a USB
Modem but I am not able to claim the device and it keeps throwing me the
error "Cyclic Redundancy Check" error. Can any one of you please tell me
from where do I get the INF wizard
Post by rameshrr
Hi All,
I have another problem, I have default driver for my video device. I
just want to use libusb only for pyusb
communication. I dont want to install filter driver. Is there anyway
possible to do ?
Could one use this technique to allow the use of libusb without installing any software to the local computer? (ie run the driver completely off a flash drive, on a regular user account). I am using pyusb, by the way, not a compiled application.

Thanks,
Blaine
Paul Sanders (AlpineSoft)
2009-01-15 20:00:30 UTC
Permalink
No, you need to be logged in as an Administrator to install drivers. You
could supply the driver (and INF file on a flash drive but Windows will
still need to install it before it can use it. It's pretty lightweight
though.

Regards - Paul Sanders.

----- Original Message -----
From: "Blaine Booher" <***@cliftonlabs.com>
To: <libusb-win32-***@lists.sourceforge.net>
Sent: Thursday, January 15, 2009 7:24 PM
Subject: Re: [Libusb-win32-devel] Without installing filter driver,how to
use the libusb just for communication?
Post by Sumeet Chakraborty
Hello Rameshrr,
I am also facing the same problem I want to send some AT Commands to a USB
Modem but I am not able to claim the device and it keeps throwing me the
error "Cyclic Redundancy Check" error. Can any one of you please tell me
from where do I get the INF wizard
Post by rameshrr
Hi All,
I have another problem, I have default driver for my video device. I
just want to use libusb only for pyusb
communication. I dont want to install filter driver. Is there anyway
possible to do ?
Could one use this technique to allow the use of libusb without installing
any software to the local computer? (ie run the driver completely off a
flash drive, on a regular user account). I am using pyusb, by the way, not
a compiled application.

Thanks,
Blaine
Ramesh Rajagopal
2009-01-16 04:29:06 UTC
Permalink
Hi Paul Sanders,
Thank you for your information. For my USB device, The way you were
described, i.e installing driver for my device is not what i want. because I
have already a default windows driver(uvc video device), i dont want to
loose that driver. I just want to use a filter driver from my PyUSB
application(emulator over USB) without installation. If i just put the .dll
and library file somewhere will it be ok.?
Any suggesstions on this front....

Thanks in Advance,
Ramesh.

On Fri, Jan 16, 2009 at 1:30 AM, Paul Sanders (AlpineSoft) <
Post by Paul Sanders (AlpineSoft)
No, you need to be logged in as an Administrator to install drivers. You
could supply the driver (and INF file on a flash drive but Windows will
still need to install it before it can use it. It's pretty lightweight
though.
Regards - Paul Sanders.
----- Original Message -----
Sent: Thursday, January 15, 2009 7:24 PM
Subject: Re: [Libusb-win32-devel] Without installing filter driver,how to
use the libusb just for communication?
Post by Sumeet Chakraborty
Hello Rameshrr,
I am also facing the same problem I want to send some AT Commands to a
USB
Post by Sumeet Chakraborty
Modem but I am not able to claim the device and it keeps throwing me the
error "Cyclic Redundancy Check" error. Can any one of you please tell me
from where do I get the INF wizard
Post by rameshrr
Hi All,
I have another problem, I have default driver for my video device. I
just want to use libusb only for pyusb
communication. I dont want to install filter driver. Is there anyway
possible to do ?
Could one use this technique to allow the use of libusb without installing
any software to the local computer? (ie run the driver completely off a
flash drive, on a regular user account). I am using pyusb, by the way, not
a compiled application.
Thanks,
Blaine
------------------------------------------------------------------------------
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Libusb-win32-devel mailing list
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
------------------------------------------------------------------------------
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Libusb-win32-devel mailing list
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Stephan Meyer
2009-01-16 07:51:11 UTC
Permalink
The Windows kernel doesn't provide a generic USB interface, unlike
Linux or OS X.
That's why libusb-win32 comes with its own generic kernel driver (libusb0.sys).
This driver has to be installed properly on your system. Just copying
the files to
"some location" doesn't work. And the best way to install the driver
is the suggestion
given by Paul: create an .inf file for your device and install the
driver by replacing the
existing driver with libusb0.sys.

Stephan


On Fri, Jan 16, 2009 at 5:29 AM, Ramesh Rajagopal
Post by Ramesh Rajagopal
Hi Paul Sanders,
Thank you for your information. For my USB device, The way you were
described, i.e installing driver for my device is not what i want. because I
have already a default windows driver(uvc video device), i dont want to
loose that driver. I just want to use a filter driver from my PyUSB
application(emulator over USB) without installation. If i just put the .dll
and library file somewhere will it be ok.?
Any suggesstions on this front....
Thanks in Advance,
Ramesh.
On Fri, Jan 16, 2009 at 1:30 AM, Paul Sanders (AlpineSoft)
Post by Paul Sanders (AlpineSoft)
No, you need to be logged in as an Administrator to install drivers. You
could supply the driver (and INF file on a flash drive but Windows will
still need to install it before it can use it. It's pretty lightweight
though.
Regards - Paul Sanders.
----- Original Message -----
Sent: Thursday, January 15, 2009 7:24 PM
Subject: Re: [Libusb-win32-devel] Without installing filter driver,how to
use the libusb just for communication?
Post by Sumeet Chakraborty
Hello Rameshrr,
I am also facing the same problem I want to send some AT Commands to a USB
Modem but I am not able to claim the device and it keeps throwing me the
error "Cyclic Redundancy Check" error. Can any one of you please tell me
from where do I get the INF wizard
Post by rameshrr
Hi All,
I have another problem, I have default driver for my video device. I
just want to use libusb only for pyusb
communication. I dont want to install filter driver. Is there anyway
possible to do ?
Could one use this technique to allow the use of libusb without installing
any software to the local computer? (ie run the driver completely off a
flash drive, on a regular user account). I am using pyusb, by the way, not
a compiled application.
Thanks,
Blaine
------------------------------------------------------------------------------
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Libusb-win32-devel mailing list
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
------------------------------------------------------------------------------
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Libusb-win32-devel mailing list
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
------------------------------------------------------------------------------
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Libusb-win32-devel mailing list
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Paul Sanders (AlpineSoft)
2009-01-16 08:30:15 UTC
Permalink
Check out the Service Control Manager API in the Platform SDK. There are API's there to install and uninstall drivers on the fly. I'm not sure if they can handle filter drivers though - I have never tried. Administrative privileges will be required.

http://msdn.microsoft.com/en-us/library/ms685150(VS.85).aspx

Although the emphasis is on services, a service is much like a driver from an installation perspective.

Regards - Paul Sanders.

----- Original Message -----
From: Ramesh Rajagopal
To: libusb-win32-***@lists.sourceforge.net
Sent: Friday, January 16, 2009 4:29 AM
Subject: Re: [Libusb-win32-devel] Without installing filter driver,how to use the libusb just for communication?


Hi Paul Sanders,
Thank you for your information. For my USB device, The way you were described, i.e installing driver for my device is not what i want. because I have already a default windows driver(uvc video device), i dont want to loose that driver. I just want to use a filter driver from my PyUSB application(emulator over USB) without installation. If i just put the .dll and library file somewhere will it be ok.?
Any suggesstions on this front....

Thanks in Advance,
Ramesh.


On Fri, Jan 16, 2009 at 1:30 AM, Paul Sanders (AlpineSoft) <***@alpinesoft.co.uk> wrote:

No, you need to be logged in as an Administrator to install drivers. You
could supply the driver (and INF file on a flash drive but Windows will
still need to install it before it can use it. It's pretty lightweight
though.

Regards - Paul Sanders.


----- Original Message -----
From: "Blaine Booher" <***@cliftonlabs.com>
To: <libusb-win32-***@lists.sourceforge.net>

Sent: Thursday, January 15, 2009 7:24 PM
Subject: Re: [Libusb-win32-devel] Without installing filter driver,how to
use the libusb just for communication?
Post by Sumeet Chakraborty
Hello Rameshrr,
I am also facing the same problem I want to send some AT Commands to a USB
Modem but I am not able to claim the device and it keeps throwing me the
error "Cyclic Redundancy Check" error. Can any one of you please tell me
from where do I get the INF wizard
Post by rameshrr
Hi All,
I have another problem, I have default driver for my video device. I
just want to use libusb only for pyusb
communication. I dont want to install filter driver. Is there anyway
possible to do ?
Could one use this technique to allow the use of libusb without installing
any software to the local computer? (ie run the driver completely off a
flash drive, on a regular user account). I am using pyusb, by the way, not
a compiled application.

Thanks,
Blaine

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Libusb-win32-devel mailing list
Libusb-win32-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel




------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Libusb-win32-devel mailing list
Libusb-win32-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel





--------------------------------------------------------------------------------
Sumeet Chakraborty
2009-01-15 16:38:15 UTC
Permalink
Hello Roman,
Thanks a ton I found the INF wizard. Blaine I am also using windows 200
server, I guess there is some problem in my device but dont know for sure
Post by rameshrr
Hi All,
I have another problem, I have default driver for my video device. I
just want to use libusb only for pyusb
communication. I dont want to install filter driver. Is there anyway
possible to do ?
--
View this message in context: http://www.nabble.com/Without-installing-filter-driver%2C-how-to-use-the-libusb-just-for-communication--tp21477056p21481431.html
Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com.
Blaine Booher
2009-01-15 17:33:06 UTC
Permalink
Post by Sumeet Chakraborty
Hello Roman,
Thanks a ton I found the INF wizard. Blaine I am also using windows 200
server, I guess there is some problem in my device but dont know for sure
Post by rameshrr
Hi All,
I have another problem, I have default driver for my video device. I
just want to use libusb only for pyusb
communication. I dont want to install filter driver. Is there anyway
possible to do ?
From my experience (Hopefully someone else can explain this), I was unable to use Windows 2000 with libusb-32. I got CRC errors. When I switched to XP and used the same software, it worked. I dont know why this was the case, but it was a huge headache. Try your software on XP if you can, I bet you'll see different results. I know XP and 2000 utilize different memory management schemes (hence the 'compatibility mode' present in XP) but it usually doesn't cause problems.

There may be a trick to getting it to work in 2000 that someone here could explain.

Good luck!
Blaine
Roman Bitner
2009-01-16 08:14:53 UTC
Permalink
Post by Sumeet Chakraborty
Hello Roman,
Thanks a ton I found the INF wizard. Blaine I am also using windows 200
server, I guess there is some problem in my device but dont know for sure
Post by rameshrr
Hi All,
I have another problem, I have default driver for my video device. I
just want to use libusb only for pyusb
communication. I dont want to install filter driver. Is there anyway
possible to do ?
Blaine Booher
2009-01-20 16:33:25 UTC
Permalink
Post by Sumeet Chakraborty
Hello Roman,
Thanks a ton I found the INF wizard. Blaine I am also using windows 200
server, I guess there is some problem in my device but dont know for sure
Loading...