Driver for RTL8192su chipset
poma
pomidorabelisima at gmail.com
Fri Oct 31 08:51:20 UTC 2014
On 31.10.2014 09:43, poma wrote:
> On 31.10.2014 02:10, jd1008 wrote:
>>
>> On 10/30/2014 06:39 PM, poma wrote:
>>> On 30.10.2014 22:44, jd1008 wrote:
>>>> On 10/26/2014 09:53 PM, poma wrote:
>>>>
>>>>> Subscribe,
>>>>> http://vger.kernel.org/vger-lists.html#linux-wireless
>>>>> and Larry_dot_Finger_at_lwfinger_dot_net is your pal.
>>>>>
>>>>> When supported it shows like:
>>>>>
>>>>> $ rpm -qf /usr/lib/firmware/rtlwifi/rtl8712u.bin
>>>>> linux-firmware-20141013-41.git0e5f6377.fc20.noarch
>>>>>
>>>>> $ dmesg
>>>>> usb 2-3: new high-speed USB device number 3 using ehci-pci
>>>>> usb 2-3: New USB device found, idVendor=0bda, idProduct=8171
>>>>> usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>>>>> usb 2-3: Product: RTL8188S WLAN Adapter
>>>>> usb 2-3: Manufacturer: Manufacturer Realtek
>>>>> usb 2-3: SerialNumber: 00e04c000001
>>>>> r8712u: module is from the staging directory, the quality is unknown, you have been warned.
>>>>> r8712u: Staging version
>>>>> r8712u: register rtl8712_netdev_ops to netdev_ops
>>>>> usb 2-3: r8712u: USB_SPEED_HIGH with 4 endpoints
>>>>> usb 2-3: r8712u: Boot from EFUSE: Autoload OK
>>>>> usb 2-3: r8712u: CustomerID = 0x0000
>>>>> usb 2-3: r8712u: MAC Address from efuse = 00:01:02:03:04:05
>>>>> usb 2-3: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
>>>>> usbcore: registered new interface driver r8712u
>>>>> r8712u 2-3:1.0 wlp0s4f1u3: renamed from wlan0
>>>>>
>>>>> $ iwconfig wlp0s4f1u3
>>>>> wlp0s4f1u3 unassociated Nickname:"rtl_wifi"
>>>>> Mode:Auto Access Point: Not-Associated Sensitivity:0/0
>>>>> Retry:off RTS thr:off Fragment thr:off
>>>>> Power Management:off
>>>>> Link Quality:0 Signal level:0 Noise level:0
>>>>> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
>>>>> Tx excessive retries:0 Invalid misc:0 Missed beacon:0
>>>>>
>>>>>
>>>>> poma
>>>>>
>>>> Well, I decided to download and build
>>>> https://github.com/chunkeey/rtl8192su/archive/master.zip
>>>> and loaded the driver.
>>>>
>>>> It did not detect the presence of my wifi, as shown by iwconfig.
>>>> iwconfig only shows my built-in intel wireless card.
>>>>
>>>> dmesg shows:
>>>>
>>>> [15749.044546] usbcore: registered new interface driver rtl8192su <<<
>>>> Driver loaded
>>>> then I plugged in the usb wifi dongle:
>>>> [15780.770063] usb 2-2: new high-speed USB device number 3 using ehci-pci
>>>> [15780.886492] usb 2-2: New USB device found, idVendor=07d1, idProduct=3304
>>>> [15780.886499] usb 2-2: New USB device strings: Mfr=1, Product=2,
>>>> SerialNumber=3
>>>> [15780.886503] usb 2-2: Product: 11n Adapter
>>>> [15780.886506] usb 2-2: Manufacturer: Manufacturer Realtek
>>>> [15780.886509] usb 2-2: SerialNumber: 00e04c000001
>>>>
>>>>
>>>> $ iwconfig
>>>> virbr0 no wireless extensions.
>>>>
>>>> wlp12s0 IEEE 802.11abgn ESSID:"Busters Free Wifi"
>>>> Mode:Managed Frequency:2.462 GHz Access Point:
>>>> f8:07:37:49:77:20
>>>> Bit Rate=14.4 Mb/s Tx-Power=15 dBm
>>>> Retry short limit:7 RTS thr:off Fragment thr:off
>>>> Encryption key:off
>>>> Power Management:off
>>>> Link Quality=57/70 Signal level=-53 dBm
>>>> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
>>>> Tx excessive retries:717 Invalid misc:5741 Missed beacon:0
>>>>
>>>> lo no wireless extensions.
>>>>
>>>> em1 no wireless extensions.
>>>>
>>>
>>> What are the actual steps you did for testing "D-Link FR-300USB 802.11bgn" & "rtl8192su.ko"?
>>> Particular firmware you engage?
>>>
>>>
>> Particular steps?
>> They are outlined in the link I provided:
>>
>> https://github.com/chunkeey/rtl8192su/archive/master.zip
>>
>> where it states:
>>
>>
>> Building the driver
>>
>> just use the Makefile:
>>
>> |make|
>>
>> and then
>>
>> |make load|
>>
>> to load the module.
>> -----------------------------------
>> Of course, to run
>> make load
>> I su'ed to root.
>>
>> After that, I plugged the dongle in, and kernel
>> recognized it's insertion, but driver remains
>> oblivious of it.
>>
>
>
> You missed some important steps we've already written, man.
>
> First try this, then we'll see what about 'rtl8192su.ko & Co.'
> Don't break lines.
>
> 1. Check whether you have installed the necessary firmware
>
> $ rpm -qf /usr/lib/firmware/rtlwifi/rtl8712u.bin
> linux-firmware-20141013-41.git0e5f6377.fc20.noarch
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> 2. Create udev rules file
>
> /etc/udev/rules.d/70-modprobe-r8712u-for-FR-300USB-WiFi.rules
> #
> # 07d1:3304 D-Link System FR-300USB 802.11bgn Wireless Adapter
> # Load the module for unsupported device after creating devices
> #
> SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="07d1", ATTRS{idProduct}=="3304", RUN+="/sbin/modprobe -v r8712u"
> #
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> 3. Create service unit configuration file
>
> /etc/systemd/system/FR-300USB-WiFi-ID-to-r8712u.service
> [Unit]
> Description=Append FR-300USB WiFi ID to rtl871x wireless lan driver
>
> [Service]
> ExecStart=/bin/sh -c '/bin/echo 0bda 8171 > /sys/bus/usb/drivers/r8712u/new_id'
>
> [Install]
> WantedBy=multi-user.target
>
> ~~~~~~~~~~~~~~~~~
>
> What's the score?
>
> $ cat /sys/bus/usb/drivers/r8712u/new_id
> $ dmesg | grep r8712u
>
Yeah, don't forget to
# systemctl enable FR-300USB-WiFi-ID-to-r8712u.service
# systemctl reboot
More information about the users
mailing list