Re: [pyusb-users] question regarding HID with PYUSB on raspberry pi

2016-01-22 Thread Chhavi Goenka
Thank you Jared. I will look at your project and try HIDAPI for my project. On Thu, Jan 21, 2016 at 4:42 PM, Jared Contrascere < jared.n.contrasc...@libretees.com> wrote: > Hi, Chhavi! > > I'll defer to other opinions on the matter, but I think pyusb might be too > low-level for your purposes, Ch

Re: [pyusb-users] question regarding HID with PYUSB on raspberry pi

2016-01-21 Thread Jared Contrascere
Hi, Chhavi! I'll defer to other opinions on the matter, but I think pyusb might be too low-level for your purposes, Chhavi. I've been able to interface with a HID scale on a Raspberry Pi using the python 'hidapi' package. See https://github.com/libretees/silverscale for an example project. --cont

[pyusb-users] question regarding HID with PYUSB on raspberry pi

2016-01-21 Thread Chhavi Goenka
Hi, I am trying to interface raspberry pi with a custom HID device via USB. I am using PYUSB for this. But once I run my program i get a timeout error. Here is my program: import os import sys import time import usb.core import usb.util packet_len = 64 # packet request function def pack_reque

Re: [pyusb-users] question

2015-06-23 Thread Jay Newens
:13 To: pyusb-users@lists.sourceforge.net Subject: Re: [pyusb-users] question On Fri, Jun 19, 2015 at 9:54 AM, Jay Newens wrote: > Ok, > > I have a new problem. I am using libusb-win32-bin-1.2.6.0. I am using > the libusb0.dll and libusb0.sys. I am communicating to a ZebraKR403 > p

Re: [pyusb-users] question

2015-06-20 Thread Xiaofan Chen
On Fri, Jun 19, 2015 at 9:54 AM, Jay Newens wrote: > Ok, > > I have a new problem. I am using libusb-win32-bin-1.2.6.0. I am using the > libusb0.dll and libusb0.sys. I am communicating to a ZebraKR403 printer > checking for the status. On my dev PC this is working and I have packaged my > program

Re: [pyusb-users] question

2015-06-18 Thread Jay Newens
Ok, I have a new problem. I am using libusb-win32-bin-1.2.6.0. I am using the libusb0.dll and libusb0.sys. I am communicating to a ZebraKR403 printer checking for the status. On my dev PC this is working and I have packaged my program with py2exe and installed it on my first target PC along with t

Re: [pyusb-users] question

2015-06-14 Thread Xiaofan Chen
On Fri, Jun 12, 2015 at 10:40 PM, Jay Newens wrote: > I have the LibUSB-Win32 installed and the test program is > connected to my Zebra KR403 printer and I can see the > configuration info for the printer so I think my driver package > is ok. I am curious though about the libusb0.dll. I see that i

Re: [pyusb-users] question

2015-06-12 Thread Jay Newens
: Re: [pyusb-users] question 2015-06-11 16:44 GMT-03:00 Jay Newens : > I am using pyusb in my Python 2.7 environment getting the status of > the Zebra KR403 printer and having good success on a Windows 7 64 bit > PC. Now I am ready to test this on my target machine. I have created > m

Re: [pyusb-users] question

2015-06-11 Thread Wander Lairson Costa
2015-06-11 16:44 GMT-03:00 Jay Newens : > I am using pyusb in my Python 2.7 environment getting the status of the > Zebra KR403 printer and having good success on a Windows 7 64 bit PC. Now I > am ready to test this on my target machine. I have created my executable > program with py2exe and tested

[pyusb-users] question

2015-06-11 Thread Jay Newens
I am using pyusb in my Python 2.7 environment getting the status of the Zebra KR403 printer and having good success on a Windows 7 64 bit PC. Now I am ready to test this on my target machine. I have created my executable program with py2exe and tested the exe on my development PC and it works fine

Re: [pyusb-users] Question About Waiting for Prompts for the USB Device

2015-03-29 Thread Kyle Dotter
Hi Wander, Serial number is not what I'm looking for. The android phone will be running an app with 3 buttons. I want my code to run and then reach a certain point and then wait for the button prompt on the app which will send some message. If it's the correct message I'll continue with my code, o

Re: [pyusb-users] Question About Waiting for Prompts for the USB Device

2015-03-29 Thread Wander Lairson Costa
2015-03-29 12:42 GMT-03:00 Kyle Dotter : > Currently I have a program that takes the serial number from an android > phone automatically and saves it to a certain list. However, I don't want > this process to be automated. There's an android app being written to go > with this program and we want t

[pyusb-users] Question About Waiting for Prompts for the USB Device

2015-03-29 Thread Kyle Dotter
Currently I have a program that takes the serial number from an android phone automatically and saves it to a certain list. However, I don't want this process to be automated. There's an android app being written to go with this program and we want there to be a button that the user has to press in