Redhatter (VK4MSL)

Gentoo/MIPS Update

Hi all… figured I better update everyone on what’s happening on the MIPS front.

Kumba has been working on newer kernel ebuilds to support various platforms, specifically IP30, which has been troublesome of late. At present, the best kernel revision to use is still 2.6.23 on Cobalt, Loongson 2E and O2.

Another alternative, is to download your own kernels from the Linux/MIPS website (not kernel.org), and research the patches needed to get things running yourself… in fact… Lemote Loongson 2E, Cobalt Qube2 and SGI Indy/O2 users should find minimal to no patching is necessary as the vast majority of changes have already been accepted into the mainline kernel.

Stages… there have been no further stages built at the moment from the 2008.0 ones. Partly because some of us have been just too busy. I’ve started to make inroads into a uClibc-based set of stages however, having got a uClibc-0.9.30 toolchain built the other day targetted at mipsel-unknown-linux-uclibc. It is hoped a workable environment can be constructed in the coming months that may turn into a new set of stages available for this platform.

Desktop Applications… have been lagging quite a bit. I have some patches for Thunderbird 2.0 that gets things rolling again… and may just work for big-endian MIPS (which was broken at last check) but due to lack of time, I haven’t been able to investigate further. A similar set of patches got Firefox 3.0 partially working… more work needs to be done.

My own status… I’m not planning on leaving anytime soon… just been extremely busy. As it is now, I’m passed my 8:00PM bed time (need to be up at 4:00AM tomorrow, currently it is 8:35PM AEST), so I’ll leave it at that.

Welcome to the Sunshine State

Blimey… someone must’ve said something to upset the weather.  We’ve survived the last 3 storms thus far.

It does seem though, that nature clobbered us in The Gap, then Wednesday night, said “Ohh… I missed you Paddington… Here you go!  Ohh, and you’ve been left out too Rosewood… have some rain.”  These same storms washed away parts of the Brisbane->Ipswich->Rosewood rail line… which is going to make getting to work (at Laidley) rather interesting.

Last night, Blackwater (Central Queensland) got clobbered by cricket-ball sized hail.

On the bright side though, we have gotten rid of trees and other garden plants that we’ve been meaning to rip out for months… and our dams are getting a much-needed top-up.  But for now I am watching the BOM Queensland Weather page like a hawk.

Sunday’s Storm

Hi all,

I suppose you’re wondering why I’ve been absent from my usual online presence since Sunday afternoon.

Sunday we were at Montville (near the Glasshouse Mountains) doing a bushwalk through Kondalilla National Park on part of the Sunshine Coast Great Walk. On the way back home after stopping with the group for a drink at Landsborough, we drive along the Bruce Highway towards Brisbane when we noticed the huge storm front.

This storm front looked like it had tinges of green in it — which suggested mother nature might make lots of ice cubes and drop them on my father’s 18-month old car. The rain started pelting down as we got in to Carseldine, and eventually we decided to take refuge at Chermside shopping centre and have dinner while the storm passed.

Everything was uneventful on the trip home for the most part, one set of lights were on the flash… also some localised flooding… until we got through to Keperra. We had planned that evening to drop in on some friends (former next door neighbours, husband & wife, the husband dying of terminal cancer). As we drove passed the Mitchelton State School (I think that’s it), we saw that Dawson Parade was blocked off by a fallen tree, and the traffic was crawling. We inched our way towards home along Samford Road to see trees uprooted (not small ones either), massive flooding in parts. The horror story got worse as we headed over the hill from Keperra to our home suburb of The Gap.

Power lines down, trees over the road… we had to park the car some 400m away and walk the remaining distance due to blocked roads. It was about 20 minutes before we could get it home. Apparently our street had about 1m of water down it when the storm was at its peak.

Our house was undamaged, although a couple of trees copped a battering in the storm and had to be pulled down, and the G5RV antenna I had set up for my HF radio was damaged (still is… I’ll get around to it eventually).

We had no power (except for a 2.5kW petrol generator we own that we ran for a few hours yesterday) from when that storm hit, through to about 5PM Tuesday Evening. One UPS is a write-off on the count of knackered batteries, but otherwise, we’re okay. During the outage, mobile phone services were up and down like a yo-yo… my handheld dual-band transceiver, tuned to the Mt. Cotton (VK4RAX 147.075MHz) and Mt. Coot-tha (VK4RBC 438.525MHz) prooved to be more reliable. (Unfortunately though, I was one of the few amateurs in my street).

A few houses copped about 40cm water through their house, destroying carpets and ruining furniture. One house, that was for sale, wound up with a tree landing on its roof, piercing the awning and the roof in a couple of places. A number of fences also were written off.

Damage was worse around Payne Road. I suspect this is where most of the pictures of damage were taken. It appears the storm first came over Mt. Coot-Tha, hit Payne Road, bounced, hit Waterworks Road, rolled down the hill ploughing through The Gap State School and St. Peter Chanel School (this is where I began my schooling) and up Fish Creek (including the bottom end of our street). From there it continued up Settlement road, ploughing through trees along the road, and decimating the tree-line along the ridge between Keperra and The Gap.

Thanks to the help of everyone in our street and the numerous volunteers, we’ve now mostly got our street back into reasonable shape. The following is not an exhaustive list, I’ve possibly overlooked numerous groups and organisations that have helped in some manner. Some of the organisations that have assisted those in The Gap and therefore I’d like to thank (in no particular order):

  • State Emergency Services (some units came from as far away as North Queensland)
  • Queensland Police
  • RoadTek (Department of Main Roads)
  • Queensland National Parks and Wildlife Service
  • Skilled Engineering
  • Energex, Ergon Energy, numerous other companies, some from interstate
  • Rural Fire Brigade (some from as far away as Gatton and beyond)
  • Brisbance City Council

… any other organisations who assisted… and of course the neighbours who pitched in and helped clean up.

I uploaded my pictures here (taken the morning after). Some more pictures of the storm are available from the Triple M Cage (Brisbane) website.

Fed up with uni

Some of you may be wondering where I have been the last two days. I have not been on IRC, forums, or on the radio much at all this last 48 hours. I did call in to the BARC 2m net the other night… put in one over, then handed it on to the next station, going clear and turning the radio off.

I’ve been studying for a digital communications subject. I was planning this would be my last subject… but alas… the university threw a spanner in the works there by deciding to choose now to inform me that I was not elligible to graduate, due to a deficit of about 36 credit points (3 subjects).

The last two years of university have been the most stressful. This last one would have possibly seen me meet my end had I gone the full 4 subjects/semester. The high levels of anxiety and stress this course has put me through have been unbearable at times, and there have been some close calls.

The email I received delivering the above bad news… had me literally inches (or is that litres) from taking my own life. It’s a little known fact that when you drink too much water, it causes one’s kidneys to shut down in a process known as water intoxication. I clearly didn’t get to that point, but I had a few pains that suggested I was nearing the ballpark figure needed.

I have no idea how people are meant to complete such a course, and still remain in a sane mental state fit for employing. The various support services within the uni have been great — but that’s not an option for everyone.

At the moment, I’m only really studying now to see if I can actually pass this subject… but my heart isn’t in it anymore. I’m fed up with uni, and I really don’t know what to do now.

Guess I’ll be joining the dole queue next year after all.

For those who were thinking of trying the double IT/EE degree offered by QUT (formerly IF59)… I would not recommend it to anyone. The stuff-around I have experienced during this course is as such I would not even recommend it to my greatest enemy.

Experiments with wireless headsets and HF

The other day I commented on my recent purchase of a new headset, and my intention to use it on air. The following are some very rough notes on how to set it all up.

There a couple of things I’ve discovered… one being, if you’re not careful with muting the microphone, it’ll generate a DC offset back to the computer… which with Qtel, is mistaken for a signal, so it’ll transmit a carrier indefinitely.  I submitted a hack around that issue, which is now included in the latest SVN release of svxlink… but needless to say, it caused some embarrasment earlier this week.

The other reason why I bought it… was for use with the HF station.  This set gives me the freedom to walk around the house which simply is not possible with a HF rig as big as the TS-120S attached to a full-size G5RV.  The solution?  Use JACK to patch the audio from the onboard sound card, through to the headset, and vice versa… using the VOX function on the HF set to key it up.  Another bonus is the ability to use tools such as FreqTweak for realtime DSP filtering.

Physical wiring: You’ve got a number of options here.  Usually to interface the radio to the computer, one hooks the “Mic” port to an output port on the sound card, and the “Phones” port to the Line-In on the sound card.

In my case, I had a TAD (Telephony Answering Device) port spare — this port normally hooks to a modem.  Since all I need is a mono input/output… I decided to hook to this port instead.  I found the ferrite beads were needed on each end of the cable… without these, I got lots of RF feedback when I tried to transmit.

Audio Routing within the system… well for basic functionality, everything can be achieved using qjackctl and jackd… however, I wanted the ability to use DSP filtering in both directions.  There is a catch however.  jackd will only talk to one sound card input, and one sound card output at a time.

Now… you can muck around with ALSA’s pcm_multi and pcm_route plugins to make a virtual multi-channel sound card.  But there’s a little known option that is a lot easier.  Enable the netjack USE flag and install jack-audio-connection-kit.  This will install two utilities alongside JACK, alsa_in and alsa_out. Also install qjackctl and freqtweak if you have not done so already.

Fire up qjackctl and adjust the properties to suit your setup.  Choose one of the sound cards as your primary device… the other will be hooked up using the alsa_in/alsa_out tools.  In my case, I have the settings shown in the screenshot below.  The exact settings to use will be dependant on your hardware.  In this case, I chose to use the headset as the primary device, specifying plughw:Headset and hw:Headset as the input and output devices.

Once you have that configured… start the JACK sound server. Now open up a couple of terminal windows and type the following… each line in a different window:
$ alsa_in -D hw:YourOtherSoundInterface
$ alsa_out -D hw:YourOtherSoundInterface

In my case, they were named AudioPCI. Go back to qjackctl and bring up the connections. You should see the alsa_in and alsa_out ports as well as the system ports corresponding to your two sound cards. Fire up freqtweak, set it up for two-channel filtering… then set up your connections as shown:

If it’s not clear… the audio feeds should be:

  • alsa_in:capture -> freqtweak:in_1
  • freqtweak:out_1-> system:playback_1 + system:playback_2
  • system:capture -> freqtweak:in_2
  • freqtweak:out_2 -> alsa_out:playback_1

As for keying up the transceiver.  The Kenwood TS-120S features VOX built in, but you’ll find that as you speak, the audio sent to the transceiver gets fed back to the headset — delayed, which throws one’s speech processes.  The workaround here, is to use the mixer mute features to keep the audio going one direction at a time.

Most headsets have two volume up/down buttons… I found it was convenient to bind one of these in KDE to execute the following command:
amixer -q -D hw:AudioPCI sset 'Master Mono' toggle ; amixer -q -D hw:AudioPCI sset 'Capture' toggle

This effectively switches between transmit and receive. Press the button once, you’re transmitting, press again, you’re receiving. Simple. For transceivers that lack a VOX feature… you can also add commands for rig control software that will turn the PTT on and off for you. Alternatively, one can capture the KeyPress/KeyUp using XGrabKey, and thus it behaves like a regular PTT.

This is left as an exercise for the reader — I found the xhkeys source code a help for figuring this out… combining this with hamlib and alsa-lib should allow a decent and usable interface when away from the rig itself.

Food for thought

The attacks on the US that occurred 11th September, 2001, killed 3000 people, injured about 7000, cost and less than a billion dollars.  Maybe a little more when welfare payments and rebuilding is factored in.  The US following the attacks was still going strong.

The mismanagement that has lead to the current economic crisis will likely cost trillions of dollars, and has achieved what no terrorist organisation has managed to do thus far — cripple economies.

Nicely done fellas… but you can save the encore… we’re in enough of a mess already.

Wireless headset

Today I splurged on a new toy.  Previously, I had been frustrated by the complete lack of wireless headsets (bi-directional, not headphones which are listen-only), even to the point of wanting to homebrew one.  On the advice of a number of people, I also gave Bluetooth a try — unsuccessfully I might add.

Well it seems the people at Logitech have seen the need for a wireless headset for computing applications (link no longer valid).  This is the first such headset I’ve seen on the market.  It uses the 2.4GHz ISM band, using some digital mode — no idea what modulation method is used.  Apparently it’s uncompressed too, which beats A2DP.  It breaks up if you move more than 10m away (line-of-sight), which is to be expected.

Linux talks to it straight out of the box.  The dongle emulates a USB audio device, which of course is supported by the snd-usb-audio driver in ALSA.  It looks as if Logitech has taken their other headsets, and separated the ADC/DAC from the USB logic, inserting the radio link in-between… so as far as the host is concirned, it’s just a wired USB headset.

It’s not quite the holy grail I’m after… a purely analogue version would be really nice since that’d be much easier to interface with my mobile phone and radios… but this is a very nice comprimise and isn’t that expensive

I’m now happily chatting on EchoLink (on node 95092) and enjoying not being tethered to a computer. 😀

For those with a similar need, it’s definitely worth a look. 🙂

Both Lemote Fulong systems upgraded to 1GB

Hi All,

My P4 laptop died recently, which is a pain as I now have to look at replacing it in the near future… however, this has meant I now have 2GB of DDR400 SODIMMS that can be used in the Lemote systems.

There was a catch however.  The PROM had to be flashed on one of the units so it would initialise the RAM properly, otherwise the kernel would b0rk.  With this done, both units now recognise the 1GB sticks of RAM installed.

At present, both systems are available for developer use.

How to upgrade the PROM on the Fulong.

For the reference of others who may wish to perform this upgrade on their Lemote equipment.  This is the procedure.

  1. Download pmon_v1.1.zip from this page and unpack it.
  2. Copy the pmon.bin file located inside, to your /boot partition (or somewhere else accessible to the PROM)
  3. Reboot, and hit ESC/DEL repeatedly to break into the PMON prompt.
  4. Type set, and write down any critical settings such as al and karg
  5. At the PMON prompt, enter the following command (adjust:path as appropriate)
    load -r -f bfc00000 /dev/fs/ext2@wd0/pmon.bin
  6. Restore the settings you wrote down using set arg value.
  7. Type reboot to reset the system.

If at step 5, the load fails, DO NOT REBOOT OR POWER OFF! Hit the up-arrow on your keyboard, double check the command, then press ENTER to execute it again.

I’d like to thank the members of the Lemote Forum community who provided the necessary infromation.

Improving signals on 80m

I’ve had a 40m inverted-V dipole set up along the side of our house for as long as I’ve had the HF set.  Prior to getting the ATU, I was restricted to 40m and 15m which are the resonant frequency bands.

Once I acquired an ATU, I found I was able to tune up 80m… albeit with some limitations in signal radiation.

The 40m dipole consisted of two 10m lengths of speaker wire running from the antenna mast on the house, running down to two plastic tent pegs hammered into the ground.  I suppose the wire was no steeper than about 40 degrees from the horizontal.  This worked okay, but it had some annoying nulls, a notable one towards Ipswich… I tried a purely horizontal configuration, but found the nulls to be even worse.

The proper dimensions for a G5RV, is about 16m each leg, and about 8m of balanced feeder to form a “matching section”.  Well, I couldn’t do much about the length of the matching section, but I figured I might as well try extending the legs of the antenna a bit — nothing ventured nothing gained.  I added the extra 6m to each leg, moved the legs out as far apart as I can.  I tried tuning it up that afternoon, and things seemed to be okay… so I left the set on 3.600MHz LSB and switched it off ready for the AWNOI net.

On calling in, I asked about my signal strength after explaining the changes made.  Well, apparently my signal was a vast improvement on last week’s signal.  A S8~S9 signal (with the transceiver momentarily cutting back power) is now a S9+20dB to many stations.

I haven’t tried other bands yet… but this is a promising start. 🙂

Update: Tried tuning it up on the other bands… the results:

Band__Test_Frequency__Power__SWR__Notes______________________________________________
80m   3.599MHz        50W    2.5  High SWR is expected for a non-resonant antenna.
40m   7.074MHz        50W    1.2
20m   14.165MHz       50W    1.9  Heard a station at 14.170MHz just as I was going
                                  to tune up, which is promising also.
15m   21.190MHz       15W    1.9  This set does not like these bands (15m & 10m)!
10m   28.450MHz       25W    1.6  Might need to consider using the CB whip for these.
_____________________________________________________________________________________

Ridiculous Laws

Here’s some humourous food for thought.  Those of you in front of a Linux/Unix system, install fortune-mod and have a squiz at /usr/share/fortune/law — or just view this file that I have compiled.  Looking around, I found some more from elsewhere.

After you’ve stopped laughing… a query… How many of these laws are actually true?  I’m curious to know.

One theory that was proposed to me, is that there may not be a law as such prohibiting some act mentioned, but that someone was charged whilst doing an act mentioned in that document.  (e.g. shooting off a policeman’s tie… shoot anywhere near a policeman, and I’ll bet you’ll get busted!)

So, a query… how many of these are urban myth, and how many are actual laws?  And what law enforcement agency would have the audacity to enforce them?