Re: [DNG] Tried Debian Stretch with systemd out of constrainsts
On Sat, 11 Jan 2020 20:18:09 + Edward Bartolo via Dng wrote: > Hi, > > First of all thanks for replying. It seems the driver is installed > according to usb-devices. The interesting stanza is the following: > > T: Bus=07 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 6 Spd=480 MxCh= 0 > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=04b5 ProdID=6cde Rev=00.00 > S: Manufacturer=ODM > S: Product=DSO Device > C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA > I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) > > Running both the manufacturer's graphical frontend for the > oscilloscope under wine and openhantek fail to detect the > oscilloscope. For both of them the oscilloscope does not exist. > > The firmware and its loader have been extracted from the Windows > drivers. > > Knowing the vendor ID and the Product ID I should be able to > communicate with the oscilloscope. Any ideas how this can be done? Just my 2c. The easiest is to adapt some existing(past?) piece of software that drives something similar. As far as using the V-ID & P-ID, this might be similar to some of the (recent) hacking to get various flatbed paper scanners working where it was necessary to add an entry to udev(?) As to software, it as to be about two decades ago when I saw a presentation at a LUG of a PC driven Oscilloscope that was primarily to run under Linux, It has since been released, but i do not know if the software is FOSS. Last suggestion is to trawl Github or similar repository for software you could adapt, ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Tried Debian Stretch with systemd out of constrainsts
On 11/01/2020 21:15, Florian Zieboll wrote: > On January 11, 2020 9:18:09 PM GMT+01:00, Edward Bartolo via Dng > wrote: > >> Knowing the vendor ID and the Product ID I should be able to >> communicate with the oscilloscope. Any ideas how this can be done? > > > Out of couriosity, I just websearched for openhantek, and found this fork: > > https://github.com/OpenHantek/OpenHantek6022/blob/master/readme.md > > There is some udev rule mentioned (which is the first thing I had thought of > when readong your message) and probably a lot more useful information. And eevblog seems to be the place to go to find others attempts to use Linux. Note the suggestion NOT to upload the firmware :) https://www.eevblog.com/forum/testgear/hantek-6254bd-250mhz-1gsas-pcusb-dso/ > > libre Grüße, > Florian > > > > [message sent otg] > ___ > Dng mailing list > Dng@lists.dyne.org > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng > ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Tried Debian Stretch with systemd out of constrainsts
On January 11, 2020 9:18:09 PM GMT+01:00, Edward Bartolo via Dng wrote: > Knowing the vendor ID and the Product ID I should be able to > communicate with the oscilloscope. Any ideas how this can be done? Out of couriosity, I just websearched for openhantek, and found this fork: https://github.com/OpenHantek/OpenHantek6022/blob/master/readme.md There is some udev rule mentioned (which is the first thing I had thought of when readong your message) and probably a lot more useful information. libre Grüße, Florian [message sent otg] ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Tried Debian Stretch with systemd out of constrainsts
On 10/01/2020 17:28, Andreas Messer wrote: > On Thu, Jan 09, 2020 at 10:04:28PM +0100, Edward Bartolo via Dng wrote: >> [...] >> >> I still have yet not figured out how to avoid having to use snapd and >> install the firmware for the oscilloscope, Hantek 6000B (USB). I have >> successfully extracted .hex files from the MS Windows drivers but have >> no idea what to do with these hex files which are supposed to contain >> the oscilloscope's firmware. The openhantek package has a .rules udev >> file to enable detection of the oscilloscope. However, the kernel >> still wants to know where to look for the oscilloscope's firmware, and >> that particular information is missing. > > Firmware file for the linux kernel usually reside in /lib/firmware. You > could try to copy your hex files there. Make sure to use proper name as > expected by kernel. > > What do you need snapd for? > > cheers, > Andreas > 'modinfo ' should show you the firmware name and path (under /lib/firmware) that the module expects. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Tried Debian Stretch with systemd out of constrainsts
On Thu, Jan 09, 2020 at 10:04:28PM +0100, Edward Bartolo via Dng wrote: > [...] > > I still have yet not figured out how to avoid having to use snapd and > install the firmware for the oscilloscope, Hantek 6000B (USB). I have > successfully extracted .hex files from the MS Windows drivers but have > no idea what to do with these hex files which are supposed to contain > the oscilloscope's firmware. The openhantek package has a .rules udev > file to enable detection of the oscilloscope. However, the kernel > still wants to know where to look for the oscilloscope's firmware, and > that particular information is missing. Firmware file for the linux kernel usually reside in /lib/firmware. You could try to copy your hex files there. Make sure to use proper name as expected by kernel. What do you need snapd for? cheers, Andreas -- gnuPG keyid: 8C2BAF51 fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51 signature.asc Description: PGP signature ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng