Using CUL with Fhem on FreeBSD
Recently I got my self a CUL from busware.de to control FS20 devices with the Fhem server from Rudolf König. While I had not trubbles flashing the CUL with culfw on Ubuntu, I ran into trubbles using the device with the Fhem server running FreeBSD.
Running dmesg and looking at /var/log/messages on FreeBSD we find out that the CUL is recognized as Unknown USB device and registered as ugen2.2. (Using ugen2.2 in Fhem doesn’t work for me.) A solution is to manually load the umodem module (kldload /boot/kernel/umodem.ko), unplug the CUL and plug it back in. The device is than available as /dev/cuaU0 and can be used in Fhem.
Automatically loading the module on startup can be achieved by adding umodem_load=”YES” to your /boot/loader.conf file.
Â
Â