Category Archives: Technology

Really everything related to technology

Sound on Linux has some quirks left

I’m a stupid person.

When I bought a new PC the last time, I went for a ASUS M2NPV-MX motherboard with built-inASUS M2NPV MX Motherboard sound and nvidia graphics. I had been told that the nvidia open source driver is fine enough for 2D graphics, and since I never game or anything I’m perfectly fine with 2D-only.

Ok, it didn’t take me long to realize two things about my motherboard:

  1. The built-in audio “nVidia Corporation MCP51 High Definition Audio” is not supported by Linux/ALSA. It seems to detect it fine and it can show what it is and everything but it can’t produce any sound.
  2. The open source nVidia driver does not support DVI in resolutions beyond 1280×1024, and it made me wanna cry. I switched to VGA instead, only to realize that the analog output on this board is really noticeably worse than my previous and much older trustworthy Matrox card. (New MutePCI-Express board in the pipe.)

There’s nobody to blame but myself. Lessons for next time: check the audio support better and do not go with nVidia graphics (at all) until they have a good open source driver – and really really check this. (No need to tell me there’s a binary-only nvidia driver, I know about it but I hate it and I hate the inconveniences dealing with binary drivers cause when you upgrade your system etc.)

Funnily, the motherboard has built-in Ethernet (of course) but I don’t normally use that, as I’m on 802.11g only. My work computer is on the upper floor and my (24 mbit) ADSL connection is downstairs and I like not having to connect all my computers with cables running all over.

Music NoteSo, back to the story, to get sound for my box I got an old SoundBlaster PCI card from a friend (hej Kjell) and inserted it in the last available PCI slot (the other slot has the wifi card).

Now, when I upgrade to a fresh new kernel version with Debian unstable the system boots up and defaults to the (detected but not working built-in) hda_intel stuff, and I must run alsaconf to select my ens1371-equipped SoundBlaster instead. But this is not enough. After I’ve ran alsaconf I can’t get any sound out still, but I have to reboot and when it comes up again I must run aumixer and pull up the master volume and wham, now I have sound…

I’m quite sure this can be fixed in another way, but trying to learn this and figure how I can repair my situation to always work fine in the future is a mighty task that I haven’t yet been able to overcome. I really should get involved in the ALSA project one day…

A special kind of station

slutstation

The Swedish word slut means end, but I can’t help thinking about all the English readers when I see this sign (which happened to be shown all the way home the other day when I took the train and I get off a long time before the end station..).The blurriness is a bonus and due to me taking the photo with my phone again.

A few weeks ago I overheard a conversation with two English-speaking persons in front of a machine that could print out a ticket for them. There was a rather large hand-written sign on it: “papper slut” (meaning “out of paper”). Paper slut? They said and looked at each other as if they were thinking that perhaps someone had been really mad at the machine this morning and decided to put the note up…

Yeah, Swedish is a great language! 😉

Open Season

Large RSS feed iconSo I found theregister.com‘s new podcast Open Season the other day and I listened through the first two episodes the last few days (I spend some time commuting back and forth to work every day), and I must say they do offer a fresh new angle on open source and technology in general.

I’m actually thrilled to have found a new stream of interesting goodies to listen to and I hope they manage to keep the quality and keep delivering in a timely fashion – far too many podcasts stop getting produced after a while or the inter-episode intervals just increase until they’re months apart.

Someone should just tell them that they need to provide a nice RSS feed for it so that we can find new episodes easier etc. Ooops. They do have a feed, even though it gets polluted by other stuff too and not just espisodes…

Rockbox on Sansa View?

Sansa ViewOk, since we have Rockbox on Sansa e200 and e200R working and the support for the c200 series in the pipe, I feel it is about time to make a statement about the possibilities to get Rockbox for the new Sansa View player: it is (most probably) a totally different beast hardware-wise, so it will require a new port with all the associated hard work.

