Последнее Обновление 6 лет назад
After login in system open the Terminal and follow the steps below:
![image](/powerwalker/file.php?key=cwaoaajpsujp6jsbjbjbbknyglnbkaeu&expires=1723766400&signature=5769d527b994bb5d7f9dd19260fd4ed88e1fb937&disposition=inline&id=12186)
- change the current user to root
query the currently usbs of the host. Locate the UPS' port number (look for Cypress, which is USB port brand). Here Device nr. 008. Please check the owner of the usb port, you will find the no.008 belongs to the root account (it means that you don’t have the read or write right on this USB), it’s the reason why you can’t connect to the UPS by usb. - ls –all /dev/bus/usb/
- ls –all /dev/bus/usb/001
- ls –all /dev/bus/usb/002
Create a rule to solve the issue. - vi /etc/udev/rules.d/50-myusb.rules
- and then please enter the rules as below:
SUBSYSTEMS=="usb",ATTRS{idVendor}=="0665",ATTRS{idProduct}=="5161",GROUP=xxxxxx MODE="0666" - if the UPS is connected on a COM port, please enter as below:
KERNEL=="ttyUSB*",MODE="0666" - NOTE:please enter your group name to replace the words "xxxxxx".
Save and exit the vi editor Then query the master group of the UPS-usb,and you will find it belong to your groups. In the end,please restart the rule. - udevadm control --reload
Switch the root to your account - su foko
here "foko" is the local user, replace with your name
Run the software,and the connection will be shown.