openSUSE 11.4 KDE_64: Select rt2860 or rt2800pci kernel driver?

Hi,

My box uses Trendnet TEW-643PI wireless adapter. According to /sbin/lspci -nnk:


02:06.0 Network controller [0280]: RaLink RT2800 802.11n PCI [1814:0601]
        Subsystem: RaLink Device [1814:2860]
        Kernel driver in use: rt2860

However, NetworkManager Gnome gives rt2800pci as the driver.

Since I have problems making wireless connection to work, I would appreciate your suggestions as to which of the above two drivers I should select.

Thanks in advance.

On 07/04/2011 09:06 AM, taytong888 wrote:
>
> Hi,
>
> My box uses Trendnet TEW-643PI wireless adapter. According to
> /sbin/lspci -nnk:
>
>
> Code:
> --------------------
>
> 02:06.0 Network controller [0280]: RaLink RT2800 802.11n PCI [1814:0601]
> Subsystem: RaLink Device [1814:2860]
> Kernel driver in use: rt2860
>
> --------------------
>
>
> However, NetworkManager Gnome gives rt2800pci as the driver.
>
> Since I have problems making wireless connection to work, I would
> appreciate your suggestions as to which of the above two drivers I
> should select.

You should blacklist rt2860 and use rt2800pci. With kernel 2.6.39, rt2860 and
rt2870 are removed from the kernel.

If the builtin version of rt2800pci does not work very well, then install the
compat-wireless package. It should be better.

Hi Larry,

Currently my desktop PC uses kernel 2.6.37.6-0.5-desktop. After blacklisting rt2860 and rebooting, I cannot use NM to configure wireless connection because the Wireless tab does not exist, and lspci still shows rt2860 as kernel driver in use. It looks like I will need to try compat-wireless.

Hi,

I tried but failed to install compat-wireless package. First, it’s not available in YAST-SoftwareManagement. I then download the driver from Index of /repositories/driver:/wireless/11.4-update/x86_64. I selected the driver called ‘compat-wireless-kmp-desktop-2.6.38.2_k2.6.37.6_0.5-2.1.x86_64.rpm’. Had to install driver via CLI but ran into problem:


linux-cwe0:/home/tt888/Downloads # sudo rpm -Uhv compat-wireless-kmp-desktop-2.6.38.2_k2.6.37.6_0.5-2.1.x86_64.rpm
warning: compat-wireless-kmp-desktop-2.6.38.2_k2.6.37.6_0.5-2.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 4073bdbe: NOKEY
error: Failed dependencies:
        compat-wireless-scripts = 2.6.38.2 is needed by compat-wireless-kmp-desktop-2.6.38.2_k2.6.37.6_0.5-2.1.x86_64

Currently I am running this kernel:


uname -r
2.6.37.6-0.5-desktop

Any suggestions?

On 07/04/2011 12:06 PM, taytong888 wrote:
> Code:
> --------------------
>
> linux-cwe0:/home/tt888/Downloads # sudo rpm -Uhv compat-wireless-kmp-desktop-2.6.38.2_k2.6.37.6_0.5-2.1.x86_64.rpm
> warning: compat-wireless-kmp-desktop-2.6.38.2_k2.6.37.6_0.5-2.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 4073bdbe: NOKEY
> error: Failed dependencies:
> compat-wireless-scripts = 2.6.38.2 is needed by compat-wireless-kmp-desktop-2.6.38.2_k2.6.37.6_0.5-2.1.x86_64
>
> --------------------
>
> Currently I am running this kernel:
>
>
> Code:
> --------------------
>
> uname -r
> 2.6.37.6-0.5-desktop
>
> --------------------

That is the correct package for your kernel. If you were to use YaST or zypper
to install it, the dependency would be satisfied. Downloading an individual rpm
is not recommended.

Hi Larry,

1.I did not know I had to add the URL "Index of /repositories/driver:/wireless/11.4-update to the list of repositories, before YAST - Software Management shows compat-wireless and 14 other packages. Now I know!

  1. Among those packages, should I select “compat-wireless-kmp-desktop” and un-check “rt28x0-staging-kmp-desktop”? Right now NM’s connection information still shows only wired connection info and wireless connection still takes too long to be established, if not at all.

Thank you in advance for your help.

Hi,

Here’s what the terminal currently shows:


# /usr/sbin/iwconfig
lo        no wireless extensions.

wlan0     Ralink STA  ESSID:""  Nickname:"RT2860STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: 00:1F:33:B4:E1:D8   
          Bit Rate=1 Mb/s   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=10/100  Signal level:-19 dBm  Noise level:-87 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.


# sudo /usr/sbin/iwlist scan
lo        Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:1F:33:B4:E1:D8
                    Protocol:802.11b/g/n
                    ESSID:"myssid"
                    Mode:Managed
                    Channel:1
                    Quality:100/100  Signal level:-37 dBm  Noise level:-87 dBm
                    Encryption key:on
                    Bit Rates:270 Mb/s
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK

eth0      Interface doesn't support scanning.

Any suggestions?

Hi,
In my Post #7 above, /sbin/lspci -nnk shows kernel driver in use to be rt2860sta

After that, I went to YAST>Network Devices>ifup and edited the wireless connection wlan0. I chose module name= rt2800pci instead of rt2860sta or rt3562sta, blacklisted rt2860sta, switched back to NetworkManager, then reboot.


# /sbin/lspci -nnk

02:06.0 Network controller [0280]: RaLink RT2800 802.11n PCI [1814:0601]
        Subsystem: RaLink Device [1814:2860]
        Kernel driver in use: rt2800pci

After the above reboot, connection info of NM shows a wireless connection tab and the driver is rt2800pci. I now have wireless connection as well as wired connection.


# /usr/sbin/iwconfig
lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"myssid"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:1F:33:B4:E1:D8   
          Bit Rate=108 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=69/70  Signal level=-41 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:5  Invalid misc:17   Missed beacon:0

eth0      no wireless extensions.


# dmesg | less

(snip)
   21.619853] phy0 -> rt2x00pci_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0xffffffff
   21.630471] phy0 -> rt2x00pci_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0xffffffff
   21.640822] phy0 -> rt2x00pci_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0xffffffff
   21.661218] phy0 -> rt2800pci_mcu_status: Error - MCU request failed, no response from hardware
   21.671359] ADDRCONF(NETDEV_UP): wlan0: link is not ready
   22.502027] Clocksource tsc unstable (delta = -123221777 ns)
   26.075796] NET: Registered protocol family 17
   27.418411] bootsplash: status on console 0 changed to on
   29.133421] wlan0: authenticate with 00:1f:33:b4:e1:d8 (try 1)
   29.135137] wlan0: authenticated
   29.135226] wlan0: associate with 00:1f:33:b4:e1:d8 (try 1)
   29.139117] wlan0: RX AssocResp from 00:1f:33:b4:e1:d8 (capab=0x411 status=0 aid=1)
   29.139125] wlan0: associated
   29.143510] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready


# sudo /usr/sbin/iwlist scan
lo        Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:1F:33:B4:E1:D8
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=70/70  Signal level=-39 dBm  
                    Encryption key:on
                    ESSID:"myssid"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000000cdb991f185
                    Extra: Last beacon: 140ms ago
                    IE: Unknown: 000B736E796E68617472616E67
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1A1E181AFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D16010D1100000000000000000000000000000000000000
                    IE: Unknown: 7F0101
                    IE: Unknown: DD090010180201F0010000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C331E181AFFFF000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C34010D1100000000000000000000000000000000000000

eth0      Interface doesn't support scanning.