And no, SanDisk has not been in touch with us any further, so I would say it is highly unlikely they will donate any players or similar to us this time.

Once we get to see a detailed dissection with nice hires pictures we can tell for sure, but their talk about 30fps H.264 video in 320×240 resolution implies a major change.

As a summary, the View is indeed SanDisk’s iPod Nano killer with double the flash size for the same amount of money, with a microsdhc-port, claimed longer battery life and only slightly thicker.

A funny detail: SanDisk previously did another player called Sansa View that they put on hold just before the summer!

Dissecting iPod Touch

iPod TouchiFixit ripped apart an iPod touch.

Unfortunately these guys continue to just publish lores camera images instead of hires scans, but this pic shows the (Samsung) chip with the Apple logo on it.

Apparently this has a Wolfson codec while the new iPod Classics use a Cirrus chip!

The touch and the iphone seems to have a lot in common internally. Not too surprising really…

The touch is a whopping 120 grams beast, while I thought the SanDisk Sansa e200 players were heavy with their 75 grams…

UFS in all devices!

Micro SDApparently a lot of electronics companies, including Nokia, Samsung, Sony Ericsson, Micron Technology, Spansion, MTMicroelectronics and Texas Instruments are planning to introduce yet another memory card due to release 2009. This time they call it “a common flash memory card format” (UFS – Universal Flash Storage) – which is kind of amusing in my view. Aren’t all memory cards “common” in one sense?M2 card

JEDEC published a PDF press release about it, saying amongst other things:

The UFS specification is expected to accommodate greater efficiency in the design of memory cards for card manufacturers and end-product designers. The standardized interface will also reduce the system design burden for embedded applications.

The next-generation flash memory specification is expected to be completed in the first half of 2009, with a draft specification available in the first half of 2008.

Anyway, decreasing the vast amount of various different formats could be good for end-users. Perhaps. We’ll see…

DOS means Text Based

I find it very amusing that Windows users all so often refer to the command line as DOS, and I’ve tried to figure out how we still today frequently get to read users refer to the ancient operating system.

It was in fact still called “MS-DOS prompt” back in windows 98, as shown in this little picture:

windows 98 MS-DOS prompt

I found that even Microsoft themselves refer to the commands you use on the command line as “MS-DOS commands“, so perhaps this is a primary reason? Even the producers of Windows confuse and mix the terms “command line” and “MS-DOS”…

When they launched Windows XP they no longer called it MS-DOS Prompt, it was then plain and simple “Command Prompt”:

Windows XP command prompt!

We’ve also seen end users in the Rockbox project refer to the interface as DOS or DOS-style, and there is really nothing what so ever in common with MS-DOS in Rockbox. It is just (by default) a basic text-style interface. It is clear that to many people, a text-based interface be it a music player or a command line window, means DOS.

People are weird.

Form Submit Honeypot by Mistake

During the summer 2001, me and my wife toured Vietnam and we had a great time. For that occasion I set up a little online diary that would allow us to post entries while on the road, to allow our families and friends back home to be able to keep up with what we were doing.Boats in Vietnam

Fast forward to present day: the diary “submit new entry” form is still left on my site, and while it no longer works (it hasn’t worked for many years) – it is still one of the most visited pages on my site! It seems the automated spam bots find it and submit crap to it… the crap doesn’t end up anywhere to be seen nor is it even stored on the server, but it clearly identifies evil machines! Isn’t that a honeypot as good as any?!

So far during September 2007, no less than 309 unique IP addresses have issued a POST on that page..

Picture Rockbox on a Camera

Canon Powershot A550Obviously the CHDK guys have working code for Canon‘s (and other’s) Digic II powered cameras, and reading their wiki they use plain arm-elf for the job and… yeah so does Rockbox and… yeah, well it certainly at least opens a possibility for a Rockbox branch for these toys!

Of course there would be porting involved and I don’t know how these cameras have on the audio front, but those are all just details…