florentbr / OWON-VDS1022

Unofficial release for the OWON VDS1022/I Oscilloscope
249 stars 43 forks source link

linux debian detects the device but the software can not see it. #90

Open Sasanmaghami opened 7 months ago

Sasanmaghami commented 7 months ago

hello. i have installed linux deploy on android phone,then installed linux debian on it. the software installs and runs successfully but doesn't detect the oscilloscope. if use lsusb command, it shows owon pds6062T . it is probably recognizing the device as a wrong model right? it should show owon 1022 i think.

i also found the if i use usb-devices command: it shows infos about the scope. it also shows: Driver=(none). does it mean driver is not installed? any ideas how i can make software detect the scope?

florentbr commented 7 months ago

The VDS1022 shows as : Bus 001 Device 019: ID 5345:1234 Owon PDS6062T Oscilloscope

They likely use the same name/id for all their devices due to the prohibitive cost of a Windows certificate.

I don't know if it's possible to make it work on an Android platform/Hardware. It rely on libusb to communicate with the device, so it should in theory work as long as libusb work.

Sasanmaghami commented 7 months ago

thanks alot. is libusb something i should use to communicate with the scope and search for it?

florentbr commented 7 months ago

libusb is already present on linux. It could be an issue with permissions. Try to communicate with the device with the python API to see if there is an error. See https://github.com/libusb/libusb/wiki/Android