Changing Ubuntu resolution from the command line….

Posted on October 18, 2010
Filed Under General, Tutorials | Leave a Comment

Now this should be an easy feat. Right? No.

So, what happened was that my test “server” died one night. I started it, but couldn’t remote login to the desktop for some reason. Connected the server to a monitor, but the signal was wrong. I had changed it to better suit my VNC needs.

So off to googling about changing the resolution from the command line…

1. edit xorg.conf - Fail. At least in ubuntu 10.04 there’s no xorg.conf file as standard

2. generate xorg.conf file - Fail. It only affects gdm. And even with failsafe session, the resolution changes once you log in. Aaargh!!!

3. reconfigure xorg package - Fail. Nothing happens when you use dpkg-reconfigure. No TUI interface. nothing. Just another shell line. Great usability design this is.

4. Rename all gnome related .gnome-something files and directories in your profile to get rid of the session settings - Fail. its the ~/.config/ - directory that’s the key. Now who has decided to own “.config” in your home dir. “I’m so important I’ll just make my configs apper under .config/” Idiots ;)

Ok I got a wee bit angry, but here’s the pretty solution I had to dig out the hard way:

edit .config/monitors.xml and change the resolution. Then kill Xorg / gdm from the command line and you’re good to go.

Next Internet Tablet to have TI OMAP2430 450Mhz processor?

Posted on May 26, 2008
Filed Under Maemo, speculation | 4 Comments

A while back I was going through kernel-source-rx-34-2.6.21.0-packages .config file in order to build some usb-drivers.

I discovered a commented out line about TI OPAM2430 that was in “OMAP Core Type section”.

#
# OMAP Core Type
#
CONFIG_ARCH_OMAP24XX=y
CONFIG_ARCH_OMAP2420=y
# CONFIG_ARCH_OMAP2430 is not set

Does this mean, that the next tablet might have a Texas Instruments OMAP 2430 processor in it? For comparison N800/N810 tablets have the OMAP 2420 processor running at 400Mhz. Or was it just “the other” option when n800/n810 were designed. Or maybe all kernel-configs have OMAP 2430 “support”.

Anyways, it’s not really a high performance processor, but it has some nice video decoding and encoding features. This was my monday speculation, in real life we’ll just have to wait and see.

The feature list for the 2430 include the following (from TI website):

Multimedia features supported by the OMAP2430 / OMAP2431 processors include:

Key Features:

Read more

USB OTG goes webcam

Posted on March 19, 2008
Filed Under Maemo, N810, Software, Tutorials, video | 14 Comments

This time in my mini series of testing USB on the N810 tablet - I bring you external webcam. The following video shows mplayer playing v4l stream from the device. See details after the jump.


Nokia N810 + Creative webcam + USB OTG + mplayer on Vimeo.

Read more

Arduino interaction

Posted on March 16, 2008
Filed Under Maemo, N800, N810, Tutorials, serial, video | 14 Comments

As promised in my previous post. So this one was a bit harder to implement, because I couldn’t find working kernel modules, and had to compile them myself. There is a good discussion about arduino in ITT forums, and other blog posts, but still this was something I wanted to try.


Nokia N810 meets an Arduiono board and a servo… on Vimeo.

So the important part obviously is not the crappy board with a sensor and a servo, but the fact that by enabling a few kernel modules the OS2008 recognizes the connected arduino as /dev/ttyUSBx that can be used to communicate with the boards firmware. Steps to follow:

Read more

Expanding your storage

Posted on March 13, 2008
Filed Under Maemo, N810, Tutorials | 14 Comments

I know this is and old topic by blogging standards, but because I found so simple and cheap to use external usb flash-drives with N810, I decided to write a quick walktrough.

  1. Get yourself a female-female usb adapter. I ordered from this funny sounding store on eBay, and it took 1-2weeks for it to ship to Finland. Total cost: 2-3€ delivered. Plus the package is often very pretty if you order from Hong Kong :) Just search for example “usb female to female adapter” and sort by price.
  2. Install Kate’s usb-otg-plugin.
  3. Select host mode.
  4. connect your usb cable, adapter and the flash drive.
  5. Enjoy the warm pseudohackerish glow deep inside…

USB OTG Host mode flash driveThis image shows dmsg output after connecting the drive. My N810 opened the file manager automatically upon connecting. The USB flash key is a 2GB Kingston DataTraveller Mini.

Next up arduino….

GPE Calendar + Erminig + Google calendar installation

Posted on January 18, 2008
Filed Under Maemo, N810, Tutorials | 4 Comments

A few days back there was great a blog post by linuxuk.org about syncing GPE Calendar with Google calendar and further with Outlook.

I wanted to try just the GPE Calendar to Google synchronization on OS2008 , and realised that it needed some fiddling to get it working. Here are the steps:

  1. Find and decide where to get GPE Calendar from. I ended up using repository:
    http://www.cobb.uk.net/apt/ chinook user

  2. Then there’s the libsoup dependency. This I achieved by using repository:
    http://maemo.o-hand.com/packages/ chinook/ [empty]

  3. Install GPE Calendar from application manager.
  4. Install some python dependencies from the root terminal:
    apt-get install python2.5 python2.5-gtk2 python2.5-hildon python2.5-xml

  5. Follow the erminig instructions by downloading and istalling gdatalite, pysqlite and erminig.
  6. Remeber that when entering Google calendar password in erminig, the first letter wants to be uppercase. The program won’t tell you if you have a wrong password. sigh…

It’s a long list, but when you get it to work, you’ll be happy. It works just fine. If it doesn’t, remember to try to start it from the terminal to see the output.

Most of the problems I figured out by reading the erminig forum, and the repositories I found from the repository search tool. If you have better instructions or tips please share them in the comments.

Using gpsd in a simple perl-script

Posted on January 14, 2008
Filed Under Maemo, N810, Tips | 4 Comments

I was playing around with gps-software on the N810 and decided to try how hard it would be to make a simple perl-script that uses the gpsd on OS2008. As a side note: I really don’t know perl at all, and don’t even like it - I actually hate it for some reason…

I decided to go with Charles Curleys gpsdate-script that uses gpsd to show the UTC time from the satellites. I hoped it would be a simple task, but actually I had to resolve some dependency issues. Seven to be exact.

To get this script working, I had to get additional perl modules, distributions and whatnot, but it was quite simple by searching and downloading in search.cpan.org. I probably could have used perls automatic download functionality, but even if I could, I didn’t want to fill my devices innards with endless perl-libraries. I wanted some control. I just downloaded these “packages” and used the -I/lib/dir/here switch:

One might argue that I could have gotten to the same outcome by not using Net-GPSD and it’s dependencies, but I think that by going this route there’s more functionality available for future fiddling.

I modified the original source by removing some command-line argument handling to get rid of Getopt::Std. So this is a dirty hack all around :)

To make it work, make sure gpsd is running (by starting maps for instance) and run the script from console:

/media/mmc2/tmp/gpsdate $ perl -I./includes gpsdate.pl
/gpsdate.pl: It is 22:31:30.00, 2008-01-14, UTC.

You can download the modified script and the dependencies here.

N810 and the adaptive screen

Posted on January 11, 2008
Filed Under Maemo, N810 | 2 Comments

I finally got my N810 and I’m really pleased with it. It looks nice, feels nice and works like a charm. Thanks Nokia.

However, there’s one thing that puzzles me. Why can’t you force the brightness of the screen to go to maximum. Even if you set the screen brightness to it’s max, it still goes brighter when the light sensor on the upper-left corner of the device detects a bright light. This can be demonstrated for example with a flashlight.

I understand that it saves energy, and there’s the added feel of readability in bright light, but still it would be nice to have a checkbox in display settings for the adaptive display functionality.

What do you think, or have I missed something?

All discount codes already working?

Posted on January 4, 2008
Filed Under Maemo, N810, speculation | 10 Comments


Update (5.1.2008 02:35):
Confirmation mail came from Nokia, codes should now work for: Austria, Belgium, Denmark, Finland, France, Germany, Ireland, Italy, Netherlands, Spain, Sweden, Norway, Switzerland, United Kingdom. Canadians have more info next week. But thank you Nokia for the discount and the device!

After Jan Jansen’s blog post I decided to do some clicking around Nokia’s online shops. It seems that the N810 is available for order from all of the shops listed on this page.

This should be a surprise at least for Finnish customers, because as seen in the following pictures N810 shouldn’t be available yet.

Nseries.com (location finland):

Nseries finland

Nokia Nseries Online Shop:

Nseries Shop

Something fishy going on?

Posted on December 21, 2007
Filed Under General, Maemo, Services | 9 Comments

http://tablets-dev.nokia.com/ Is still pretty much unreachable, but I’m beginning to feel that there’s something more to it than people upgrading their OS to 2008.

Because for me http://repository.maemo.org/ and http://repository.maemo.org/extras are also 95% of the time unreachable. Is this a classical case of Nokia not paying the ransom and getting the internet hammer also known as DDOS? Share your own thoughts :)

PS. Happy Holidays!

keep looking »