Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Internet a sítě => Téma založeno: Pit.ja 09 Listopadu 2013, 11:14:48
-
zdravím, mám začátečnický dotaz.
pravděpodobně při pokusu i nainstalování iTunes (po nainstalování playonlinux) mi přestala fungovat wifina. po přečtení několika diskusí a několika pokusech o zjištění problému jsem dospěl k názoru, že se mi asi podařilo zbavit se ovladačů pro RT3290 Wireless 802.11n
poradí mi někdo kde je najdu, jakým způsobem nainstaluju a zprovozním bezdrátové připojení?
nerad bych se vracel zpět k woknům, protože celá filosofie linuxů se mi jako pirátovi líbí daleko víc... :)
-
Otevři terminál a zadej do něj následující příkazy a pošli nám co ti to píše.
rfkill listlspci -vv
-
pit@pit-HP:~$ rfkill list
0: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
pit@pit-HP:~$ lspci -vv
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
Subsystem: Hewlett-Packard Company Device 1858
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>
Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 1858
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 43
Region 0: Memory at 52000000 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at 40000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at 4000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Hewlett-Packard Company Device 1858
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 42
Region 0: Memory at 52604000 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>
Kernel driver in use: mei
Kernel modules: mei
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 1858
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at 52609000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Hewlett-Packard Company Device 1858
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 44
Region 0: Memory at 52600000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00003000-00003fff
Prefetchable memory behind bridge: 0000000052400000-00000000524fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: 52500000-525fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=03, subordinate=08, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: 51000000-51ffffff
Prefetchable memory behind bridge: 0000000050000000-0000000050ffffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 1858
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 23
Region 0: Memory at 52608000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
00:1f.0 ISA bridge: Intel Corporation 7 Series Chipset Family LPC Controller (rev 04)
Subsystem: Hewlett-Packard Company Device 1858
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>
Kernel modules: iTCO_wdt
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company Device 1858
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 40
Region 0: I/O ports at 4088 [size=8]
Region 1: I/O ports at 4094 [size=4]
Region 2: I/O ports at 4080 [size=8]
Region 3: I/O ports at 4090 [size=4]
Region 4: I/O ports at 4060 [size=32]
Region 5: Memory at 52607000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Hewlett-Packard Company Device 1858
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin C routed to IRQ 10
Region 0: Memory at 52605000 (64-bit, non-prefetchable) [size=256]
Region 4: I/O ports at 4040 [size=32]
Kernel modules: i2c-i801
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
Subsystem: Hewlett-Packard Company Device 1858
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 41
Region 0: I/O ports at 3000 [size=256]
Region 2: Memory at 52404000 (64-bit, prefetchable) [size=4K]
Region 4: Memory at 52400000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169
02:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
Subsystem: Hewlett-Packard Company Device 18ec
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 52510000 (32-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
02:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
Subsystem: Hewlett-Packard Company Device 18ec
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: Memory at 52500000 (32-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: rtbt
Kernel modules: rtbth
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
Subsystem: Hewlett-Packard Company Device 1858
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 19
Region 0: Memory at 51000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: rts5229
Kernel modules: rts5229
-
sudo apt-get update && sudo apt-get install build-essential linux-headers-generic -y
wget http://dl.dropbox.com/u/11876059/DPO_RT3290_LinuxSTA_V2600_20120508.tar.gzpokud by nešel stáhnou tak pro jistotu přikládám do přílohy...
tar -xvf DPO_RT3290_LinuxSTA_V2600_20120508.tar.gzcd ~/DPO_RT3290_LinuxSTA_V2600_20120508sudo makePokud nějaký error tak nepokračuj a dej nám to sem, pokud bez error tak
sudo make installsudo modprobe rt3290staFunguje?
EDIT: návod poupraven aby fungoval na poprvé ;)
[příloha smazaná administrátorem]
-
hodilo mi to toto...
WARNING: modpost: missing MODULE_LICENSE() in /home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/rt3290sta.o
see include/linux/module.h for more information
CC /home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/rt3290sta.mod.o
LD [M] /home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/rt3290sta.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-56-generic'
cp -f /home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/rt3290sta.ko /tftpboot
cp: nelze vytvořit obyčejný soubor „/tftpboot“: Operace zamítnuta
make: *** [LINUX] Error 1
pit@pit-HP:~/DPO_RT3290_LinuxSTA_V2600_20120508$ ^C
pit@pit-HP:~/DPO_RT3290_LinuxSTA_V2600_20120508$
-
Co máš za Ubuntu? Na 12.04 by to mělo jít. :-\
-
12.04 LTE mi to ukazuje v informacích o systému...
není možné, že jsem udělal někde chybu? nevím, napadá mne, že jsem měl otevřeného správce dodatečných ovladačů... tím to být nemůže?
-
cp: nelze vytvořit obyčejný soubor „/tftpboot“: Operace zamítnuta
musíš byť root ...
-
Zkus místo samotného make, sudo make.
-
nerozumím "musíš být root" sorry, jsem zatím pouhý uživatel ;)
-
nerozumím "musíš být root" sorry, jsem zatím pouhý uživatel ;)
sudo make *censored*
-
po "sudo make" :
cp: nelze vytvořit obyčejný soubor „/tftpboot“: Operace zamítnuta
make: *** [LINUX] Error 1
pit@pit-HP:~/DPO_RT3290_LinuxSTA_V2600_20120508$ ^C
pit@pit-HP:~/DPO_RT3290_LinuxSTA_V2600_20120508$ sudo make
[sudo] password for pit:
Sorry, try again.
[sudo] password for pit:
sudo: 1 incorrect password attempt
pit@pit-HP:~/DPO_RT3290_LinuxSTA_V2600_20120508$ sudo make
[sudo] password for pit:
make -C tools
make[1]: Entering directory `/home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/tools'
/home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/tools/bin2h
cp -f os/linux/Makefile.6 /home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/Makefile
make -C /lib/modules/3.2.0-56-generic/build SUBDIRS=/home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-56-generic'
CC [M] /home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.o
/home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
/home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:464:8: warning: unused variable ‘offset’ [-Wunused-variable]
/home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:463:8: warning: unused variable ‘Configuration’ [-Wunused-variable]
LD [M] /home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/rt3290sta.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/rt3290sta.o
see include/linux/module.h for more information
LD [M] /home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/rt3290sta.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-56-generic'
cp -f /home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/rt3290sta.ko /tftpboot
pit@pit-HP:~/DPO_RT3290_LinuxSTA_V2600_20120508$
jak mam teda pokracovat?
-
100 %
-
jak mam teda pokracovat?
sudo make installsudo modprobe rt3290staFunguje?
-
pit@pit-HP:~/DPO_RT3290_LinuxSTA_V2600_20120508$ sudo make install
[sudo] password for pit:
make -C /home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux -f Makefile.6 install
mkdir: adresář „/etc/Wireless“ nelze vytvořit: Soubor již existuje
make[1]: Entering directory `/home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux'
rm -rf /etc/Wireless/RT2860STA
mkdir /etc/Wireless/RT2860STA
cp /home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/RT2860STA.dat /etc/Wireless/RT2860STA/.
install -d /lib/modules/3.2.0-56-generic/kernel/drivers/net/wireless/
install -m 644 -c rt3290sta.ko /lib/modules/3.2.0-56-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 3.2.0-56-generic
make[1]: Leaving directory `/home/pit/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux'
pit@pit-HP:~/DPO_RT3290_LinuxSTA_V2600_20120508$ sudo modprobe rt3290sta
pit@pit-HP:~/DPO_RT3290_LinuxSTA_V2600_20120508$
zatim podle moznosti pripojeni v horni liste to vypada, ze pujde... jdu to vyzkouset ;-)
-
pane Neužil, potlesk největší!!! tohle bych sám nedal dokupy...
díky moc, zachránili jste mne před zběhnutím do spárů Microsoftu ;-)
-
nerad bych se vracel zpět k woknům...
Příště bez tohoto prosím ;)
-
beru na vědomí ;)
-
Dobrý den,
mám také ntb HP 650. Ze začátku ubuntu bylo fajn, ale pak se něco pokazilo. Nevím co přesně, ale ntb nešel spustit. Tak jsem si řekl, že nahraju wokna. No, i na ně došlo a chtěl bych se teď vrátit na ubuntu.
Po instalaci 12.04 LTS, dle Vašeho návoduna instalaci wifi mi ntb zamrzal a hlásil chybu v kernelu. Jsem amatér, tak neřeknu víc.
Dá se tento problém nějak odstranit?
Děkuji.
-
A máte naprosto stejnou Wifi modul? To že máte třeba stejný ntb HP 650 neznamená že máte i stejnou wifi.
-
Ahoj.
Mám podobný problém s ovladači RT3290 RaLink. WiFi funguje, ale Bluetooth ne. Ubuntu 13.10 Pokoušel jsem se o stažení a kompilaci.
Sudo make hlásil chyby, přikládám výpisy.
Prosím o radu.
Děkuji.
lscpi
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
04:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
04:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
rfkill
lak@lak-notes:~$ sudo rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
sudo make
from include/linux/time.h:5,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:35:
/usr/src/linux-headers-3.11.0-15-generic/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
void *memmove(void *dest, const void *src, size_t count);
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:662:20: warning: assignment makes integer from pointer without a cast [enabled by default]
pClonedPkt->tail = pClonedPkt->data + pClonedPkt->len;
^
In file included from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:35:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsPktInit’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:992:34: warning: assignment makes integer from pointer without a cast [enabled by default]
((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:681:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
SET_OS_PKT_DATATAIL(pRxPkt, pData, DataSize);
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:708:15: warning: assignment makes integer from pointer without a cast [enabled by default]
pOSPkt->tail = pOSPkt->data + pOSPkt->len;
^
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_main_dev.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.o
In file included from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.c:3:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.c: In function ‘convert_reordering_packet_to_preAMSDU_or_802_3_packet’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:992:34: warning: assignment makes integer from pointer without a cast [enabled by default]
((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:1035:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
SET_OS_PKT_DATATAIL(__pRxPkt, __pData, __DataSize); \
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.c:1550:2: note: in expansion of macro ‘RTMP_OS_PKT_INIT’
RTMP_OS_PKT_INIT(pRxBlk->pRxPacket,
^
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_led.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.o
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.c: In function ‘RT28xxPciMlmeRadioOn’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.c:2245:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
BOOLEAN Cancelled;
^
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.o
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPFreeTXDUponTxDmaDone’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c:543:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
UINT8 TXWISize = pAd->chipCap.TXWISize;
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPHandleMgmtRingDmaDoneInterrupt’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c:738:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
UINT8 TXWISize = pAd->chipCap.TXWISize;
^
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.o
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.c: In function ‘RTMPInitPCIeDevice’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.c:1349:22: warning: unused variable ‘Index’ [-Wunused-variable]
UINT32 MacCsr0 = 0, Index= 0;
^
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.o
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:464:8: warning: unused variable ‘offset’ [-Wunused-variable]
ULONG offset;
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:463:8: warning: unused variable ‘Configuration’ [-Wunused-variable]
ULONG Configuration;
^
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ee_prom.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ee_efuse.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_rf.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt30xx.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.o
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘RT3290_AsicTxAlcGetAutoAgcOffset’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:1564:25: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
pTxPowerTuningEntry = &(TxPowerTuningTable[TuningTableIndex + TX_POWER_TUNING_ENTRY_OFFSET]);
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘MlmeAntSelection’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: AvgTxErrorRatio = %d , TxErrorRatio = %d, AccuTxTotalCnt = %d, Rssi = %d\n",AvgTxErrorRatio, TxErrorRatio, AccuTxTotalCnt, Rssi));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2507:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE, ("AntS: Train State: AntennaDiversityCount = %d\n", pAd->AntennaDiversityInfo.AntennaDiversityCount));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2522:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS, Ant 0, Tx: %d, Rx: %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2522:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2523:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS, Ant 1, Tx: %d, Rx: %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2523:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2526:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Train State: PER[Main] = %d, PER[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityPER[0],pAd->AntennaDiversityInfo.AntennaDiversityPER[1]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2526:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2527:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalTxCount[Main] = %d, TotalTxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2527:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2528:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalRxCount[Main] = %d, TotalRxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2528:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: AntSAuxDelta = %d, AntSRssiFactor = %d, AntSPERFactor = %d\n",
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2559:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Good Rssi is at Main !! ++%d\n",(diffRssi*Ant0TotalPacket/pAd->StaCfg.AntSRssiFactor)));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2565:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Good Rssi is at Aux !!++%d\n",(diffRssi*Ant1TotalPacket/pAd->StaCfg.AntSRssiFactor)));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2574:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Good PER is at Main !! ++%d\n", (diffPER*Ant0TotalPacket/pAd->StaCfg.AntSPERFactor)));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2581:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Good PER is at Aux !! ++%d\n", (diffPER*Ant1TotalPacket/pAd->StaCfg.AntSPERFactor)));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2583:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Delta Packet = %d,%d, diffRssi = %d, diffPER = %d\n",(diffRssi*Ant0TotalPacket/pAd->StaCfg.AntSRssiFactor),(diffPER*Ant1TotalPacket/pAd->StaCfg.AntSPERFactor),diffRssi, diffPER));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2583:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2595:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Stop Train State: PER[Main] = %d, PER[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityPER[0],pAd->AntennaDiversityInfo.AntennaDiversityPER[1]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2595:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2596:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalTxCount[Main] = %d, TotalTxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2596:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2597:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalRxCount[Main] = %d, TotalRxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2597:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘BtCoexSetting’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:3244:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE, ("%s:COEX_MODE is active(Two Antenna Mode)!!! CoexMode = %d, BBPCurrentBW = %d, Rssi = %d, RfR49Value = 0x%x\n",
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘Profile_TwoAnt’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:4097:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘CMB_CTRL_STRUC’ [-Wformat=]
printk("cmbCtrl = %x\n",cmbCtrl);
^
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_pci_rbus.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_util.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:43:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
static VOID __devexit rt2860_remove_one(struct pci_dev *pci_dev);
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:44:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
static INT __devinit rt2860_probe(struct pci_dev *pci_dev, const struct pci_device_id *ent);
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:63:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__devinitdata’
static struct pci_device_id rt2860_pci_tbl[] __devinitdata =
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:85:17: error: ‘rt2860_pci_tbl’ undeclared here (not in a function)
id_table: rt2860_pci_tbl,
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:86:17: error: ‘rt2860_probe’ undeclared here (not in a function)
probe: rt2860_probe,
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:88:5: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
remove: __devexit_p(rt2860_remove_one),
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:88:29: error: ‘rt2860_remove_one’ undeclared here (not in a function)
remove: __devexit_p(rt2860_remove_one),
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:292:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
static INT __devinit rt2860_probe(
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:463:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
static VOID __devexit rt2860_remove_one(
^
In file included from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18:0,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:32:
include/linux/module.h:87:32: error: ‘__mod_pci_device_table’ aliased to undefined symbol ‘rt2860_pci_tbl’
extern const struct gtype##_id __mod_##gtype##_table \
^
include/linux/module.h:145:3: note: in expansion of macro ‘MODULE_GENERIC_TABLE’
MODULE_GENERIC_TABLE(type##_device,name)
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:71:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’
MODULE_DEVICE_TABLE(pci, rt2860_pci_tbl);
^
cc1: some warnings being treated as errors
make[2]: *** [/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o] Error 1
make[1]: *** [_module_/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-15-generic'
make: *** [LINUX] Error 2
-
Testoval jsem pouze na LTS 12.04 a u 13.xx to může být jinak... zkuste guuglit...
http://askubuntu.com/questions/324115/ralink-bluetooth-not-working-in-ubuntu-13-04 (http://askubuntu.com/questions/324115/ralink-bluetooth-not-working-in-ubuntu-13-04)
-
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:43:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
static VOID __devexit rt2860_remove_one(struct pci_dev *pci_dev);
pri jadre väčšom ako > 3.8.0 musíš upraviť pred kompiláciou ešte súbor DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/pci_main_dev.c
viz http://forum.ubuntu.cz/index.php?topic=68959.msg495386#msg495386 (http://forum.ubuntu.cz/index.php?topic=68959.msg495386#msg495386)
-
Děkuju za odpovědi.
Vyřešeno podle: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1189721 Uživatel James Dafoe.