Difference between revisions of "Using NoN-Samsung USB WiFi dongles with TV"


From SamyGO
Jump to: navigation, search
(Fixed old forums links.)
(Added Hardware way.)
Line 3: Line 3:
 
Samsung WiFi Dongles uses RaLink rt73, rt2570sta, rt2870sta chips. But their drivers in the TV doesn't include other brands ID's, thats why you cannot use other RaLink chipped USB dongles. Because TV thinks they are incompatible. So you can unload older drivers and install native drivers that we pre-compiled for you. Then your TV works with any WiFi USB dongle that uses RaLink chip compatible with rt73, rt2500, rt2870...
 
Samsung WiFi Dongles uses RaLink rt73, rt2570sta, rt2870sta chips. But their drivers in the TV doesn't include other brands ID's, thats why you cannot use other RaLink chipped USB dongles. Because TV thinks they are incompatible. So you can unload older drivers and install native drivers that we pre-compiled for you. Then your TV works with any WiFi USB dongle that uses RaLink chip compatible with rt73, rt2500, rt2870...
  
==Instructions==
+
Now we have another alternative way (hardware way) that you don't needed to change anything on your TV!
 +
 
 +
==Hardware Way==
 +
This is preferred way because it's compatible with B and C series.
 +
All you need is a USB WiFi dongle that has compatible chipset (rt) and allows eeprom PID/VID changing.
 +
Than you could disguise your dongle to original Samsung dongle with some commands at linux!
 +
 
 +
Tested dongle models are:
 +
