Thursday, April 28, 2005

Whoa!!!!!

Am I connected or what? I went to Jamie Oliver's blog and saw how he sends in regular photos to his blog under the section moblog. I thought, "Now that's a brilliant idea for someone who wants to update things often but is always on the move and who has no time."
And pictures with MWeb's Mysite have been a nightmare. FTPing them up doesn't work - I have had to upload them individually through the MySite web interface and it just takes forever.

So I went to Flickr. There I noticed you can email your pics in and they automatically get saved into your online collection. Then I noticed you can have photo's automatically published from your online Flikr collection to your blog!!!

So now I am set up to take a photo on my phone, write an accompanying entry and have it automatically published to my Blogger blogs (Itisthequestion and Techalterego).

So expect photos from a nightclub, the back of a London cab or after a hole in one on the golf course!

Whoa! Technology blows me away!

Wednesday, April 13, 2005

The bleeding edge...

It seems amazing to me how close I live to the bleeding edge.

So I got an iBurst connection. iBurst is a 1Mbps wireless connection to the Internet. The idea was that I would connect this to a Debian Linux box that would act as a gateway to other machines in my house. To keep my newly renovated house wire free, I bought an SMC2802W 54Mbps wireless card. I was going to get the DLink Atheros chipset based card, but then saw the amount of development history for Prism chipset cards. I also saw that the newer 2.6 linux kernels provided native support for the Prism chipset. So I thought it was going to be a case of plugging in the card and WhaLah! It never is...

A good summary of wireless networking with Linux is provided here.

First of all, I had hassles compiling my 2.6.11.6 kernel. I'll post my summary of how and some good links in another post.

After compiling the kernel, I could see the card using lspci. Using iwconfig, it showed the card (meaning that the Prism54 module had loaded). But nothing would change the card's state from "NOT READY!"

Then I discovered that there are various verions of the Prism54 based cards. The prism54.org site shows development going waaaay back (which is why I thought I was safe). But there is discussion about cards made in Taiwan working and those made in China not.

But I dug a little further. I discovered that not only do you need to have the driver for the prism chipset working, it also relies on the kernel being configured for hotplugging PCI cards.

The reason you need hotplugging enabled is that firmware updates need to be placed in the correct directory for upload when the card initialises. So you need to get the firmware.

This above process is nicely summarised on the prism54.org wiki.

Of course it didn't work.

Recent discussion on the prism54 mailing list (not yet picked up by Google) shows that resetting the card on a windows machine and then inserting back into the Linux box works. The final part of the discussion can be followed on this thread.

So after much hassle related to removing the card, getting it going under windows and then reinserting into my Linux box.... nothing.

So then I went to the prism54.org driver pages and looked for the latest one. Got the CVS download here. But more important than that, I noticed the readme. Going through the kernel setting requirements, I noticed quite a few settings out of kilter with my kernel. SO I changed those, recompiled and rebooted...

And I got a ton of errors on boot up along the lines of:

Apr 13 11:22:39 localhost kernel: evbug.c: Event. Dev: isa0060/serio0/input0, Type: 1, Code: 22, Value: 1
Apr 13 11:22:39 localhost kernel: evbug.c: Event. Dev: isa0060/serio0/input0, Type: 0, Code: 0, Value: 0
Apr 13 11:22:39 localhost kernel: evbug.c: Event. Dev: isa0060/serio0/input0, Type: 4, Code: 4, Value: 22



Bolllllloooocks!!! Searching for this, I found lots describing this as a kernel 2.6 bug and workarounds involving hiding the evbug module. Searching through the .config file however, I located the offending module under "Input device / Userland interfaces" - Event Debugging, and turned this off.

That all worked and with my finely tuned 2.6.11.10 running I compiled the latest prism 54 driver. Alas. Many compile errors. The one that held things up was

error: too many arguments to function `pci_save_state'

On advise from this site, I made the following changes in the islpci_hotplug.c file:

pci_save_state(pdev,handle->pci_state);
to
pci_save_state(pdev);

AND

pci_restore_state(pdev,handle->pci_state); or pci_restore_state(pdev,NULL);
to:
pci_restore_state(pdev);

Well that did the trick - it compiled. But after compiling the Prism driver failed with the following message:

prism54: Unknown symbol pci_dma_sync_single.

SO I think this has all been in vain. Much effort and time I do not have.

But I post this here, knowing others on this path will Google here and read this either before wasting their time, or commenting and leaving a working answer :)

Hello!

I was once a techie. But I guess as all former techies know, once a techie always a techie.

So now, as a busy strategy consultant, my techie activities happen in my spare time (HA HA HA HA!). Very sporadic and limited, this means that most of the time I am a struggling techie and no the proficient kid I once was.

As I struggle, it amazes me that some of my problems appear to be almost unique to me. I know they are not, but my very limited success at finding the exact problem and solution through Google means that many probably suffer in silence.

My blog will cover my amazement at technology - it continues to blow me away - and my struggles, problems and solutions. And it will also give a glimpse into the life of my alter ego...
I shmaak SA Blogs, sorted with Amatomu.com