Pagina 1 di 1

problema installazione oscilloscopio USB

Inviato: martedì 13 luglio 2010, 14:33
da delorean
Salve a tutti,
ho un problema nell'installazione di un oscilloscopio digitale usb(Hantek DSO 2150). Per l'installazione sto seguendo questa guida
HantekDSO is a USB-oscilloscope software for
Hantek/Voltcraft/Darkwire/Protek/Acetech/e.t.c
DSO-2090/2150/2250/5200A/e.t.c. oscilloscopes.

It based on libusb and QT/OpenGL libraries. Project includes a firmware
extraction utility and udev rules file for loading firmware under Linux/Unix.

DSO software depends on:
- libusb (library to enable user space application programs to communicate with USB devices)
- Qt3 (cross-platform application and UI framework)
- mesa-libGL (open-source implementation of the OpenGL specification)
To successfully build a project you need to have all development packages installed
(libusb-devel, qt-devel (version 3.X), mesa-libGL-devel).

Firmware extraction utility depends on:
- libbfd (mechanism for the portable manipulation of object files in a variety of formats)
- libiberty (collection of subroutines used by various GNU programs)
Both libraries (libbfd and libiberty) included in binutils-devel package.

Also you need to have fxload utility installed in order to be able to upload firmware
in to the oscilloscope.


How to BUILD:
./configure
make
make install


How to INSTALL:

Firmware

You need to find the firmware for the oscilloscope (usually in the folder
/Driver on CD), convert it to .hex files, and make sure they get loaded
into the oscilloscope when it is connected.
Locate one of the following files, depending on the model of
your scope: DSO20901.SYS, DSO21001.SYS, DSO21501.SYS, DSO22501.SYS,
DSO520A1.SYS and put it in the folder with dsoextractfw utility.
All characters in the file name MUST be uppercase. Please, rename the file
to uppercase letters if need. Run the program dsoextractfw. It searches
for the files listed above in the current directory. If it finds any of
them, it creates two files named "DSOxxxx_firmware.hex" and "DSOxxxx_loader.hex". Move these files to /usr/share/HantekDSO/ .
Copy the file HantekDSO.rules to /etc/udev/rules.d/ .

Now, the firmware should be loaded automatically when the DSO is connected
to an USB port. Once the firmware is loaded, the LED on the DSO starts to
flash red. You can now run the program hantekdso. The LED will blink green.
Make sure you have sufficient privilegies on the USB device or run as root
(probably not recommended in the long run).
Ho digitato ./configure, però mi ha restituito alla fine della videata questo messaggio:

checking for kde-config... not found
configure: error: The important program kde-config was not found!
Please check whether you installed KDE correctly.

Che cosa devo fare? COme posso risolvere il problema? Ricordo che ho ubuntu netbook edition 10.04.
Ringrazio in anticipo.

Re: problema installazione oscilloscopio USB

Inviato: martedì 13 luglio 2010, 14:42
da crap0101
hai installato quello che chiede?
To successfully build a project you need to have all development packages installed
(libusb-devel, qt-devel (version 3.X), mesa-libGL-devel).
quelli di sicuro servono, forse anche altri. In pratica devi cercare con apt-get quei pacchetti e installare la versione *-dev. Poi riprovi col ./configure finche non ti manca più niente.

Re: problema installazione oscilloscopio USB

Inviato: martedì 13 luglio 2010, 18:50
da delorean
Ho provato a fare quello che mi hai detto e infatti mi mancavano alcuni pacchetti, però sono riuscito ad installare solamente libusb e libbfd, gli altri (Qt3, mesa-libGL, libiberty) non sono riuscito ad installarli perchè sono risultati pacchetti non trovati. Dove li posso cercare?

Re: problema installazione oscilloscopio USB

Inviato: mercoledì 14 luglio 2010, 12:30
da delorean
Digitando il comando:
./configure --without-arts
mi ha dato esito positivo, quindi ho digitato make,che però mi ha dato il seguente errore:
Makefile:864: attenzione: sovrascrittura dei comandi per l'obiettivo «clean-bcheck»
Makefile:827: attenzione: ignoramento dei vecchi comandi per l'obiettivo «clean-bcheck»
Makefile:869: attenzione: sovrascrittura dei comandi per l'obiettivo «bcheck-am»
Makefile:832: attenzione: ignoramento dei vecchi comandi per l'obiettivo «bcheck-am»
cd . && rm -f configure
cd . && make -f admin/Makefile.common configure
make[1]: ingresso nella directory «/home/netubuntu/Scrivania/HantekDSO»
# Unable to find autoconf!!
# Unable to find autoheader!!
# Unable to find autom4te!!
# Unable to find automake!!
# Unable to find aclocal!!
Can't open configure: No such file or directory.
make[1]: uscita dalla directory «/home/netubuntu/Scrivania/HantekDSO»
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure  --without-arts  --no-create --no-recursion
/bin/bash: ./configure: No such file or directory
make: *** [config.status] Errore 127
Che cosa devo fare per risolvere il problema?

