Due to my recent acquisition of an RTL-SDR compatible radio module (Some would call it DVB-T stick) I started playing with radio transmissions. Doing so I found POCSAG (pager) transmissions which I tried to decode using multimon. Sadly multimon was very broken, after I finally managed to compile it on OS X I realized it had 64bit bugs preventing the decoding on my system. So I forked it and patched a lot. I rewrote large parts of the POCSAG decoder after reading the patent text as well as implemented the BCH forward error correction. Besides improving POCSAG my main focus was portability, it now even compiles on Windows 🙂
MultimonNG a fork of multimon. It decodes the following digital transmission modes:
POCSAG512 POCSAG1200 POCSAG2400 EAS UFSK1200 CLIPFSK AFSK1200 AFSK2400 AFSK2400_2 AFSK2400_3 HAPN4800 FSK9600 DTMF ZVEI
The following changes have been made so far:
-Fixes for x64
-Basic functionality on Mac OS X ‘Lion’ (Soundcard/OSS input is unsupported)
-‘DUMMY_AUDIO’ “backend” (Gets rid of the OSS dependency, breaks audio in doing so)
-‘ONLY_RAW’ disables the format conversion while getting rid of posix dependencies
-Option ‘NO_X11’ to disable the X11 dependency since Apple will drop Xorg soon
-Override mode for POCSAG decoding (e.g. force text decoding)
-Brute-Force BCH implementation for POCSAG forward error correction
-Verbose mode is now listed in ‘-h’
-Merged Debian patches for EAS (Emergency Alert System) decoding (untested)
-Portability is a major goal
-Compiles on Windows (MinGW or Cygwin) without format conversion
-PulseAudio support, contributed by inf_l00p_
-Windows native audio and a VisualStudio/MSVC project file, contributed by bzzt_ploink
In addition to the deprecated legacy Makefile there is also a file for qmake which is the preferred way of building MultimonNG. It’s recommended to use qmake to generate the Makefile. (‘qmake multimonNG.pro && make’)
So far multimonNG has been successfully built on OS X, Debian, Ubuntu and Windows. (On Windows using the Qt-MinGW build environment, as well as Cygwin and VisualStudio/MSVC)
Files can be easily converted into multimonNGs native raw format using ‘sox’.
e.g. “sox -t wav infile.wav -esigned-integer -b16 -r 22050 -t raw outfile.raw remix 1”
GNURadio can also generate the format using the file sink in input mode ‘short’.
Windows version: https://github.com/EliasOenal/multimon-ng/releases
(It doesn’t come with SoX and as a result can’t handle filetype conversions. Soundcard input and virtual audio cables should work fine, though.)
Some testfile converted to the native multimon format: poc1200
To decode it try “multimonNG.exe -a POCSAG1200 -t raw poc1200.raw”.
(“-i” is needed for recent versions of multimon-ng)
Superkuh wrote a bit about using multimonNG with GNURadio allowing for realtime decoding. http://superkuh.com/rtlsdr.html
Apparently you can combine multimonNG with rtl_fm to live decode POCSAG. It even seems to be lightweight enough to work on a Raspberry Pi. Thanks to Sonny_Jim from ##rtlsdr on freenode for trying!
<Sonny_Jim> Ok, so this works:
<Sonny_Jim> rtl_fm -f 153.353e6 -g 100 -s 22050 -l 310 – |multimon -t raw -a POCSAG1200 -f alpha /dev/stdin
I’ve recently added some modifications to the Cyanogenmod kernel. They include overclocking up to 2ghz as well as lower idle voltages (undervolting) and a higher default maximum frequency. The maximum frequency after bootup is now 1516800hz. It can be changed up to 2016000hz. Frequencies higher than 1612800hz are unstable when using the ondemand governor on my phone, they seem to be stable when used with the performance governor or even the conservative one, so I think it might be related to the fast frequency switching. At 2ghz the phone gets really hot in a matter of minutes so be careful, you can probably damage it using this kernel. Thus I take no responsibility for any damages resulting from using this kernel!
My frequency(in hz)/voltage(in mV)-table is the following:
Download: zImage bcm4329.ko
I just was able to lower the voltages a bit, here is the new kernel: zImage_v2
I made a third version containing a crude hack to fix the problem with the governors. Now my phone runs at min 245mhz and max 1920mhz using the ondemand governor.
Source: acpuclock-7×30 (The only file I changed) https://github.com/CyanogenMod/htc-kernel-msm7x30
The easiest way to flash it is using fastboot and adb from the android sdk. I guess I could also build a flashable zip, but I don’t feel like figuring how that works. If someone makes one, feel free to send me a copy, I’ll attach it here.
Flashing the kernel:
fastboot flash zimage zImage
Flashing the new WiFi module:
adb push bcm4329.ko /system/lib/modules
After using my kernel for quite a while it seems to be pretty stable on my phone. Running at 2GHz I sometimes get random freezes, but 1.92GHz seems stable for daily use. I also tried playing 3d games on 1.92GHz for about half an hour and even though the phone got noticeably hot everything went peachy. 🙂
I lately had some problems changing my laptops (A Samsung Q45) brightness since the major distributions went on and started using KMS instead of the prior Xorg driver, even though most Samsung laptops aren’t properly supported. Searching around the net I found some hints about using setpci – Writing directly into the hardware.
dekar@vasectomy:~$ sudo dmidecode -s system-manufacturer
SAMSUNG ELECTRONICS CO., LTD.
dekar@vasectomy:~$ sudo dmidecode -s system-product-name
dekar@vasectomy:~$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
dekar@vasectomy:~$ sudo setpci -s 00:02.0 F4.B=FF
Values between 0x00 and 0xFF should work, though my display turns off once I lower them too far and refuses to start working unless I reboot the whole thing. 0x40 to 0xFF should be safe.
The following samsung-backlight fork worked for me in fully integrating the backlight control again. Works fine now using the hotkeys 🙂
You probably need to install the kernel sources, at least the headers. Besides this installing should be totally painless and after doing so you can load it using ‘modprobe samsung-backlight’.
I didn’t find any information related to this (just people complaining about not getting a firmware update) so I feel like posting it for others to find via Google. My HD700X seems to be able to do 120hz. I just did a quick test using my laptop (vga) since my htpc (hdmi) is broken right now, yet it seems to work. I am running Debian and all I did was set the resolution, it just worked. The online specs I read state it could only do 100hz, but the OSD pretends to operate at 120hz. So if anyone has one of those projectors, as well as 3D equipment, I would highly appreciate any feedback on how well it works.
Watching 24p video at 24hz is fluent (besides the 24p lagginess), same for 48hz. But from that point on (72hz, 96hz and 120hz) it starts juttering. I am not sure whether that’s vdpau/nvidia or the projector. I also realized my HD700X reports as HD65 according to the EDID data. Pretty weird – I guess the easiest way to find out whether it actually supports 120hz is getting 3d shutter equipment.
Optoma released an official firmware update unlocking 120hz operation including DLP-Link for the HD65, HD700x and GT7000 projectors.
Download it here
I’ve added the link to the source quite a while ago, but I feel like posting it here as well so php beginners who want to play with Imagemagik can find it, my banner generator is Public Domain now. So you can get it and do whatever you like using it – just don’t blame me if something goes wrong or breaks 😛
Since Debians Pidgin has broken protocols and there was a severe security risk I had to rebuild my local Pidgin. This time I made some nice DEBs so you can use them as well. As always my purple plugin pack contains switchspell. 😉 Oh and they’re all 64bit.
After searching ages for the reason why Youtube HD Flash videos run fine on my laptop (Even two at the same time!) but not on a friends laptop with mostly identical hardware we found out that it’s depending in the installed architecture. Debian Lenny 32bit has major problems playing flash videos (doesn’t matter whether you get it from backports or adobe) but the 64bit version has none of them. It seems like the 64bit version of the flash player has insane benefits from 64bit – I really wonder why! I still have the tearing problem most Intel GPUs have, but at least it runs fluent 😀 I am pretty sure Squeeze and Ubuntu are affected as well, though we only tried Squeeze 64bit and it was fine – as expected.
Since it took me some time to get Ghost++ (v11.4) compiled I made .dep (Debian/Ubuntu) packages for the dependencies and a zip for the ghost binary.
I’ve just built a package of the latest version for Debian/Ubuntu. It includes switchspell!
I was searching for a way to display exe icons, but the scripts I found were stuffed with useless crap, so I made my own. You need the icoutils. (“sudo apt-get install icoutils”) Then just run my shellscript (“sh WindowsIconsForGnome.sh“) or doubleclick it in GNOME.
It looks like this: