I have modified my code a bit adding class.
Still the same problem.
Why cant I write into the device since the device has been detected.
Here's my code
#!usr/bin/python
import usb
import time
class HardwareMonitor_printer(object):
def
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi
On 01/24/2012 12:04 PM, bibek chitrakar wrote:
> Hello, === The output of program :
>
> $ sudo python hardware_monitor_printer.py Traceback (most recent
> call last): File "hardware_monitor_printer.py", line 15, in
> d
Hello,
This is my code I am currently working with. I didn't found helpful links
neither better tutorials.
This code is compiled after immense searches.
#!/usr/bin/python
import usb
vendor_id = 0x0dd4
product_id = 0x01a8
busses = usb.busses()
for bus in busses:
devices = bus.devices
for de