Yepkit/pykush

YKUSH XS

albersaber opened this issue · 1 comments

i am tring to turn on / off KUSH XS by using pykush but i can't !!

$ python pykush.py --list
listing YKUSH family devices
found a release 2 device with serial number
system device path 0003:0008:00, vendor id 0x04d8, product id 0xf0cd
control functions are not available, the device is working in bootloader mode

$ python pykush.py -d
managing YKUSH family devices
found a release 2 device with serial number
system device path 0003:0008:00, vendor id 0x04d8, product id 0xf0cd
control functions are not available, the device is working in bootloader mode

$ python pykush.py -u
managing YKUSH family devices
found a release 2 device with serial number
system device path 0003:0008:00, vendor id 0x04d8, product id 0xf0cd
control functions are not available, the device is working in bootloader mode

You need to run it as root or if you are in the plugdev group use the udev rule to list the serial numbers at least:

# YkushXS udev
ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="f0cd", MODE="660", GROUP="plugdev"

But it currently still cannot put it up or down.