Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RTL8191SU drivers
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
indio
n00b
n00b


Joined: 13 Mar 2013
Posts: 22

PostPosted: Fri Apr 05, 2013 5:42 am    Post subject: RTL8191SU drivers Reply with quote

Hi Everyone,

I've got a RealTek USB wifi antenna, and I'm not sure what driver I need for it.

It shows up with lsusb as:
Code:
Bus 001 Device 002: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter


And I've tried loading the following drivers:

    rtl8192se
    rtl8192cu
    rtl8192ce
    rtl8192c_common
    rtlwifi


After installing net-wireless/rtl8192su-firmware, but no matter what I try it doesn't show up in ifconfig / iwconfig!
Any ideas?
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Fri Apr 05, 2013 6:09 am    Post subject: Reply with quote

net-wireless/rtl8192su-firmware is no longer in Portage because the file rtlwifi/rtl8192cufw.bin from sys-kernel/linux-firmware package replaced it.

Code:

# emerge linux-firmware
# qlist linux-firmware | grep rtl8192
/lib/firmware/rtlwifi/rtl8192cfwU.bin
/lib/firmware/rtlwifi/rtl8192cfwU_B.bin
/lib/firmware/rtlwifi/rtl8192cfw.bin
/lib/firmware/rtlwifi/rtl8192cufw.bin
/lib/firmware/rtlwifi/rtl8192defw.bin
/lib/firmware/rtlwifi/rtl8192sefw.bin

# cd /usr/src/linux-3.8.4
# grep -r rtl8192cufw.bin drivers/net/*
drivers/net/wireless/rtlwifi/rtl8192cu/sw.c:MODULE_FIRMWARE("rtlwifi/rtl8192cufw.bin");
drivers/net/wireless/rtlwifi/rtl8192cu/sw.c:   .fw_name = "rtlwifi/rtl8192cufw.bin",

# grep log_dmesg /etc/conf.d/bootmisc
log_dmesg="YES"
# tail -f /var/log/dmesg


As in, follow the dmesg when loading the rtlwifi module and when bringing up the interface(s)

Hope that helps
Back to top
View user's profile Send private message
indio
n00b
n00b


Joined: 13 Mar 2013
Posts: 22

PostPosted: Fri Apr 05, 2013 8:44 am    Post subject: Reply with quote

Thanks, it looks like I had to unmerge some old firmware to remove blocks, but I got linux-firmware installed now. Rebooted and loaded the rtlwifi and rtl8192cu modules, but unfortunately this is the only line that shows up in dmesg:

Code:
[  174.790430] usbcore: registered new interface driver rtl8192cu


Still doesn't show up in ifconfig unfortunately.
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Fri Apr 05, 2013 9:16 am    Post subject: Re: RTL8191SU drivers Reply with quote

indio wrote:
It shows up with lsusb as:
Code:
Bus 001 Device 002: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter



Look at:

Code:

# cd /usr/src/linux-3.8.4
# grep -r -i 0bda drivers/net/*
# grep -r -i 8172 drivers/net/*


And you will find similar ones, but not exactly the one you are looking for. I don't know but looks to me like the newer kernels, with the new rtlwifi driver no longer supports that USB device.

However if you google for 0bda:8172 you will find links like:

https://forums.gentoo.org/viewtopic-p-6945178-highlight-.html

So it seems you might need to go back down to Linux 3.1 to get r8172u or r8172u_usb driver from the staging area, the rtlwifi simply doesn't support your device yet?! Well, I'm done, good luck.
Back to top
View user's profile Send private message
indio
n00b
n00b


Joined: 13 Mar 2013
Posts: 22

PostPosted: Fri Apr 05, 2013 10:22 am    Post subject: Reply with quote

Hmm, well according to the post you linked to, and one I found the driver is actually 'rtl8712', not 'rtl8172', which is sitting in the staging area. Building that from Linux 3.1 as you suggested, and I'll see what happens when I install it!
Back to top
View user's profile Send private message
bas89
Apprentice
Apprentice


Joined: 02 Mar 2010
Posts: 243
Location: Germany ;)

PostPosted: Sun Jan 26, 2014 11:37 pm    Post subject: Reply with quote

And what happened? Sitting here with the same problem...
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