I just upgraded my kernel to 3.14-rc2, and noticed that fhem.pl takes 50% cpu time (100% on 1 core).
When i go back to 3.13.2, the problem goes away.
In the log file, i find this:
2014.02.14 18:10:29 1: /dev/fhem_fs20 reappeared (CUL_FS20)
2014.02.14 18:10:29 3: CUL_FS20: Possible commands: BCFiAGMRTVWXefmltux
2014.02.14 18:10:29 1: /dev/fhem_fs20 disconnected, waiting to reappear
and lots of them. sometimes re-appreaing directly, sometimes not at all.
I am running the nightly snapshot for SVN.
Any idea how i could solve / debug this issue?
Remco
IMHO this is a Linux-Kernel/USB-Driver bug. You could strace the fhem process to get details, but most probably FHEM will not be able to fix it.
There is also the remote possibility that 3.14-rc2 changed the semantic of some systemcall used (directly or indirectly) by FHEM, but I have no idea how to find out which one.
ive already tried a strace, but it doesn't show anything
remco