*Dlink DWA-125  [http://shop.ebay.co.uk/i.html?_nkw=dwa125&_frs=1 UK] - [http://shop.ebay.com/i.html?_nkw=dwa125&_frs=1 USA] - [http://shop.ebay.com.au/i.html?_nkw=dwa125&_frs=1 AU]
 +
*Dlink DWA-140  [http://shop.ebay.co.uk/i.html?_nkw=dwa140&_frs=1 UK] - [http://shop.ebay.com/i.html?_nkw=dwa140&_frs=1 USA] - [http://shop.ebay.com.au/i.html?_nkw=dwa140&_frs=1 AU]
 +
*Dlink DWA-160  [http://shop.ebay.co.uk/i.html?_nkw=dwa160&_frs=1 UK] - [http://shop.ebay.com/i.html?_nkw=dwa160&_frs=1 USA] - [http://shop.ebay.com.au/i.html?_nkw=dwa160&_frs=1 AU]
 +
 
 +
All you need is plug the dongle to your linux computer and issue this commands.
 +
 +
# iwpriv ra0 e2p 208=0x04E8
 +
# iwpriv ra0 e2p 20A=0x2018
 +
 
 +
After you can see changed pid and vid values with '''lsusb''' command.
 +
So your TV will think those dongles as original Samsung one because of changed PID and VID values.
 +
 
 +
And not all rt2870sta chipped dongles compatible with this hack and you could broke your dongle with this commands.
 +
At least one "Edimax-uN7711" broken with this hack...
 +
Keep in mind that, some USB dongles with same Model number might have different revisions and could have different chips in it.
 +
 
 +
==Software Way Instructions==
 +
For B series only. Same approach will work on C series (with C series kernel modules, but except rt73 based dongles...)
 
*Open Telnet/Console Connection to your TV via [[SamyGO Telnet Enabler]] if it's not already enabled by Hacked firmware or you can use [[Enable Serial Console on non CI+ Devices|console approach]] too.
 
*Open Telnet/Console Connection to your TV via [[SamyGO Telnet Enabler]] if it's not already enabled by Hacked firmware or you can use [[Enable Serial Console on non CI+ Devices|console approach]] too.
 
*Download the pre-compiled drivers from SamyGO WiFi Modules [http://download.samygo.tv/SamyGO%20Kernel%20Modules/SamyGO%20WiFi%20Extension%20Addon%20v0.02.zip here]
 
*Download the pre-compiled drivers from SamyGO WiFi Modules [http://download.samygo.tv/SamyGO%20Kernel%20Modules/SamyGO%20WiFi%20Extension%20Addon%20v0.02.zip here]

Revision as of 00:17, 19 August 2011

It's possible to you your WiFi dongle with Samsung TV's.

Samsung WiFi Dongles uses RaLink rt73, rt2570sta, rt2870sta chips. But their drivers in the TV doesn't include other brands ID's, thats why you cannot use other RaLink chipped USB dongles. Because TV thinks they are incompatible. So you can unload older drivers and install native drivers that we pre-compiled for you. Then your TV works with any WiFi USB dongle that uses RaLink chip compatible with rt73, rt2500, rt2870...

Now we have another alternative way (hardware way) that you don't needed to change anything on your TV!

Hardware Way

This is preferred way because it's compatible with B and C series. All you need is a USB WiFi dongle that has compatible chipset (rt) and allows eeprom PID/VID changing. Than you could disguise your dongle to original Samsung dongle with some commands at linux!

Tested dongle models are:

All you need is plug the dongle to your linux computer and issue this commands.

# iwpriv ra0 e2p 208=0x04E8
# iwpriv ra0 e2p 20A=0x2018

After you can see changed pid and vid values with lsusb command. So your TV will think those dongles as original Samsung one because of changed PID and VID values.

And not all rt2870sta chipped dongles compatible with this hack and you could broke your dongle with this commands. At least one "Edimax-uN7711" broken with this hack... Keep in mind that, some USB dongles with same Model number might have different revisions and could have different chips in it.

Software Way Instructions

For B series only. Same approach will work on C series (with C series kernel modules, but except rt73 based dongles...)

  • Open Telnet/Console Connection to your TV via SamyGO Telnet Enabler if it's not already enabled by Hacked firmware or you can use console approach too.
  • Download the pre-compiled drivers from SamyGO WiFi Modules here
  • Extract and copy required ko modules to usb, then TV's internal memory like "/mtd_rwarea/modules" (or you can leave them on USB...)
md /mtd_rwarea/modules
cp /dtv/usb/sda/SamyGO/rt73.ko /mtd_rwarea/modules

Than load the modules to TV's kernel.

Basic Way

rmmod rt73                           # remove old kernel module
sleep 10                             # wait some for detection
insmod /mtd_rwarea/modules/rt73.ko   # install new module, you can also replace with rt73 or rt2570sta.ko or rt2870sta

Advanced Way

If commands at top doesn't work properly, you can try this way.

killall -QUIT udhcpc                     # stops udhcpc
ifconfig ra11n0 down                     # shut downs nw interface
rmmod rt2870sta                          # removes original module
rmmod rt73                               # removes original module 
insmod /mtd_rwarea/modules/rt2870sta.ko  # load new module, you can also replace with rt73 or rt2570sta.ko
ifconfig ra11n0 up                       # fire up nw interface
udhcpc -i ra11n0 -t 12 -T 5 -b           # start udhcpc

After your TV recognizes USB WiFi dongle that you have. You can also use another chipped WiFi dongles too. But definitely you needed to find linux drivers compatible with 2.6.17/18 and needed to compile them via Toolchain provided by SamyGO Open Embedded.

You can check output by:

#dmesg | grep rtu
<7>rtusb_disconnect: unregister_netdev(), dev->name=ra11n0!
<4><--- rtusb 2870 1.002(1.4.0.0) exit
<4>rtusb 2870 1.002(1.4.0.0) init --->
<4>rtusb 0.994 init ====>
<4><=== rtusb 0.994 exit
<7>rtusb_disconnect: unregister_netdev(), dev->name=ra11n0!
<4><--- rtusb 2870 1.002(1.4.0.0) exit
<4>rtusb 2870 1.002(1.4.0.0) init --->
<4>rtusb 0.994 init ====>
<4><=== rtusb 0.994 exit
<4>rtusb 0.994 [SamyGO] init ====>
<4><=== rtusb 0.994 [SamyGO] exit
<7>rtusb_disconnect: unregister_netdev(), dev->name=ra11n0!
<4><--- rtusb 2870 1.002(1.4.0.0) exit
<4>rtusb 2870 1.002(1.4.0.0) [SamyGO] init --->
<4>rtusb 0.994 [SamyGO] init ====>

Debugging

With creating file on dtv, triggers debug with USB connection. touch /dtv/debug_on


USB WiFi dongles that uses RaLink chip/driver

You can use any of rt73,rt2570 and rt2870 chipped dongles. Some of them could generate problems on connecting WPA/WEP protected networks.

Dongles that tested on forum

Edimax EW-7318USg
Edimax EW-7711UAN (rt2870sta)
<please fill here if your USB dongle that works with ralink driver, need specified model number>

Dongles that we insist working on this TV

Informations extracted from our compiled drirvers (this is the preferred version)

I search on internet and found this 2 lists:

uses rt2850.ko http://wiki.debian.org/rt2870sta uses rt73.ko http://wiki.debian.org/WiFi/rt73

also those that uses rt2870sta.ko:

USB: 0471:200F Philips 802.11n Wireless Adapter
USB: 04E8:2018 Samsung Electronics Co., Ltd (Device name unknown)
USB: 050D:8053 Belkin Components (Device name unknown)
USB: 050D:805C Belkin Components (Device name unknown)
USB: 0586:3416 ZyXEL Communications Corp. NWD-210N 802.11b/g/n-draft wireless adapter
USB: 0789:0162 Logitec Corp. (Device name unknown)
USB: 0789:0163 Logitec Corp. (Device name unknown)
USB: 0789:0164 Logitec Corp. (Device name unknown)
USB: 07AA:002F Corega K.K. CG-WLUSB2GNL
USB: 07AA:003C Corega K.K. (Device name unknown)
USB: 07AA:003F Corega K.K. (Device name unknown)
USB: 07B8:2770 D-Link Corp. (Device name unknown)
USB: 07B8:2870 D-Link Corp. (Device name unknown)
USB: 07B8:3070 D-Link Corp. (Device name unknown)
USB: 07B8:3071 D-Link Corp. (Device name unknown)
USB: 07D1:3C09 D-Link System DWA-140 802.11n Adapter [ralink rt2870]
USB: 07D1:3C11 D-Link System (Device name unknown)
USB: 083A:6618 Accton Technology Corp. 802.11n Wireless Adapter
USB: 083A:7522 Accton Technology Corp. 802.11N Wireless Adapter
USB: 083A:A618 Accton Technology Corp. SMC EZ Connect N Draft 11n Wireless Adapter
USB: 083A:B522 Accton Technology Corp. EZ Connect N Draft 11n Wireless USB2.0 Adapter
USB: 0B05:1731 ASUSTek Computer, Inc. ASUS 802.11n Network Adapter
USB: 0B05:1732 ASUSTek Computer, Inc. 802.11n Network Adapter
USB: 0B05:1742 ASUSTek Computer, Inc. 802.11n Network Adapter
USB: 0CDE:0022 Z-Com 802.11b/g/n Wireless Network Adapter
USB: 0CDE:0025 Z-Com (Device name unknown)
USB: 0DF6:0017 Sitecom Europe B.V. WL-182
USB: 0DF6:002B Sitecom Europe B.V. (Device name unknown)
USB: 0DF6:002C Sitecom Europe B.V. (Device name unknown)
USB: 0DF6:002D Sitecom Europe B.V. (Device name unknown)
USB: 0DF6:0039 Sitecom Europe B.V. (Device name unknown)
USB: 0DF6:003F Sitecom Europe B.V. (Device name unknown)
USB: 0E66:0001 Hawking (Device name unknown)
USB: 0E66:0003 Hawking (Device name unknown)
USB: 1044:800B Chu Yuen Enterprise Co., Ltd GN-WB30N 802.11n WLAN Card
USB: 129B:1828 CyberTAN Technology (Device name unknown)
USB: 13D3:3247 IMC Networks 802.11 n/g/b Wireless LAN Adapter
USB: 1482:3C09 (Vendor name unknown) (Device name unknown)
USB: 148F:2770 Ralink Technology, Corp. (Device name unknown)
USB: 148F:2870 Ralink Technology, Corp. (Device name unknown)
USB: 148F:3070 Ralink Technology, Corp. (Device name unknown)
USB: 14B2:3C06 Ralink Technology, Corp. (Device name unknown)
USB: 14B2:3C07 Ralink Technology, Corp. (Device name unknown)
USB: 14B2:3C09 Ralink Technology, Corp. (Device name unknown)
USB: 14B2:3C12 Ralink Technology, Corp. (Device name unknown)
USB: 14B2:3C23 Ralink Technology, Corp. (Device name unknown)
USB: 14B2:3C25 Ralink Technology, Corp. (Device name unknown)
USB: 14B2:3C27 Ralink Technology, Corp. rt2870 802.11n WLAN
USB: 14B2:3C28 Ralink Technology, Corp. (Device name unknown)
USB: 157E:300E TRENDnet (Device name unknown)
USB: 15A9:0006 (Vendor name unknown) (Device name unknown)
USB: 15C5:0008 (Vendor name unknown) (Device name unknown)
USB: 1737:0071 Linksys (Device name unknown)
USB: 1740:9701 Senao (Device name unknown)
USB: 1740:9702 Senao (Device name unknown)
USB: 18C5:0012 AMIT (Device name unknown)
USB: 2019:AB25 PLANEX (Device name unknown)
USB: 2019:ED06 PLANEX (Device name unknown)
USB: 5A57:0280 Zinwell (Device name unknown)
USB: 5A57:0282 Zinwell (Device name unknown)
USB: 7392:7711 (Vendor name unknown) (Device name unknown)
USB: 7392:7717 (Vendor name unknown) (Device name unknown)

and for rt73.ko

USB: 0411:00F4 MelCo., Inc. (Device name unknown)
USB: 050D:7050 Belkin Components F5D7050 ver 1000 WiFi
USB: 050D:705A Belkin Components F5D7050A Wireless Adapter
USB: 050D:905B Belkin Components F5D9050 ver 3 Wireless Adapter
USB: 050D:905C Belkin Components Wireless G Plus MIMO Network Adapter
USB: 06F8:E010 Guillemot Corp. HWGUSB2-54-LB
USB: 06F8:E020 Guillemot Corp. HWGUSB2-54V2-AP
USB: 0769:31F3 Surecom Technology Corp. RT2573
USB: 07AA:002E Corega K.K. (Device name unknown)
USB: 07B8:B21D D-Link Corp. RT2573
USB: 07D1:3C03 D-Link System DWL-G122 802.11g Adapter [ralink rt73]
USB: 07D1:3C04 D-Link System WUA-1340
USB: 07D1:3C06 D-Link System (Device name unknown)
USB: 07D1:3C07 D-Link System Wireless G DWA-110 Adapter
USB: 0B05:1723 ASUSTek Computer, Inc. WL-167G v2 802.11g Adapter [ralink]
USB: 0B05:1724 ASUSTek Computer, Inc. RT2573
USB: 0DB0:6874 Micro Star International RT2573
USB: 0DB0:6877 Micro Star International RT2573
USB: 0DB0:A861 Micro Star International RT2573
USB: 0DB0:A874 Micro Star International RT2573
USB: 0DF6:90AC Sitecom Europe B.V. WL-172
USB: 0DF6:9712 Sitecom Europe B.V. WL-113 rev 2
USB: 1044:8008 Chu Yuen Enterprise Co., Ltd GN-WB01GS
USB: 1044:800A Chu Yuen Enterprise Co., Ltd GN-WI05GS
USB: 1371:9022 Dick Smith Electronics RT2573
USB: 1371:9032 Dick Smith Electronics C-Net CWD-854 rev F
USB: 13B1:0020 Linksys WUSB54GC 802.11g Adapter [ralink rt73]
USB: 13B1:0023 Linksys WUSB54GR
USB: 1472:0009 Huawei-3Com Aolynk WUB320g
USB: 148F:2573 Ralink Technology, Corp. RT2501USB Wireless Adapter
USB: 148F:2671 Ralink Technology, Corp. RT2601USB Wireless Adapter
USB: 14B2:3C22 Ralink Technology, Corp. rt73 802.11g WLAN
USB: 15A9:0004 (Vendor name unknown) (Device name unknown)
USB: 1631:C019 Good Way Technology RT2573
USB: 1690:0722 Askey Computer Corp. [hex] RT2573
USB: 1740:7100 Senao (Device name unknown)
USB: 18E8:6196 Qcom RT2573
USB: 18E8:6229 Qcom RT2573
USB: 18E8:6238 Qcom (Device name unknown)
USB: 2019:AB01 PLANEX GW-US54HP
USB: 2019:AB50 PLANEX GW-US54Mini2

Forum Page

You can leave comment on this related forum. http://forum.samygo.tv/viewtopic.php?f=3&t=14