openSUSE 11.4: Need new kernel & kernel driver to replace RT2860

Hello,

My PC has openSUSE 11.4 KDE 64bit, current kernel is 2.6.37.6-0.7-desktop. Wireless N adapter is Trendnet TEW-643PCI. Wireless used to work using kernel driver rt2860, but it appears this driver has been phased out and now I don’t see any driver at all in YAST:


#lspci -nnk

02:06.0 Network controller [0280]: RaLink RT2800 802.11n PCI [1814:0601]
        Subsystem: RaLink Device [1814:2860]

I understand that I would need to upgrade my kernel in order to get rt2800pci. Would kernel 3.1 do? If so, I would appreciate your help getting a link to the repo for this latest kernel.

:frowning:

On 09/29/2011 09:06 PM, taytong888 wrote:
>
> Hello,
>
> My PC has openSUSE 11.4 KDE 64bit, current kernel is
> 2.6.37.6-0.7-desktop. Wireless N adapter is Trendnet TEW-643PCI.
> Wireless used to work using kernel driver rt2860, but it appears this
> driver has been phased out and now I don’t see any driver at all in
> YAST:
>
>
> Code:
> --------------------
>
> #lspci -nnk
>
> 02:06.0 Network controller [0280]: RaLink RT2800 802.11n PCI [1814:0601]
> Subsystem: RaLink Device [1814:2860]
>
> --------------------
>
>
> I understand that I would need to upgrade my kernel in order to get
> rt2800pci. Would kernel 3.1 do? If so, I would appreciate your help
> getting a link to the repo for this latest kernel.

Driver rt2860 is indeed phased out, but not in kernel 2.6.37. You do not find
the driver in YaST - it is in the kernel. To see if it is loaded, use


lsmod | grep rt28

With kernel 3.1, your device will use rt2800pci.

Hello Larry,

I did use Yast > Network Devices > Network Settings > ifup to set up wireless connection. This is what I meant by Yast. Some days ago I saw rt2800pci in the Hardware tab of the wireless connection, but earlier this evening that driver window was blank, and your command


lsmod | grep rt28

does not yield anything.

Since then, I installed rt3562 via Yast > Software Management. I now have:


#lspci -nnk

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

I now do have wireless! This should work for the time being, until such time 11.4 is updated to kernel 3.1 which gives me the choice of using rt2800pci. Correct?

By the way, I still have kernel 2.6.37.6-0.7-desktop and Software Management still does NOT show rt2800pci.

This should work for the time being, until such time 11.4 is updated to kernel 3.1

That will only happen if you either build it from source yourself or add one of the repos that would provide that.
Otherwise 11.4 will remain at 2.6.37…

Hello caf4926,

No wireless again, so it looks like I will need to upgrade the kernel. Just added this repo: Index of /repositories/Kernel:/HEAD/standard. Software Management in YAST now shows kernel 3.1.rc7-5.1 as available, but I need guidance on how to install it. I saw kernel-desktop-devel and kernel-devel, etc. but NO “kernel-desktop” for 3.1.rc7-5.1.

Could you show me how to install the new kernel for “kernel-desktop”?

Thanks a lot!

You might need to consider if you have a nVidia or ATI driver?
If you do, they need to installed manually for such situations

kernel-desktop is there
Just add the repo and switch in yast
Just as you do with Packman, same principle. Do you know what I mean by switching
Let me show you a switcher pic for Packman: http://dl.dropbox.com/u/10573557/Switcher%20Pics/11.4_packman_switch.png

Do that on the new kernel repo

FYI that repo is bleeding edge and whilst I know many are using it, they are advanced users.
You might want to consider trying this repo first:
Index of /repositories/Kernel:/stable/standard

Only Larry mentioned kernel 3.1
But that repo is still 3.0
But it’s more stable

Hello caf4926,

I switched from existing kernel 2.6.37.6-0.7-desktop first to the stable 3.0.4-2-desktop exactly as you suggested in the .PNG file. After reboot I used ifup to check on the wireless connection, but the Hardware tab’s screen has a blank kernel driver window. Then I upgraded to 3.1.0-rc7-5-desktop, but still no kernel driver in this window.


