I did write code at Python to read the port and store the data at a logfile and MYSQL Database.
The P1 is sending every 10 seconds 15 lines of information.
With a Crontab job I do read the P1 port every 5 minutes by USB0 by running the Python code.
At the basic this is working fine.
Only roughly after about 12 hours the USB0 is missing packets or the packages are corrupted. This wrong reading is going on for about 20 a 30 minutes then after that for about12 hours everything is working fine again.
I did some debugging and my conclsion at that time was that the P1 port did send corrupted information and I couldn't do anything against it.
Now I'm not sure anymore after reading this link:
viewtopic.php?f=29&t=20749
This topic shows that Raspberry is sometimes having trouble reading USB.
Is somebody here knowing this trouble with USB and Raspberry is still the case?
If yes is there a fixe or work around known to solve this problem?
Edit:
I followed this link for a test.
https://bitcointalk.org/index.php?topic=843788.0
Wondering if it will work
EDIT2:
This is not the solution
Maybe still the P1 is causing the problem