--- In "Gonzalo A. de la Vega"
<> wrote:
>
> On Wed, Oct 8, 2008 at 12:41 PM, jatson <> wrote:
> > --- In "Gonzalo A. de la Vega"
> > <gadelavega@> wrote:
> >
> >>
> >> On Tue, Oct 7, 2008 at 4:55 PM, Jason Stahls <jason@> wrote:
> >> > jatson wrote:
> >> >> I couldn't find anything in /dev either that
> >> >> would tell me if it's in or out.
> >> >
> >> > /dev/eth1 should exist if the adaptor is there.
> >>
> >> No, network devices do not have asossiated device files. But you
> >> should be able to see the entry in:
> >> /proc/net/dev
> >>
> >> Something like "grep wlan0 /proc/net/dev"
> >>
> >
> > Yes, that works! However, I note that it only works if my zd_b.o
has
> > been insmodded. Which will probably be OK, I'll prompt my user to
> > insert wireless adapter, insmod the zd, check /proc/net/dev, then
> > proceed to load my networking stuff if I see wlan0.
> >
> > I guess I can't expect to "see" the wireless adapter without the
> > module being installed, right? When I plug it in without the
module, I
> > get the "device not claimed by any active driver" message.
>
> I don't see anything in the /proc/bus/usb/ directory, so I can't
think
> of any options now, but you can install the module even if the radio
> is not plugged and it will detect it when you plug it.
>
Not sure what kernel you are using.
I am using the /sbin/hotplug feature in kernel 2.4 which will execute
this program whenever I insert a USB device.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|