Re: Driver for RTL8192su chipset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27.10.2014 04:25, jd1008 wrote:
> 
> On 10/26/2014 08:51 PM, poma wrote:
>> On 27.10.2014 03:25, jd1008 wrote:
>>> On 10/26/2014 08:15 PM, poma wrote:
>>>> On 27.10.2014 02:24, jd1008 wrote:
>>>>> On 10/26/2014 05:38 PM, poma wrote:
>>>>>> - station(client) mode
>>>>>> $ modinfo r8712u
>>>>>> filename:       /lib/modules/3.17.1-202.fc20.x86_64/kernel/drivers/staging/rtl8712/r8712u.ko.xz
>>>>>> firmware:       rtlwifi/rtl8712u.bin
>>>>>> author:         Larry Finger
>>>>>> description:    rtl871x wireless lan driver
>>>>>> license:        GPL
>>>>>>
>>>>>> - master(AP) mode
>>>>>> $ modinfo rtl8192su
>>>>>> filename:       /lib/modules/3.17.1-202.fc20.x86_64/updates/rtl8192su.ko
>>>>>> firmware:       rtlwifi/rtl8192sufw.bin
>>>>>> description:    Realtek 8188S/8191S/8192S 802.11n USB wireless
>>>>>> license:        GPL
>>>>>> author:         Christian Lamparter	<chunkeey@xxxxxxxxxxxxxx>
>>>>>> author:         Joshua Roys		<Joshua.Roys@xxxxxxxxxxxxxxx>
>>>>>> author:         Larry Finger		<Larry.Finger@xxxxxxxxxxxx>
>>>>>> author:         Realtek WlanFAE		<wlanfae@xxxxxxxxxxx>
>>>>>> author:         lizhaoming		<chaoming_li@xxxxxxxxxxxxxx>
>>>>>>
>>>>>>
>>>>>> http://wireless.kernel.org/en/users/Drivers/rtl819x
>>>>>> https://wiki.debian.org/rtl819x
>>>>>>
>>>>>>
>>>>>> poma
>>>>> must I manually install kernel 17?  It is not yet in the updates repo:
>>>>>
>>>>> # yum update
>>>>> Loaded plugins: langpacks, refresh-packagekit
>>>>> adobe-linux-x86_64 |  951 B  00:00:00
>>>>> google-earth |  951 B  00:00:00
>>>>> rpmfusion-free-updates | 3.3 kB  00:00:00
>>>>> rpmfusion-nonfree-updates | 3.3 kB  00:00:00
>>>>> updates/20/x86_64/metalink |  19 kB  00:00:00
>>>>> No packages marked for update
>>>>>
>>>> Forget the kernel version, it doesn't matter, I'm just showing what I currently drive.
>>>> The question is do you need a:
>>>> 1. Station mode
>>>> or
>>>> 2. Access Point  mode
>>>> or
>>>> 3. Both
>>>>
>>>> See http://wireless.kernel.org/en/users/Documentation/modes
>>>>
>>>> BTW paste here 'lsusb' output
>>>>
>>>>
>>>> poma
>>>>
>>> # lsusb
>>> Bus 002 Device 007: ID 07d1:3304 D-Link System FR-300USB 802.11bgn
>>> Wireless Adapter<<<<<<this is the dongle in question.
>> Bus 002 Device 007: ID 07d1:3304 D-Link System FR-300USB 802.11bgn Wireless Adapter
>>
>> https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/iwlwifi-next.git/tree/drivers/staging/rtl8712/usb_intf.c#n70
>> 	/* D-Link */
>> 	{USB_DEVICE(0x2001, 0x3306)},
>> 	{USB_DEVICE(0x07D1, 0x3306)}, /* 11n mode disable */
>>
>> https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/iwlwifi-next.git/tree/drivers/staging/rtl8712/usb_intf.c#n126
>> 	/* D-Link */
>> 	{USB_DEVICE(0x07D1, 0x3302)},
>> 	{USB_DEVICE(0x07D1, 0x3300)},
>> 	{USB_DEVICE(0x07D1, 0x3303)},
>>
>>
>> https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-usb
>> ...
>> What:		/sys/bus/usb/drivers/.../new_id
>> Date:		October 2011
>> Contact:	linux-usb@xxxxxxxxxxxxxxx
>> Description:
>> 		Writing a device ID to this file will attempt to
>> 		dynamically add a new device ID to a USB device driver.
>> 		This may allow the driver to support more hardware than
>> 		was included in the driver's static device ID support
>> 		table at compile time. The format for the device ID is:
>> 		idVendor idProduct bInterfaceClass RefIdVendor RefIdProduct
>> 		The vendor ID and device ID fields are required, the
>> 		rest is optional. The Ref* tuple can be used to tell the
>> 		driver to use the same driver_data for the new device as
>> 		it is used for the reference device.
>> 		Upon successfully adding an ID, the driver will probe
>> 		for the device and attempt to bind to it.  For example:
>>                  ...
>>
>> # modprobe -v r8712u
>> insmod /lib/modules/3.17.1-202.fc20.x86_64/kernel/drivers/staging/rtl8712/r8712u.ko.xz
>>
>> # ls /sys/bus/usb/drivers/r8712u/new_id
>> /sys/bus/usb/drivers/r8712u/new_id
>>
>> # echo "07d1 3304" > /sys/bus/usb/drivers/r8712u/new_id
>>
>> # cat /sys/bus/usb/drivers/r8712u/new_id
>> 07d1 3304
>>
>> # dmesg | grep r8712u
>>
>>
> Well:
> $ dmesg | grep r8712u
> [  380.529042] r8712u: module is from the staging directory, the quality 
> is unknown, you have been warned.
> [  380.530516] usbcore: registered new interface driver r8712u
> 
> But still it does not detect my fry's FR-300 USB dongle.
> 
> I am not going to go through the git kernel sources because I do not 
> know what I will  end up with
> as far other parts of the kernel. They state clearly that the driver 
> that has been patched to work
> with this dongle must be built on the git kernel source.
> 
> Guess I have to wait until fedora 30? :) :)
> 

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


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux