Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RTL8411/RTL8111 Card Reader/Ethernet Card device no driver
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
erg_samowzbudnik
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2011
Posts: 85
Location: uk/sticks

PostPosted: Fri Nov 23, 2018 9:23 am    Post subject: RTL8411/RTL8111 Card Reader/Ethernet Card device no driver Reply with quote

I have this piece of hardware that is dead weight and I'm getting already upset about it. Couldn't find much on it apart from this, somewhat related (hardware is not identical) topic:

https://forums.gentoo.org/viewtopic-t-922794-start-0.html

hardware in question is this weird integrated card reader / ethernet card:

Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411 PCI Express Card Reader (rev 01)
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)

now, if there was no way to get it to work I would just give up. But it used to work. Laptop came with Ubuntu from System76. If they could get it to work surely there would be a way to do it on Gentoo?
I used to use modules that would make either card reader or ethernet work on Gentoo although never both at the same time.

lspci shows that at the moment ethernet card uses:

Kernel driver in use: r8169
Kernel modules: r8169

card reader doesn't work, not sure about ethernet (I may need r8168 instead, can't recall)

Any ideas?
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5871

PostPosted: Fri Nov 23, 2018 11:29 am    Post subject: Reply with quote

try enabling RTSX_PCI and MMC_REALTEK_PCI, I have a gazelle and it needs those for the card reader to work.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43776
Location: 56N 3W

PostPosted: Fri Nov 23, 2018 6:52 pm    Post subject: Reply with quote

erg_samowzbudnik,

Code:
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)
...
Kernel driver in use: r8169
Kernel modules: r8169

Is correct. However some cards that use the r8169 driver also have firmware. dmesg will tell if the kernel module is looking for firmware and can't find it.

Code:
Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411 PCI Express Card Reader (rev 01)
hints at what bunder posted above.

The output of
Code:
lspci -nn
would be good. It will list the vendor and device IDs, which is how drivers identify hardware to bind to.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
erg_samowzbudnik
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2011
Posts: 85
Location: uk/sticks

PostPosted: Sun Nov 25, 2018 10:23 am    Post subject: Reply with quote

Thanks a ton Bunder, card reader works now.

NeddySeagoon:

here's output from lscpi -nn:

Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411 PCI Express Card Reader [10ec:5289] (rev 01)
Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0a)

does that mean I should use r8168 module instead?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43776
Location: 56N 3W

PostPosted: Sun Nov 25, 2018 1:13 pm    Post subject: Reply with quote

erg_samowzbudnik,

10ec:8168 I don't even need to look that one up.
It should work with the r8169 driver. If r8169 is built in, build it as a module and install linux-firmware.
Now, when the module loads it will find its firmware, if it needs any.

If that fails, try the r8168 driver from the Realtek site. I don't know if that builds against current kernels but I'm aware of anecdotal evidence that suggests that r8168 works when r8169 is supposed to but doesn't.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4265
Location: Dallas area

PostPosted: Sun Nov 25, 2018 1:39 pm    Post subject: Reply with quote

use the r8169 driver
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5871

PostPosted: Sun Nov 25, 2018 1:53 pm    Post subject: Reply with quote

ethernet should be working, i have at least 3 machines with that device, don't forget the firmware though... :wink:
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
erg_samowzbudnik
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2011
Posts: 85
Location: uk/sticks

PostPosted: Sun Dec 30, 2018 4:43 pm    Post subject: Reply with quote

Thanks, that sorted it out.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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