Comments (3)
Hello Maarten,
Is there anything special running on your machine? posible any VM running?
Try to use another USB port.
Also, if your machine is Windows 64 try both Python 32 bits and Python 64.
I would recommend using Python 2.7.x only, you can try Python 3 after you
know your script is working.
And definitely try with other USB/HID device first in case your device has
broken descriptors.
Best regards
Rene
On Wed, Feb 13, 2013 at 1:24 PM, vermmaa [email protected] wrote:
Hi,
A came across you project in search of an solution to read out my Dymo usb
scale. I'm a php developer and i'm not used to working with python so I
hope i didn't make a stupid mistake.When i run the raw data example i get following error:
D:\pywinusb\examples>python raw_data.py
Choose a device to monitor raw input reports:0 => Exit
1 => Logitech USB Gaming Mouse(vID=0x046d, pID=0xc049)
2 => Logitech USB Gaming Mouse(vID=0x046d, pID=0xc049)
3 => DYMO M10 10 Kg Digital Postal Scale(vID=0x0922, pID=0x8006)Device ('0' to '3', '0' to exit?) [press enter after number]:
3
Traceback (most recent call last):
File "raw_data.py", line 67, in
raw_test()
File "raw_data.py", line 39, in raw_test
device.open()
File
"C:\Python33\lib\site-packages\pywinusb-0.3.2-py3.3.egg\pywinusb\hid\core
.py", line 468, in open
ptr_preparsed_data) )
OSError: exception: access violation reading 0x000007FE0036F5A0I'm using Windows 7, I have disabled ACL. First I tried Python 2.7 which
didn't work and gave me no error then I switched to 3.3 which produced the
error.thx,
Maarten
β
Reply to this email directly or view it on GitHubhttps://github.com//issues/5.
from pywinusb.
I almost forgot it... Did you get the code from PyPi or from GitHub?
On Wed, Feb 13, 2013 at 7:56 PM, RenΓ© Aguirre [email protected]:
Hello Maarten,
Is there anything special running on your machine? posible any VM running?
Try to use another USB port.
Also, if your machine is Windows 64 try both Python 32 bits and Python 64.
I would recommend using Python 2.7.x only, you can try Python 3 after you
know your script is working.And definitely try with other USB/HID device first in case your device has
broken descriptors.Best regards
Rene
On Wed, Feb 13, 2013 at 1:24 PM, vermmaa [email protected] wrote:
Hi,
A came across you project in search of an solution to read out my Dymo
usb scale. I'm a php developer and i'm not used to working with python so I
hope i didn't make a stupid mistake.When i run the raw data example i get following error:
D:\pywinusb\examples>python raw_data.py
Choose a device to monitor raw input reports:0 => Exit
1 => Logitech USB Gaming Mouse(vID=0x046d, pID=0xc049)
2 => Logitech USB Gaming Mouse(vID=0x046d, pID=0xc049)
3 => DYMO M10 10 Kg Digital Postal Scale(vID=0x0922, pID=0x8006)Device ('0' to '3', '0' to exit?) [press enter after number]:
3
Traceback (most recent call last):
File "raw_data.py", line 67, in
raw_test()
File "raw_data.py", line 39, in raw_test
device.open()
File
"C:\Python33\lib\site-packages\pywinusb-0.3.2-py3.3.egg\pywinusb\hid\core
.py", line 468, in open
ptr_preparsed_data) )
OSError: exception: access violation reading 0x000007FE0036F5A0I'm using Windows 7, I have disabled ACL. First I tried Python 2.7 which
didn't work and gave me no error then I switched to 3.3 which produced the
error.thx,
Maarten
β
Reply to this email directly or view it on GitHubhttps://github.com//issues/5.
from pywinusb.
Hi,
I now tried the 64bit version of Python 2.7 and that version works.
Thx for the tip and the nice piece of code :)
Kind regards,
Maarten
from pywinusb.
Related Issues (20)
- Running show_hids.py - A USB HID not showing in the list HOT 10
- Question about get input and send output from my custom USB device. HOT 5
- pywinusb vs pyusb HOT 2
- Options to get input reports
- InputReportProcessingThread is never closed
- Can't see all the HID devices connected to the PC HOT 1
- How do I send a simple feature report? HOT 2
- Set Feature Report data last byte corrupted HOT 4
- WinError 2 HOT 1
- Can I use this library to emulate HID mouse drivers without additional hardware? HOT 1
- PNP for tkinter HOT 4
- USB device isn't found
- HID RFID Tag Reading Issue HOT 3
- Reading Data from Device connected through USB using pywinusb
- Data reading! HOT 1
- core.py collections callable error
- ValueError: not open
- not getting "raw_data_handler" events with keyboard HID devices
- instance_id unable to be used as HID filter
- core.py Issues with sending output report to HID device
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pywinusb.