Please help me Changing VID and PID Values for Lexosys Nano

Here for general support for B series TVs, request and problem solve area.

stevejobs
Posts: 7
Joined: Mon Mar 03, 2014 6:44 am

Please help me Changing VID and PID Values for Lexosys Nano

Post by stevejobs » Mon Mar 03, 2014 7:42 am

I have bought Lexosys Nano 150N to change PID and VID and use it with my Samsung B series TV
I have bought this as a user reported that it has worked in the below link in the comments section
http://woikr.com/home-entertainment/usi ... ternet-tv/

In Linux Mint 16 WIFI scanning,connecting and internet is working with the adapter but while using wpriv ra0 e2p 208=04E8 same message as below comes
s-desktop linux # iwpriv ra0 e2p 208=04E8
ra0 no private ioctls.

I have tried on below operating system versions
ubuntu-13.10-desktop-i386
ubuntu-8.10-desktop-i386
ubuntu-12.04.2-desktop-i386
ubuntu-12.04.3-desktop-i386
ubuntu-12.04.4-desktop-i386
ubuntu-12.04-desktop-i386

At present I am using Linux mint 16 based on ubuntu 13.10 kernel version
s-desktop linux # uname -r
3.11.0-12-generic


All the above operating systems giving the same error as
s-desktop linux # iwpriv ra0 e2p 208=04E8
ra0 no private ioctls.

s-desktop linux # iwpriv ra0 e2p 20A=2018
ra0 no private ioctls.

I have also tried to add my USB ID in rtusb_dev_id.c if I do that then after entering iwpriv ra0 e2p 208=04E8 then the cusor goes to next line without giving any output and remains like that blinking
At this time if I remove the adapter it gives a error message as
Interface doesn't accept private ioctl...
set (8BE2): Network is down

I have also used the driver and Ubuntu version suggested in the below link which is taken from a Russian forum
viewtopic.php?f=62&t=6450&start=0


What I have done is
1.I have plug in the adapter to verify the the PID and VID values so and issued comman as below
s-desktop ~ # lsusb
Bus 001 Device 012: ID 0bda:8179 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

2.Noted the values 0bda:8179 Realtek Semiconductor Corp

3.Downloaded the driver which has roperted to work with this adapter in the above link 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.bz2
Extracted it and renamed the folder as DRIVER_ROOT

4.Navigated to /home/s/Desktop/DRIVER_ROOT/os/linux and changed the parameters in the file config.mk as below
# Support ATE function
HAS_ATE=y
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y
# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

Verified that MODULE_LICENSE("GPL"); is there in usb_main_dev.c it is as below
MODULE_AUTHOR("Paul Lin <paul_lin@ralinktech.com>");
MODULE_DESCRIPTION("RT2870 Wireless Lan Linux Driver");
MODULE_LICENSE("GPL");
#ifdef CONFIG_STA_SUPPORT
#ifdef MODULE_VERSION
MODULE_VERSION(STA_DRIVER_VERSION);
#endif
#endif /* CONFIG_STA_SUPPORT */

5.I have issued the following commands
# sudo apt-get update
# sudo apt-get upgrade
# sudo apt-get install build-essential
# sudo apt-get install linux-headers-$(uname -r)

6.navigated to DRIVER_ROOT
s-desktop ~ # cd /home/s/Desktop/DRIVER_ROOT
Issued make
s-desktop DRIVER_ROOT # make
Issued make install
s-desktop DRIVER_ROOT # make install
make -C /home/s/Desktop/DRIVER_ROOT/os/linux -f Makefile.6 install
mkdir: cannot create directory ?/etc/Wireless?: File exists
make[1]: Entering directory `/home/s/Desktop/DRIVER_ROOT/os/linux'
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /home/s/Desktop/DRIVER_ROOT/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/3.11.0-12-generic/kernel/drivers/net/wireless/
install -m 644 -c rt5370sta.ko /lib/modules/3.11.0-12-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 3.11.0-12-generic
make[1]: Leaving directory `/home/s/Desktop/DRIVER_ROOT/os/linux'