#/sbin/lspci -nnk

02:05.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet [10ec:8169] (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RTL8169/8110 Family PCI Gigabit Ethernet NIC [10ec:8169]
        Kernel driver in use: r8169

02:06.0 Network controller [0280]: RaLink RT2800 802.11n PCI [1814:0601]
        Subsystem: RaLink Device [1814:2860]
(NOTHING HERE!)

For some unknown reasons, kernel driver RT2800PCI doesn’t load. During the kernel upgrading steps, up-to-date kernel-firmware package was downloaded and installed.

Any suggestions?

Blind guessing now, except for that I looked back at Larry’s post

The module would appear to be (should be) rt28

what now from

lsmod | grep rt28

Hi,

The lsmod | grep rt28 does not yield any result, same as before.

By the way, looking back, after the repo switching but before rebooting, do I need to enable just the new kernel repo and “disable” all the remaining repos?

Can you show me the “zypper repo…lr -d” again, so that I can post my current repos for you to see?

zypper lr -d

Post also the result of

uname -a
/sbin/lspci -nnk

If you are using a kernel repo, you would keep it enabled along with your normal repos
Once you use the switch on a repo, it will hold to that, just don’t use the updater applet in kde though.

Good morning caf4926,

Thanks for your reply. Here goes:


uname -a

Linux linux-cwe0 3.1.0-rc7-5-desktop #1 SMP PREEMPT Wed Sep 28 14:41:36 UTC 2011 (50fb02f) x86_64 x86_64 x86_64 GNU/Linux

I should add that I switched to kernel 3.1.0-rc7-5-desktop from kernel 3.0 partly because on the same machine, openSUSE 12.1 M6 factory with kernel 3.1.0-rc6-2-desktop gives wireless using kernel driver rt2800pci.


zypper lr -d

#  | Alias                            | Name                             | Enabled | Refresh | Priority | Type   | URI                                                                         | Service
---+----------------------------------+----------------------------------+---------+---------+----------+--------+-----------------------------------------------------------------------------+--------
 1 | 11.4-update                      | 11.4-update                      | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/driver:/wireless/11.4-update      |        
 2 | Updates-for-openSUSE-11.4-11.4-0 | Updates for openSUSE 11.4 11.4-0 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.4/                                   |        
 3 | download.nvidia.com-opensuse     | nVidia Graphics Drivers          | Yes     | Yes     |   99     | rpm-md | ftp://download.nvidia.com/opensuse/11.4/                                    |        
 4 | download.opensuse.org-standard   | Main Repository (Contrib)        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/11.4:/Contrib/standard/ |        
 5 | kua                              | kua                              | No      | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/UpdatedApps/openSUSE_11.4/   |        
 6 | openSUSE-11.4_11.4-0             | openSUSE-11.4 11.4-0             | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/11.4/repo/oss              |        
 7 | openSUSE_11.4                    | openSUSE_11.4                    | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Release:/47/openSUSE_11.4/   |        
 8 | packman.inode.at-suse            | Packman Repository               | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_11.4/                                 |        
 9 | repo-non-oss                     | openSUSE-11.4-Non-Oss            | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/                |        
10 | repo-oss                         | openSUSE-11.4-Oss                | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/                    |        
11 | standard                         | standard                         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Kernel:/HEAD/standard/            | 


/sbin/lspci -nnk

00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] RS780 Host Bridge [1022:9600]
        Subsystem: Elitegroup Computer Systems Device [1019:2147]
00:02.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0) [1022:9603]
        Kernel driver in use: pcieport
00:11.0 SATA controller [0106]: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode] [1002:4390]
        Subsystem: Elitegroup Computer Systems Device [1019:4390]
        Kernel driver in use: ahci
00:12.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
        Subsystem: Elitegroup Computer Systems Device [1019:2147]
        Kernel driver in use: ohci_hcd
00:12.1 USB Controller [0c03]: ATI Technologies Inc SB700 USB OHCI1 Controller [1002:4398]
        Subsystem: Elitegroup Computer Systems Device [1019:2147]
        Kernel driver in use: ohci_hcd
00:12.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
        Subsystem: Elitegroup Computer Systems Device [1019:2147]
        Kernel driver in use: ehci_hcd
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397]
        Subsystem: Elitegroup Computer Systems Device [1019:2147]
        Kernel driver in use: ohci_hcd
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB700 USB OHCI1 Controller [1002:4398]
        Subsystem: Elitegroup Computer Systems Device [1019:2147]
        Kernel driver in use: ohci_hcd
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396]
        Subsystem: Elitegroup Computer Systems Device [1019:2147]
        Kernel driver in use: ehci_hcd
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 3a)
        Subsystem: Elitegroup Computer Systems Device [1019:2147]
        Kernel driver in use: piix4_smbus
00:14.1 IDE interface [0101]: ATI Technologies Inc SB700/SB800 IDE Controller [1002:439c]
        Subsystem: Elitegroup Computer Systems Device [1019:2147]
        Kernel driver in use: pata_atiixp
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
        Subsystem: Elitegroup Computer Systems Device [1019:2147]
        Kernel driver in use: snd_hda_intel
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB700/SB800 LPC host controller [1002:439d]
        Subsystem: Elitegroup Computer Systems Device [1019:2147]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
00:14.5 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller [1002:4399]
        Subsystem: Elitegroup Computer Systems Device [1019:2147]
        Kernel driver in use: ohci_hcd
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103]
        Kernel driver in use: k8temp

01:00.0 VGA compatible controller [0300]: nVidia Corporation G73 [GeForce 7300 GT] [10de:0393] (rev a1)
        Subsystem: Device [19f1:04fb]
(NOTE: nv driver automatically switched to)

02:05.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet [10ec:8169] (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RTL8169/8110 Family PCI Gigabit Ethernet NIC [10ec:8169]
        Kernel driver in use: r8169
02:06.0 Network controller [0280]: RaLink RT2800 802.11n PCI [1814:0601]
        Subsystem: RaLink Device [1814:2860]


Not sure about this, but Larry will correct me

sudo /sbin/modprobe -v rt2800pci

it may not need pci and or the 00

On 10/01/2011 07:56 AM, caf4926 wrote:
>
> Not sure about this, but Larry will correct me
>
>
>
> Code:
> --------------------
> sudo /sbin/modprobe -v rt2800pci
> --------------------
>
> it may not need pci and or the 00

The correct driver name is rt2800pci. You need all of that.

Hello Larry,

Thanks for your reply. Here goes:


 #sudo /sbin/modprobe -v rt2800pci

insmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/misc/eeprom/eeprom_93cx6.ko 
insmod /lib/modules/3.1.0-rc7-5-desktop/kernel/net/rfkill/rfkill.ko 
insmod /lib/modules/3.1.0-rc7-5-desktop/kernel/net/wireless/cfg80211.ko 
insmod /lib/modules/3.1.0-rc7-5-desktop/kernel/net/mac80211/mac80211.ko 
insmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko 
insmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko 
insmod /lib/modules/3.1.0-rc7-5-desktop/kernel/lib/crc-ccitt.ko 
insmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/net/wireless/rt2x00/rt2800lib.ko 
insmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/net/wireless/rt2x00/rt2800pci.ko 

That loads the driver

If it still doesn’t work try this

sudo /sbin/modprobe -rv rt2800pci
sudo /sbin/modprobe -v rt2800pci

That just removes and then replaces it.

If it still doesn’t work. Make sure you have ‘rfkill’ installed and post the result of

su -
/usr/sbin/rfkill list

On 10/01/2011 12:36 PM, caf4926 wrote:
>
> That loads the driver
>
> If it still doesn’t work try this
>
>
> Code:
> --------------------
> sudo /sbin/modprobe -rv rt2800pci
> --------------------
>
>
> Code:
> --------------------
> sudo /sbin/modprobe -v rt2800pci
> --------------------
>
> That just removes and then replaces it.
>
> If it still doesn’t work. Make sure you have ‘rfkill’ installed and
> post the result of
>
>
> Code:
> --------------------
> su -
> /usr/sbin/rfkill list
> --------------------

It will take more than that as the driver should have loaded on its own. The PCI
ID of 1814:0601 is used by the driver. Is rt2800pci blacklisted?

@caf4926,


sudo /sbin/modprobe -v rt2800pci

gives kernel driver in use rt2800pci.

However, after I unplugged the cable and reboot, there was no internet. Using YAST > ifup I saw that the Hardware tab shows a blank Module Name window and the Device Name wl0 under Udev Rules was greyed out. I also tried the other command, but no joy. It appears for some reason rt2800pci was not permanently fixated.

I also tried dmesg but it only shows r8169 (kernel driver for Ethernet) as being loaded. Dmesg does not show rt2800pci at all.

Rfkill is already installed, but:


su - /usr/sbin/rfkill list

gave this error message:

cannot open rfkill control device: no such file or directory

A few minutes ago I tried:


linux-cwe0:~ # sudo /sbin/modprobe -v rt2800pci
linux-cwe0:~ # sudo /sbin/modprobe -rv rt2800pci
rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/net/wireless/rt2x00/rt2800pci.ko
rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/net/wireless/rt2x00/rt2800lib.ko
rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/lib/crc-ccitt.ko
rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/net/mac80211/mac80211.ko
rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/net/wireless/cfg80211.ko
rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/net/rfkill/rfkill.ko
rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/misc/eeprom/eeprom_93cx6.ko

@lwfinger:


kdesu kwrite /etc/modprobe.d/50-blacklist.conf

does not show rt2800pci to be blacklisted at all.

Any suggestions, gentlemen?

On 10/01/2011 07:46 PM, taytong888 wrote:
>
> @caf4926,
>
>
> Code:
> --------------------
>
> sudo /sbin/modprobe -v rt2800pci
>
> --------------------
>
>
> gives kernel driver in use rt2800pci.
>
> However, after I unplugged the cable and reboot, there was no internet.
> Using YAST> ifup I saw that the Hardware tab shows a blank Module Name
> window and the Device Name wl0 under Udev Rules was greyed out. I also
> tried the other command, but no joy. It appears for some reason
> rt2800pci was not permanently fixated.
>
> I also tried dmesg but it only shows r8169 (kernel driver for Ethernet)
> as being loaded. Dmesg does not show rt2800pci at all.
>
> Rfkill is already installed, but:
>
>
> Code:
> --------------------
>
> su - /usr/sbin/rfkill list
>
> --------------------
>
>
> gave this error message:
>
>> cannot open rfkill control device: no such file or directory
>
> A few minutes ago I tried:
>
>
> Code:
> --------------------
>
> linux-cwe0:~ # sudo /sbin/modprobe -v rt2800pci
> linux-cwe0:~ # sudo /sbin/modprobe -rv rt2800pci
> rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/net/wireless/rt2x00/rt2800pci.ko
> rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/net/wireless/rt2x00/rt2800lib.ko
> rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/lib/crc-ccitt.ko
> rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
> rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
> rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/net/mac80211/mac80211.ko
> rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/net/wireless/cfg80211.ko
> rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/net/rfkill/rfkill.ko
> rmmod /lib/modules/3.1.0-rc7-5-desktop/kernel/drivers/misc/eeprom/eeprom_93cx6.ko
>
> --------------------
>
>
> @lwfinger:
>
>
> Code:
> --------------------
>
> kdesu kwrite /etc/modprobe.d/50-blacklist.conf
>
> --------------------
>
>
> does not show rt2800pci to be blacklisted at all.
>
> Any suggestions, gentlemen?
>
>

On 10/01/2011 07:46 PM, taytong888 wrote:
>

> does not show rt2800pci to be blacklisted at all.

I do not have this device and cannot test, thus I do not know why if does not
autoload. You can add it to MODULES_LOADED_ON_BOOT.

It’s

su -
/usr/sbin/rfkill list

or
sudo /usr/sbin/rfkill list