philenotfound / usbmailnotifier

Automatically exported from code.google.com/p/usbmailnotifier
0 stars 0 forks source link

Issue with Synology DS1010+ #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I was able to get this working with my Synology NAS but the initial attempt 
returned the following error:

# > sudo ./setcolor.py 1
Traceback (most recent call last):
  File "./setcolor.py", line 60, in <module>
    main(sys.argv)
  File "./setcolor.py", line 56, in main
    m = MailNotifier()
  File "./setcolor.py", line 15, in __init__
    self.dev.handle.reset()
usb.USBError: could not reset: No such device

I was able to get it working by commenting out the following line:

#       self.dev.handle.reset()

I'm not sure if the reset is important or why it was failing with my specific 
hardware/software but it seems to work fine without it (including turning off 
the LED).

Original issue reported on code.google.com by stanback on 22 Mar 2011 at 12:42