Page 1 of 1

WiFi RTL8187L

Posted: Thu Mar 22, 2012 10:22 am
by Fox7
Sorry, did not know very well English. I'm trying to compile the driver for the wifi adapter on a chip RTL8187L, the TV LE40C550J1WXRU - Trident (big endian), ?onnecting to a TV via ethernet. I collect with toolchain and core posted on https://opensource.samsung.com. Compile the driver from source here: http://www.realtek.com.tw/downloads/dow ... L/RTL8187B, tv saw adapter, created an interface wlan0, defined MAC, iwpriv shows the various options and settings for wlan0, but attempt to raise the interface command:

Code: Select all

ifconfig wlan0 up
or to begin your search from the TV networks - the sound on the TV starts to stutter, so it goes for about a minute and a half, then it becomes normal for a minute and then stutters and so endlessly until you reboot - until you turn off the power. Also, in these moments in the top saw that the process Ieee80211 / 0 loads the processor to 97-98% and dmesg gave:

Code: Select all

SELP#> dmesg
a4c0 804c4380
57a0: 804c4380 00010105 8049e800 00000001 00000000 81c08a20 8026d8cc 8026d7b0
57c0: 81265850 80150b88 00000000 000000bb 000000f4 000000f3 00000001 bb004000
57e0: 8049e800 00000001 000003bb 8049ea60 bb004004 00000001 bb004000 bb004088
5800: 80406fa0 8026e230 80104dcc 0000003c 8029eff8 81265850 804c4380 00010105
5820: 00000012 00000000 8049e800 826e0060 80390000 81265858 000007b0 ffffffff
5840: 802dd830 00000001 802eb63c 80235808 803aa4c0 804c4380 c0a8010c 80440000
5860: 00000000 811a67b0 826e0060 00000001 802b16f0 00000000 00000000 00000000
5880: 802ee694 00000000 00000000 0002dbc0 826e010c 00000000 87cf9080 8049e800
58a0: 87cf9080 00000000 826e0060 00000000 8126598c 00000001 81265988 802b2414
58c0: 804c4380 00010106 00000012 00000000 00000000 80320000 00000012 80330000
58e0: 81265970 80150b88 00000000 00000000 80410000 8033fca4 3b9aca00 80320000
5900: 80408f53 00000000 80410000 8033fca4 3b9aca00 80320000 80408f42 00000000
5920: 0000001e 80350000 0000001e 802349d4 80144e84 81265970 8033fca7 00000000
5940: 8126595c 80408f24 80144e84 8033fca4 3b9aca00 80320000 80408f53 80408f24
5960: 80410000 8033fca4 3b9aca00 80320000 80408f42 00000000 0000001e 80350000
5980: 801458b0 80150fe8 826e0060 87e624c8 803aa4c0 804c4380 00000001 80681140
59a0: 80694e40 80694e70 80179ad4 00000040 00000001 80681140 80694e40 80694e70
59c0: 80179b6c 80681140 80694e40 802914d8 803894fc 80450000 00000001 80681140
59e0: 00000100 802c9548 000016d0 80681140 87de268c 87db2280 8040c138 0000002f
5a00: 80261aa0 80445b14 0000002f 8025b0d8 8040c5fb 0000001e 80261aa0 80445b14
5a20: 0000001e 8025b0d8 0000002f 00000000 80400000 80260a40 80445b14 8040c5dd
5a40: 0000001e 00000000 80400000 80260a40 0025ad49 80350000 80350000 80350000
5a60: 80384954 0000001e 80410000 803246c0 3b9aca00 81266fff 80408f2d 00000000
5a80: 00000009 80350000 00000009 802349d4 0025b23b 0025b23b 8033fca7 0025b23b
5aa0: 81265abc 803246c8 80144e84 81265e94 80408f7b 00000000 0000005a 80408f24
5ac0: 80410000 803246c0 3b9aca00 81266fff 80408f2d 00000000 00000009 80350000
5ae0: 801458b0 80335d00 3b9aca00 80320000 80408f25 80408f24 80410000 803246c8
5b00: 3b9aca00 81265e94 80408f7b 00000000 0000005a 80350000 801458b0 80324db0
5b20: 80144e84 ffffffff ffffffff 00000020 801066a8 80408f24 80410000 80335d00
5b40: 3b9aca00 80320000 80408f25 00000000 8040d3c0 00000005 80261aa0 80445b14
5b60: 00000005 8025b0d8 81265b7c 80350000 8040a21c 00000009 80261aa0 80445b14
5b80: 00000006 8025b0d8 38643062 34363833 00000000 00000000 80445b14 8040a280
5ba0: 00000006 00000000 80400000 80260a40 80350000 80350000 80126408 8025b0d8
5bc0: 80384954 00000009 002ccf37 80350000 80350000 80350000 80126408 00000008
5be0: 002cc004 80126494 8040c666 00000001 002ccf9b 002ccfad 002ccfad 00000000
5c00: 002ccfd2 8012684c 81265cdc 81266fff 81264000 00000000 80410000 803246c0
5c20: 3b9aca00 81266fff 80408f2d 00000000 00000009 80350000 00000009 80127150
5c40: 81265d14 81265e94 fffff000 00000000 80410000 803246c8 3b9aca00 81265e94
5c60: 80408f7b 00000000 0000005a 80350000 00000057 80127150 8012684c 8012680c
5c80: 81265d54 80320000 80350000 00000000 81265c8c 81265c80 00000005 81266fff
5ca0: 81264000 80330000 80320000 80340000 80320000 801271e8 81265ea0 80320000
5cc0: 80330000 80330000 81265cdc 81264000 8010b904 81265e94 fffff000 fffff000
5ce0: 00000001 80445b14 81265ed0 81264000 81266fff 81265e94 fffff000 0000001d
5d00: 80320000 80320000 80320000 8010baa8 81265e20 00000001 00000001 80445b14
5d20: 81266fff 80320000 80131c6c c01321f8 81265e20 80320000 80350000 80350000
5d40: 80350000 80320000 80320000 8010c7d0 87de2000 00000001 00000005 80445b14
5d60: 81265e20 878108dc 80406fa0 87810260 c013282c 879c7a18 879c7a08 80406fa0
5d80: 00000000 8010d484 80325624 80000300 00000001 c00ffad8 8030e348 81265e20
5da0: 81265e2c 00000080 81265e70 00000040 00000005 80000300 00000001 c00ffad8
5dc0: 81265e2c 00000080 80179ad4 00100100 8267b238 8030e348 87db2820 00000000
5de0: 81249000 87810d74 83809500 81249002 00000036 c011cd3c 87db2820 00000000
5e00: 87de8000 87810d74 83809480 87de8002 00000036 c011cd3c 87810260 8010560c
5e20: 8011fb9c 80121188 87810d74 00000000 00000002 80408158 00000000 00000000
5e40: 00000000 87810d10 87810d10 00029c66 00029c66 ffff00fe 81265fe0 00000000
5e60: 00000000 80464000 00000000 00000000 00000000 00000002 87810260 878108dc
5e80: 80406fa0 87810260 c013282c 879c7a18 879c7a08 80406fa0 00000000 80113464
5ea0: c013282c 879c7a18 81264000 81265ed0 00000000 c01329f8 11000003 00000257
5ec0: 0000001a 879c7a18 10804024 8013206c c01439c8 c014353c 80f80719 87810bbc
5ee0: 00000001 87810a9c 879c7a00 8013bee4 879c7a00 81265f48 00000000 00000000
5f00: 879c7a08 879c7a10 879c7a00 81265f48 00000000 00000000 00000000 00000000
5f20: 8013c848 8013c818 82727c60 82727c60 00000001 00000006 ffffffff ffffffff
5f40: ffffffff ffffffff 00000000 8267b238 801211b0 00100100 00200200 00000000
5f60: 00000001 00020000 00000000 00000000 00000000 8030df68 81265fa0 879c7a00
5f80: 8013c71c 82727c54 80140110 801400f4 00000000 00000000 00000000 00000000
5fa0: ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000000 00000000
5fc0: 801066b8 00000000 11000003 00000000 00000000 00000000 00000000 801066a8
5fe0: 00c21155 0000c208 57000013 40580000 c21a0000 468a5900 0070fc00 00711800
6000: 00000000 00000018 00000554 fffdaea0 0000005c 00500e20 4890029f 01000000
6020: 00000028 00000570 fffdaee0 000006d8 00500e48 68900a91 09920893 07940695
6040: 05960497 039e029f 01000000 00000010 0000059c fffdb58c 0000003c 00000000
6060: 00000010 000005b0 fffdb5b4 00000034 00000000 00000014 000005c4 fffdb5d4
6080: 000000e8 00500e20 449f0200 0000001c 000005dc fffdb6a4 00000218 00500e30
60a0: 54900691 05920493 039f0200 00000028 000005fc fffdb89c 0000047c 00500e78
60c0: 68900a91 09920893 07940695 05960497 039e029f 01000000 0000002c 00000628
60e0: fffdbcec 00000d0c 00500eb0 01449e02 440c1eb0 0164900a 91099208 93079406
6100: 95059604 97039f01 00000028 00000658 fffdc9d0 00000434 00500e40 68900a91
6120: 09920893 07940695 05960497 039e029f 01000000 00000010 00000684 fffdcde4
6140: 0000003c 00000000 0000001c 00000698 fffdce0c 00000094 00500e48 50900491
6160: 0392029f 01000000 00000018 000006b8 fffdce80 00000094 00500e20 4890029f
6180: 01000000 00000018 000006d4 fffdcef8 000000c0 00500e20 4890029f 01000000
61a0: 00000018 000006f0 fffdcf9c 00000118 00500e28 4c900491 039f0200 0000002c
61c0: 0000070c fffdd098 000014bc 00500eb8 01449e02 440c1eb8 0164900a 91099208
61e0: 93079406 95059604 97039f01 0000001c 0000073c fffde52c 000000d4 00500e30
6200: 54900691 05920493 039f0200 00000018 0000075c fffde5e0 00000084 00500e30
6220: 4890029f 01000000 0000002c 00000778 fffde648 00001078 00500eb0 01449e02
6240: 440c1eb0 0164900a 91099208 93079406 95059604 97039f01 00000010 000007a8
6260: fffdf690 0000003c 00000000 00000028 000007bc fffdf6b8 00000198 00500e60
6280: 68900a91 09920893 07940695 05960497 039e029f 01000000 00000024 000007e8
62a0: fffdf830 000000a4 00500e38 60900891 07920693 05940495 0397029f 01000000
62c0: 00000018 00000810 fffdf8ac 00000100 00500eb0 02489002 9f010000 00000024
62e0: 0000082c fffdf990 00000224 00500ed0 08609008 91079206 93059404 95039602
6300: 9f010000 00000020 00000854 fffdfb8c 000000e4 00500e38 58900691 05920493
6320: 0394029f 01000000 00000020 00000878 fffdfc50 000001bc 00500e38 5c900891
6340: 07920693 05940495 039f0200 00000024 0000089c fffdfde8 00000190 00500e40
6360: 64900a91 09920893 07940695 05960497 039f0200 00000028 000008c4 fffdff54
6380: 000002bc 00500e50 68900a91 09920893 07940695 05960497 039e029f 01000000
63a0: 0000002c 000008f0 fffe01e4 000004a4 00500e58 449e0244 0c1e5864 900a9109
63c0: 92089307 94069505 96049703 9f010000 00000010 00000920 fffe0658 00000090
63e0: 00000000 00000010 00000934 fffe06d4 00000008 00000000 00000018 00000948
6400: fffe06d0 000000a0 00500e28 4c900491 039f0200 0000002c 00000964 fffe0754
6420: 000004d8 00500ee8 04449e02 440c1ee8 0464900a 91099208 93079406 95059604
6440: 97039f01 00000014 00000994 fffe0bfc 00000050 00500e28 449f0200 00000014
6460: 000009ac fffe0c34 00000060 00500e28 449f0200 00000014 000009c4 fffe0c7c
6480: 00000060 00500e28 449f0200 0000001c 000009dc fffe0cc4 000000d0 00500ed8
64a0: 01549006 91059204 93039f02 00000028 000009fc fffe0d7c 0000044c 00500e98
64c0: 01449e02 440c1e98 015c9008 91079206 93059404 95039f01 0000002c 00000a28
64e0: fffe119c 00000548 00500e78 449e0244 0c1e7864 900a9109 92089307 94069505
6500: 96049703 9f010000 0000001c 00000a58 fffe16b4 000000a4 00500e30 54900691
6520: 05920493 039f0200 00000018 00000a78 fffe1740 00000418 00540e28 4c900291
6540: 01000000 0000002c 00000a94 fffe1b3c 00000848 00500ec0 05449e02 440c1ec0
6560: 0564900a 91099208 93079406 95059604 97039f01 00000010 00000ac4 fffe2354
6580: 0000003c 00000000 0000001c 00000ad8 fffe237c 00000244 00500e30 50900491
65a0: 0392029f 01000000 00000010 00000af8 fffe25a0 00000024 00000000 00000020
65c0: 00000b0c fffe25b0 00000134 00500e30 58900691 05920493 0394029f 01000000
65e0: 00000010 00000b30 fffe26c0 000000b8 00000000 00000014 00000b44 fffe2764
6600: 00000124 00500e20 449f0200 00000028 00000b5c fffe2870 00000244 00500e48
6620: 68900a91 09920893 07940695 05960497 039e029f 01000000 00000014 00000b88
6640: fffe2a88 0000003c 00500e20 449f0200 00000020 00000ba0 fffe2aac 00000108
6660: 00500e38 5c900891 07920693 05940495 039f0200 00000028 00000bc4 fffe2b90
6680: 00000354 00500e58 68900a91 09920893 07940695 05960497 039e029f 01000000
66a0: 00000020 00000bf0 fffe2eb8 00000178 00500e38 5c900891 07920693 05940495
66c0: 039f0200 00000018 00000c14 fffe300c 0000008c 00500e28 4c900491 039f0200
66e0: 0000001c 00000c30 fffe307c 000000d4 00500e30 54900691 05920493 039f0200
6700: 00000014 00000c50 fffe3130 00000068 00500e20 449f0200 00000018 00000c68
6720: fffe3180 00000218 00500e20 4890029f 01000000 00000018 00000c84 fffe337c
6740: 000000d0 00500e20 4890029f 01000000 0000001c 00000ca0 fffe3438 0000020c
6760: 00500ea8 20509004 91039202 9f010000 0000001c 00000cc0 fffe3628 000000d4
6780: 00500e30 54900691 05920493 039f0200 00000028 00000ce0 fffe36e8 000002c8
67a0: 00500e40 68900a91 09920893 07940695 05960497 039e029f 01000000 00000028
67c0: 00000d0c fffe398c 00000398 00500e70 449e0244 0c1e705c 90089107 92069305
67e0: 94049503 9f010000 0000001c 00000d38 fffe3cf8 000001e4 00500e28 50900491
6800: 0392029f 01000000 0000002c 00000d58 fffe3ebc 00000ae8 00500e60 449e0244
6820: 0c1e6064 900a9109 92089307 94069505 96049703 9f010000 00000018 00000d88
6840: fffea350 000000b8 00500e20 4890029f 01000000 0000001c 00000da4 fffea3ec
6860: 00000100 00500e30 54900691 05920493 039f0200 00000018 00000dc4 fffe4944
6880: 00000170 00500e28 4c900491 039f0200 0000002c 00000de0 fffe4a98 00000e84
68a0: 00500e78 449e0244 0c1e7864 900a9109 92089307 94069505 96049703 9f010000
68c0: 00000018 00000e10 fffe58ec 000000e8 00500e28 4c900491 039f0200 00000010
68e0: 00000e2c fffe5a38 0000003c 00000000 00000020 00000e40 fffe5a60 0000029c
6900: 00500e48 58900691 05920493 0394029f 01000000 00000010 00000e64 fffe5ce4
6920: 0000003c 00000000 00000010 00000e78 fffe5d0c 00000008 00000000 0000002c
6940: 00000e8c fffe5d00 00000868 00500e80 01449e02 440c1e80 0164900a 91099208
6960: 93079406 95059604 97039f01 00000028 00000ebc fffe6538 000001cc 00500ea0
6980: 0168900a 91099208 93079406 95059604 97039e02 9f010000 00000020 00000ee8
69a0: fffe66d8 00000300 00500e40 5c900891 07920693 05940495 039f0200 00000010
69c0: 00000f0c fffe69bc 00000098 00000000 00000010 00000f20 fffe6a40 00000068
69e0: 00000000 00000010 00000f34 fffe6a94 0000000c 00000000 00000014 00000f48
6a00: fffe6a8c 00000024 00500e20 449f0200 00000014 00000f60 fffe6a98 00000074
6a20: 00500e30 449f0200 00000014 00000f78 fffe6af4 000000bc 00500e20 449f0200
6a40: 00000020 00000f90 fffe6b98 000000f4 00500e38 5c900891 07920693 05940495
6a60: 039f0200 00000014 00000fb4 fffe6c68 00000180 00500e20 449f0200 00000014
6a80: 00000fcc fffe6dd0 00000138 00500e28 449f0200 0000001c 00000fe4 fffe6ef0
6aa0: 0000009c 00500ed0 03549006 91059204 93039f02 00000018 00001004 fffe6f6c
6ac0: 00000078 00500e28 4c900491 039f0200 00000020 00001020 fffe6fc8 00000184
6ae0: 00500e38 58900691 05920493 0394029f 01000000 00000010 00001044 fffe7128
6b00: 0000001c 00000000 00000018 00001058 fffe7130 000000c8 00500e28 4c900491
6b20: 039f0200 00000010 00001074 fffe71dc 00000020 00000000 00000010 00001088
6b40: fffe71f0 00000020 00000000 00000010 0000109c fffe71fc 0000004c 00000000
6b60: 00000018 000010b0 fffe7238 000000a8 00500e28 4c900491 039f0200 00000020
6b80: 000010cc fffe72cc 00000128 00500ed0 01589006 91059204 93039402 9f010000
6ba0: 00000018 000010f0 fffe73d0 00000068 00500e20 4890029f 01000000 0000001c
6bc0: 0000110c fffe741c 00000678 00500e10 50900491 03920293 01000000 00000018
6be0: 0000112c fffe7a74 000000cc 00500e28 4890029f 01000000 00000014 00001148
6c00: fffe7b24 000000e8 00500e30 449f0200 00000014 00001160 fffe7bf4 00000038
6c20: 00500e28 449f0200 00000014 00001178 fffe7c14 00000044 00500e30 449f0200
6c40: 00000010 00001190 fffe7c48 0000007c 00000000 00000014 000011a4 fffe7cb0
6c60: 000000ec 00500ec0 01449f02 00000010 000011bc fffe7d8c 00000018 00000000
6c80: 00000020 000011d0 fffe7d98 00000148 00500ec0 01589006 91059204 93039402
6ca0: 9f010000 00000020 000011f4 fffe7ec4 00000148 00500ec0 01589006 91059204
6cc0: 93039402 9f010000 0000001c 00001218 fffe8170 00000278 00500e40 4492025c
6ce0: 90049103 93010000 00000018 00001238 fffe83d0 000000b0 00500e20 4890029f
6d00: 01000000 00000010 00001254 fffe8464 00000164 00000000 00000010 00001268
6d20: fffe85b4 00000134 00000000 00000010 0000127c fffe86d4 00000190 00000000
6d40: 00000010 00001290 fffe8998 00000044 00000000 00000010 000012a4 fffe89d4
6d60: 00000010 00000000 00000010 000012b8 fffe89f0 00000054 00000000 00000010
6d80: 000012cc fffe8a3c 00000048 00000000 00000014 000012e0 fffe8a78 000000f0
6da0: 00500e50 48900200 00000010 000012f8 fffe8b50 00000038 00000000 00000010
6dc0: 0000130c fffe8b7c 0000010c 00000000 00000010 00001320 fffe8c78 0000002c
6de0: 00000000 00000010 00001334 fffe8c94 000000d0 00000000 00000010 00001348
6e00: fffe8d50 00000108 00000000 00000010 0000135c fffe8e4c 00000128 00000000
6e20: 00000010 00001370 fffe8f68 00000300 00000000 0000001c 00001384 fffe9254
6e40: 000001c0 00500e30 54900691 05920493 039f0200 0000001c 000013a4 fffe9484
6e60: 000000f0 00500e28 50900491 0392029f 01000000 00000010 000013c4 fffe9554
6e80: 00000020 00000000 00000010 000013d8 fffe96a0 0000014c 00000000 00000010
6ea0: 000013ec fffe97d8 00000114 00000000 00000010 00001400 fffe98d8 00000154
6ec0: 00000000 00000010 00001414 fffe9a18 00000124 00000000 00000010 00001428
6ee0: fffe9b30 000000c0 00000000 00000010 0000143c fffe9c7c 00000014 00000000
6f00: 00000000 00000000 00000000 00001000 00000000 00000000 00000000 00000000
6f20: 00000000 00000000 00000000 00000002 00000001 00000000 00000000 00000000
6f40: 00000000 00000003 00000001 00000000 00000000 00000000 00000000 00000000
6f60: 00000000 00000000 fffffffe 00000000 00000000 00000000 00000000 00000000
6f80: 00000000 00000000 2c0100f8 2c00eb74 2c00ec74 2c010c70 2c00adcc 2c012e80
6fa0: 2c013150 2c0151b4 00000000 00000000 00000000 00000000 00000000 00000000
6fc0: 00000000 00000000 00000000 00000000 01000000 00000000 00000000 00000000
6fe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
--------------------------------------------------------------------------------
------
 
 
 
