Michael Black | 2 Dec 2009 17:10
Picon
Favicon

Windows 7

I’ve got libusn-win32 working on Windows 7 (I’m using it for my Evolution Robotics ER1 – I’ve got the IR sensors and Gripper both on USB – the motor controller is on a serial port).

 

But the BSOD every time I shut down or put the laptop to sleep is a bug-a-boo.

 

I can possibly debug this myself if I can get the driver compiled and working in debug mode. 

 

This problem has been reported on the bug list by Microsoft.

 

So I’m just wondering if anybody is already working this or if I should do it myself?

 

I also can’t find the SVN checkout if anybody can give the link for it.  I’d like to post the fix if I get it working.

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Libusb-win32-devel mailing list
Libusb-win32-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Tom Isaacson | 2 Dec 2009 21:22
Favicon

Re: Windows 7

I got it from:

https://libusb-win32.svn.sourceforge.net/svnroot/libusb-win32/trunk

 

See here:

http://sourceforge.net/projects/libusb-win32/develop

 

Tom

 

From: Michael Black [mailto:mdblack98 <at> yahoo.com]
Sent: Thursday, 3 December 2009 5:11 a.m.
To: libusb-win32-devel <at> lists.sourceforge.net
Subject: [Libusb-win32-devel] Windows 7

 

I’ve got libusn-win32 working on Windows 7 (I’m using it for my Evolution Robotics ER1 – I’ve got the IR sensors and Gripper both on USB – the motor controller is on a serial port).

 

But the BSOD every time I shut down or put the laptop to sleep is a bug-a-boo.

 

I can possibly debug this myself if I can get the driver compiled and working in debug mode. 

 

This problem has been reported on the bug list by Microsoft.

 

So I’m just wondering if anybody is already working this or if I should do it myself?

 

I also can’t find the SVN checkout if anybody can give the link for it.  I’d like to post the fix if I get it working.

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Libusb-win32-devel mailing list
Libusb-win32-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Xiaofan Chen | 3 Dec 2009 02:30
Picon

Re: Windows 7

On Thu, Dec 3, 2009 at 12:10 AM, Michael Black <mdblack98 <at> yahoo.com> wrote:
> I’ve got libusn-win32 working on Windows 7 (I’m using it for my Evolution
> Robotics ER1 – I’ve got the IR sensors and Gripper both on USB – the motor
> controller is on a serial port).
>
> But the BSOD every time I shut down or put the laptop to sleep is a
> bug-a-boo.

Are you using the device driver or the filter driver? The filter driver
is know to cause problems under Vista and thus probably the
same for Windows 7.

--

-- 
Xiaofan http://mcuee.blogspot.com

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
Enno Fennema | 3 Dec 2009 21:16
Picon

libusb-win32 link problem

After years of Linux I was forced back to Windows XP, hence my almost
total ignorance, and want to use libusb.

Downloaded the binary of the filter driver. Test program appears to work
fine.

A test program without libusb compiles, links and executes fine under
MinGW. The next test with the fairly essential usb_init() call compiles
without error but the linker complains that usb_init() cannot be
resolved. I included -lusb on the gcc command line plus -L<directory>.
The linker does find a libusb, I guess, the static libusb.a

I thought I do not need the non-filter driver?
Do I have to link with something else ? Using nm ../libusb.a I see no
name usb_init but there is a _usb_init defined.

Any help appreciated.
Enno Fennema

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
Xiaofan Chen | 4 Dec 2009 07:58
Picon

Re: libusb-win32 link problem

On Fri, Dec 4, 2009 at 4:16 AM, Enno Fennema <e.fennema <at> tiscali.nl> wrote:
> After years of Linux I was forced back to Windows XP, hence my almost
> total ignorance, and want to use libusb.
>
> Downloaded the binary of the filter driver. Test program appears to work
> fine.
>
> A test program without libusb compiles, links and executes fine under
> MinGW. The next test with the fairly essential usb_init() call compiles
> without error but the linker complains that usb_init() cannot be
> resolved. I included -lusb on the gcc command line plus -L<directory>.
> The linker does find a libusb, I guess, the static libusb.a
>
> I thought I do not need the non-filter driver?
> Do I have to link with something else ? Using nm ../libusb.a I see no
> name usb_init but there is a _usb_init defined.
>

The linking should work. The easiest way to do so is to place
usb.h in the MinGW\include and libusb.a in the MinGW\lib.
Then you only need the -lusb option for the linker.

Did you have the MinGW w32api package installed? You
need to have it installed.

By the way, what is your device? The device driver is more stable
than the filter driver in general. If you can use it, it is recommended
to use the device driver.

--

-- 
Xiaofan http://mcuee.blogspot.com

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
Enno Fennema | 4 Dec 2009 09:56
Picon

Re: libusb-win32 link problem

Xiaofan Chen wrote:
...
> The linking should work. The easiest way to do so is to place
> usb.h in the MinGW\include and libusb.a in the MinGW\lib.
> Then you only need the -lusb option for the linker.
Thanks. Got that working.
..
> By the way, what is your device? The device driver is more stable
> than the filter driver in general. If you can use it, it is recommended
> to use the device driver.
Will have a go but wanted to have a look at the overall system first.

Regards,
Enno Fennema

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
a_youcef | 8 Dec 2009 06:10
Picon
Favicon

send a hexadecimal sequence via libusb-win32

Hi
In order to develop my own 3g network manager
I am trying to send a hexadecimal sequence (like  usb_modeswitch under linux)
"55 53 42 43 d8 57 34 87 00 00 00 00 00 00 06 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00" to a 3G USB modem. because it is 
recognized by the system as a storage device and if it receives this sequence hexadecimal, it switches to
modem mode
can you send me an example in Delphi or VB that does this?

My modem is a Samsung U209 with integrated driver (in the storage device)
I'd like to do on Windows XP SP3 and / or Windows 7
Programming Language: Delphi and / or VB
libusb-win32 version :Any

Best regards

ASB Youcef

____________________________________________________

Michael Jackson, Susan Boyle, Black Eyed Peas ... Retrouvez leurs derniers titres sur http://musiline.voila.fr

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev

Gmane