7.Navigated to and confirmed module is loaded
s-desktop DRIVER_ROOT # cd /home/s/Desktop/DRIVER_ROOT/os/linux
s-desktop linux # insmod rt5370sta.ko
s-desktop linux # lsmod | grep rt
rt5370sta 722559 0
parport_pc 31981 0
parport 40795 3 lp,ppdev,parport_pc

8.issued commands to change values
s-desktop linux # iwpriv ra0 e2p 208=04E8
ra0 no private ioctls.

s-desktop linux # iwpriv ra0 e2p 20A=2018
ra0 no private ioctls.


Please help me I am trying this from 5 days but unable to change the values

Thanks in advance
Last edited by stevejobs on Tue Mar 04, 2014 5:04 pm, edited 2 times in total.

stevejobs
Posts: 7
Joined: Mon Mar 03, 2014 6:44 am

Re: Please help me Changing VID and PID Values for Lexosys N

Post by stevejobs » Tue Mar 04, 2014 4:59 pm

Anybody please help me

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

Re: Please help me Changing VID and PID Values for Lexosys N

Post by juusso » Sat Mar 08, 2014 1:14 pm

If you can russian, here is some extended howto.
http://forum.ixbt.com/topic.cgi?id=62:18971:1243#1243

Use google translator if you can`t read original.
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

stevejobs
Posts: 7
Joined: Mon Mar 03, 2014 6:44 am

Re: Please help me Changing VID and PID Values for Lexosys N

Post by stevejobs » Sun Mar 09, 2014 5:24 pm

I have tried the procedure from the link you have given above

1.Downloaded the mentioned version of Ubuntu 12.04.3 Installed it on USB drive using UNetbootin After booting selected the try without installing option

2.Downloaded the driver mentioned in the above link but after compiling I got the driver rt5370sta instead of rt5572sta mentioned in the link

3.Anyway I have tried the rt5370sta instead of rt5572sta as I have got this module after compiling
Following the process I have loaded the module and also checked it if it is installed or not as below

root@ubuntu:/home/ubuntu/Desktop/1/RT5372/os/linux# lsmod | grep rt
rt5370sta 734689 0
parport_pc 27612 0
parport 40930 3 parport_pc,ppdev,lp


Then issued the command as

ubuntu@ubuntu:~/Desktop/1/RT5372/os/linux$ sudo ifconfig ra0 192.168.1.10 netmask 255.255.255
SIOCSIFADDR: No such device
ra0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device

root@ubuntu:/home/ubuntu/Desktop/1/RT5372/os/linux# sudo iwpriv ra0
ra0 no private ioctls.

Please guide me what to do next

Is the process I am following has any mistake

Please reply

stevejobs
Posts: 7
Joined: Mon Mar 03, 2014 6:44 am

Re: Please help me Changing VID and PID Values for Lexosys N

Post by stevejobs » Mon Mar 10, 2014 10:07 am

When I installed the drivers from disk I was able to use the wifi adapter by connecting to other networks
I have issued the below commands and the output is

Code: Select all

root@ubuntu:/home/s/Desktop/3/os/linux# iwpriv wlan0
wlan0     Available private ioctls :
          write            (8BE0) : set 2047 char  & get   0      
          read             (8BE1) : set 2047 char  & get  16 char 
          driver_ext       (8BE2) : set   0       & get   0      
          mp_ioctl         (8BE3) : set   0       & get   0      
          apinfo           (8BE4) : set   1 int   & get   0      
          setpid           (8BE5) : set   2 int   & get   0      
          wps_start        (8BE6) : set   1 int   & get   0      
          get_sensitivity  (8BE7) : set   1 int   & get   0      
          wps_prob_req_ie  (8BE8) : set   1 int   & get   0      
          wps_assoc_req_ie (8BE9) : set   1 int   & get   0      
          channel_plan     (8BEA) : set   1 int   & get   0      
          dbg              (8BEB) : set   2 int   & get   0      
          rfw              (8BEC) : set   3 int   & get   0      
          rfr              (8BED) : set   2 int   & get  16 char 
          p2p_set          (8BF0) : set  64 char  & get   0      
          p2p_get          (8BF1) : set  64 char  & get  64 char 
          p2p_get2         (8BF2) : set  64 char  & get  16 char 
          NULL             (8BF3) : set 128 char  & get   0      
          tdls             (8BF4) : set  64 char  & get   0      
          tdls_get         (8BF5) : set  64 char  & get  64 char 
          pm_set           (8BF6) : set  64 char  & get   0      
          rereg_nd_name    (8BF8) : set  16 char  & get   0      
          efuse_set        (8BFA) : set 1024 char  & get   0      
          efuse_get        (8BFB) : set 128 char  & get 2047 char 
          test             (8BFD) : set  40 char  & get 2047 char 
          mp_start         (0005) : set 1024 char  & get   0      
          mp_phypara       (0018) : set 1024 char  & get 2047 char 
          mp_stop          (0006) : set 1024 char  & get   0      
          mp_channel       (0008) : set 1024 char  & get 2047 char 
          mp_bandwidth     (0009) : set 1024 char  & get   0      
          mp_rate          (0007) : set 1024 char  & get 2047 char 
          mp_reset_stats   (0016) : set 1024 char  & get   0      
          mp_query         (000E) : set 1024 char  & get 2047 char 
          read_reg         (0002) : set 1024 char  & get 2047 char 
          mp_rate          (0007) : set 1024 char  & get 2047 char 
          read_rf          (0004) : set 1024 char  & get 2047 char 
          mp_psd           (0010) : set 1024 char  & get 2047 char 
          mp_dump          (0017) : set 1024 char  & get 2047 char 
          mp_txpower       (000A) : set 1024 char  & get 2047 char 
          mp_ant_tx        (000B) : set 1024 char  & get 2047 char 
          mp_ant_rx        (000C) : set 1024 char  & get 2047 char 
          write_reg        (0001) : set 1024 char  & get 2047 char 
          write_rf         (0003) : set 1024 char  & get 2047 char 
          mp_ctx           (000D) : set 1024 char  & get 2047 char 
          mp_arx           (000F) : set 1024 char  & get 2047 char 
          mp_ther          (0012) : set 1024 char  & get 2047 char 
          efuse_set        (0015) : set 1024 char  & get 2047 char 
          efuse_get        (0014) : set 1024 char  & get 2047 char 
          mp_pwrtrk        (0011) : set 1024 char  & get   0      
          mp_drvquery      (001A) : set 1024 char  & get 2047 char 
          mp_ioctl         (0013) : set 1024 char  & get   0      
          mp_setrfpath     (0019) : set 1024 char  & get   0      
          cta_test         (001C) : set 1024 char  & get   0      

root@ubuntu:/home/s/Desktop/3/os/linux# iwpriv ra0
ra0       no private ioctls.

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

Re: Please help me Changing VID and PID Values for Lexosys N

Post by juusso » Mon Mar 10, 2014 10:12 am

No need to compile anything.
1. Download and run http://releases.ubuntu.com/precise/ubun ... p-i386.iso
2. download and load driver http://file.tonar-shop.ru/files/RT5372.zip
3. change vid&pid according instructions.

This driver has extended command set (dump full eeprom of wifi dongle, show EFUSE info about left free cells (key -u) etc. More info:
http://forum.ixbt.com/topic.cgi?id=62:18971:1243#1246
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

stevejobs
Posts: 7
Joined: Mon Mar 03, 2014 6:44 am

Re: Please help me Changing VID and PID Values for Lexosys N

Post by stevejobs » Mon Mar 10, 2014 1:52 pm

I have downloaded the driver again from the above post and tried to load without compiling I am getting

root@ubuntu:/home/s/Desktop/RT5372# sudo insmod rt5370sta.ko
insmod: error inserting 'rt5370sta.ko': -1 Invalid module format

I am using Ubuntu 12.04.3

User avatar
erdem_ua
SamyGO Admin
Posts: 3098
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Please help me Changing VID and PID Values for Lexosys N

Post by erdem_ua » Wed Apr 02, 2014 2:40 pm

Excuse me but I don't think if your WiFi dongle has a RT2870 chipset instead, it looks like that has a rt5370.

So even if you able to change PID/VID, the USB device cannot work on the B series.
I try to make it working with RT3070 device and I am able to change the PID/VID of USB. TV recogized the dongle but doesn't work properly due different chipset.
I compiled new drivers etc. and tried everything without success.

Indeed, if you are able to connect TV via non rt2870a chipset ( like rt3070 or rt5370 ) no B Series, as an original dongle (means TV recognize the dongle and could connect to another AP with WPA), I remember that I am offering a $100 bounty for the job. But no one came with a solution, yet.

Best solution to give WiFi internet access for this TV is buying a TL-703N device (~$20) and configure it to connect your WiFi network and serve the data thru ethernet jack. Connect it to your B series TV ethernet + USB ports and viola! When TV powered on, device will be powered also and serve internet thru ethernet jack. It's also tiny and you could hide it behind the your TV. Not need to work on your WiFi dongle.

stevejobs
Posts: 7
Joined: Mon Mar 03, 2014 6:44 am

Re: Please help me Changing VID and PID Values for Lexosys N

Post by stevejobs » Wed Apr 02, 2014 4:23 pm

I have bought this adapter as a user reported that it has worked in the below link in the comments section
http://woikr.com/home-entertainment/usi ... ternet-tv/

as

I was able to use Leoxsys LEO-NANO150N for the same purpose. I ordered it from Ebay India for a Rs.425 but I still had my doubts. I had asked the seller about the exact chipset. He wasn't sure but he said that I could return the product if it didn't meet my needs. I ordered it and tried the above method. Sadly, the RT2870 drivers didn't work. Neither was the adapter recognized, nor was the e2p ioctl was available. I had almost given up and thought of downloading the drivers from their website. So I downloaded the drivers and it turns out, this(2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.bz2) was the driver file. I downloaded all the build essentials, etc. as mentioned above and compiled the drivers. The adapter was detected and I was able to use it with ubuntu 10.04. Then, I just thought of trying the change the VID/PID with e2p ioctl. And voila! It worked. I connected the adapter to my Samsung UA40EH6030 TV and the TV got connected to my Wi-Fi immediately. So guys, add this Leoxsys Leo-Nano150N to the list of alternatives to the Samsung Wifi stick. This is the link to the Ebay India page of the product : http://www.ebay.in/itm/Ralink-RT2870-LE ... 338101ed70.

Another user in the comments section

I have also ordered the same dongle from ebay for 425/_. Waiting to be delivered in couple of days. You mentioned it will not work with 2870 driver even though vendor mentioned it to be RT2870 based dongle.

I also downloaded the new driver file you mentioned, but it creates only one module file for RT5370. Is that the one used with your dongle. Please confirm.

SAME USER AS ABOVE


Finally I got the LEON150 today from ebay. I could easily change the VID/PID for the dongle using 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.bz2 driver file with changes suggested on this forum. Once changed it was visible as Samsung Wifi Adapter from lsusb.



ANYWAY THANKS FOR THE REPLY I WILL TRY ANY OTHER ADAPTER WITH RT2870 OR I WILL USE A ROUTER WITH LAN PORT ON TV

ONCE AGAIN THANK YOU

User avatar
erdem_ua
SamyGO Admin
Posts: 3098
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Please help me Changing VID and PID Values for Lexosys N

Post by erdem_ua » Sat Apr 05, 2014 1:22 am

If you read carefully, user changed this USB pid/vid for UA40EH6030 means E series TV. Not For B series. So even if you are able to change your PID/VID, it's RT5370 device and B series TV doesn't gonna work properly with it. You have to find real RT2870 device for make the hack working on B series TV.
Regards,
Erdem

Post Reply

Return to “[B] Support”