Permission denied: '/dev/piControl0'
Posted: 14 Apr 2020, 21:44
Hi!
Today I was having problems editing the /boot/conf.txt file to configure my HDMI touchscreen on my RevPi Connect+. Accidentally (due to a problem with nano and swaps) I erase all the contents of the config.txt file. Afterwards, when I tried running my application using revpimodio2, I got the following error:
PermissionError: [Errno 13] Permission denied: '/dev/piControl0'
Also, I receive this error when I try to open piControl0 with python directly using:
f = open("/dev/piControl0","wb+",0)
When I try to open the piCtory webpage the user admin with the password is also not working......
I know that at the end of the config.txt file were some lines from Kunbus.
I took the following lines from my RevPi Core 3 and added them to the config file of my RevPi Connect+:
# Enable /dev/ttyAMA0 on CM3 until devicetree gets fixed by the Foundation
dtparam=uart0=on
# Enable RevPi specific pins for i2c
dtoverlay=i2c1-bcm2708,sda1_pin=44,scl1_pin=45,pin_func=6
# Enable RevPi realtime clock
dtoverlay=i2c-rtc,pcf2127
# Enable RevPi specific pins for spi
dtparam=spi=on
dtoverlay=kunbus
dtoverlay=mmc
After adding these lines everything seems to be working fine.
Could someone please verify it? I remember the lines were a little bit different.
Best regards,
Today I was having problems editing the /boot/conf.txt file to configure my HDMI touchscreen on my RevPi Connect+. Accidentally (due to a problem with nano and swaps) I erase all the contents of the config.txt file. Afterwards, when I tried running my application using revpimodio2, I got the following error:
PermissionError: [Errno 13] Permission denied: '/dev/piControl0'
Also, I receive this error when I try to open piControl0 with python directly using:
f = open("/dev/piControl0","wb+",0)
When I try to open the piCtory webpage the user admin with the password is also not working......
I know that at the end of the config.txt file were some lines from Kunbus.
I took the following lines from my RevPi Core 3 and added them to the config file of my RevPi Connect+:
# Enable /dev/ttyAMA0 on CM3 until devicetree gets fixed by the Foundation
dtparam=uart0=on
# Enable RevPi specific pins for i2c
dtoverlay=i2c1-bcm2708,sda1_pin=44,scl1_pin=45,pin_func=6
# Enable RevPi realtime clock
dtoverlay=i2c-rtc,pcf2127
# Enable RevPi specific pins for spi
dtparam=spi=on
dtoverlay=kunbus
dtoverlay=mmc
After adding these lines everything seems to be working fine.
Could someone please verify it? I remember the lines were a little bit different.
Best regards,