dbus-serialbattery: Permission denied
Describe the problem
Hello, I can not change the DCL value on version V1.0.0. I got a “Permission denied” message. I don’t understand.
Can you help me?
Thank you so much
Driver version
1.0.0 (20230508)
Venus OS device type
Cerbo GX
Venus OS version
2.94
BMS type
JKBMS / Heltec BMS
Cell count
16
Connection type
Serial USB adapter to RS485
Config file
login as: root
root@192.168.1.170's password:
Last login: Tue May 23 18:56:05 2023
root@einstein:~# /data/etc/dbus-serialbattery/reinstall-local.sh
Venus OS v2.92 is older than v3.00~14. Replacing VisibleItemModel with VisualIte mModel... done.
sed: /var/spool/cron/root: No such file or directory
No Bluetooth battery configuration found in "/data/etc/dbus-serialbattery/config .ini".
You can ignore this, if you are using only a serial connection.
SERIAL battery connection: The installation is complete. You don't have to do an ything more.
BLUETOOTH battery connection: There are a few more steps to complete installatio n.
1. Please add the Bluetooth BMS to the config file "/data/etc/dbus-serialbat tery/config.ini" by adding "BLUETOOTH_BMS":
Example with 1 BMS: BLUETOOTH_BMS = Jkbms_Ble C8:47:8C:00:00:00
Example with 3 BMS: BLUETOOTH_BMS = Jkbms_Ble C8:47:8C:00:00:00, Jkbms_Bl e C8:47:8C:00:00:11, Jkbms_Ble C8:47:8C:00:00:22
If your Bluetooth BMS are nearby you can show the MAC address with "bluet oothctl devices".
2. Make sure to disable Settings -> Bluetooth in the remote console/GUI to p revent reconnects every minute.
3. Re-run "/data/etc/dbus-serialbattery/reinstall-local.sh", if the Bluetoot h BMS were not added to the "config.ini" before.
ATTENTION!
If you changed the default connection PIN of your BMS, then you have to pair the BMS first using OS tools like the "bluetoothctl".
See https://wiki.debian.org/BluetoothUser#Using_bluetoothctl for more detail s.
CUSTOM SETTINGS: If you want to add custom settings, then check the settings you want to change in "/data/etc/dbus-serialbattery/config.default.ini"
and add them to "/data/etc/dbus-serialbattery/config.ini" to pe rsist future driver updates.
root@einstein:~# /data/etc/dbus-serialbattery/config.default.ini
-sh: /data/etc/dbus-serialbattery/config.default.ini: Permission denied
root@einstein:~#
Relevant log output
login as: root
root@192.168.1.170's password:
Last login: Tue May 23 18:56:05 2023
root@einstein:~# /data/etc/dbus-serialbattery/reinstall-local.sh
Venus OS v2.92 is older than v3.00~14. Replacing VisibleItemModel with VisualIte mModel... done.
sed: /var/spool/cron/root: No such file or directory
No Bluetooth battery configuration found in "/data/etc/dbus-serialbattery/config .ini".
You can ignore this, if you are using only a serial connection.
SERIAL battery connection: The installation is complete. You don't have to do an ything more.
BLUETOOTH battery connection: There are a few more steps to complete installatio n.
1. Please add the Bluetooth BMS to the config file "/data/etc/dbus-serialbat tery/config.ini" by adding "BLUETOOTH_BMS":
Example with 1 BMS: BLUETOOTH_BMS = Jkbms_Ble C8:47:8C:00:00:00
Example with 3 BMS: BLUETOOTH_BMS = Jkbms_Ble C8:47:8C:00:00:00, Jkbms_Bl e C8:47:8C:00:00:11, Jkbms_Ble C8:47:8C:00:00:22
If your Bluetooth BMS are nearby you can show the MAC address with "bluet oothctl devices".
2. Make sure to disable Settings -> Bluetooth in the remote console/GUI to p revent reconnects every minute.
3. Re-run "/data/etc/dbus-serialbattery/reinstall-local.sh", if the Bluetoot h BMS were not added to the "config.ini" before.
ATTENTION!
If you changed the default connection PIN of your BMS, then you have to pair the BMS first using OS tools like the "bluetoothctl".
See https://wiki.debian.org/BluetoothUser#Using_bluetoothctl for more detail s.
CUSTOM SETTINGS: If you want to add custom settings, then check the settings you want to change in "/data/etc/dbus-serialbattery/config.default.ini"
and add them to "/data/etc/dbus-serialbattery/config.ini" to pe rsist future driver updates.
root@einstein:~# /data/etc/dbus-serialbattery/config.default.ini
-sh: /data/etc/dbus-serialbattery/config.default.ini: Permission denied
root@einstein:~#
Any other information that may be helpful
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16
Hello, a friend came to help me translate. I finally managed to change the values.
Thank you for your help, you’re doing a great job!
Thank you
Because it contains a lot of fixes and improvements. Shortly it will be released as stable version.
This will not work, you cannot run a INI file
root@einstein:~# /data/etc/dbus-serialbattery/config.default.iniYou have to edit it with a editor like
nano:root@einstein:~# nano /data/etc/dbus-serialbattery/config.default.iniMake your custom changes in the
config.iniand not in theconfig.default.ini. https://louisvdw.github.io/dbus-serialbattery/general/install#settings-locationpath