It feels like something wrong with libusb installation... Have you tried the
libusb-win32 test application?

Wander

2010/5/28 Mark <m...@absamail.co.za>

> Hello, I have a PC that dual boots Ubuntu 8.04 and Win XP SP2. On both
> Ubuntu and XP I have Python 2.5.2 and Pyusb 0.4.1 installed and on XP I
> also installed libusb-win32 0.1.12.1. On both OSes I type the following
> at the interactive prompt:
> >>> import usb
> >>> b = usb.busses()
> >>> print b[1].devices
>
> My output on Ubuntu is:
> (<usb.Device object at 0x8228d58>, <usb.Device object at 0x8229f78>,
> <usb.Device object at 0x822b198>, <usb.Device object at 0x822c3b8>))
> >>>
>
> My output on XP is:
> ()
> >>>
>
> Ubuntu finds 4 devices on bus 1, XP finds nothing or doesn't display it.
> In fact XP displays no devices on any of the busses whereas Ubuntu shows
> devices on all busses. When running 'usbenum.py', I get the correct
> output on Ubuntu but on XP I get:
> found 4 busses
> === new bus ===
> === new bus ===
> === new bus ===
> === new bus ===
> >>>
>
> Also Ubuntu detects 5 busses on the machine but XP only detects 4.
>
> I'm probably missing something obvious but I can't figure it out. Any
> help or suggestions will be appreciated.
>
> Thanks
> Mark
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>
------------------------------------------------------------------------------

_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to