Reply
Thread Tools
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#41
Originally Posted by xes View Post
BUT pay attention that during host-mode you can't read the battery status because bme is disabled so i suppose that battery-eye reads always a 0% battery as soon as you switch the usb mode.
For real battery usage tests, using Pali's bme-replacement seems appropriate. It even makes normal hildon battery meters up-to-date while in hostmode (not to mention possibility of getting more accurate data via bq27x00_battery sysfs entries).

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 3 Users Say Thank You to Estel For This Useful Post:
Posts: 15 | Thanked: 17 times | Joined on Jan 2009
#42
Checking in to say it works.

Had to reboot after first install before libusb would work properly. rtl_fm worked but I never got any audio out of aplay. Might be a root user issue, dunno. Ran at about 80% CPU usage.

Had some trouble with some libboost deps for gqrx, couldn't find the newest version with apt-get so I just grabbed them straight off the repos. The UI/FFT runs very smoothly if you disable any and all demodulation. I managed to run that for maybe an hour before my battery went completely flat. The screen did turn off so it might only be half an hour of good running time. I did have to run it as root to get it to use the rtl dongle properly.

gqrx did peg CPU usage at 100% the whole time but the phone was surprisingly responsive the whole time. The main interface isn't too bad either on the N900 (If you keep samples <1.024MSps). I'd say it's one of the better applications out there for mobile SDR FFT viewing (better than SDR Touch or ghsphr or whatever it is).

Here's a screenshot for good measure:


edit: Sound works fine. Silent mode was on.

Last edited by bobbarker; 2013-09-12 at 01:50. Reason: more info
 

The Following 5 Users Say Thank You to bobbarker For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#43
Originally Posted by bobbarker View Post
Checking in to say it works.

Had to reboot after first install before libusb would work properly. rtl_fm worked but I never got any audio out of aplay. Might be a root user issue, dunno. Ran at about 80% CPU usage.

Had some trouble with some libboost deps for gqrx, couldn't find the newest version with apt-get so I just grabbed them straight off the repos. The UI/FFT runs very smoothly if you disable any and all demodulation. I managed to run that for maybe an hour before my battery went completely flat. The screen did turn off so it might only be half an hour of good running time. I did have to run it as root to get it to use the rtl dongle properly.

gqrx did peg CPU usage at 100% the whole time but the phone was surprisingly responsive the whole time. The main interface isn't too bad either on the N900 (If you keep samples <1.024MSps). I'd say it's one of the better applications out there for mobile SDR FFT viewing (better than SDR Touch or ghsphr or whatever it is).

Here's a screenshot for good measure:
http://i.imgur.com/XDJiyrq.png

edit: Sound works fine. Silent mode was on.
Thank you for the nice report and for the screenshot.
I have just added in the first post a list of the packages required to run this tools.
 

The Following 5 Users Say Thank You to xes For This Useful Post:
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#44
for running sth as root, consider run-standalone.sh
The battery usage for hostmode is maximum 200mA/3.7V*5V = 270mA, on top of anything the N900 uses for itself. Not that much actually. A battery could support this for 5h, of course less with the additional load for N900 SoC, display, etc

/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 

The Following 5 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 15 | Thanked: 17 times | Joined on Jan 2009
#45
Originally Posted by xes View Post
Thank you for the nice report and for the screenshot.
I have just added in the first post a list of the packages required to run this tools.
For the apt-get line you have I think liborc and numpy have different names in the repos. I think its liborc-0.4-0 and python-numpy.
 

The Following 4 Users Say Thank You to bobbarker For This Useful Post:
Posts: 15 | Thanked: 17 times | Joined on Jan 2009
#46
Anyone feel like compiling dsd? gcc and ld are jacked up on my N900 and I can't even compile basic stuff.
 
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#47
Originally Posted by bobbarker
For the apt-get line you have I think liborc and numpy have different names in the repos. I think its liborc-0.4-0 and python-numpy.
Fixed. Thanks!

Originally Posted by bobbarker View Post
Anyone feel like compiling dsd? gcc and ld are jacked up on my N900 and I can't even compile basic stuff.
I have just verified that building this software and the required mbelib is not a problem at all.
But... considering the encodings managed by this application, i don't think that it would be useful in any way to share this application for ham radio or experimental purposes.

Last edited by xes; 2013-09-13 at 07:55.
 
Posts: 15 | Thanked: 17 times | Joined on Jan 2009
#48
Originally Posted by xes View Post
i don't think that it would be useful in any way to share this application for ham radio or experimental purposes.
Fair enough. Guess I'll bite the bullet and setup scratchbox.
 

The Following 2 Users Say Thank You to bobbarker For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#49
Do you like NOAA images?

Here you can find atpdec and wxapt for the N900:
http://ge.tt/2QpmiMs

(wxapt is untested)

An example to decode a wav(recorded from a Noaa transmission):
------------------------------------------------------------


$ wget http://www.damside.freeserve.co.uk/miniNOAA.zip
$ unzip miniNOAA.zip
$ atpdec ./miniNOAA8.wav
$ ls *.png
miniNOAA8-1.png
$ gqview miniNOAA8-1.png

...


# If you want you could try other examples:
$ wget http://websterling.com/tsro/apt/sample.mp3

# atpdec wants 1 channel and rate 11025: (here we select the right channel -1)
lame --decode sample.mp3 && sox sample.mp3.wav -c1 -r 11025 sample.wav
# or: mpg123 -w sample.wav -r 11025 -1 ./sample.mp3
$ atpdec ./sample.wav


# A few examples to receive NOAA images:
http://websterling.com/tsro/apt/
http://www.oz9aec.net/index.php/gnu-...qrx-and-rtlsdr
Attached Images
 

Last edited by xes; 2013-09-16 at 23:55.
 

The Following 5 Users Say Thank You to xes For This Useful Post:
Posts: 1,417 | Thanked: 2,619 times | Joined on Jan 2011 @ Touring
#50
Found this, $10 for a tiny USB SDR. Just install this GNuradio and you can go!
http://www.ebay.com/itm/MINI-FM-DAB-...item19e216f0ab
seems a perfect size to hang on your keys or leave plugged into your USB pigtail adapter.

Last edited by biketool; 2013-10-10 at 18:41.
 

The Following 4 Users Say Thank You to biketool For This Useful Post:
Reply

Tags
gnuradio, nokia n900, rtl-sdr


 
Forum Jump


All times are GMT. The time now is 11:55.