Re. USB not found

1 view
Skip to first unread message

Alex Lee

unread,
Mar 26, 2013, 6:14:53 AM3/26/13
to MOBO...@googlegroups.com

try this old one

http://code.google.com/p/sdr-widget/downloads/detail?name=sdr-widget-2012-07-31.elf&can=2&q=

On 26 Mar 2013 18:05, <MOBO...@googlegroups.com> wrote:

Group: http://groups.google.com/group/MOBOKITS/topics

    marc olanie <marc....@gmail.com> Mar 26 09:53AM +0100  

    Hi Alex
     
     
    In fact, I'm using the sdr-widget-2012-10-22.elf which seems to be the
    very last one on the googlecode repo
     
    Which versions of the firmware is considered having the compatible Pid Vid
    ?
     
    Anyhow, as soon as I have some spare time, I’ll follow Sid’s advices and
    I’ll build the most recent version of the CLI & dsp servers
     
    73’
     
    Marc
     

     

You received this message because you are subscribed to the Google Group MOBOKITS.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
 
---
You received this message because you are subscribed to the Google Groups "MOBOKITS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to MOBOKITS+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

f6itu

unread,
Apr 1, 2013, 2:23:21 PM4/1/13
to MOBO...@googlegroups.com
Tnks Alex
 
But downgrading the firmware to adapt an old software version is not very elegant :- )) I'm not particularly tied to the "live" usb key version
 
I've followed Sid's advices  : a fresh and new kernel (64 bits this time), on a clean machine, then the installation of GHPSDR3-Alex strictly following build "readme" notes.
 
 
autoreconf -i
 
ran without problem.
 
But
 
./configure
 
hangs after a first "codec2" missing lib. Problem solved after compiling the lib (question allready documented on this ML)
 
But a new problem stops ./configure again. The script ask for Libevent2.0
 
Yet another question solved by Sid
but this "apt-get intall" solution don't work
 
I tried to install the lib this way
 
 

wget http://sourceforge.net/projects/levent/files/libevent/libevent-2.0/libevent-2.0.21-stable.tar.gz

tar zxvf libevent-2.0.21-stable.tar.gz

rm libevent-2.0.21-stable.tar.gz

cd libevent-2.0.21-stable

./configure

make

make clean

 

without any results. Still the same  error "The libevent-2.0 library and header file required to build ghpsdr3" during ./configure.

 

Where did I go wrong ?

 

73'

Marc

 

 

 

 

Sid Boyce

unread,
Apr 1, 2013, 7:05:12 PM4/1/13
to MOBO...@googlegroups.com
These are all from the repo and installed via apt-get install or synaptic.
It looks like you are missing "libevent-dev".
# dpkg -l|grep libevent
ii  libevent-2.0-5:amd64                                        2.0.19-stable-3                           amd64        Asynchronous event notification library
ii  libevent-core-2.0-5:amd64                                   2.0.19-stable-3                           amd64        Asynchronous event notification library (core)
ii  libevent-dev                                                2.0.19-stable-3                           amd64        Asynchronous event notification library (development files)
ii  libevent-extra-2.0-5:amd64                                  2.0.19-stable-3                           amd64        Asynchronous event notification library (extra)
ii  libevent-openssl-2.0-5:amd64                                2.0.19-stable-3                           amd64        Asynchronous event notification library (openssl)
ii  libevent-pthreads-2.0-5:amd64                               2.0.19-stable-3                           amd64        Asynchronous event notification library (pthreads)
ii  libeventviews4                                              4:4.9.5-0ubuntu0.1                        amd64        event view library

$ svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev
  $ cd codec2-dev
  $ ./configure
  $ make
  $ sudo make install
73 ... Sid.
--
 
---
You received this message because you are subscribed to the Google Groups "MOBOKITS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to MOBOKITS+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

f6itu

unread,
Apr 2, 2013, 5:01:19 AM4/2/13
to MOBO...@googlegroups.com
Tnks Sid
 
As I said, Codec2 have been installed without problem (thanks to you :-) ), and libevent lib too, including the -dev one... it really is a version problem
 
dpkg -l |grep libevent
ii  libevent-1.4-2                       1.4.13-stable-1                   An asynchronous event notification library
ii  libevent-core-1.4-2                  1.4.13-stable-1                   An asynchronous event notification library (core)
ii  libevent-dev                         1.4.13-stable-1                   Development libraries, header files and docs for libevent
ii  libevent-extra-1.4-2                 1.4.13-stable-1                   An asynchronous event notification library (extra)
 
the error message is logical : wrong version installed
 
2.0-x don't seems to be in the sqeeze repo.
 
I'll try to git-clone it during the day
 
Marc
 

f6itu

unread,
Apr 2, 2013, 6:08:55 AM4/2/13
to MOBO...@googlegroups.com
Gotcha !
 
(via git clone/autoconf/configure/make/make install)
 
Next build error : the ortp Library an header file required to build ghpsdr3
 
at last, if I'm still not able to listen to my mobo with Linux, I learn how to fill my hard drive with cryptic libraries :-)
 
:-)
Marc (hope I will have the skin of ortp)

f6itu

unread,
Apr 2, 2013, 7:03:31 AM4/2/13
to MOBO...@googlegroups.com
Hi
ortp lib installed (not easy to be found, the repo seems to change every 6 monthes)
 
 
Building ended with a
  -mstack-arg-probe                     [disabled]
  -mstackrealign                        [enabled]
  -mstringop-strategy=
  -mtls-dialect=
  -mtls-direct-seg-refs                 [enabled]
  -mtune=                               core2
  -muclibc                              [disabled]
  -mveclibabi=
-----------------------------------------------------
root@GHPSDR:/home/marc/ghpsdr3-alex# his token and others are legitimate, please use m4_pattern_allow.
 
so far so good
 
I think I can consider this thread as "resolved" with a big thank you to both of you
 
I'ts time to play with the hardware side. I'll open a new thread [if] [when] I'll be stuck with another problem
 
tnks agn
73'
Marc
 

Sid Boyce

unread,
Apr 2, 2013, 7:42:05 AM4/2/13
to MOBO...@googlegroups.com
Install codec2-dev not codec2, codec2 was superceded quite some time ago.
The repos are upgraded frequently but the latest versions always work.
# apt-cache search ortp
apt-utils - package managment related utility programs
libortp-dev - Real-time Transport Protocol stack
libortp8 - Real-time Transport Protocol stack
ubuntu-dev-tools - useful tools for Ubuntu developers

# dpkg -l|grep ortp
ii  libortp-dev                                3.3.2-4.1ubuntu1                           Real-time Transport Protocol stack
ii  libortp8                                   3.3.2-4.1ubuntu1                           Real-time Transport Protocol stack
73 ... Sid.
--
 
---
You received this message because you are subscribed to the Google Groups "MOBOKITS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to MOBOKITS+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Sid Boyce

unread,
Apr 2, 2013, 7:45:16 AM4/2/13
to MOBO...@googlegroups.com
libevent has been at 2.0.5 for quite some months.
I'm running Ubuntu 12.10. What are you running?
# dpkg -l |grep libevent
ii libevent-2.0-5 2.0.16-stable-1
Asynchronous event notification library
ii libevent-core-2.0-5 2.0.16-stable-1
Asynchronous event notification library (core)
ii libevent-dev 2.0.16-stable-1 Asynchronous
event notification library (development files)
ii libevent-extra-2.0-5 2.0.16-stable-1
Asynchronous event notification library (extra)
ii libevent-openssl-2.0-5 2.0.16-stable-1
Asynchronous event notification library (openssl)
ii libevent-pthreads-2.0-5 2.0.16-stable-1
Asynchronous event notification library (pthreads)
73 ... Sid.
> --
>
> ---
> You received this message because you are subscribed to the Google
> Groups "MOBOKITS" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to MOBOKITS+u...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>


f6itu

unread,
Apr 2, 2013, 11:56:29 AM4/2/13
to MOBO...@googlegroups.com, boyc...@gmail.com
Hi Sid
 
I'm relaunching the .configure after installing the lib codec2-dev located on
 
 
 I have no idea how to uninstall the former Codec2 lib and don't know how the GHPSDR3 configure script will handle that
 
I'm using a Debian 6.0.7 64 bits . No new version have been published since feb 23rd. No "unstable" repo have been added to the list. it seems that Libevent >1.4 is definitely not included by default in regular Debian squeeze repo. But installing it from git don't cause any problem
 
Anyhow, runing a "make" in the different subdirectories to create GHPSDR3 binaries ends with a bunch of errors
 
After installing the gtk development Tools that seems to be asked by the make, I still have many errors
 
 
I'm not sure if killing the debian and installing an Ubuntu will solve the problem. Too much installation understatement, too much prerequisite :- ))
 
73'
Marc
 
 
 
 
 
 

f6itu

unread,
Apr 2, 2013, 12:28:08 PM4/2/13
to MOBO...@googlegroups.com
Hi
Update
after installing libgs10-dev and running everything from scratch ( autoreconf –i /./configure /make all /make install ) and running "make" in each /trunk/src subdirectories, things seems to run smoothly without error  now (only warnings)
 
Binaries are (at last!) created in the "bin"folder (with root attribute, I've not yet chmoded or added any udev rule). I affraid I won't have enough time today.
 
Thks for your help
 
I'm beginning to understand some détails :- )
 
73'
Marc
 
 
 
 

Sid Boyce

unread,
Apr 2, 2013, 12:41:01 PM4/2/13
to MOBO...@googlegroups.com, f6itu
Good progress, "make install" will put the stuff bin to /usr/local/bin so you can just call them up by name without prefixing them with a path, i.e as
"softrock --iq --si570 --samplerate 96000 &"
"dspserver --share --lo 9000 --lookupcountry &"
73 ... Sid.
--
 
---
You received this message because you are subscribed to the Google Groups "MOBOKITS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to MOBOKITS+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

f6itu

unread,
Apr 2, 2013, 1:18:34 PM4/2/13
to MOBO...@googlegroups.com, f6itu, boyc...@gmail.com
Hi Sid
Make install sent me some insane words, but I'll have a look on it later, with the chmoding of the different binaries (everything has been compiled with root rights)
 
but it works : one proof
 
root@GHPSDR:/home/marc/ghpsdr3-alex/trunk/src/softrock# softrock --foobar
softrock: unrecognized option '--foobar'
invalid argument
Usage options:
        -s= or --samplerate
        -d= or --device (OSS audio device)
        -i= or --input (Port Audio device for input)
        -o= or --output (Port Audio device for output)
        --iq or --qi (to swap I and Q channels)
        --si570 (to use a unit having a Si570 oscillater)
        -v or --verbose
        -f= or --startupfreq (set Si570 startup frequency)
        -m= or --multiplier (set Si570 multiplier)
        --correctedfreq (set Si570 corrected frequency)
        --serialid
        --record filename (record to this file)
        --playback filename (playback this file)
        --receivers (number of receivers)
        -j or --jack (use Jack Audio Connection Kit for audio in/out)
root@GHPSDR:/home/marc/ghpsdr3-alex/trunk/src/softrock# 
 
this stuff is alive. For real
 
Excepted my fileserver whitch is a "ready made" Openmediavault NAS package for nobrainers (installation is "return, return, return, logon"), I've never touch a unix-like system since Xenix 2.3.1 (allready a System V). Most Packet Radio hams where using Minix and my first uucp radio link -the one with Xenix- was running at the incredible speed of 300 bauds on a 386 machine with 3 MB of ramdisk and a crazy 80 MB Core (or Atasi) SCSI HVD hard drive
 
You cannot imagine the quantity of dust you have swept in my brain in less than 3 days :-) But I feel I'll never be a K&R pundit :-/
 
Tnks again.
 
I'm affraid I'll have to bug this ML again and again, this is just the beginning.
 
73'
Marc
 
 
 
 
 
 

f6itu

unread,
Apr 6, 2013, 12:33:54 PM4/6/13
to MOBO...@googlegroups.com, f6itu, boyc...@gmail.com
 
Hi
 
The Softrock binary seems to run, but dspserver fails
The physical soundcard is an SDR-Widget driving a mobo, configured in UAC2 DG8SAQ (not audio), last version of firmware.
 
(the script returns
getSoundcardId: HPSDR id=8
setSoundcard: 8
setSoundcard -41.000000 -48.000000)
 
hereafter the trace of softrock and dspserver exécutables
 
By default, port 8000 11000 12000 & 15000 are open on my router (upd and tcp... )
 
73'
Marc
 
 
root@GHPSDR:/home# softrock --iq --si570 --samplerate 192000 &
[1] 3539
root@GHPSDR:/home# option samplerate with arg 192000
process_args: samplerate=192000
Listening for TCP connections on port 11000

[1]+  Done                    softrock --iq --si570 --samplerate 192000
root@GHPSDR:/home# dspserver --share --lo 9000 --lookupcountry &
[1] 3543
root@GHPSDR:/home# Country Lookup is On
Reading conf file /root/dspserver.conf
Country Lookup is On
Activating Web register
gHPSDR rx 0 (Version 0.7)
dspserver string: 20121226;-master
getSoundcardId: HPSDR id=8
setSoundcard: 8
setSoundcard -41.000000 -48.000000
setup sdr thread 0: done
setup sdr thread 1: done
setup sdr thread 2: done
client_thread
[2013-04-06 18:18:24] client_thread: listening on port 8000
G711A_init
ozy_init: command bound to port 12000 socket 9
ozy_init: audio bound to port 0 socket 10
ozy_init: server audio is in port 15000
ozy_init: server 127.0.0.1
ozy_init: connect failed: Connection refused

Alex Lee

unread,
Apr 7, 2013, 7:13:56 AM4/7/13
to MOBO...@googlegroups.com
[1]+  Done                    softrock --iq --si570 --samplerate 192000


Hi Marc,

See the above.  Why is the process "Done"???

It should NOT be done.  It should be running when dspserver tries to connect.

Please start softrock in a separate terminal window (without the &) so that you can see the error messages.

Alex

f6itu

unread,
Apr 9, 2013, 4:25:26 AM4/9/13
to MOBO...@googlegroups.com
tnks Alex.
 
That was indeed my fault... I'm working via an ssh terminal and didn't think about this obvious reason. I'll check it asap
 
Meanwhile, I've tried to rebuild a new version of GHPSDR3 on a fresh Ubuntu kernel (and another computer)
 
I have a " QAudioFormat: No such file or directory'' error during the Make. I'm using Qt 4.8.3...
but I think it's more a "all purpose obscure error message" caused by a bad Library version than a real Qt error. I
 
Any idea ?
 
73'
Marc
 
 
 

f6itu

unread,
Apr 9, 2013, 6:43:06 AM4/9/13
to MOBO...@googlegroups.com
Hi
 
yet anonther compiling error
 
I probably crashed something during tests last night... nothing was working anymore. That's the reason I started from scratch, wiping the ghpsdr3-Alex directory and downloading/autoconf/configure/make all etc again
 
During the "make all" the debian install answers
 
rtlsdr_server-listener.o: In function `listener_thread(void*)':
/home/marc/ghpsdr3-alex/trunk/src/rtlsdr/listener.cpp:97: undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make[2]: *** [rtlsdr-server] Erreur 1
make[2]: quittant le répertoire « /home/marc/ghpsdr3-alex/trunk/src/rtlsdr »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/marc/ghpsdr3-alex »
make: *** [all] Erreur 2

yesterday, everything was almost working, today, I'm on the verge of a binary suicide.
 
I'm beginning to remember why I stopped using Unix system some years ago  ;-)
 
Marc
 
 ,

Alex Lee

unread,
Apr 9, 2013, 10:37:02 AM4/9/13
to MOBO...@googlegroups.com
Please post to the sdr-widget group for ghpsdr3-alex issues.

If you are on the verge of giving up you might like to install teamviewer software and ask Andrea to help you. You will give control of your PC to Andrea and he will install things for you.

Alex

f6itu

unread,
Apr 9, 2013, 11:02:18 AM4/9/13
to MOBO...@googlegroups.com
awfully sorry Alex
I close this thread immediately.
 
.... and I don't intend to give up :-)
 
73'
Marc
 
Reply all
Reply to author
Forward
0 new messages