FreeBSD telldusd port fix for devd script

Johan Ström johan at stromnet.se
Wed Oct 4 14:30:17 UTC 2017


Ah, okay. Well, it works now and didn't work with the old devd rule, I'm happy with that :)

Shall I create a patch and submit to bugzilla, or are you fixing this as part of bigger cleanup?


On October 4, 2017 10:03:21 AM GMT+02:00, Hans Petter Selasky <hps at selasky.org> wrote:
>On 10/04/17 07:59, Johan Ström wrote:
>> Hi,
>> 
>> thanks, verified and seems to work fine, at least on unplug/re-plug.
>> 
>> I added a "logger "logger ATTACH event on $cdev;" to the action too.
>On
>> unplug-plug scenario this was logged and all worked fine [1].
>> On a reboot it did not log it [2], but it actually seems to have
>> executed, as the dialer group have been set on ugen0.2 and telldusd
>is
>> able to interact with it.
>> 
>> Can I expect that this will execute on system boot too, or is there
>some
>> other magic involved for that? logger not ready for use at that
>stage,
>> but devd is perhaps?
>
>Yes, but it is not executed until the devd is started. All the events 
>are queued in the kernel and then when devd opens they are read and 
>executed.
>
>--HPS

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


More information about the freebsd-ports mailing list