driver for rt5370 chip dongles for D series

Ideas and dreaming will go this forum
Post Reply

User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

driver for rt5370 chip dongles for D series

Post by juusso »

Just played around and got success, maybe someone interested in? I know that a lot of nowaday`s cheap dongles from china come on this driver and only the way to get it working on D series TV is to compile proper driver for it, because changing VID&PID won`t do nothing - TV D series support only rt3572.

Here you are:
rt5370sta_gasdeuc.zip
Driver compilled with changed path to driver configuration file.

Code: Select all

#define STA_PROFILE_PATH "/mtd_rwcommon/RT2870STA.dat" 
Install: place content of archive to /mtd_rwcommon

Code: Select all

cd /mtd_rwcommon
insmod rt5370sta.ko
ifconfig ra0 inet xxx.xxx.xxx.xxx up
where xxx - IP for interface configuration.

Problems i faced - wireless networking configuration trough popup menu is weird needs to be resolved - it shows all found networks as open, and no SSID is shown.
CameraZOOM-20130426121549406.jpg
Only way to configure and connect network is from console/trough scripts. Someone could play further and share result?
You do not have the required permissions to view the files attached to this post.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: driver for rt5370 chip dongles for D series

Post by juusso »

driver for D5xxx Mstar.
rt5370sta_titania8.zip
You do not have the required permissions to view the files attached to this post.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
QRS01
Posts: 3
Joined: Mon Jul 29, 2013 9:06 pm

Re: driver for rt5370 chip dongles for D series

Post by QRS01 »

Hi, thx for the driver, but doesn't work for me, nevertheless using a DWA-140 who has been VID/PID changed
insmod: can't insert 'rt5370sta.ko': file exists

Looks like he doesn't load it
Any help would be welcome, thx
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: driver for rt5370 chip dongles for D series

Post by juusso »

it already exists, check:
lsmod
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
QRS01
Posts: 3
Joined: Mon Jul 29, 2013 9:06 pm

Re: driver for rt5370 chip dongles for D series

Post by QRS01 »

This is the answer after lsmod rt5370 is not amonst it

nfs 121292 0 - Live 0xbf506000
lockd 51472 1 nfs, Live 0xbf4f4000
sunrpc 141364 2 nfs,lockd, Live 0xbf4cc000
fuse 42724 2 - Live 0xbf4bc000
g_file_storage 19280 0 - Live 0xbf4b2000
dummy_hcd 11836 1 g_file_storage, Live 0xbf4aa000
usbhid 19576 0 - Live 0xbf4a0000
hid 34528 1 usbhid, Live 0xbf492000
evdev 6000 0 - Live 0xbf48b000
rtnet3572sta 86484 0 - Live 0xbf470000
rt3572sta 518104 1 rtnet3572sta, Live 0xbf3ef000 (P)
rtutil3572sta 17724 2 rtnet3572sta,rt3572sta, Live 0xbf3e8000
btusb 44448 1 - Live 0xbf3d8000
usb_storage 30312 1 - Live 0xbf3cb000
ohci_hcd 22704 0 - Live 0xbf3c0000
ehci_hcd 36924 0 - Live 0xbf3b1000
usbcore 99736 10 dummy_hcd,usbhid,rtnet3572sta,rtutil3572sta,btusb,usb_storage,o
hci_hcd,ehci_hcd, Live 0xbf393000
sdp_mac 12220 0 - Live 0xbf38b000
samdrv 2763100 37 - Live 0xbf0e6000 (P)
FastLogo 7392 0 - Live 0xbf0df000 (P)
rfs_fat 206976 5 - Live 0xbf0a7000 (P)
rfs_glue 61968 1 rfs_fat, Live 0xbf092000 (P)
fsr_stl 239280 2 - Live 0xbf052000 (P)
fsr 313252 1 fsr_stl, Live 0xbf000000 (P)
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: driver for rt5370 chip dongles for D series

Post by juusso »

you have to unload existing wifi modules first.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
spyfinch
Posts: 1
Joined: Tue Aug 12, 2014 1:38 pm

Re: driver for rt5370 chip dongles for D series

Post by spyfinch »

Hello!
First of all thank You for this driver!
If you have some free time could you help me a bit?

So after installed SamyGo tools, and rmmod other wifi drivers:

Code: Select all

rmmod rtnet3572sta
rmmod rt3572sta
and insmod your driver:

Code: Select all

cd /mtd_rwcommon
insmod rt5370sta.ko
ifconfig ra0 inet 192.168.1.45 up
i got:

Code: Select all

ifconfig: ioctl 0x8914 failed: Operation not permitted
what's wrong?
after that samsung smart tv (Mstar, model UE37D5500RW) can see the rt5370 chip, but not even sees any wifi networks at all.

and my ifconfig -a (HWaddr 00:00:00:00:00:00? :? WTF?)
SpoilerShow
eth0 Link encap:Ethernet HWaddr 60:6B:BD:42:F6:CE
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3187 errors:0 dropped:0 overruns:0 frame:0
TX packets:3004 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:30
RX bytes:1887136 (1.7 MiB) TX bytes:456354 (445.6 KiB)
Interrupt:17 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4956 errors:0 dropped:0 overruns:0 frame:0
TX packets:4956 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:466354 (455.4 KiB) TX bytes:466354 (455.4 KiB)

ra0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.1.45 Bcast:192.168.1.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
and my lsmod
SpoilerShow
rt5370sta 732592 0 - Live 0xe0d4f000
hidp 11376 2 - Live 0xe0c34000
bnep 9248 0 - Live 0xe0c24000
rfcomm 24864 0 - Live 0xe0c11000
l2cap 21760 11 hidp,bnep,rfcomm, Live 0xe0bf8000
bluetooth 51856 6 hidp,bnep,rfcomm,l2cap, Live 0xe0bda000
nfs 139632 0 - Live 0xe08d0000
lockd 58752 1 nfs, Live 0xe087f000
sunrpc 162752 2 nfs,lockd, Live 0xe0835000
fuse 52176 2 - Live 0xe07de000
g_file_storage 23088 0 - Live 0xe07b9000
dummy_hcd 13616 1 g_file_storage, Live 0xe07a1000
usbhid 23792 0 - Live 0xe078d000
hid 39456 2 hidp,usbhid, Live 0xe0771000
evdev 7776 0 - Live 0xe0759000
rt3572sta 604752 0 - Live 0xe0673000 (P)
rtutil3572sta 17728 1 rt3572sta, Live 0xe0582000
btusb 52976 0 - Live 0xe0564000
usb_storage 34896 0 - Live 0xe04b6000
ehci_hcd 47456 0 - Live 0xe048d000
usbcore 125280 8 rt5370sta,dummy_hcd,usbhid,rtutil3572sta,btusb,usb_storage,ehci_hcd, Live 0xe0454000
mdrv_emac 13696 0 - Live 0xe0410000
samsung_mstar 58448 0 - Live 0xe03da000
rfs_fat 264368 5 - Live 0xe02b6000 (P)
rfs_glue 75200 1 rfs_fat, Live 0xe0165000 (P)
fsr_stl 241856 8 - Live 0xe01ea000 (P)
fsr 410080 1 fsr_stl, Live 0xe00f8000 (P)
And if it'll work, how to autoload driver automatically? Now it resets all loaded drivers after reboot and loads rtnet3572sta and rt3572sta instead of rt5370sta again and again...

Post Reply

Return to “[D] Brainstorm”