473,385 Members | 1,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Has anyone used PyUSB?

9
Hi,

Just wondering if anyone has any simple examples of PyUSB.

Thanks,
Tony
Apr 16 '07 #1
5 6863
bartonc
6,596 Expert 4TB
Hi,

Just wondering if anyone has any simple examples of PyUSB.

Thanks,
Tony
I'm hot on a USB project at the moment. Garmin doesn't go through usblib, but I'm studying the PyUSB implementation.
Apr 16 '07 #2
TonyAm
9
It's a shame they're doing away with serial rs232. Looks like we really should be doing usb instead.

I'm in the same boat. Let me know if you would like to exchange info.

I'll post whatever I dig up on the net.

Thanks,
Tony
Apr 16 '07 #3
bartonc
6,596 Expert 4TB
It's a shame they're doing away with serial rs232. Looks like we really should be doing usb instead.

I'm in the same boat. Let me know if you would like to exchange info.

I'll post whatever I dig up on the net.

Thanks,
Tony
I've dug up tons. Let me know if you need anything.
Apr 16 '07 #4
I'm hot on a USB project at the moment. Garmin doesn't go through usblib, but I'm studying the PyUSB implementation.
What do you mean by this? Does that mean I can't access my Garmin with pyUSB? I have spent days trying to get pyUSB to work, and now that it works and I try to find the product information for my Garmin I get this error message (below). How do I circumvent this?
usb.USBError: usb_control_msg: sending control message failed, win error: The I/O operation has been aborted because of either a thread exit or an application request.
Apr 26 '07 #5
bartonc
6,596 Expert 4TB
What do you mean by this? Does that mean I can't access my Garmin with pyUSB? I have spent days trying to get pyUSB to work, and now that it works and I try to find the product information for my Garmin I get this error message (below). How do I circumvent this?
usb.USBError: usb_control_msg: sending control message failed, win error: The I/O operation has been aborted because of either a thread exit or an application request.
Nope. You can't use PyUSB because of the way Garmin installs on your system (I assume Windows?<edit: figured from other post by OP>). I'll post some code, but I'd like you to start a new discussion. In there you might want to show some of your work with PyUSB for our member's benefit.

Thanks for joining.
Apr 27 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Danny Lesandrini | last post by:
I'm using an Access database to drive a web site and the colors of various table backgrounds are stored in Access. I want users of the Access database to be able to select colors for the site, but...
4
by: Hai Nguyen | last post by:
I'm learning C sharp and do not like vb much. I'm creatiing a wepage using panel to test myself. I tried to use these code below, which is written in VB, and to transform them to c sharp but I got...
0
by: Brian Basquille | last post by:
Hello all. Quick question for anyone that has used RawMouse / RawInputMouse (and for anyone that hasn't used it.. look here: http://link.mywwwserver.com/~jstookey/arcade/rawmouse/). RawMouse...
6
by: Aaron Smith | last post by:
Has anyone used ComponentOne's Enterprise studio that comes in the VB.Net resource kit? I like some of the controls they have, but I've had a few wierd issues and I am wondering if that's a sign of...
1
by: Max M | last post by:
Hi.. My supervisor just asked to me to "learn" python... and write a script that gets info from a "GPS receiver" that it's connected to the "usb" port.. so i downloaded and built the pyUsb and...
11
by: Faisal Vali | last post by:
Hi - I'm new to javascript and I was reading the book Javascript Professional Projects - there is a fragment that has me a little perplexed, and I was wondering if anyone could explain why and how...
169
by: JohnQ | last post by:
(The "C++ Grammer" thread in comp.lang.c++.moderated prompted this post). It would be more than a little bit nice if C++ was much "cleaner" (less complex) so that it wasn't a major world wide...
3
by: robingfx | last post by:
This seems like a pretty straight forward thing to do, but I just can't get pyUSB to install properly. I download the .gz file from SourceForge and run the normal "python setup.py install". I get...
0
angelie
by: angelie | last post by:
im trying to communicate with an humain interface device using python's pyusb. i need to acquire data using the interrupt transfer type. i have two endpoints, EP1 = interrupt, out EP2 =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.