Monday, July 6, 2009

No good.

This wireless problem seems to really be tenacious. I did a spot check a few minutes ago and yeah, the wireless was not working at all. This is very annoying that I have to keep reloading the driver, but well, I guess this is the only thing I can do. So much for Linux for Humans.

I don't want to update my kernel as that would might break my nvidia driver, so at the end of the day, I am stuck with this piece of crap driver.

Sunday, July 5, 2009

Intel Wireless Update

Today, I checked dmesg and this is the output I got:
[432892.672000] iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 1.1.0
[432892.672000] iwl4965: Copyright(c) 2003-2007 Intel Corporation
[432892.676000] iwl4965: Detected Intel Wireless WiFi Link 4965AGN
[432892.968000] iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
[432892.968000] wmaster0: Selected rate control algorithm 'iwl-4965-rs'
[432893.592000] iwl4965: Error sending REPLY_SCAN_CMD: time out after 500ms.
[432893.592000] iwl4965: TX Power requested while scanning!
[432944.556000] iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 1.1.0
[432944.556000] iwl4965: Copyright(c) 2003-2007 Intel Corporation
[432944.556000] iwl4965: Detected Intel Wireless WiFi Link 4965AGN
[432944.816000] iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
[432944.816000] wmaster0: Selected rate control algorithm 'iwl-4965-rs'
[432945.396000] iwl4965: Error sending REPLY_SCAN_CMD: time out after 500ms.
[432945.396000] iwl4965: TX Power requested while scanning!
[433072.148000] iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 1.1.0
[433072.148000] iwl4965: Copyright(c) 2003-2007 Intel Corporation
[433072.148000] iwl4965: Detected Intel Wireless WiFi Link 4965AGN
[433072.392000] iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
[433072.392000] wmaster0: Selected rate control algorithm 'iwl-4965-rs'
[581993.352000] iwl4965: Microcode SW error detected. Restarting 0x2000000.
[581995.384000] iwl4965: Can't stop Rx DMA.

Seems like there were a few errors on the iwl4965 driver. I tried to connect to a wireless network and it still seems to work. Hopefully, this means that the problem is solved.

Friday, July 3, 2009

The IntelPro Wireless Saga Continues

If there is one thing you learn from life, is that nothing is ever straightforward. That was the case when I lent out a hand over the Ubuntu/OSX dual boot, that certainly is the case now. As fairly evident with the previous entries, Ubuntu 7.10 support for the Intel Wireless WiFi Link 4965AGN has been nothing short of pitiful. This is a problem because of three main aspects.

The first is that Ubuntu opted to use the obsolete ipw3945 driver. This driver yielded very uneven results from what I gather online. My experience with this driver has been rather awful. The second is that the bundled official iwl4965 (and iwl3945) drivers are out of date. I have gotten far better results with these drivers than the obsolete ones, but the driver sputters out after a few days of operation. The third main factor is that Ubuntu chose not to fix it and instead peddle their fixes on the next release. This is not an issue of 7.10 falling out of support. This is an old issue in the Ubuntu bug tracker and one of which they were nice enough to mark as "Won't Fix".

Firstly, if the OS has old drivers, that is forgiveable if there is a fix coming, ideally providing a release with the same kernel. Second, if the folks opt not to fix this, the least they could do is provide an official workaround for poor old folks like me. If there is no official support, then that just makes the Ubuntu life that much harder to live with.

That being said, Ubuntu is still a fine distribution and one I intend to keep using. Maybe I was unfortunate to have picked hardware where Linux support is not what it is cut out to be.

Now, to push this particular problem forward, I found this comment on the Ubuntu bug tracker, one that I hope finally erases this bug forever.

Anton Khokhlov wrote on 2007-12-20

Yesterday I had found the solution. Ubuntu seems to use old Intel firmware and the issue will be resolved if you perform the following steps:
- Download the last firmware archive from http://www.intellinuxwireless.org/?p=iwlwifi&n=Downloads . The file's name is iwlwifi-
4965-ucode-version number.tgz
- Unpack the archive tar xvf iwlwifi-
4965-ucode-what version you got.tgz
- Copy iwlwifi-4965.ucode from the unpacked folder into /lib/firmware/your kernel version/
iwlwifi-4965.ucode and /lib/firmware/your kernel version/iwlwifi-4965-1.ucode (you should overwrite two files with the same data)

After that you need to reboot or just to say
rmmod iwl4965
modprobe iwl4965
Now on my computer it have been working for the 24 hours continuously without any disconnect. But I can not guarantee it works everywhere.

Of course, when I followed his instructions to the letter, I broke my wireless support. This is the warm and glowing message dmesg greeted me with.

[432944.556000] iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 1.1.0
[432944.556000] iwl4965: Copyright(c) 2003-2007 Intel Corporation
[432944.556000] iwl4965: Detected Intel Wireless WiFi Link 4965AGN
[432944.816000] iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
[432944.816000] wmaster0: Selected rate control algorithm 'iwl-4965-rs'
[432945.396000] iwl4965: Error sending REPLY_SCAN_CMD: time out after 500ms.
[432945.396000] iwl4965: TX Power requested while scanning!

You vermin! I am utterly irrate by the constant headaches this driver problem has given me. All is not lost however. It is a good thing I normally keep a backup of all things before fiddling them. So by checking the dates, and making sure to use the iwl4965 firmware in the context of the comment, I gave the iwlwifi-4965-ucode-4.44.1.20.tgz (posted November 27, 2009) firmware a try. We will see how this one goes. So far it looks like the driver is working after the good old modprobe -r/modprobe reloading trick. We will see how this one fairs.

Wednesday, July 1, 2009

Damn it!

After a few days of smooth sailing, I noticed that the iwl4965 driver crapped out. This is not nice. Seems like nothing is ever easy with this problem. I am going to try and update the iwl4965 drivers and see how that goes...

For reference, this is the problem I saw (dmesg | grep iwl):
[ 24.104000] iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 1.1.0
[ 24.104000] iwl4965: Copyright(c) 2003-2007 Intel Corporation
[ 24.104000] iwl4965: Detected Intel Wireless WiFi Link 4965AGN
[ 24.440000] iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
[ 24.440000] wmaster0: Selected rate control algorithm 'iwl-4965-rs'
[135851.700000] iwl4965: Microcode SW error detected. Restarting 0x2000000.
[135909.124000] iwl4965: REPLY_ADD_STA failed

I fixed this by reloading the drivers again.
$ sudo modprobe -r iwl4965
$ sudo modprobe iwl4965

Not funny. Not funny at all.

Sunday, June 28, 2009

Update on my Ubuntu Intel Pro Wireless Woes

So, this is a few days since the switch to that bad news ipw3945 driver to the "new" iwl4965 driver on my Acer laptop and I am ecstatic to write this post to say that the iwl4965 driver works like a charm. Ubuntu has been running for a while now and I can switch to my wireless at any time. It has also been wonderful to see that the list of wireless spots detected by my network manager constantly get updated. I am very much relieved to see this finally get squared away.

Wednesday, June 24, 2009

Ubuntu and my Intel Pro Wireless LAN Card

Okay, I have been wondering why my wireless network card refuses to function after a few days and I cannot fix it by rebooting. I've always had to reboot to Vista to sort of give the hardware a little kick. Maybe there is some residue in the hardware buffer of the wireless card, but for whatever reason, it has been testing my patience.

I also happen to remember when I got this laptop new, that Ubuntu did give me frequent problems with the wireless card unable to find my private access point.

This time, I really got pissed because it was again acting up when I really needed the wireless access to be working. So I decided to dig a little bit about the problem.

The laptop I bought is an Acer Aspire 5920g, and apart from the abysmal wireless performance, Ubuntu has been handling this baby pretty well. I even got the Crystal Eye camera to work.

Back to this problem. I did some reading and thankfully, there is a lot of resources from Ubuntu's very own forum. I discovered that my laptop has been running on Intel Pro 4965 AGN wireless card and that the driver Ubuntu Gutsy Gibbon (7.10) had been using was the obsolete ipw3945.

I knew then from past experience with this sucker that I had to discard it and find a new one. Thankfully, the kernel already comes packed with the new (Well, relatively...) iwl4965 driver from Intel.

Ubuntu has a great documentation that I followed to switch over to iwl4965 from that dubious ipw3945 driver. Click here for the online documentation. I just changed it to modprobe iwl4965 instead of iwl3945 and of course, load iwl4965 on /etc/modules.

After the reboot, it seems to be working fine, but so did the last one. I am going to observe how this one operates, and hopefully, this one works better than the last one. If all else fails, I may have to use ndiswrapper, and I do not like using Windows network drivers on Linux.

Anyway, that is all for now and I will report back if this one takes care of the issue.

Monday, June 8, 2009

Thoughts: 428 〜封鎖された渋谷で〜

I have always been opened (or close-minded) as a gamer to odd and quirky genres. It is always interesting to see a fresh or unique take on familiar formula on the different game genre. So when I first came upon this strange 'Sound Novel' of a game, it was not surprising to see myself drawn on such a unique visual presentation.

428 ~Fuusa Sareta Shibuya de~ (note: 428 - In a Blockaded Shibuya, aka 428 - The World Does Not Change Even So) is a game that takes the typical visual novel formula that Japanese developers often produce and takes that idea for a unique spin.

Normally, visual novels tend to make for very bland products. Apart from a nice picture backdrop and heaps of heaps of Japanese to go through, they are not particularly very interactive. Some of these kind of games give you certain decisions and in essence provides a bit of a Choose Your Own Adventure style of play. That is not a bad idea as Choose Your Own Adventure books tend to be pretty cool assuming the narrative is right. Unfortunately, once you translate it into video game format, you are expected to have that little extra. Granted that my Japanese is severely limited, the visual/audio presentation as well as the content I come away with has been particularly boring.

If you are expecting 428 to miraculously make reading Japanese on backdrop stills to be exciting, you are definitely on the wrong mindset. 428 takes that format and instead provides the player with something that other visual novels seem to miss, total control.

In 428, you take the role of five character perspectives in a timeline that spans ten hours of a single day in city of Shibuya, a business district of Japan. Multiple characters are nothing new in this genre nor in regular adventure games. 428 also employs decision making for each character to progress the story. That also is nothing new either. But two distinct differences sets this game apart. The first is that the character decisions do have subtle changes on other characters. This allows one character to inadvertently assist or interfere with the progress of another character. The second feature, which I think is the real key to making this entire project work so well is that you can view a time chart of events that have transpired and change the decisions for all of the characters. Hence, while you may arrive at a poor decision causing the demise of another character, you have every chance to go back and rectify it.

Does that make for an easy game? Not necessarily either. Logic plays a huge part in this title, and we are not talking about the 'challenged' logic adventure game developers try to peddle into their products. When you start playing other characters, you will notice details and realize when and how something may have altered the events of another character. And managing five characters while remember key details is not always a straightforward affair. Of course, for non-Japanese players, the language barrier plays another role in adding to that difficulty. Having limited Japanese takes me longer to figure out how events are and sometimes even how the events are supposed to transpire, but it has gotten me pretty far yet. You will inevitably stumble on bad endings, but the game encourages you to take a step back in time and rectify these issues. It is the point of the entire game.

Couple this very neat idea with a very striking presentation style and you have a very engaging adventure title in your hands. Real actors are used in filming and screenshot backdrops of the story and they are adequate to deliver the events of the game. The soundtrack of this title is also amazingly solid. It really does give you a cinematic sense of the entire game.

If there is one complaint over this title, it would be that I would have preferred Chunsoft go a little extra and provide more in terms of visual delivery. For a genre that hinges on story for suspense and substance, it would not hurt to provide video cutscenes alongside the textual narrative to aid in delivering the atmosphere and story.

Albeit, this genre is for a niche audience, 428 manages to deliver a unique experience in spades. It can be slow at times, but it never takes too long to get back to the action and the time chart feature really makes up for it.

Adventure game developers should take some time and look at what other developers in other regions are doing. Sometimes, coming from two different regions provides two different perspectives on how something is done. 428 deserves a look for Western developers. It is a fresh take on a genre that no developer seems to be interested in pushing forward beyond the 1990s formula.