Welcome to Our Dreambox World - Japhar Sim - SuperSim
Forum Stats
12401 Members
237 Forums
7723 Topics
23804 Posts

Max Online: 4756 @ 02/20/20 11:12 PM
Newest Members
djmed, kiki21, nobles, Josef Novak, Mohmmed.59
12401 Registered Users
Who's Online
5 registered (Toysoft, fabrizio77, Admin, Herrleon, haki), 989 Guests and 210 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Top Posters
Admin 9876
Toysoft 2634
satsedhu 1713
fairbird 765
ludo19 442
Top Posters (30 Days)
Admin 19
dmr 8
Rtm79 4
Sasillo 3
Toysoft 3
March
M Tu W Th F Sa Su
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Topic Options
#320 - 11/16/14 08:00 AM Changing VID:PID Ralink 148f:7601
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
To modify VID:PID on Ralink 5370 USB Wifi Dongle.

If we change it to default Ralink 5370 it will work with any images that support this device without manually installing drivers through command line, can just download via dreambox menus, if you change the VID:PID to a Ralink 2870 device it will also work to images that have that driver installed or downloaded via dreambox (Older images support this device)

As a bonus, if you have a Samsung Smart TV or Samsung TV that supports Samsung Wifi Dongle, C/D/E series, you can change the VID:PID to the Samsung one listed at the bottom of the tutorial it will work as a offical �50 Samsung wifi dongle

WIFI dongle ;), You can buy Tenda w311M for �5 which works perfectly on this TV. (I use on mine) other 5730's can also be changed to work on the TV, just this is very cheap and I have thoroughly tested.

I accept no responsibility if you brick your device, you do this at your own risk. If you do accidentally make a mistake or want to change your pid back I will explain this process later on in these instructions!

Download and put Ubuntu 10.4.4 live CD to a USB stick, this version is tried and tested with my drivers, newer versions of Ubunto will not work and we want a clean enviroment with no existing drivers/modules

You need a USB stick with a minimum of 1GB capacity.

First download my attachment:

Then download Universal USB Installer

Plug USB pen drive in

Open Universal-USB-Installer-1.9.xx when downloaded, click

I agree.

Step 1 Select a linux distribution from drop down list,
from the dropdown list we want Ubuntu 10.04.X Desktop, tick Opted to Download the ISO and click YES

When the file has downloaded click browse and locate

ubuntu-10.04.4-desktop-i386.iso

Select your USB flash drive (Make sure it's the right
drive!), then make sure the format button is ticked.

Click create.

When this process is finished open your pendrive and copy the attatched driver file to it.

Reboot your computer, you may need to play with bios to
tell it to boot from USB or hit F12 on most computers to
bring up boot menu.

Make sure Wifi dongle is not plugged in yet!, otherwise
Ubuntu will load kernel modules for that device and we
don't want that.

Ubunutu will load, and hit enter when Ubuntu boot loader
comes up, dont't select any other options or install!.

You should see Ubuntu desktop, if you are using a laptop
with built in wifi, switch it off.

Navigate to top left side of screen and under Applications

launch terminal.

Now navigate to my driver file by typing the following
commands, hit enter after each one.

CD /
CD /cdrom

Once in that directory type:

sudo tar -jxvf ralink.tar.bz2 hit enter

Enter directory by typing cd /ralink hit enter

Next plug your usb stick in, and type in lsusb and hit

enter.

Look for your device and write down VID:PID Id's! this is important.

Now we need to check a file to see if your device is
supported by the driver, so type in:

sudo nano ./common/rtusb_dev_id.c

Then look for the line that says:
#ifdef RT5370

And see if any devices listed contain your VID:PID.
If not create a new line with your VID:PID

I.e {USB_DEVICE(0x1000,0x2000)},
change 1000 & 2000 to your VID:PID, or put your VID:PID in an existing one, don't worry about the manufacturers name next to it.

Once editited press ctrl O to write the file and ctrl X to exit

Now we need to check whether any modules are already loaded so enter this command in and hit enter:

lsmod | grep rt

See if any Ralink modules are listed, if you see RT28xx or RT53xx etc you need to unload them, hopefully none are listed but you can unload each one by typing sudo rmmod and each module name.

Now we are ready to compile the driver!, type the following and hit enter.

sudo make

This may take a few minutes but don't worry, let it complete.

Unplug your wifi dongle.

Once compiled load the module, so type:

sudo insmod os/linux/rt5370sta.ko

Plug the wifi dongle in

Next we need to bring the interface up by typing:

sudo ifconfig ra0 up (ignore any error msg)

To check it's working type:

iwpriv

If you get a list of ioctls you are doing well and following this correctly, if not go back and see what you have done wrong.

Now we are ready to enter new PID:VID values, in my example below we will use Ralink defaults for the 5370 for full compatability,

Type the following to change the VID

sudo iwpriv ra0 e2p 208=148F

And you should see:

ra0 e2p:0208=0x148F

Next the PID, so type:
sudo iwpriv ra0 e2p 20A=5370

And you should see

ra0 e2p:020A=5370


To check it's set the new VID:PID unplug the USB wifi stick, put it back in and type lsusb and hit enter. See if the values have changed .

If you make an error and accidentally set the wrong VID:PID do not worry, all you need to do is edit the file earlier in the tutorial and put the VID:PID that lsusb gives you and then type the following.

sudo make clean
sudo make


And follow all the steps again.

Also if you want to make a wifi dongle for a Samsung TV the
VID is 04E8
PID is 2018

If you do want to change it back from Samsung to original for some reason you will need to follow steps above to add this VID:PID to the config file before recompiling so it's recognised to allow you to change VID:PID again, also Ubuntu will try load 28xx/2870 modules so unload them with sudo rmmod with the module name

-------------

Alright yall, I just got my wireless usb device to work on ubuntu 10.10. I did alot of searching and I finally figured it out. this is what I did.

1.Download the linux drivers from this post, its called Ralink_RT3572USB_drv2400.zip

2.Extract them to a directory.

3.Make sure you have build-essential installed on your computer. you can do this by opening a terminal
and typing
sudo apt-get install build-essential

4.Now install linux headers so that you can compile the drivers.

sudo apt-get install linux-headers-$(uname -r)


5.Now in your terminal goto where you extracted the Ralink_RT3572USB_drv2400 files.
once in that directory type
sed -ir -e 's/^HAS_WPA_SUPPLICANT=n/HAS_WPA_SUPPLICANT=y/' -e 's/^HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n/HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y/' ./os/linux/config.mk

6.and then
sed -ir -e 's!^#endif // RT2870 //! {USB_DEVICE(0x13B1,0x002F)}, /* Linksys AE 1000 */\n#endif // RT2870 //!' ./common/rtusb_dev_id.c

7.Now then goto the directory where you extracted the Ralink_RT3572USB_drv2400 files and goto Ralink_RT3572USB_drv2400/include/os "NOTE your directory may be differnt!!!" just make sure your find the file called rt_linux.h and open it with a text editor.

8.Now that we have rt_linux.h opened goto line 1077 or search for string usb_buffer_alloc change this to usb_alloc_coherent

9.Now on line 1078 change usb_buffer_free to usb_free_coherent and and save that file.

10.Now you are ready to install the drivers. open your terminal and goto the directory where you extracted the drivers earlyer. and type

make && sudo make install

11. restart your computer and make sure that your adapter is plugged in.

These instructions are for xubuntu, and ubuntu 10.10 and newer. if you are using ubuntu 10.04 or older then do this process skipping step 7. and 8.
I'm using the ae1000 on a 550 mhz computer with 256 megs of ram using xbuntu. I have an up to date computer as well, this one was just for the a project.

sudo apt-get install wireless-tools

-------------

Ubuntu 10.4

sudo tar -jxvf ralink.tar.bz2

Code:
Andy � Mi Sep 14, 2011 5:05 pm
Ok, I managed to compile rt73 driver with e2p support.
I had to add these flags in Makefile:
WFLAGS += -DWPA_SUPPLICANT_SUPPORT
WFLAGS += -DNATIVE_WPA_SUPPLICANT_SUPPORT
WFLAGS += -DRALINK_ATE


Code:
I edited config.mk as specified in the wiki:

# Support ATE function
HAS_ATE=y

# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y

# Support Native WpaSupplicant for Network Manager
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

I then tried to change the EEprom values with:

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

but it was not writing anything. So I tried again 
without the hexadecimal prefix:

iwpriv ra0 e2p 208=04E8
iwpriv ra0 e2p 20A=2018

Bang! We get a Bus 001 Device 011: ID 04e8:2018 Samsung Electronics Co., Ltd 
WIS09ABGN LinkStick Wireless LAN Adapter!



-------------

sudo rmmod rt5370sta
sudo insmod os/linux/rt5370sta.ko
sudo ifconfig ra0 up
iwpriv
sudo iwpriv ra0 e2p 208=148F
sudo iwpriv ra0 e2p 20A=5370

sudo rmmod rt5572sta
sudo insmod os/linux/rt5572sta.ko
sudo ifconfig ra0 up
iwpriv

sudo rmmod mt7601Usta
sudo insmod os/linux/mt7601Usta.ko
sudo ifconfig ra0 up
iwpriv

-------------

http://www.mediatek.com/en/downloads/?sort=os

http://cdn-cw.mediatek.com/Downloads/linux/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2

http://cdn-cw.mediatek.com/Downloads/linux/DPO_RT5572_LinuxSTA_2.6.1.3_20121022.tar.bz2


Attachments
DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.zip (159 downloads)
DPO_RT5572_LinuxSTA_2.6.1.3_20121022.tar.zip (48 downloads)
2010_0709_RT2870_Linux_STA_v2.4.0.1.tar.zip (66 downloads)

_________________________

Top
#321 - 11/16/14 08:14 AM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
Bus 001 Device 007: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter

Code:
ubuntu:~/ralink/ralink$ iwpriv
lo        no private ioctls.

eth0      no private ioctls.

ra0       Available private ioctls :
          set              (8BE2) : set 1024 char  & get   0
          connStatus       (0004) : set 1024 char  & get 2047 char
          driverVer        (0005) : set 1024 char  & get 2047 char
          bainfo           (0006) : set 1024 char  & get 2047 char
          descinfo         (0007) : set 1024 char  & get 2047 char
          radio_off        (000A) : set 1024 char  & get 2047 char
          radio_on         (000B) : set 1024 char  & get 2047 char
          show             (0015) : set 1024 char  & get 2047 char
          adhocEntry       (0016) : set 1024 char  & get 2047 char
          bbp              (8BE3) : set 2047 char  & get 2047 char
          mac              (8BE5) : set 1024 char  & get 1024 char
          rf               (8BF3) : set 2047 char  & get 2047 char
          e2p              (8BE7) : set 1024 char  & get 1024 char
          stat             (8BE9) : set   0       & get 2047 char
          get_site_survey  (8BED) : set   0       & get 1024 char

_________________________

Top
#322 - 11/16/14 08:16 AM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
Bus 001 Device 009: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter

Code:
ubuntu:~/ralink/ralink$ iwpriv
lo        no private ioctls.

eth0      no private ioctls.

ra0       Available private ioctls :
          set              (8BE2) : set 1024 char  & get   0
          connStatus       (0004) : set 1024 char  & get 2047 char
          driverVer        (0005) : set 1024 char  & get 2047 char
          bainfo           (0006) : set 1024 char  & get 2047 char
          descinfo         (0007) : set 1024 char  & get 2047 char
          radio_off        (000A) : set 1024 char  & get 2047 char
          radio_on         (000B) : set 1024 char  & get 2047 char
          show             (0015) : set 1024 char  & get 2047 char
          adhocEntry       (0016) : set 1024 char  & get 2047 char
          bbp              (8BE3) : set 2047 char  & get 2047 char
          mac              (8BE5) : set 1024 char  & get 1024 char
          rf               (8BF3) : set 2047 char  & get 2047 char
          e2p              (8BE7) : set 1024 char  & get 1024 char
          stat             (8BE9) : set   0       & get 2047 char
          get_site_survey  (8BED) : set   0       & get 1024 char

_________________________

Top
#323 - 11/16/14 08:26 AM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
Bus 001 Device 008: ID 148f:7601 Ralink Technology, Corp.

Code:
ubuntu:~/ralink/drivers$ iwpriv
lo        no private ioctls.

ra0       Available private ioctls :
          set              (8BE2) : set 1024 char  & get   0
          connStatus       (0004) : set 1024 char  & get 2047 char
          driverVer        (0005) : set 1024 char  & get 2047 char
          bainfo           (0006) : set 1024 char  & get 2047 char
          descinfo         (0007) : set 1024 char  & get 2047 char
          radio_off        (000A) : set 1024 char  & get 2047 char
          radio_on         (000B) : set 1024 char  & get 2047 char
          show             (0015) : set 1024 char  & get 2047 char
          adhocEntry       (0016) : set 1024 char  & get 2047 char
          bbp              (8BE3) : set 2047 char  & get 2047 char
          mac              (8BE5) : set 1024 char  & get 1024 char
          rf               (8BF3) : set 2047 char  & get 2047 char
          e2p              (8BE7) : set 1024 char  & get 1024 char
          stat             (8BE9) : set   0       & get 2047 char
          get_site_survey  (8BED) : set   0       & get 1024 char

eth0      no private ioctls.


sudo ifconfig ra0 up
SIOCSIFFLAGS: Operation not permitted


Code:
Download Driver and Patch by using the links.

Do not connect the USB:

sudo apt-get install --reinstall linux-headers-generic build-essential  
tar xjf DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2  
cd DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/  
patch -p0 < ~/(ADD THE PATH)/rt2870-mt7601Usta-kuid_t-kgid_t.patch  
make  
su -c 'mkdir -p /etc/Wireless/RT2870STA/'  
su -c 'cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat'  

Connect the USB

su -c '/sbin/insmod os/linux/mt7601Usta.ko'

If works:

su -c 'make install'



http://www.comendatore.net/mediatek-mt7601-dongle-usb-wifi-sur-le-raspberry-pi/

No patch but change just in "os/linux/rt_linux.c"
ULONG RTDebugLevel = RT_DEBUG_TRACE;
into
ULONG RTDebugLevel = 0; // RT_DEBUG_TRACE;

sudo sudo rmmod mt7601Usta
sudo insmod os/linux/mt7601Usta.ko
sudo ifconfig ra0 up
iwpriv

Code:
ubuntu:~/7601$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

ra0       Ralink STA  ESSID:"11n-AP"  Nickname:"MT7601STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated
          Bit Rate:1 Mb/s
          RTS thr:off   Fragment thr:off
          Link Quality=10/100  Signal level:0 dBm  Noise level:0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0



Code:
ubuntu:~$ lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 009: ID 148f:7601 Ralink Technology, Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ubuntu:~$ sudo ifconfig ra0 up
ubuntu:~$ iwpriv
lo        no private ioctls.

eth0      no private ioctls.

ra0       Available private ioctls :
          set              (8BE2) : set 1024 char  & get   0
          connStatus       (0004) : set 1024 char  & get 2047 char
          driverVer        (0005) : set 1024 char  & get 2047 char
          bainfo           (0006) : set 1024 char  & get 2047 char
          descinfo         (0007) : set 1024 char  & get 2047 char
          radio_off        (000A) : set 1024 char  & get 2047 char
          radio_on         (000B) : set 1024 char  & get 2047 char
          show             (0015) : set 1024 char  & get 2047 char
          adhocEntry       (0016) : set 1024 char  & get 2047 char
          devinfo          (001A) : set 1024 char  & get 2047 char
          stainfo          (001B) : set 1024 char  & get 2047 char
          bbp              (8BE3) : set 2047 char  & get 2047 char
          mac              (8BE5) : set 1024 char  & get 1024 char
          rf               (8BF3) : set 2047 char  & get 2047 char
          e2p              (8BE7) : set 1024 char  & get 1024 char
          stat             (8BE9) : set   0       & get 2047 char
          get_site_survey  (8BED) : set   0       & get 1024 char

ubuntu:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

ra0       Ralink STA  ESSID:"11n-AP"  Nickname:"MT7601STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated
          Bit Rate:1 Mb/s
          RTS thr:off   Fragment thr:off
          Link Quality=10/100  Signal level:0 dBm  Noise level:0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0



Attachments
DPO_MT7601U_LinuxSTA_3.0.0.4_20130913_wPatch.rar (124 downloads)

_________________________

Top
#325 - 11/17/14 08:31 AM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
Bus 001 Device 013: ID 148f:2070 Ralink Technology, Corp. RT2070 Wireless Adapter

No Linux drivers found... If you have please PM me !
_________________________

Top
#340 - 11/30/14 05:31 PM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
Bus 001 Device 002: ID 148f:760b Ralink Technology, Corp.

Code:
ra0       Ralink STA  ESSID:"11n-AP"  Nickname:"MT7601STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated
          Bit Rate:1 Mb/s
          RTS thr:off   Fragment thr:off
          Link Quality=10/100  Signal level:0 dBm  Noise level:0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0



Code:
ra0       Available private ioctls :
          set              (8BE2) : set 1024 char  & get   0
          connStatus       (0004) : set 1024 char  & get 2047 char
          driverVer        (0005) : set 1024 char  & get 2047 char
          bainfo           (0006) : set 1024 char  & get 2047 char
          descinfo         (0007) : set 1024 char  & get 2047 char
          radio_off        (000A) : set 1024 char  & get 2047 char
          radio_on         (000B) : set 1024 char  & get 2047 char
          show             (0015) : set 1024 char  & get 2047 char
          adhocEntry       (0016) : set 1024 char  & get 2047 char
          devinfo          (001A) : set 1024 char  & get 2047 char
          stainfo          (001B) : set 1024 char  & get 2047 char
          bbp              (8BE3) : set 2047 char  & get 2047 char
          mac              (8BE5) : set 1024 char  & get 1024 char
          rf               (8BF3) : set 2047 char  & get 2047 char
          e2p              (8BE7) : set 1024 char  & get 1024 char
          stat             (8BE9) : set   0       & get 2047 char
          get_site_survey  (8BED) : set   0       & get 1024 char
_________________________

Top
#341 - 11/30/14 06:39 PM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
Bus 001 Device 007: ID 148f:7777 Ralink Technology, Corp.

Code:
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 008: ID 148f:7777 Ralink Technology, Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lo        no wireless extensions.

eth0      no wireless extensions.

ra0       Ralink STA  ESSID:"11n-AP"  Nickname:"RT7777STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated
          Bit Rate:1 Mb/s
          RTS thr:off   Fragment thr:off
          Link Quality=10/100  Signal level:0 dBm  Noise level:0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lo        no private ioctls.

eth0      no private ioctls.

ra0       Available private ioctls :
          set              (8BE2) : set 1024 char  & get   0
          connStatus       (0004) : set 1024 char  & get 2047 char
          driverVer        (0005) : set 1024 char  & get 2047 char
          bainfo           (0006) : set 1024 char  & get 2047 char
          descinfo         (0007) : set 1024 char  & get 2047 char
          radio_off        (000A) : set 1024 char  & get 2047 char
          radio_on         (000B) : set 1024 char  & get 2047 char
          show             (0015) : set 1024 char  & get 2047 char
          adhocEntry       (0016) : set 1024 char  & get 2047 char
          devinfo          (001A) : set 1024 char  & get 2047 char
          stainfo          (001B) : set 1024 char  & get 2047 char
          bbp              (8BE3) : set 2047 char  & get 2047 char
          mac              (8BE5) : set 1024 char  & get 1024 char
          rf               (8BF3) : set 2047 char  & get 2047 char
          e2p              (8BE7) : set 1024 char  & get 1024 char
          stat             (8BE9) : set   0       & get 2047 char
          get_site_survey  (8BED) : set   0       & get 1024 char
_________________________

Top
#10848 - 01/21/17 09:11 PM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
dnafigator Offline
stranger

Registered: 01/21/17
Posts: 2
Good day!
I'm trying to change VID:PID of my mt7601u adaprer. I tried different driver sources (3.0.0.1, 3.0.0.4, 2.4.0.1), patching them, replacing 'int' by kuid_t/kgid_t in include/os/tr_linux.h and adding -Wno-error=date-time in /os/linux/config.mk

With some of them everything works good,
except there's a permission error on the 'sudo ifconfig ra0 up' command (I suppose it is normal),
'sudo iwpriv' lists a lot of ioclts, including e2p,
'sudo iwpriv ra0 e2p 208=148F' outputs something like 'ra0 e2p:\n [0208]=0x148F' but the actual VID:PID remains the same.

What am I doing wrong and where to look for an error, if there's any?

Thank you in advance!

Top
#10850 - 01/21/17 11:42 PM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
Toysoft Online   content
Japhar Member
Carpal Tunnel

Registered: 10/22/10
Posts: 2634
We have no extra informations that on this topic, and perhaps your dongle is locked against any changes as well, we never know what could have been done.

If you want the latest generation Dongles RT7777, you can find them on the Japhar Team eshop at http://www.japhar.com/japhar/

Have a nice weekend !

TS
_________________________
DM8000, DM800se, DM500HD, DM800HD, DM7025, DM7020s, DM7000, DM500s
VU+ Solo, VU+ Uno, VU+ Duo, Kathrein UFS910
Tivusat, TNTSat, Fransat, SSR/TSR, BBC1-2-3/ITV
DE-OpenBlackHole 1.4 image : http://www.openblackhole.com/

Top
#10878 - 01/25/17 09:51 PM Re: Changing VID:PID Ralink 148f:7601 [Re: Toysoft]
dnafigator Offline
stranger

Registered: 01/21/17
Posts: 2
Thank you for you answer!

Top
#13096 - 07/23/17 08:39 PM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
ZZeD Offline
stranger

Registered: 07/22/17
Posts: 1
I can't change pid 7601 :-(
I do all that you write. But no errors.
ubuntu@ubuntu:~$ sudo iwpriv ra0 e2p 20a=3572
ra0 e2p:
[0x20A]:3572

If I restart system see the same pid:

ID 148f:7601 Ralink Technology, Corp.

What can i do?
I need VID 148F PID 3572

Top
#13097 - 07/23/17 09:23 PM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
Toysoft Online   content
Japhar Member
Carpal Tunnel

Registered: 10/22/10
Posts: 2634
You cannot change a 7601 to 3572, it will never be compatible.

TS
_________________________
DM8000, DM800se, DM500HD, DM800HD, DM7025, DM7020s, DM7000, DM500s
VU+ Solo, VU+ Uno, VU+ Duo, Kathrein UFS910
Tivusat, TNTSat, Fransat, SSR/TSR, BBC1-2-3/ITV
DE-OpenBlackHole 1.4 image : http://www.openblackhole.com/

Top
#15036 - 01/11/18 09:39 AM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
Cornel Offline
stranger

Registered: 01/11/18
Posts: 3
Hello sir, i managed to change lot of vid/pids until now, but i don't undestant wich driver used to change e2p in rt73 chip.
Can provide me a link to that driver?

Thank u.

Top
#15038 - 01/11/18 10:10 AM Re: Changing VID:PID Ralink 148f:7601 [Re: Cornel]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
All what we have is here,

Admin

Originally Posted By: Cornel
Hello sir, i managed to change lot of vid/pids until now, but i don't undestant wich driver used to change e2p in rt73 chip.
Can provide me a link to that driver?

Thank u.
_________________________

Top
#15041 - 01/11/18 12:27 PM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
Cornel Offline
stranger

Registered: 01/11/18
Posts: 3
Let me be in dissagre with u, as i said beore compiled all the drivers from here and from where found another, none work.

rt73 use rt2571 chip, and is not listed, if i add the vid/pid of my usb and load driver, led solid on but no response, it freeze and os along him.

in what makefile u added that lines? and what is the driver u used.

Thanks.

Top
#15042 - 01/11/18 12:29 PM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
Cornel Offline
stranger

Registered: 01/11/18
Posts: 3
Code:
Andy � Mi Sep 14, 2011 5:05 pm
Ok, I managed to compile rt73 driver with e2p support.
I had to add these flags in Makefile:
WFLAGS += -DWPA_SUPPLICANT_SUPPORT
WFLAGS += -DNATIVE_WPA_SUPPLICANT_SUPPORT
WFLAGS += -DRALINK_ATE


this is what i read upper.

Top
#15044 - 01/11/18 12:53 PM Re: Changing VID:PID Ralink 148f:7601 [Re: Cornel]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
Disagree to the fact that all we have is here... ? It's a fact, I don't see how you could disagree to a fact. I find this strange definitely. We don't have anything more than what is on this topic.

Admin

Originally Posted By: Cornel
Let me be in dissagre with u, as i said beore compiled all the drivers from here and from where found another, none work.

rt73 use rt2571 chip, and is not listed, if i add the vid/pid of my usb and load driver, led solid on but no response, it freeze and os along him.

in what makefile u added that lines? and what is the driver u used.

Thanks.
_________________________

Top
#15635 - 03/08/18 06:13 AM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
RustySpoons Offline
stranger

Registered: 02/26/18
Posts: 4
I wrote this first post about how to change VID:PID smile
Shame I lost all my posts when you started new forum frown

Top
#15637 - 03/08/18 12:33 PM Re: Changing VID:PID Ralink 148f:7601 [Re: RustySpoons]
Toysoft Online   content
Japhar Member
Carpal Tunnel

Registered: 10/22/10
Posts: 2634
;o), hopefully we saved your posts, as probably these were in another forum first that removed most of posts perhaps... we tried to collect as much as possible infos and published here to not loose them.

TS

Originally Posted By: RustySpoons
I wrote this first post about how to change VID:PID smile
Shame I lost all my posts when you started new forum frown
_________________________
DM8000, DM800se, DM500HD, DM800HD, DM7025, DM7020s, DM7000, DM500s
VU+ Solo, VU+ Uno, VU+ Duo, Kathrein UFS910
Tivusat, TNTSat, Fransat, SSR/TSR, BBC1-2-3/ITV
DE-OpenBlackHole 1.4 image : http://www.openblackhole.com/

Top
#15653 - 03/11/18 04:55 AM Re: Changing VID:PID Ralink 148f:7601 [Re: Toysoft]
RustySpoons Offline
stranger

Registered: 02/26/18
Posts: 4
Originally Posted By: Toysoft
;o), hopefully we saved your posts, as probably these were in another forum first that removed most of posts perhaps... we tried to collect as much as possible infos and published here to not loose them.

TS

Originally Posted By: RustySpoons
I wrote this first post about how to change VID:PID smile
Shame I lost all my posts when you started new forum frown


Hi TS smile

I was reading old forum on Wayback Machine, old posts are there but you can't log in sadly.
But it's nice to look back in time and see things.

I had VU+ box for 3 years so things must have changed a lot on the forums as I wasn't active for a bit. I still have my Ferrari DM800HD and started using it again, took me a while to find this one and had to register again.
I had 8a8f8 saved as the URL but that goes to a different forum now.
Nice to see most people are still here smile

Top
#15655 - 03/11/18 06:28 PM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
Toysoft Online   content
Japhar Member
Carpal Tunnel

Registered: 10/22/10
Posts: 2634
Hello !

Yes, for the VU+ Clones we got the VU J Board/Chip, so you can upgrade to use original images ;o).

And for your DM800HD, if you swap the sim to a Japhar Sim, you can then use all images from Ferrari, Sim2 and Japhar, only with one sim, the Japhar Sim... and you have the latest OpenPLi 6++ that supports IPTV, so a big step ahead for a DM800HD !

TS
_________________________
DM8000, DM800se, DM500HD, DM800HD, DM7025, DM7020s, DM7000, DM500s
VU+ Solo, VU+ Uno, VU+ Duo, Kathrein UFS910
Tivusat, TNTSat, Fransat, SSR/TSR, BBC1-2-3/ITV
DE-OpenBlackHole 1.4 image : http://www.openblackhole.com/

Top
#20153 - 12/09/19 03:06 AM Re: Changing VID:PID Ralink 148f:7601 [Re: Admin]
delfi Offline
VIPF Japhar - PurE2
stranger

Registered: 11/09/14
Posts: 7
Well, this is a bit old thread, but intention is to spare some time for anybody trying to use **iwpriv** (and to remind me never to mess with WiFi drivers even if a good friend asks for it:) )

This is just a coarse bunch of suggestions as there are simply too many specifics and "what if" and "ahh, then else" situations, but could be useful as a start.



a)
In most cases one needs some Linux distro with 2.6.xx-xx kernel.
This punishment is a sort of prerequisite for "iwpriv" command to work properly. See boring tech note 1.
Venerable ubuntu 10.04 should do nicely (with some hocus-pocus).

32 bit image: 10.04 desktop


b)
Once the image is downloaded, flash it to an 4GB+ USB stick, preferably, with some tool that supports persistence. For Linux check something like mkusb:
HowTo for Win, there are a few USB writers that support this feature. Please google it.

Flash the ISO. Try to avoid latest and best USB 3.x sticks as they **might** NOT boot from an older PC/laptop. See boring tech note 2.

c)
Once you boot your laptop/whatever from an USB stick, we do enter a bit of drama. See boring tech note 3.

At this stage one should be able to use "iwpriv" in RW mode.
For more advanced stuff or possible other needs:

d) OPTIONAL
Install a HEX editor: "sudo apt-get install okteta" (this is a biggie as it usess KDE support environ, sadly, "bless" or similar are not in the feeds).
Crucial for me: install mc (sort of NC clone from MSDOS days). Again, not in the feeds, get it from, say, mc for old stuff
Just a reminder - See boring tech note 4.


With the last step one could edit *.ko drivers and change ViD/PiD to make drivers support a normal OS (say you want to get back an old Samsung only WiFi adapter or vice versa).

Or, compile a driver that needs "iwpriv" fix. Check the old, or rather original and working for this purpose sources from the 1st post. You might wish to add your ViD/PiD in a file that defines it, usually something along lines of "rtusb_dev_id.c". dev-id in the name should point you to the right stuff.

For 5370 devices e2p addresses are 208 for ViD and 20A for PiD
"sudo iwpriv ra0 e2p 208=140f" (or 4E8 for Samsung TV)
"sudo iwpriv ra0 e2p 20a=5370" (or 2018 to make it for Samsung TV)

For 7601 devices e2p addresses are 12 for ViD and 14 for PiD

Again, this is really not a "how to" guide but a simple directions. Hope it helps someone.


*****
Boring Tech Note 1:
Anything newer with kernel above 2.6.xx-xx will make your life miserable. On some older distros like Mint 13, iwpriv might read data, but canNOT write it to nvram/eeprom. VMware or Virtualbox may work, but you'll spend more time adjusting it then preparing/booting good ole' 10.04.x from an USB stick.

Boring Tech Note 2:
It might be prudent to use an older (say 2005+ up to 2015 laptop/Desktop). Newer/newest boxes should work, but if you get in trouble with unrecognized HW --> not worth the trouble.

Boring Tech Note 3:
Feeds for old ubuntu, as is, are down. The list for updates/sw dload points to a non existing url in "/etc/apt/sources.list". You might not need them, otherwise: from the terminal enter: "sudo sed -i 's/archive/old-releases/' /etc/apt/sources.list" OR "gksudo etc/apt/sources.list" and replace all the occurances of 'archive' with 'old-releases'
After this step, do type in the terminal; "sudo apt-get update"

Boring Tech Note 4:
New linux distros (some of them) enforce digital signing of drivers (*.ko stuff). Therefore, one cannot hexedit them.


Top



Moderator:  fairbird, gaga24 
New Topics
ERROR after flashing OpenPLi 8.X star 20230624
by Sasillo
03/25/24 06:27 PM
Fatal: Target device '/dev/dreambox-rootf
s' is not

by Admin
03/22/24 02:45 PM
EchoStar wins DoD extensions for private 5G
by Admin
03/19/24 02:56 PM
DM900 red light
by slavekpl
03/17/24 03:42 PM
openpli-enigma2-8xst
ar-dm820 epgimport not install

by dmr
03/13/24 09:09 AM
openpli-20240306-GCC
-13.2-dm820

by dmr
03/12/24 01:01 PM
Build your own OSCam... Ubuntu 18 and 22 svn11737
by Admin
03/04/24 10:37 PM
EchoStar bleeds Boost Mobile subscribers
by Admin
03/04/24 04:35 PM
Old DM800HDpvr
by Rtm79
03/03/24 06:32 PM
Saluti
by Rtm79
03/03/24 06:19 PM
DM7020HD : OpenPLi 8.xStar 20240303 GSt 1.20.5
by Admin
03/03/24 12:57 PM
DM7020HD : OpenPLi 8.xStar 20240303 GSt 1.20.5
by Admin
03/03/24 12:57 PM