Re: problema installazione oscilloscopio USB

Inviato: mercoledì 14 luglio 2010, 16:12
da crap0101
secondo me è, almeno la prima volta, installare tutto quello che richiede, così si è abbastanza sicuri di avere le cose a posto. Riguardo i pacchetti che non hai trovato, spesso i nomi non sono così simili, ti tocca cercare un pò con apt & co.

peer qt3 penso che dovresti installare
libqt3-mt-dev install
qt3-dev-tools install
ma prendila così com'è.

per l'errore

Codice: Seleziona tutto

# Unable to find autoconf!!
# Unable to find autoheader!!
# Unable to find autom4te!!
# Unable to find automake!!
# Unable to find aclocal!!
controlla questi

Re: problema installazione oscilloscopio USB

Inviato: sabato 17 luglio 2010, 14:29
da delorean
Ho installato le 2 librerie qt3 e ho installato autoconf, però mi da un altro tipo di errore:
Makefile:864: attenzione: sovrascrittura dei comandi per l'obiettivo «clean-bcheck»
Makefile:827: attenzione: ignoramento dei vecchi comandi per l'obiettivo «clean-bcheck»
Makefile:869: attenzione: sovrascrittura dei comandi per l'obiettivo «bcheck-am»
Makefile:832: attenzione: ignoramento dei vecchi comandi per l'obiettivo «bcheck-am»
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure  --without-arts  --no-create --no-recursion
configure: WARNING: unrecognized options: --without-arts
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
./configure: line 2019: syntax error near unexpected token `hantekdso,'
./configure: line 2019: `AM_INIT_AUTOMAKE(hantekdso, 0.5.3)'
make: *** [config.status] Errore 2
Come posso risolvere il problema?

Re: problema installazione oscilloscopio USB

Inviato: sabato 17 luglio 2010, 18:28
da crap0101
mah, l'errore sembrerebbe essere - per quanto strano - nel configure
./configure: line 2019: syntax error near unexpected token `hantekdso,'
./configure: line 2019: `AM_INIT_AUTOMAKE(hantekdso, 0.5.3)'
che è quello? forse c'era qualcosa da fare prima?
Apparte questo:
configure: WARNING: unrecognized options: --without-arts
sembra che non sia un' opzione, prova senza (anche se non dovrebbe interferire)

Re: problema installazione oscilloscopio USB

Inviato: domenica 18 luglio 2010, 20:01
da delorean
Se a configure non escludo arts, l'esecuzione si blocca e mi chiede la libreria mcopidl e di installare correttamente arts.
Ho provato a cercare meglio questo programma e sono riuscito a trovarlo, però dando configure mi viene richiesto di installare libaudiofile. Sono riuscito anche questo pacchetto a trovare, però quando do make install mi da il seguente errore:
Making install in libaudiofile
make[1]: ingresso nella directory «/home/netubuntu/Scrivania/audiofile-0.2.6/libaudiofile»
Making install in modules
make[2]: ingresso nella directory «/home/netubuntu/Scrivania/audiofile-0.2.6/libaudiofile/modules»
make[3]: ingresso nella directory «/home/netubuntu/Scrivania/audiofile-0.2.6/libaudiofile/modules»
make[3]: Non c'è da fare nulla per «install-exec-am»
make[3]: Non c'è da fare nulla per «install-data-am»
make[3]: uscita dalla directory «/home/netubuntu/Scrivania/audiofile-0.2.6/libaudiofile/modules»
make[2]: uscita dalla directory «/home/netubuntu/Scrivania/audiofile-0.2.6/libaudiofile/modules»
make[2]: ingresso nella directory «/home/netubuntu/Scrivania/audiofile-0.2.6/libaudiofile»
make[3]: ingresso nella directory «/home/netubuntu/Scrivania/audiofile-0.2.6/libaudiofile»
/bin/bash ../mkinstalldirs /usr/local/lib
/bin/bash ../libtool --mode=install /usr/bin/install -c  libaudiofile.la /usr/local/lib/libaudiofile.la
/usr/bin/install -c .libs/libaudiofile.so.0.0.2 /usr/local/lib/libaudiofile.so.0.0.2
/usr/bin/install: cannot create regular file `/usr/local/lib/libaudiofile.so.0.0.2': Permission denied
make[3]: *** [install-libLTLIBRARIES] Errore 1
make[3]: uscita dalla directory «/home/netubuntu/Scrivania/audiofile-0.2.6/libaudiofile»
make[2]: *** [install-am] Errore 2
make[2]: uscita dalla directory «/home/netubuntu/Scrivania/audiofile-0.2.6/libaudiofile»
make[1]: *** [install-recursive] Errore 1
make[1]: uscita dalla directory «/home/netubuntu/Scrivania/audiofile-0.2.6/libaudiofile»
make: *** [install-recursive] Errore 1
Come posso eliminare questi errori?