[Comm] RTL8187
Дмитрий
=?iso-8859-1?q?ddv_=CE=C1_nevod=2Eru?=
Ср Апр 2 10:03:21 MSD 2008
Доброе утро!
Есть ли поддержка rtl8187 на ядре 2.6.24?
Либо как завести драйвер на ядре 2.6.18?
Я использовал |rtl8187b-modified-dist.tar.gz, не компилируется.
У меня ноутбук |PSL4CE-00F00ERU Toshiba Satellite L40-17R
T2330/1Gb/160Gb/DVD±RW/15.4" WXGA/WLAN(b/g)
# lsusb
Bus 003 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000
Bus 001 Device 002: ID 0bda:8197 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
# cat /proc/version
Linux version 2.6.18-std-smp-alt11 (builder на apiary.armor.altlinux.org)
(gcc version 4.1.1 20070105 (ALT Linux, build 4.1.1-alt12)) #1 SMP Tue
Jan 15 08:12:03 MSK 2008
|# ./makedrv
rm -fr *.mod.c *.mod *.o .*.cmd *.mod.* *.ko *.o *~
make -C /lib/modules/2.6.18-std-smp-alt11/build
M=/home/ddv/tmp/rtl8187b-modified/ieee80211 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-2.6.18-std-smp-alt11'
CC [M] /home/ddv/tmp/rtl8187b-modified/ieee80211/ieee80211_softmac.o
/home/ddv/tmp/rtl8187b-modified/ieee80211/ieee80211_softmac.c: В функции
‘ieee80211_probe_resp’
/home/ddv/tmp/rtl8187b-modified/ieee80211/ieee80211_softmac.c:710:
предупреждение: ISO C90 forbids mixed declarations and code
/home/ddv/tmp/rtl8187b-modified/ieee80211/ieee80211_softmac.c:1554:4:
warning: #warning CHECK_LOCK_HERE
/home/ddv/tmp/rtl8187b-modified/ieee80211/ieee80211_softmac.c:1594:2:
warning: #warning CHECK_LOCK_HERE
/home/ddv/tmp/rtl8187b-modified/ieee80211/ieee80211_softmac.c: В функции
‘ieee80211_rx_frame_softmac’
/home/ddv/tmp/rtl8187b-modified/ieee80211/ieee80211_softmac.c:1666:
предупреждение: ‘chlen’ may be used uninitialized in this function
/home/ddv/tmp/rtl8187b-modified/ieee80211/ieee80211_softmac.c:1554:4:
warning: #warning CHECK_LOCK_HERE
/home/ddv/tmp/rtl8187b-modified/ieee80211/ieee80211_softmac.c:1594:2:
warning: #warning CHECK_LOCK_HERE
CC [M] /home/ddv/tmp/rtl8187b-modified/ieee80211/ieee80211_rx.o
/home/ddv/tmp/rtl8187b-modified/ieee80211/ieee80211_rx.c: В функции
‘ieee80211_rx_rtl’
/home/ddv/tmp/rtl8187b-modified/ieee80211/ieee80211_rx.c:828: ошибка:
too few arguments to function ‘ieee80211_is_eapol_frame’
make[2]: *** [/home/ddv/tmp/rtl8187b-modified/ieee80211/ieee80211_rx.o]
Ошибка 1
make[1]: *** [_module_/home/ddv/tmp/rtl8187b-modified/ieee80211] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-2.6.18-std-smp-alt11'
make: *** [modules] Ошибка 2
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
make -C /lib/modules/2.6.18-std-smp-alt11/build
M=/home/ddv/tmp/rtl8187b-modified/rtl8187 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-2.6.18-std-smp-alt11'
CC [M] /home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.o
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c: В функции
‘rtl8180_rtx_disable’
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c:1255:
предупреждение: format ‘%d’ expects type ‘int’, but argument 2 has type
‘long unsigned int’
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c: В функции
‘rtl8187_usb_initendpoints’
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c:2277:
предупреждение: ISO C90 forbids mixed declarations and code
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c:2281:
предупреждение: ISO C90 forbids mixed declarations and code
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c:2310:
предупреждение: assignment from incompatible pointer type
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c:2256:
предупреждение: unused variable ‘i’
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c: В функции
‘rtl8187_usb_deleteendpoints’
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c:2328:
предупреждение: format ‘%d’ expects type ‘int’, but argument 2 has type
‘long unsigned int’
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c: В функции
‘rtl8180_adapter_start’
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c:3054:
предупреждение: unused variable ‘bInvalidWirelessMode’
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c:3053:
предупреждение: unused variable ‘SupportedWirelessMode’
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c:3052:
предупреждение: unused variable ‘InitWirelessMode’
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c:3051:
предупреждение: unused variable ‘ieee’
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c: В функции
‘rtl8180_irq_rx_tasklet’
/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187_core.c:3769:
предупреждение: ISO C90 forbids mixed declarations and code
CC [M] /home/ddv/tmp/rtl8187b-modified/rtl8187/r8180_93cx6.o
CC [M] /home/ddv/tmp/rtl8187b-modified/rtl8187/r8180_wx.o
CC [M] /home/ddv/tmp/rtl8187b-modified/rtl8187/r8180_rtl8225.o
CC [M] /home/ddv/tmp/rtl8187b-modified/rtl8187/r8180_rtl8225z2.o
LD [M] /home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.o
Building modules, stage 2.
MODPOST
WARNING: "ieee80211_wx_get_freq"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_softmac_start_protocol"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "free_ieee80211_rtl"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wlan_frequencies"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wake_queue_rtl"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_rx_rtl"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_is_shortslot"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_name_rtl"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_wap"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_scan"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_rate"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_is_54g"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_stop_queue_rtl"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_softmac_stop_protocol"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_rawtx"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_scan_rtl"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wpa_supplicant_ioctl"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_get_beacon"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_essid"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_mode"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_mode"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_encode_rtl"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_freq"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_rate"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_wap"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_encode_rtl"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_essid"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "alloc_ieee80211_rtl"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_reset_queue"
[/home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko] undefined!
CC /home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.mod.o
LD [M] /home/ddv/tmp/rtl8187b-modified/rtl8187/r8187.ko
make[1]: Leaving directory `/usr/src/linux-2.6.18-std-smp-alt11'
# ./wlan0up
insmod: can't read 'ieee80211_crypt-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_wep-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_tkip-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_ccmp-rtl.ko': No such file or directory
insmod: can't read 'ieee80211-rtl.ko': No such file or directory
insmod: error inserting 'r8187.ko': -1 File exists
|
Подробная информация о списке рассылки community