* REGISTER : r30
# Register value 0x0 is wrong address.
# We can't do anything.
# So, we search next register.
 
 
* REGISTER : r31
# Register value 0xc01329f8 is wrong address.
# We can't do anything.
# So, we search next register.
 
 
 
 
SELP#>
Compile the driver from here: http://dl.aircrack-ng.org/drivers/rtl81 ... 6.1010.zip. Tv saw adapter, created an interface wlan0, defined MAC, iwpriv shows the various options and settings for wlan0, interface up. But the network is not looking. I tried the TV and the command:

Code: Select all

iwlist wlan0 scan
dmesg output:

Code: Select all

Linux kernel driver for RTL8187 based WLAN cards
Copyright (c) 2004-2005, Andrea Merello
rtl8187: Initializing module
rtl8187: Wireless extensions version 21
rtl8187: Initializing proc filesystem
rtl8187: Enabling 14 channels.
rtl8187: MAC chip version: 00
rtl8187: Card type: AD
rtl8187: Reported EEPROM chip is a 93c46 (1Kbit)
rtl8187: Card MAC address is 00:15:af:07:f0:68
rtl8187: RF Chip ID: 05
rtl8187: Card reports RF frontend Realtek 8225
rtl8187: WW:This driver has EXPERIMENTAL support for this chipset.
rtl8187: WW:use it with care and at your own risk and
rtl8187: WW:**PLEASE** REPORT SUCCESS/INSUCCESS TO andreamrl@tiscali.it
rtl8187: This seems a legacy 1st version radio
rtl8187: PAPE from CONFIG2: 0
rtl8187: Driver probe completed

