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.
A while back I was going through kernel-source-rx-34-188.8.131.52-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_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:
- Downloadable media playback and digital TV decode
- MPEG4, H.264, Window Media Video 9 (VC-1), RealVideo version 10 decode at VGA (640×480) 30 fps
- Still image capture
- >5 Mpixel with 1 second shot-to-shot delay
- Motion video capture
- MPEG4 encoding up to VGA 30 fps
- Video teleconferencing
- H.263, H.264 videoconferencing with simultaneous recording of VTC session up to CIF 30 fps
- 2D/3D gaming
- Rasterization up to 1 million polygons per second (OMAP2430 only)
- Advanced Imaging, Video and Audio Accelerator (IVA™ 2) boosts video performance in mobile phones by up to 4X and imaging performance by up to 1.5X
- Delivering a multimedia experience with consumer electronics quality to the handset
- Multi-engine parallel processing architecture for supporting complex usage scenarios
- Built-in M-Shield™ mobile security technology enables value-added services and terminal security
- Support for all major High Level Operating Systems (HLOS) aids applications development
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.
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:
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.
- 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.
- Install Kate’s usb-otg-plugin.
- Select host mode.
- connect your usb cable, adapter and the flash drive.
- Enjoy the warm pseudohackerish glow deep inside…
Next up arduino….
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:
- Find and decide where to get GPE Calendar from. I ended up using repository:
http://www.cobb.uk.net/apt/ chinook user
- Then there’s the libsoup dependency. This I achieved by using repository:
http://maemo.o-hand.com/packages/ chinook/ [empty]
- Install GPE Calendar from application manager.
- Install some python dependencies from the root terminal:
apt-get install python2.5 python2.5-gtk2 python2.5-hildon python2.5-xml
- Follow the erminig instructions by downloading and istalling gdatalite, pysqlite and erminig.
- 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.
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.
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?
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!
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):
Nokia Nseries Online Shop:
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 »