* MT7630e availability in kernel by default
@ 2014-06-07 16:38 Powerful Notageek
2014-06-07 17:51 ` Larry Finger
0 siblings, 1 reply; 13+ messages in thread
From: Powerful Notageek @ 2014-06-07 16:38 UTC (permalink / raw)
To: linux-wireless@vger.kernel.org
Hello,
I was wondering if anyone here would know when the drivers for this card will be added to the kernel by default.
03:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter
Thank you.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: MT7630e availability in kernel by default
2014-06-07 16:38 MT7630e availability in kernel by default Powerful Notageek
@ 2014-06-07 17:51 ` Larry Finger
2014-06-07 17:59 ` Powerful Notageek
0 siblings, 1 reply; 13+ messages in thread
From: Larry Finger @ 2014-06-07 17:51 UTC (permalink / raw)
To: Powerful Notageek, linux-wireless@vger.kernel.org
On 06/07/2014 11:38 AM, Powerful Notageek wrote:
> Hello,
>
> I was wondering if anyone here would know when the drivers for this card will be added to the kernel by default.
>
> 03:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter
Supplying the line from 'lspci -nn' is a lot more helpful than just lspci.
According to the Web, the wireless chip is from Ralink. There is a git repo that
is supposed to have a driver for the device, but it is full of the standard
rt2xxx driver files. Perhaps it will work with newer kernels, or by adding the
PCI ID to an existing driver. In any case, we need the PCI ID.
Larry
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: MT7630e availability in kernel by default
2014-06-07 17:51 ` Larry Finger
@ 2014-06-07 17:59 ` Powerful Notageek
2014-06-07 18:16 ` Larry Finger
0 siblings, 1 reply; 13+ messages in thread
From: Powerful Notageek @ 2014-06-07 17:59 UTC (permalink / raw)
To: Larry Finger, linux-wireless@vger.kernel.org
Here's lspci -nn
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter [14c3:7630]
I have tried using the drivers available on RALink/Mediatek on a pretty recent kernel of Fedora20, didn't seem to work.
Thanks
On Saturday, 7 June 2014 11:21 PM, Larry Finger <Larry.Finger@lwfinger.net> wrote:
On 06/07/2014 11:38 AM, Powerful Notageek wrote:
> Hello,
>
> I was wondering if anyone here would know when the drivers for this card will be added to the kernel by default.
>
> 03:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter
Supplying the line from 'lspci -nn' is a lot more helpful than just lspci.
According to the Web, the wireless chip is from Ralink. There is a git repo that
is supposed to have a driver for the device, but it is full of the standard
rt2xxx driver files. Perhaps it will work with newer kernels, or by adding the
PCI ID to an existing driver. In any case, we need the PCI ID.
Larry
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: MT7630e availability in kernel by default
2014-06-07 17:59 ` Powerful Notageek
@ 2014-06-07 18:16 ` Larry Finger
2014-06-07 18:25 ` Powerful Notageek
0 siblings, 1 reply; 13+ messages in thread
From: Larry Finger @ 2014-06-07 18:16 UTC (permalink / raw)
To: Powerful Notageek, linux-wireless@vger.kernel.org
On 06/07/2014 12:59 PM, Powerful Notageek wrote:
> Here's lspci -nn
>
> 03:00.0 Network controller [0280]: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter [14c3:7630]
>
> I have tried using the drivers available on RALink/Mediatek on a pretty recent kernel of Fedora20, didn't seem to work.
>
> Thanks
That PCI ID is not in the latest Ralink driver, which is essentially what will
be in kernel 3.16.
Please try the following:
su -
modprobe -v rt2800pci
echo "14c3 7630" > /sys/bus/pci/drivers/rt2800pci/new_id
Does that yield a wireless lan device?
Larry
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: MT7630e availability in kernel by default
2014-06-07 18:16 ` Larry Finger
@ 2014-06-07 18:25 ` Powerful Notageek
2014-06-07 18:54 ` Larry Finger
0 siblings, 1 reply; 13+ messages in thread
From: Powerful Notageek @ 2014-06-07 18:25 UTC (permalink / raw)
To: Larry Finger, linux-wireless@vger.kernel.org
I tried them and here's the output: (verbose)
[root@localhost ~]# modprobe -v rt2800pci
insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/lib/crc-ccitt.ko
insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/misc/eeprom/eeprom_93cx6.ko
insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2x00mmio.ko
insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2800lib.ko
insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2800mmio.ko
insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2800pci.ko
[root@localhost ~]# echo "14c3 7630" > /sys/bus/pci/drivers/rt2800pci/new_id
[root@localhost ~]# iwconfig
p3p1 no wireless extensions.
lo no wireless extensions.
Also lspci -v
03:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter
Subsystem: Foxconn International, Inc. Device e074
Flags: fast devsel, IRQ 17
Memory at f7900000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-00-b1-93-a0-b6-5a-48
Capabilities: [150] Latency Tolerance Reporting
[root@localhost ~]# uname -r
3.14.4-200.fc20.x86_64
Thanks you.
On Saturday, 7 June 2014 11:46 PM, Larry Finger <Larry.Finger@lwfinger.net> wrote:
On 06/07/2014 12:59 PM, Powerful Notageek wrote:
> Here's lspci -nn
>
> 03:00.0 Network controller [0280]: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter [14c3:7630]
>
> I have tried using the drivers available on RALink/Mediatek on a pretty recent kernel of Fedora20, didn't seem to work.
>
> Thanks
That PCI ID is not in the latest Ralink driver, which is essentially what will
be in kernel 3.16.
Please try the following:
su -
modprobe -v rt2800pci
echo "14c3 7630" > /sys/bus/pci/drivers/rt2800pci/new_id
Does that yield a wireless lan device?
Larry
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: MT7630e availability in kernel by default
2014-06-07 18:25 ` Powerful Notageek
@ 2014-06-07 18:54 ` Larry Finger
2014-06-07 19:13 ` Powerful Notageek
0 siblings, 1 reply; 13+ messages in thread
From: Larry Finger @ 2014-06-07 18:54 UTC (permalink / raw)
To: Powerful Notageek, linux-wireless@vger.kernel.org
On 06/07/2014 01:25 PM, Powerful Notageek wrote:
> I tried them and here's the output: (verbose)
>
> [root@localhost ~]# modprobe -v rt2800pci
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/lib/crc-ccitt.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/net/wireless/cfg80211.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/net/mac80211/mac80211.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/misc/eeprom/eeprom_93cx6.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2x00mmio.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2800lib.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2800mmio.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2800pci.ko
> [root@localhost ~]# echo "14c3 7630" > /sys/bus/pci/drivers/rt2800pci/new_id
> [root@localhost ~]# iwconfig
> p3p1 no wireless extensions.
>
> lo no wireless extensions.
When you do the above, what ends up in the dmesg output? In particular, is the
firmware available?
Larry
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: MT7630e availability in kernel by default
2014-06-07 18:54 ` Larry Finger
@ 2014-06-07 19:13 ` Powerful Notageek
2014-06-07 19:47 ` Larry Finger
0 siblings, 1 reply; 13+ messages in thread
From: Powerful Notageek @ 2014-06-07 19:13 UTC (permalink / raw)
To: Larry Finger, linux-wireless@vger.kernel.org
dmesg says nothing and there's probably no firmware for the device (although linux-firmware is installed)
These are the firmwares available to me:
[root@localhost ~]# ll /usr/lib/firmware/rt2*
-rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2561.bin
-rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2561s.bin
-rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2661.bin
-rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2860.bin
-rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2870.bin
Thank you.
On Sunday, 8 June 2014 12:24 AM, Larry Finger <Larry.Finger@lwfinger.net> wrote:
On 06/07/2014 01:25 PM, Powerful Notageek wrote:
> I tried them and here's the output: (verbose)
>
> [root@localhost ~]# modprobe -v rt2800pci
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/lib/crc-ccitt.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/net/wireless/cfg80211.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/net/mac80211/mac80211.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/misc/eeprom/eeprom_93cx6.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2x00mmio.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2800lib.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2800mmio.ko
> insmod /lib/modules/3.14.4-200.fc20.x86_64/kernel/drivers/net/wireless/rt2x00/rt2800pci.ko
> [root@localhost ~]# echo "14c3 7630" > /sys/bus/pci/drivers/rt2800pci/new_id
> [root@localhost ~]# iwconfig
> p3p1 no wireless extensions.
>
> lo no wireless extensions.
When you do the above, what ends up in the dmesg output? In particular, is the
firmware available?
Larry
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: MT7630e availability in kernel by default
2014-06-07 19:13 ` Powerful Notageek
@ 2014-06-07 19:47 ` Larry Finger
2014-06-08 2:05 ` Powerful Notageek
2014-06-10 6:38 ` Stanislaw Gruszka
0 siblings, 2 replies; 13+ messages in thread
From: Larry Finger @ 2014-06-07 19:47 UTC (permalink / raw)
To: Powerful Notageek, linux-wireless@vger.kernel.org
On 06/07/2014 02:13 PM, Powerful Notageek wrote:
> dmesg says nothing and there's probably no firmware for the device (although linux-firmware is installed)
>
> These are the firmwares available to me:
>
> [root@localhost ~]# ll /usr/lib/firmware/rt2*
> -rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2561.bin
> -rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2561s.bin
> -rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2661.bin
> -rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2860.bin
> -rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2870.bin
I looked more closely at the code in https://github.com/anthonywong/mt7630.
There are a number of places where there are branches specific to the MT7630. It
also needs a firmware file named mt7630.bin. Unfortunately, that file is not
found in the repo, and a quick Google search failed to find it. The
linux-firmware git repo has a file named mt7650.bin, but I think that is
Bluetooth firmware.
Unfortunately, there does not seem to be an easy fix, and only someone with the
hardware could modify rt2800pci to support this device.
Larry
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: MT7630e availability in kernel by default
2014-06-07 19:47 ` Larry Finger
@ 2014-06-08 2:05 ` Powerful Notageek
2014-06-08 3:37 ` Larry Finger
2014-06-10 6:38 ` Stanislaw Gruszka
1 sibling, 1 reply; 13+ messages in thread
From: Powerful Notageek @ 2014-06-08 2:05 UTC (permalink / raw)
To: Larry Finger, linux-wireless@vger.kernel.org
Thank you for taking time to investigate it with me. Essentially, the driver for it doesn't exist in any form and maybe it will be introduced at a later release after 3.16.
Thanks again, appreciate it very much.
On Sunday, 8 June 2014 1:18 AM, Larry Finger <Larry.Finger@lwfinger.net> wrote:
On 06/07/2014 02:13 PM, Powerful Notageek wrote:
> dmesg says nothing and there's probably no firmware for the device (although linux-firmware is installed)
>
> These are the firmwares available to me:
>
> [root@localhost ~]# ll /usr/lib/firmware/rt2*
> -rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2561.bi
> -rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2561s.bin
> -rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2661.bin
> -rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2860.bin
> -rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2870.bin
I looked more closely at the code in https://github.com/anthonywong/mt7630.
There are a number of places where there are branches specific to the MT7630. It
also needs a firmware file named mt7630.bin. Unfortunately, that file is not
found in the repo, and a quick Google search failed to find it. The
linux-firmware git repo has a file named mt7650.bin, but I think that is
Bluetooth firmware.
Unfortunately, there does not seem to be an easy fix, and only someone with the
hardware could modify rt2800pci to support this device.
Larry
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: MT7630e availability in kernel by default
2014-06-08 2:05 ` Powerful Notageek
@ 2014-06-08 3:37 ` Larry Finger
2014-06-08 3:46 ` Powerful Notageek
0 siblings, 1 reply; 13+ messages in thread
From: Larry Finger @ 2014-06-08 3:37 UTC (permalink / raw)
To: Powerful Notageek, linux-wireless@vger.kernel.org
On 06/07/2014 09:05 PM, Powerful Notageek wrote:
> Thank you for taking time to investigate it with me. Essentially, the driver for it doesn't exist in any form and maybe it will be introduced at a later release after 3.16.
>
> Thanks again, appreciate it very much.
I bought such a device on EBay for $6.99. nce it arrives, I will try to modify
rt2800pci to handle it when I get some time.
Larry
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: MT7630e availability in kernel by default
2014-06-08 3:37 ` Larry Finger
@ 2014-06-08 3:46 ` Powerful Notageek
2014-06-08 5:26 ` Powerful Notageek
0 siblings, 1 reply; 13+ messages in thread
From: Powerful Notageek @ 2014-06-08 3:46 UTC (permalink / raw)
To: Larry Finger, linux-wireless@vger.kernel.org
:) Wow! Thanks!
On Sunday, 8 June 2014 9:07 AM, Larry Finger <Larry.Finger@lwfinger.net> wrote:
On 06/07/2014 09:05 PM, Powerful Notageek wrote:
> Thank you for taking time to investigate it with me. Essentially, the driver for it doesn't exist in any form and maybe it will be introduced at a later release after 3.16.
>
> Thanks again, appreciate it very much.
I bought such a device on EBay for $6.99. nce it arrives, I will try to modify
rt2800pci to handle it when I get some time.
Larry
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: MT7630e availability in kernel by default
2014-06-08 3:46 ` Powerful Notageek
@ 2014-06-08 5:26 ` Powerful Notageek
0 siblings, 0 replies; 13+ messages in thread
From: Powerful Notageek @ 2014-06-08 5:26 UTC (permalink / raw)
To: Larry Finger, linux-wireless@vger.kernel.org
I'd also be willing to help you test your changes. I can follow instructions, if you'd tell me what to do.
Thanks.
On Sunday, 8 June 2014 9:16 AM, Powerful Notageek <powerfulnotageek@yahoo.in> wrote:
:) Wow! Thanks!
On Sunday, 8 June 2014 9:07 AM, Larry Finger <Larry.Finger@lwfinger.net> wrote:
On 06/07/2014 09:05 PM, Powerful Notageek wrote:
> Thank you for taking time to investigate it with me. Essentially, the driver for it doesn't exist in any form and maybe it will be introduced at a later release after 3.16.
>
> Thanks again, appreciate it very much.
I bought such a device on EBay for $6.99. nce it arrives, I will try to modify
rt2800pci to handle it when I get some time.
Larry
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: MT7630e availability in kernel by default
2014-06-07 19:47 ` Larry Finger
2014-06-08 2:05 ` Powerful Notageek
@ 2014-06-10 6:38 ` Stanislaw Gruszka
1 sibling, 0 replies; 13+ messages in thread
From: Stanislaw Gruszka @ 2014-06-10 6:38 UTC (permalink / raw)
To: Larry Finger; +Cc: Powerful Notageek, linux-wireless@vger.kernel.org, users
On Sat, Jun 07, 2014 at 02:47:58PM -0500, Larry Finger wrote:
> On 06/07/2014 02:13 PM, Powerful Notageek wrote:
> >dmesg says nothing and there's probably no firmware for the device (although linux-firmware is installed)
> >
> >These are the firmwares available to me:
> >
> >[root@localhost ~]# ll /usr/lib/firmware/rt2*
> >-rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2561.bin
> >-rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2561s.bin
> >-rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2661.bin
> >-rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2860.bin
> >-rw-r--r--. 1 root root 8192 Mar 18 00:08 /usr/lib/firmware/rt2870.bin
>
> I looked more closely at the code in
> https://github.com/anthonywong/mt7630. There are a number of places
> where there are branches specific to the MT7630.
This driver is quite nice mix of rt2800pci and Mediatek/Ralink driver,
where MT7xx code was copied into rt2x00 from venodr driver. It can be
good start for adding support for mt7xx devices to rt2x00.
> It also needs a
> firmware file named mt7630.bin. Unfortunately, that file is not
> found in the repo, and a quick Google search failed to find it. The
> linux-firmware git repo has a file named mt7650.bin, but I think
> that is Bluetooth firmware.
Indeed, it is hard to find it.
> Unfortunately, there does not seem to be an easy fix, and only
> someone with the hardware could modify rt2800pci to support this
> device.
Yep, some substantial amount of work is needed to add support to new
MT7xxx chips properly to rt2x00.
Stanislaw
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2014-06-10 6:39 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-07 16:38 MT7630e availability in kernel by default Powerful Notageek
2014-06-07 17:51 ` Larry Finger
2014-06-07 17:59 ` Powerful Notageek
2014-06-07 18:16 ` Larry Finger
2014-06-07 18:25 ` Powerful Notageek
2014-06-07 18:54 ` Larry Finger
2014-06-07 19:13 ` Powerful Notageek
2014-06-07 19:47 ` Larry Finger
2014-06-08 2:05 ` Powerful Notageek
2014-06-08 3:37 ` Larry Finger
2014-06-08 3:46 ` Powerful Notageek
2014-06-08 5:26 ` Powerful Notageek
2014-06-10 6:38 ` Stanislaw Gruszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).