Reading of the "/dev/piControl0" file
Posted: 11 Dec 2018, 14:32
I try to read and write to the Picontrol0 file.
I can read and write but i have problems with the logging.
The "/var/log/kern.log" becomes huge, and the revpi is no longer available (rotation daily)
What is wrong, can I disable the logging?
logging data:
===========
piControl 0:piControlOpen
opened 1 instance
Invalid Ioctl
piControlRelease
close instance 1/1
CODE:
======
with open("/dev/piControl0","rb",0) as f:
#underscores are a tab
___f.seek(523,0)
___data = f.read(128)
I can read and write but i have problems with the logging.
The "/var/log/kern.log" becomes huge, and the revpi is no longer available (rotation daily)
What is wrong, can I disable the logging?
logging data:
===========
piControl 0:piControlOpen
opened 1 instance
Invalid Ioctl
piControlRelease
close instance 1/1
CODE:
======
with open("/dev/piControl0","rb",0) as f:
#underscores are a tab
___f.seek(523,0)
___data = f.read(128)