Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Which driver should I choose?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Sat Aug 09, 2014 12:49 am    Post subject: Which driver should I choose? Reply with quote

Hi, ALL,
Code:

IgorDellGentoo igor # lspci -v
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
        Subsystem: Dell Device 02aa
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0a <?>
        Kernel driver in use: agpgart-intel

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) (prog-if 00 [VGA controller])
        Subsystem: Dell Device 02aa
        Flags: bus master, fast devsel, latency 0, IRQ 44
        Memory at f6c00000 (64-bit, non-prefetchable) [size=4M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at efe8 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 3                                                                                                                                           
        Kernel driver in use: i915                                                                                                                                                             
                                                                                                                                                                                               
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)                                                                                   
        Subsystem: Dell Device 02aa                                                                                                                                                             
        Flags: bus master, fast devsel, latency 0                                                                                                                                               
        Memory at f6b00000 (64-bit, non-prefetchable) [size=1M]                                                                                                                                 
        Capabilities: [d0] Power Management version 3

00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Dell Device 02aa
        Flags: bus master, medium devsel, latency 0, IRQ 20
        I/O ports at 6f60 [size=32]
        Capabilities: [50] PCI Advanced Features
        Kernel driver in use: uhci_hcd

00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Dell Device 02aa
        Flags: bus master, medium devsel, latency 0, IRQ 21
        I/O ports at 6f80 [size=32]
        Capabilities: [50] PCI Advanced Features
        Kernel driver in use: uhci_hcd

00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Dell Device 02aa
        Flags: bus master, medium devsel, latency 0, IRQ 22
        I/O ports at 6fa0 [size=32]
        Capabilities: [50] PCI Advanced Features
        Kernel driver in use: uhci_hcd

00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03) (prog-if 20 [EHCI])
        Subsystem: Dell Device 02aa
        Flags: bus master, medium devsel, latency 0, IRQ 22
        Memory at fed1c400 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
        Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
        Subsystem: Dell Device 02aa
        Flags: bus master, fast devsel, latency 0, IRQ 46
        Memory at f6afc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Root Complex Link
        Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=0b, subordinate=0b, sec-latency=0
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: 80000000-801fffff
        Prefetchable memory behind bridge: 0000000080200000-00000000803fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 02aa
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=0c, subordinate=0c, sec-latency=0
        Memory behind bridge: f6900000-f69fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 02aa
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport

00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: f6800000-f68fffff
        Prefetchable memory behind bridge: 0000000080600000-00000000807fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 02aa
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=0d, subordinate=0e, sec-latency=0
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: f6600000-f67fffff
        Prefetchable memory behind bridge: 00000000f0000000-00000000f01fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 02aa
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Dell Device 02aa
        Flags: bus master, medium devsel, latency 0, IRQ 20
        I/O ports at 6f00 [size=32]
        Capabilities: [50] PCI Advanced Features
        Kernel driver in use: uhci_hcd

00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Dell Device 02aa
        Flags: bus master, medium devsel, latency 0, IRQ 21
        I/O ports at 6f20 [size=32]
        Capabilities: [50] PCI Advanced Features
        Kernel driver in use: uhci_hcd

00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Dell Device 02aa
        Flags: bus master, medium devsel, latency 0, IRQ 22
        I/O ports at 6f40 [size=32]
        Capabilities: [50] PCI Advanced Features
        Kernel driver in use: uhci_hcd

00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI])
        Subsystem: Dell Device 02aa
        Flags: bus master, medium devsel, latency 0, IRQ 20
        Memory at fed1c000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
        Kernel driver in use: ehci-pci

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
        Capabilities: [50] Subsystem: Dell Device 02aa

00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
        Subsystem: Dell Device 02aa
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03) (prog-if 01 [AHCI 1.0])
        Subsystem: Dell Device 02aa
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 45
        I/O ports at 6e70 [size=8]
        I/O ports at 6e78 [size=4]
        I/O ports at 6e80 [size=8]
        I/O ports at 6e88 [size=4]
        I/O ports at 6ea0 [size=32]
        Memory at fed1c800 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA v1.0
        Capabilities: [b0] PCI Advanced Features
        Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
        Subsystem: Dell Device 02aa
        Flags: medium devsel, IRQ 18
        Memory at f6afbf00 (64-bit, non-prefetchable) [size=256]
        I/O ports at 1100 [size=32]
        Kernel driver in use: i801_smbus

09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 13)
        Subsystem: Dell Device 02aa
        Flags: bus master, fast devsel, latency 0, IRQ 47
        Memory at f68fc000 (64-bit, non-prefetchable) [size=16K]
        I/O ports at de00 [size=256]
        Capabilities: [48] Power Management version 3
        Capabilities: [5c] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [c0] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [130] Device Serial Number ff-64-25-00-8f-08-43-ff
        Kernel driver in use: sky2
        Kernel modules: sky2

