Re: [gentoo-user] Kernel config little problem (rt61pci)

2014-07-02 Thread Mick
On Wednesday 02 Jul 2014 15:04:50 João Matos wrote:
> Dear list,
> 
> 
> As you can see at the image attached, I'm looking for my wireless driver
> (rt61pci). I can find it when I search using "/" on "make menuconfig", but,
> it is not listed on wireless menu.
> 
> I don't know what is happening, but probably happend bcz I used "make
> localmodconfig" withou the card attached.

I don't use localmodconfig to know its quirks, but as I understand it you 
should use it with a LiveCD which has *already* probed the card and loaded the 
module that you are interested in.  You can check with lsmod that the module 
in question has been loaded.

It goes without saying that it is safer if you have added/powered on the 
hardware before you boot with the LiveCD.

Alternatively, use make xconfig or menuconfig and enable each kernel item in 
the list shown above the module that you are interested in.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Kernel config little problem (rt61pci)

2014-07-02 Thread Rich Freeman
On Wed, Jul 2, 2014 at 10:04 AM, João Matos  wrote:
>
> As you can see at the image attached, I'm looking for my wireless driver
> (rt61pci). I can find it when I search using "/" on "make menuconfig", but,
> it is not listed on wireless menu.

On the same screen shot notice the line for "Depends on".  The option
for RT2X00 is set to N, which prevents the menu from displaying the
option for RT61PCI.  Find RT2X00 and set it to Y/M, and then you'll be
able to find the option for RT61PCI.  Note that RT2X00 might have
unmet dependencies, which will require going another step back.  The
X11 versions make that navigation a bit easier, and you can directly
toggle the settings there (if deps are met).

Rich



Re: [gentoo-user] Kernel config little problem (rt61pci)

2014-07-02 Thread Alexander Kapshuk
 Original Message 
Subject:Re: [gentoo-user] Kernel config little problem (rt61pci)
Date:   Wed, 02 Jul 2014 19:59:01 +0300
From:   Alexander Kapshuk 
To: gentoo-user@lists.gentoo.org



On 07/02/2014 05:04 PM, João Matos wrote:
> Dear list,
>
>
> As you can see at the image attached, I'm looking for my wireless
> driver (rt61pci). I can find it when I search using "/" on "make
> menuconfig", but, it is not listed on wireless menu.
>
> I don't know what is happening, but probably happend bcz I used "make
> localmodconfig" withou the card attached.
>
> But I think it'll be easy for you.
>
> Thanks in advance.
>
>
> -- 
> João Neto
> Linux User #461527
> http://br.linkedin.com/pub/jo%C3%A3o-de-matos/7/316/552

I'm running 3.12.21-gentoo-r1. Not sure what kernel version you're
running, but I believe the kernel config you're after is:
grep CONFIG_RT2X00 .config
# CONFIG_RT2X00 is not set

Once enabled, you should be able to select the right config option for
your device.

Hope this helps.


My apologies, I thought you said you had trouble finding the right
config for your card, but after reading your original post once again, I
realised that I hadn't read it right in the first place.

3.12.21-gentoo-r1 does have the source files for your card though:
du -a /usr/src/linux/*|sed '/rt61pci/!d;s/.*\t//'
/usr/src/linux/drivers/net/wireless/rt2x00/rt61pci.h
/usr/src/linux/drivers/net/wireless/rt2x00/rt61pci.c



Re: [gentoo-user] Kernel config little problem (rt61pci)

2014-07-02 Thread Alexander Kapshuk
On 07/02/2014 05:04 PM, João Matos wrote:
> Dear list,
>
>
> As you can see at the image attached, I'm looking for my wireless
> driver (rt61pci). I can find it when I search using "/" on "make
> menuconfig", but, it is not listed on wireless menu.
>
> I don't know what is happening, but probably happend bcz I used "make
> localmodconfig" withou the card attached.
>
> But I think it'll be easy for you.
>
> Thanks in advance.
>
>
> -- 
> João Neto
> Linux User #461527
> http://br.linkedin.com/pub/jo%C3%A3o-de-matos/7/316/552

I'm running 3.12.21-gentoo-r1. Not sure what kernel version you're
running, but I believe the kernel config you're after is:
grep CONFIG_RT2X00 .config
# CONFIG_RT2X00 is not set

Once enabled, you should be able to select the right config option for
your device.

Hope this helps.




Re: [gentoo-user] Kernel config little problem (rt61pci)

2014-07-02 Thread Neil Bothwick
On Wed, 2 Jul 2014 11:04:50 -0300, João Matos wrote:

> As you can see at the image attached, I'm looking for my wireless driver
> (rt61pci). I can find it when I search using "/" on "make menuconfig",
> but, it is not listed on wireless menu.

In the search results it will show what that driver depends on. Unless
they are all set to y or m, it will not show up in the menus. I believe
make xconfig has an option to show such options.


-- 
Neil Bothwick

Time is the best teacher; unfortunately it kills all its students.


signature.asc
Description: PGP signature