usbcore: registered new driver rtl8187
rtl8187: Card successfully reset
rtl8187: RR:84 BRSR: 11ff
rtl8187: bad CRC in monitor mode are accepted
rtl8187: RX process aborted due to explicit shutdown
rtl8187: RX process aborted due to explicit shutdown
rtl8187: RX process aborted due to explicit shutdown
rtl8187: Card successfully reset
rtl8187: RR:84 BRSR: f1ff
rtl8187: bad CRC in monitor mode are accepted
rtl8187: bad CRC in monitor mode are accepted
rtl8187: bad CRC in monitor mode are accepted
rtl8187: bad CRC in monitor mode are accepted
rtl8187: bad CRC in monitor mode are accepted
eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
##### send signal from USER, SIG : 9, sh, PID:476, sys_kill 
##### send signal from USER, SIG : 9, sh, PID:476, sys_kill 
rtl8187: RX process aborted due to explicit shutdown
rtl8187: RX process aborted due to explicit shutdown
rtl8187: RX process aborted due to explicit shutdown
rtl8187: Card successfully reset
rtl8187: RR:84 BRSR: f1ff
ieee80211_crypt: registered algorithm 'CCMP'
ieee80211_crypt: registered algorithm 'TKIP'
ieee80211_crypt: registered algorithm 'WEP'
GOT WX GET SCAN WX_SEM LOCK