ts-7000
[Top] [All Lists]

[ts-7000] Re: mdev not firing on device plugin

To:
Subject: [ts-7000] Re: mdev not firing on device plugin
From: "j.chitte" <>
Date: Tue, 01 Jun 2010 13:52:39 -0000

--- In  "Blair" <> wrote:
>
>  The original script has a line mdev -s. I think a simple mdev invocation 
> just runs the population once so unless your device is always plugged in when 
> you power up, it won't be seen later.  The busybox docs say to do the echo 
> line to "connect" mdev to the hotplug system.
> 

OK, just for the record let's clear up some misinformation.

mdev -s is needed to seed mdev with the devices existing when the kernel boots 
so that they get processed according to the rules set up for mdev.

echo ....> /proc/sys/kernel/hotplug is ONLY required if the correct value is 
not configured into the kernel. 

busybox installs mdev at /sbin/mdev , that is what I set it to.

What seems to have been preventing the hotplug mechanism firing mdev is my case 
was a kernel config error.

CONFIG_UEVENT_HELPER_PATH=/sbin/mdev  , OK

The following also need to be set: CONFIG_HOTPLUG, CONFIG_PROC_SYSCTL 
CONFIG_SYSFS CONFIG_CONFIGFS_FS

My problem was that CONFIG_CONFIGFS_FS was M and not Y. A minor slip up with 
long reaching effects.

It took me a while to find since I was incorrectly seeing this as mdev problem 
rather than a kernel problem.


Once that was sussed it was trivial to get the authentication with the AP 
working and the rt73 driver works beautifully despite the figures looking a bit 
low.
                    Quality=30/70  Signal level=-80 dBm

Dlink G122 would seem to have been good choice for this use.


> 
> --- In  "j.chitte" <j.chitte@> wrote:
> >
> > 
> > 
> > --- In  "Blair" <bburtan65@> wrote:
> > >
> > > Try: echo /bin/mdev >/proc/sys/kernel/hotplug
> > > 
> > > 
> > 
> > In what way would that be better than putting the correct location of mdev 
> > into hotplug , as I already indicated I have done ?
> > 
> > 
> > > 
> > > --- In  "j.chitte" <j.chitte@> wrote:
> > > >
> > > > Hi,
> > > > 
> > > > I have got the wifi connection working on TS7250 but cannot get mdev to 
> > > > do it all automatically.
> > > > 
> > > > # cat /proc/sys/kernel/hotplug  
> > > > /sbin/mdev
> > > > 
> > > > # ls -ail /sbin/mdev
> > > >  228308 lrwxrwxrwx    1 root     root            14 May 27 18:38 
> > > > /sbin/mdev -> ../bin/busybox
> >
>




------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU