Author Topic: Hacking the Rigol DHO800/900 Scope  (Read 1677929 times)

Vovas, Aleksandr, Awp and 5 Guests are viewing this topic.

Offline norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 291
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2900 on: September 13, 2024, 12:11:17 am »
adb is being ran from windows

What???

.sh means little on linux, the 1st line of a shell script defines how it will execute. Shell script needs +x permission, or at least a 700 if you're in as root.

sh doesn't means "little". Also, You don't need write permissions if You need to execute a script. Only read and execute. If You are real root (uid=0), then You need nothing.

Online Aleksandr

  • Regular Contributor
  • *
  • Posts: 54
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2901 on: September 14, 2024, 07:34:07 am »
Simple to make!
Sure. :) 
@Mechatrommer has tried, but I am not sure what the current status is, and I can't find the thread where he reported on his progress. Last I recall it was "kind of working"?
sorry for late reply i havent attend eevblog lately. i need to organize my life and still trying to complete other tasks... anyway, yes its working but noise spec is not really nice.. thats the last hindrance imho... few weeks ago i tried to get back to it for a moment, but i'm still at 5-10mVpp noise/crosstalk after some quick tin hat hack. i have pcb ver3 that i havent populate but guesstimating from current situation, i might not get very far with this, i might need to do total components reshuffling to move away smps noise to somewhere farther (i tried to be cheap on smps i think this is what shot me back), but since space is limited i cant do much, the other option is to follow closely how smpses in original board are made and what ICs used. i hope i can get back populating pcb ver3 soon and i think that will be the last revision i'm gonna do before publishing report, whatever the noise figure will be.. i'm tired of this there a lot of other tasks suspended because of this hobby. cheers.

And if you had a complete electrical circuit, could you completely replicate it in hardware? Help make a printed circuit board?
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11713
  • Country: my
  • reassessing directives...
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2902 on: September 14, 2024, 11:50:59 am »
And if you had a complete electrical circuit, could you completely replicate it in hardware? Help make a printed circuit board?
i've completed my own diy electrical circuit and have completely replicate it in hardware and i did printed circuit board much earlier. your questions are a bit confusing... ;D
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Online Aleksandr

  • Regular Contributor
  • *
  • Posts: 54
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2903 on: September 15, 2024, 03:50:19 pm »
And if you had a complete electrical circuit, could you completely replicate it in hardware? Help make a printed circuit board?
i've completed my own diy electrical circuit and have completely replicate it in hardware and i did printed circuit board much earlier. your questions are a bit confusing... ;D
I am posting the generator diagram for your judgment, sorry there may be some minor flaws. And so the painstaking work was done, the circuit was obtained, now someone needs to make a printed circuit board, the elements were removed from the board and their value was measured
 
The following users thanked this post: Mechatrommer, Pinkus, TurboTom, AndyBig, gabiz_ro, diegodgo, Vovas, norbert.kiszka, Preda-Fran

Offline AndyBig

  • Frequent Contributor
  • **
  • Posts: 400
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2904 on: September 15, 2024, 03:56:38 pm »
I am posting the generator diagram for your judgment, sorry there may be some minor flaws. And so the painstaking work was done, the circuit was obtained, now someone needs to make a printed circuit board, the elements were removed from the board and their value was measured
Damn, this is very impressive work! No words... I would give you five pluses if it were possible :)
And the circuit is also made strictly according to GOST, immediately recognizable as a serious engineer :)))
« Last Edit: September 15, 2024, 03:58:13 pm by AndyBig »
 

Offline MartynC

  • Newbie
  • Posts: 3
  • Country: us
Another wifi dongle post. There maybe another version RTL8188GU
« Reply #2905 on: September 19, 2024, 04:01:12 am »
Just bought a couple of the TL-WN725N USB dongle adapters. Followed the guides to add to the Rigol DHO800. No success. The dongle is not recognised by the scope and and I unable to turn on wifi on in the Android settings (when I try the wifi toggle button bounces straight back to off).

Scope firmware (Utility -> About) : 00.01.02 SP2

   
The dongle I have is labelled as 240806 Ver 3.0. When first plugged in to a windows PC it acts as a usb memory device and contains 2 files.  The Windows PC does not recognised the dongle as a wifi dongle.
 - setup.inf
 - setup.exe

setup.exe installs drivers for RTL8188GU:
 - PBR_RTL8188GU.txt
 - rtl8188gu.sys
 - vwifibus.sys

driver date: 09/04/2018
driver version: 1040.1.1205.2017


After install the dongle works fine on the windows PC (no longer seen as a memory device) and it appears in Device Manager as TP-LINK Wireless USB Adapter

These are Chinese versions purchased from Taobao. I am now wondering if this is a local/regional version.

An online search shows me lots of people looking for linux drivers but I cannot find anything for Android.
« Last Edit: September 19, 2024, 04:08:33 am by MartynC »
 

Offline norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 291
  • Country: pl
Re: Another wifi dongle post. There maybe another version RTL8188GU
« Reply #2906 on: September 19, 2024, 04:08:21 am »
TL-WN725N

There are two or three completely different wifi dongles with that model number. Different chipset = most likely different Linux kernel module (driver). This scope have only one compiled wifi module, and You can compile more modules - but only if You have a source code - You can ask Rigol to give You that, since it's a GPL licensed software.

Offline MartynC

  • Newbie
  • Posts: 3
  • Country: us
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2907 on: September 19, 2024, 04:12:57 am »
Quote
There are two or three completely different wifi dongles with that model number. Different chipset = most likely different Linux kernel module (driver)

So I am discovering.
Had thought there was only 2 versions. Made sure I purchased Ver 3. Didn't help :-(
 

Offline norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 291
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2908 on: September 19, 2024, 04:17:05 am »
Quote
There are two or three completely different wifi dongles with that model number. Different chipset = most likely different Linux kernel module (driver)

So I am discovering.
Had thought there was only 2 versions. Made sure I purchased Ver 3. Didn't help :-(

Check modules in a /rigol/driver/

Check if module is loaded with lsmod.

Turn it on when dongle is connected already.

Try to load it by hand with insmod. If this will not help, this dongle will not work.

Offline MartynC

  • Newbie
  • Posts: 3
  • Country: us
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2909 on: September 19, 2024, 05:10:23 am »

Quote
Check modules in a /rigol/driver/

Check if module is loaded with lsmod.

Not sure how to do this at the moment. Will see if I can figure it out.




Followed the instruction in https://www.eevblog.com/forum/testgear/hacking-the-rigol-dho800900-scope/msg5269047/?topicseen#msg5269047

The dongle is shown as  usb-storage 3-1:1.0: USB Mass Storage device detected which fits with what I got using Windows. So it looks like, to me at least, the device is detected as a storage device until drivers are installed.


rk3399_rigol:/ # dmesg
rk3399_rigol:/ # lsusb
Bus 003 Device 001: ID 1d6b:0002
Bus 004 Device 001: ID 1d6b:0003
rk3399_rigol:/ #
rk3399_rigol:/ # lsusb
Bus 003 Device 002: ID 0bda:1a2b
Bus 003 Device 001: ID 1d6b:0002
Bus 004 Device 001: ID 1d6b:0003
rk3399_rigol:/ # dmesg
[  140.299442] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[  140.420173] usb 3-1: New USB device found, idVendor=0bda, idProduct=1a2b
[  140.420257] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  140.420272] usb 3-1: Product: DISK
[  140.420286] usb 3-1: Manufacturer: Realtek
[  140.425235] usb-storage 3-1:1.0: USB Mass Storage device detected
[  140.426941] scsi host0: usb-storage 3-1:1.0
[  140.672140] SELinux: Unable to set superblock options before the security server is initialized
[  141.430675] scsi 0:0:0:0: CD-ROM            Realtek  USB Disk autorun 1.00 PQ: 0 ANSI: 0 CCS
[  141.435230] scsi 0:0:0:0: Attached scsi generic sg0 type 5


 

Offline norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 291
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2910 on: September 19, 2024, 11:43:35 am »
lsmod



Turn it on when dongle is connected already.

Try to load it by hand with insmod. If this will not help, this dongle will not work.

I will not repeat this third time in a row.

Also my lsmod and lsub:

Quote
rk3399_rigol:/ # lsmod
Module                  Size  Used by
focaltech_ts          213735  0
8188eu               2016009  0
dac_gpio                3444  0
fg_m2c_gpio             2719  0
beeper_gpio             3684  0
spi2afe_gpio            5571  0
xdma                   99943  0
pcie_rockchip          20793  0
afg_gpio                3109  0
spi2pll_lxm2582_gpio     3111  0
hdcode_gpio             2304  0
motorcomm              17303  0
fan_gpio_clt            1694  0
rk3399_rigol:/ # lsusb
Bus 003 Device 002: ID 214b:7250
Bus 002 Device 001: ID 1d6b:0003
Bus 003 Device 001: ID 1d6b:0002
Bus 003 Device 003: ID 248a:8367
Bus 003 Device 004: ID 0bda:8179
Bus 003 Device 005: ID 1a2c:2124

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6973
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2911 on: September 19, 2024, 11:56:08 am »
setup.exe installs drivers for RTL8188GU:
 - PBR_RTL8188GU.txt
 - rtl8188gu.sys
 - vwifibus.sys
[...]
These are Chinese versions purchased from Taobao. I am now wondering if this is a local/regional version.

It seems that RTL8188GU is not the same as RTL8188EU, and unfortunately only the latter is compatible with the driver Rigol has pre-installed. And it indeed looks like you got a version for the local Chinese market only -- my "TL-WN725N(EU) Ver:3.0" has CE and FCC marks as well as an FCC ID on the USB plug.
« Last Edit: September 19, 2024, 11:58:00 am by ebastler »
 
The following users thanked this post: Fungus

Online Aleksandr

  • Regular Contributor
  • *
  • Posts: 54
  • Country: ru
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2912 on: September 25, 2024, 04:50:43 pm »
I am posting the second version of the AFG circuit with minor corrections to the circuit; there were some inaccuracies in the circuit design and element positions.
 
The following users thanked this post: Mechatrommer, TurboTom, AndyBig, gabiz_ro, norbert.kiszka

Online Fungus

  • Super Contributor
  • ***
  • Posts: 17184
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #2913 on: September 26, 2024, 02:11:16 am »
It seems that RTL8188GU is not the same as RTL8188EU, and unfortunately only the latter is compatible with the driver Rigol has pre-installed. And it indeed looks like you got a version for the local Chinese market only -- my "TL-WN725N(EU) Ver:3.0" has CE and FCC marks as well as an FCC ID on the USB plug.

When I got mine I just searched for "RTL8188EU" on Amazon and bought the one that came up.

It was a TP-Link TL-WN725N and it cost me about 7 Euros
 
The following users thanked this post: Vovas


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf