-

CommentStreams:35abbe70309278638b743e82527c34a7

From Geekworm Wiki
< How to read the battery capacity via I2C on X750&725
Revision as of 17:54, 6 December 2019 by 45.19.196.169 (talk) (Migrated comment #671)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Has anyone else tried this with a Raspberry Pi 4? When I tried to install the script (sudo bash X750.sh) bash threw errors:

xxxx@Z97A-i64:~$ sudo bash x750.sh [sudo] password for xxxx: x750.sh: line 3: $'\r': command not found

No such file or directoryal

x750.sh: line 5: $'\r': command not found

No such file or directory

x750.sh: line 44: $'\r': command not found x750.sh: line 45: $'\r': command not found x750.sh: line 48: $'\r': command not found

No such file or directoryal

x750.sh: line 50: $'\r': command not found x750.sh: line 73: $'\r': command not found x750.sh: line 76: $'\r': command not found

No such file or directoryal

x750.sh: line 78: $'\r': command not found

No such file or directory/x750ups.py

chmod: cannot access ‘/home/pi/x750ups.py\r’: No such file or directory x750.sh: line 125: $'\r': command not found

For what it is worth, I ran as "pi" on the RP-4 and again on an Ubuntu linux system. Both gave the same errors.

Suggestions?