0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
        Subsystem: Dell Wireless 1397 WLAN Mini-Card
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at f69fc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [58] Vendor Specific Information: Len=78 <?>
        Capabilities: [e8] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [d0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [13c] Virtual Channel
        Capabilities: [160] Device Serial Number 66-4a-5f-ff-ff-ce-00-22
        Capabilities: [16c] Power Budgeting <?>
        Kernel driver in use: b43-pci-bridge

IgorDellGentoo linux # cat .config | grep B43
CONFIG_B43=m
CONFIG_B43_SSB=y
CONFIG_B43_PCI_AUTOSELECT=y
CONFIG_B43_PCICORE_AUTOSELECT=y
# CONFIG_B43_PCMCIA is not set
CONFIG_B43_PIO=y
CONFIG_B43_PHY_N=y
CONFIG_B43_PHY_LP=y
CONFIG_B43_LEDS=y
CONFIG_B43_HWRNG=y
CONFIG_B43_DEBUG=y
CONFIG_B43LEGACY=m
CONFIG_B43LEGACY_PCI_AUTOSELECT=y
CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
CONFIG_B43LEGACY_LEDS=y
CONFIG_B43LEGACY_HWRNG=y
CONFIG_B43LEGACY_DEBUG=y
CONFIG_B43LEGACY_DMA=y
CONFIG_B43LEGACY_PIO=y
CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
# CONFIG_B43LEGACY_DMA_MODE is not set
# CONFIG_B43LEGACY_PIO_MODE is not set
CONFIG_SSB_B43_PCI_BRIDGE=y

IgorDellGentoo linux # ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.4  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::225:64ff:fe43:88f  prefixlen 64  scopeid 0x20<link>
        ether 00:25:64:43:08:8f  txqueuelen 1000  (Ethernet)
        RX packets 447  bytes 112039 (109.4 KiB)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 237  bytes 31063 (30.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 18 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 2  bytes 100 (100.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2  bytes 100 (100.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

IgorDellGentoo linux # rc-update     
             bootmisc | boot                         
                dcron |      default                 
                devfs |                       sysinit
                dmesg |                       sysinit
                 fsck | boot                         
             hostname | boot                         
              hwclock | boot                         
              keymaps | boot                         
            killprocs |              shutdown       
    kmod-static-nodes |                       sysinit
                local |      default                 
           localmount | boot                         
             loopback | boot                         
              modules | boot                         
             mount-ro |              shutdown       
                 mtab | boot                         
             net.eth0 |      default                 
            net.wlan0 |      default                 
             netmount |      default                 
               procfs | boot                         
                 root | boot                         
            savecache |              shutdown       
                 swap | boot                         
            swapfiles | boot                         
               sysctl | boot                         
                sysfs |                       sysinit
             sysklogd |      default                 
         termencoding | boot                         
         tmpfiles.dev |                       sysinit
       tmpfiles.setup | boot                         
                 udev |                       sysinit
           udev-mount |                       sysinit
              urandom | boot                         


I don't have my wireless network.
Everything seems to be configured properly. Kernel should select an appropriate driver for my Broadcom wireless card (either b43 or b43-legacy). But it looks like it didn't do that.

What do I need in order to fix this?

Thank you.

P.S.: Maybe I need to compile the drivers in and not as the modules?
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Sat Aug 09, 2014 12:52 am    Post subject: Reply with quote

Did you emerge linux-firmware?

These should never be built in. The firmware must be loaded before the module.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Sat Aug 09, 2014 12:56 am    Post subject: Reply with quote

Hi,
Code:

IgorDellGentoo linux # emerge -pv b43-firmware linux-firmware

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] sys-kernel/linux-firmware-20131230  USE="-savedconfig" 20,717 kB
[ebuild   R   ~] sys-firmware/b43-firmware-6.30.163.46:b43  0 kB

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 20,717 kB


I have b43 firmware. Don't know about linux-firmware though.

Thank you.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13865

PostPosted: Sat Aug 09, 2014 1:03 am    Post subject: Reply with quote

Firmware is loaded by the driver as part of its initialization. When the driver is built as a module, then loading the module will also require the firmware. It is a bug if the driver fails to work when built in. However, a common problem for users of firmware-encumbered hardware is that a built in driver will initialize before the filesystem is ready, so the firmware must also be built in, either as part of the initrd with an appropriate initrd-hosted hotplug or via the kernel option CONFIG_EXTRA_FIRMWARE. Some firmware files are additionally encumbered in such a way that you cannot legally redistribute a kernel which embeds that firmware due to copyright issues.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Sat Aug 09, 2014 1:11 am    Post subject: Reply with quote

Those steps (b43 and firmware) where enough for my old laptop. Although, since you have both modules they could be getting in the way. You might want to try blacklisting one or the other.

Also, ifconfig -a would be more revealing. As it stands the output only shows that the wireless card is not being used, not necessarily that it isn't working.

You may also want to check this out https://wiki.archlinux.org/index.php/broadcom_wireless it looks like there are also newer open source drivers to try.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Sat Aug 09, 2014 1:17 am    Post subject: Reply with quote

Hu,
I think I know now why this page asks to build the driver as "built-in". ;-)

Anyway I did a check and:

Code:

IgorDellGentoo linux # cat .config | grep EXTRA_FIR
CONFIG_EXTRA_FIRMWARE=""


Does this mean that all I need to do is to turn this on?

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Sat Aug 09, 2014 1:19 am    Post subject: Reply with quote

@The Doctor,
Code:

IgorDellGentoo linux # ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.4  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::225:64ff:fe43:88f  prefixlen 64  scopeid 0x20<link>
        ether 00:25:64:43:08:8f  txqueuelen 1000  (Ethernet)
        RX packets 17003  bytes 23640973 (22.5 MiB)
        RX errors 0  dropped 7  overruns 0  frame 0
        TX packets 10994  bytes 913431 (892.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 18 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 2  bytes 100 (100.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2  bytes 100 (100.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

sit0: flags=128<NOARP>  mtu 1480
        sit  txqueuelen 0  (IPv6-in-IPv4)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


I have no idea what "sit0" is.

Thank you.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Sat Aug 09, 2014 1:53 am    Post subject: Reply with quote

sit0 is the easy part. It is an ipv6 over ipv4 interface.

You might want to try the brcmsmac driver in the kernel. It has the advantage that it isn't a reverse engineered driver. It is an open source driver provided by the company. Just be sure your only trying one driver at a time. They will conflict with each other.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum