Gönderen Konu: RTL8188EUS (TP-Link TL-WN725N) USB Kablosuzun ledlerini elle kontrol etme  (Okunma sayısı 56 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Yapmak istediğim şey ağ bağlantısı ve veri alışverişleri sırasında kablosuz ledin sürekli sönük kalması. İlgili /sys/class/leds dizinine baktığımda sadece klavye ile ilgili linkleri görebiliyorum( en altta   Bu USB adaptörün üç versiyonu var. Attığım ambalajından hatırladığım kadarıyla benimki v2. TP Link'in sitesinden indirdiğin v2 kodu kernel süt versiyonu 3.19.3. Benim ki 4.15.x
Yine de kernel header'larını indirip (a
Kod: [Seç]
pt-get source linux-source) denedim. AşağıdaKi hatayı verdi:
Kod: [Seç]

sudo make
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-43-generic/build M=/home/programmer/Downloads/myhw/TPLINKwireless/Driver  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-43-generic'
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
  CC [M]  /home/programmer/Downloads/myhw/TPLINKwireless/Driver/core/rtw_cmd.o
In file included from /home/programmer/Downloads/myhw/TPLINKwireless/Driver/include/osdep_service.h:41:0,
                 from /home/programmer/Downloads/myhw/TPLINKwireless/Driver/include/drv_types.h:32,
                 from /home/programmer/Downloads/myhw/TPLINKwireless/Driver/core/rtw_cmd.c:22:
/home/programmer/Downloads/myhw/TPLINKwireless/Driver/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/programmer/Downloads/myhw/TPLINKwireless/Driver/include/osdep_service_linux.h:261:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/home/programmer/Downloads/myhw/TPLINKwireless/Driver/include/osdep_service_linux.h:262:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /home/programmer/Downloads/myhw/TPLINKwireless/Driver/include/drv_types.h:32:0,
                 from /home/programmer/Downloads/myhw/TPLINKwireless/Driver/core/rtw_cmd.c:22:
/home/programmer/Downloads/myhw/TPLINKwireless/Driver/include/osdep_service.h: In function ‘thread_enter’:
/home/programmer/Downloads/myhw/TPLINKwireless/Driver/include/osdep_service.h:342:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
  allow_signal(SIGTERM);
  ^~~~~~~~~~~~
  do_signal
/home/programmer/Downloads/myhw/TPLINKwireless/Driver/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/programmer/Downloads/myhw/TPLINKwireless/Driver/include/osdep_service.h:352:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
  if (signal_pending (current))
      ^~~~~~~~~~~~~~
      timer_pending
/home/programmer/Downloads/myhw/TPLINKwireless/Driver/include/osdep_service.h:354:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
   flush_signals(current);
   ^~~~~~~~~~~~~
   do_signal
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/programmer/Downloads/myhw/TPLINKwireless/Driver/core/rtw_cmd.o' failed
make[2]: *** [/home/programmer/Downloads/myhw/TPLINKwireless/Driver/core/rtw_cmd.o] Error 1
Makefile:1551: recipe for target '_module_/home/programmer/Downloads/myhw/TPLINKwireless/Driver' failed
make[1]: *** [_module_/home/programmer/Downloads/myhw/TPLINKwireless/Driver] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-43-generic'
Makefile:1367: recipe for target 'modules' failed
make: *** [modules] Error 2





Kod: [Seç]

ls -Al  /sys/class/leds
toplam 0
lrwxrwxrwx 1 root root 0 Oca 20 03:14 input16::capslock -> ../../devices/pci0000:00/0000:00:03.0/usb2/2-2/2-2:1.1/0003:248A:8514.0002/input/input16/input16::capslock
lrwxrwxrwx 1 root root 0 Oca 20 03:14 input16::compose -> ../../devices/pci0000:00/0000:00:03.0/usb2/2-2/2-2:1.1/0003:248A:8514.0002/input/input16/input16::compose
lrwxrwxrwx 1 root root 0 Oca 20 03:14 input16::kana -> ../../devices/pci0000:00/0000:00:03.0/usb2/2-2/2-2:1.1/0003:248A:8514.0002/input/input16/input16::kana
lrwxrwxrwx 1 root root 0 Oca 20 03:14 input16::numlock -> ../../devices/pci0000:00/0000:00:03.0/usb2/2-2/2-2:1.1/0003:248A:8514.0002/input/input16/input16::numlock
lrwxrwxrwx 1 root root 0 Oca 20 03:14 input16::scrolllock -> ../../devices/pci0000:00/0000:00:03.0/usb2/2-2/2-2:1.1/0003:248A:8514.0002/input/input16/input16::scrolllock
lrwxrwxrwx 1 root root 0 Oca 20 03:14 input35::capslock -> ../../devices/pci0000:00/0000:00:03.1/usb3/3-2/3-2:1.0/0003:2A7A:8A47.0013/input/input35/input35::capslock
lrwxrwxrwx 1 root root 0 Oca 20 03:14 input35::compose -> ../../devices/pci0000:00/0000:00:03.1/usb3/3-2/3-2:1.0/0003:2A7A:8A47.0013/input/input35/input35::compose
lrwxrwxrwx 1 root root 0 Oca 20 03:14 input35::kana -> ../../devices/pci0000:00/0000:00:03.1/usb3/3-2/3-2:1.0/0003:2A7A:8A47.0013/input/input35/input35::kana
lrwxrwxrwx 1 root root 0 Oca 20 03:14 input35::numlock -> ../../devices/pci0000:00/0000:00:03.1/usb3/3-2/3-2:1.0/0003:2A7A:8A47.0013/input/input35/input35::numlock
lrwxrwxrwx 1 root root 0 Oca 20 03:14 input35::scrolllock -> ../../devices/pci0000:00/0000:00:03.1/usb3/3-2/3-2:1.0/0003:2A7A:8A47.0013/input/input35/input35::scrolllock
lrwxrwxrwx 1 root root 0 Oca 20 03:14 input9::capslock -> ../../devices/platform/i8042/serio0/input/input9/input9::capslock
lrwxrwxrwx 1 root root 0 Oca 20 03:14 input9::numlock -> ../../devices/platform/i8042/serio0/input/input9/input9::numlock
lrwxrwxrwx 1 root root 0 Oca 20 03:14 input9::scrolllock -> ../../devices/platform/i8042/serio0/input/input9/input9::scrolllock
programmer@crea:/sys/class/leds$ lsusb|grep Wireless
Bus 001 Device 010: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter

Linux Sürücü Kaynak Kodları:
https://www.tp-link.com/us/download/TL-WN725N_V2.html#Driver
« Son Düzenleme: 20 Ocak 2019 - 04:34:37 Gönderen: programmer »
Bırak tanımsız kalsın
Öyle daha güzel Tao

programmer