The ioctl is the traditional way of doing this. The daemon does have to be
running all the time in many cases such as the Digi C/X products where the
concentrators are remote and could be power cycled by accident. The driver
has to be prepared to give the box a firmware download at any time. The
daemon adds its own sort of bloat - another program in the filesystem,
another program that is always in the process table, you still need kernel
code to implement the ioctl, if its missing then you get a support call,
etc. etc.
The actual code to do this is on the order of 30 lines. I just tested it
out using the set_fs() trick that Tom Dyas pointed me at. This is highly
acceptable to me.
-Rick
-- Rick Richardson Sr. Principal Engr. Can you be sure I'm really me Digi Intl. Email: rick@dgii.com and not my clone??? Has anybody 11001 Bren Rd. East Fax: (612) 912-4955 seen The Leader's nose??? Minnetonka, MN 55343 Tel: (612) 912-3212 http://www.dgii.com/people/rick/