[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#119184: ITP: laptop-net -- Tools for supporting built-in ethernet on laptops



   Date: Mon, 12 Nov 2001 15:00:32 +0100
   From: Wichert Akkerman <wichert@wiggy.net>

   Ok, that makes sense. Would it be possible to modify this software to
   use the standard Linux hotplug framework instead? PCMCIA will move
   to start using that as well during the 2.5 kernel series.

I think it would make sense to do that.  But I have just spent some
time looking at the hotplug package and I'm not sure I understand how
this would integrate into it.  This software operates in user space by
polling the network interface for the link beat.  When a transition is
detected, it runs a script that takes an appropriate action.

The hotplug scripts seem to be kernel driven.  There's no provision
for any network events other than device registration.  If the hotplug
scripts are installed, it looks as though the network device will be
registered whenever its driver is loaded.  But this software needs to
leave the driver loaded all the time, so that the polling can work.
Only when link beat is detected is the interface brought up.

Do you have any ideas about this?  Is there someone (Greg KH?) I
should talk to about this?



Reply to: