Posts

Installing openSUSE 10.3, take 2

· Computers

Yesterday, I installed (not upgraded) openSUSE 10.3 on my workstation. It is a bit iffy - it’s a cheapo motherboard, with onboard and add-on SATA, and always confuses the OS in terms of what disk comes in what order… Add to that a PCI GigE card that always forgets its MAC address (00:00:00:…), it’s not easy… I installed to the SATA disk, and the installation went really smoothly, until the reboot, when it booted back into the old GRUB install on the IDE drive. OK, figured that one out (modify the device.map, have it chainload the SATA drive from Grub, if the BIOS can’t figure it out).

∼ Continue Reading ∼

Upgrading Dell laptop to openSUSE 10.3: sda vs. hda issue

· Computers

I upgraded my Dell laptop from openSUSE 10.2 to 10.3, using a network install (it doesn’t have a DVD or CD drive). Only some minor issues arose - it was actually quite smooth.

The more recent Linux kernels have switched the IDE/PATA drivers. The new drivers use /dev/sda nomenclature, instead of the older /dev/hda names, in line with the SATA drivers. This makes for a more uniform naming scheme, but when upgrading, may lead to problems if (i) your main drive is PATA, not SATA (ii) you have a mix of PATA and SATA drivers.

∼ Continue Reading ∼

Cingular/AT&T N75, firmware, and A2DP

· S60

I’ve had the Nokia N75 since July, and bought a Motorola HT 820 bluetooth headset as well. Sound was crappy, though, and the audio controls did not work: indication that the A2DP profile wasn’t working, but you never know - it could be a Motorola-Nokia incompatibility. Well, I found a clear explanation on how to upgrade the firmware on the N75 (essentially, ask AT&T for an unlock code, then follow the instructions here). And lo and behold - it worked just fine, in nice stereo, and not too bad, either. I now have bluetooth stereo on my cell phone. Now if I could only find a second battery, I would be happy… (Note: the bluetooth radio in at least one of my devices is fairly weak - with the phone in my leg pocket, calf height, and the headset on my head, sound can come and go. With the phone in my jacket pocket, everything works well.)

X11, modelines, and new monitors

· Computers

I finally figured out the correct way, regardless of Linux distribution tools, on how to configure an unknown/new monitor. It turns out that Xorg will use I2C tools to query the monitor. Among other things, the monitor will report sync rates, size, age, name, etc. Most importantly, it will report all that is needed to write a new modeline in xorg.conf:

(II) MGA(0): Supported additional Video Mode:
(II) MGA(0): clock: 146.2 MHz  Image Size:  473 x 296 mm
(II) MGA(0): h_active: 1680  h_sync: 1784  h_sync_end 1960 h_blank_end 2240 h_border: 0
(II) MGA(0): v_active: 1050  v_sync: 1053  v_sync_end 1059 v_blanking: 1089 v_border:  0
(II) MGA(0): Ranges: V min: 56  V max: 75 Hz, H min: 30  H max: 83 kHz, PixClock  max 150 MHz

We can take this information, and create the monitor and mode sections in the xorg.conf file:

∼ Continue Reading ∼

· Computers

After my Motorola died, I get a new phone, and decided to try out a quasi-smart phone: Nokia N75. Coolest thing: hooking up a bluetooth keyboard to the phone… (You need to install an application for that to work, which can be found here). All my email accounts are already set up (IMAP and POP). Now I just need to find out how to get it to do OTA SyncML to the Oracle Calendar server at Cornell, and I’m all set. (This might mean the end of day-to-day  usage of my Palm… but the bigger screen is still an asset…)

Nexenta in VMware

· Computers

Nexenta is a GNU-based OpenSolaris - very cool. I ran it using the latest VMware image from their site. Trouble is, the latest (VMware 6.0) vmware-tools did not install cleanly. I found that it assumes a pure Solaris structure. Here’s the patch to vmware-config-tools.pls for it to work with Nexenta:

6151a6152,6153
>   my $release;
>   my $distro;
6153a6156,6169
>     # check for Nexenta
>     if ( -e "/etc/lsb-release" ) {
>        open(*RELEASE,"/etc/lsb-release");
>        $release=;
>        if ($release =~ /GNU_OpenSolaris/) {
>           $distro="Nexenta";
>        } else {
>           $distro="Other";
>        }
>        close(RELEASE);
>     }
>     else {
>        $distro="Other";
>     }
6155c6171,6175
< $name = "/usr/dt/config/Xsession.d/9999.autostart-vmware-user.sh";
---
>     if ( $distro eq "Nexenta" ) {
>        $name = "/etc/X11/Xsession.d/9999.autostart-vmware-user.sh";
>     } else {
>        $name = "/usr/dt/config/Xsession.d/9999.autostart-vmware-user.sh";
>     }

Transforming arbitrary films to flash player format

· Computers · 1 comment

For posting on Gallery (2.2 at least), converting the films to Flash format is convenient - it reduces quality, but also size (youtube?). You still need to do it offline. On a linux system, try

ffmpeg -i input.MPG -s (sizeX)x(sizeY) -ac 2 -ar 44100 -r 24 output.flv

This will recode input.MPG with two audio-channels, at 24 fps, to a flash movie.

3D desktops on SUSE 10.2

· Computers

After installing openSUSE 10.2 on the Dell X200 (933Mhz, 622MB), I switched to the Xgl desktop. I switched to the Novell builderservice, and upgraded to the latest xgl/compiz (but not beryl). Results:

  • the stock Xgl is still fairly slow
  • the upgraded Xgl is MUCH faster - to the point that the nifty 3d desktop switch is TOO fast
  • but: video is bad. Realplayer video is sluggish, and not usable

That does seem to be a known issue, and it may not matter on faster CPUs - but on slower CPUs, it matters a lot. I switched back to stock Xorg.

∼ Continue Reading ∼

Installing SUSE on laptops

· Computers · 1 comment

I have over the years installed a couple of SUSE distributions (well, SuSE, SUSE, openSUSE, or maybe sUSe…) on my laptops: Compaq M300, Dell X200, and IBM X60s.

The latest iterations were SUSE 10.1 on the IBM and Dell, from the factory DVD. Both worked like a charm - I installed the Dell using a network-based install, slick), blue function keys worked, some initial hibernate features on the IBM between two kernel revisions soon resolved themselves, and I even managed to install the fingerprint reader on the IBM. Upgrading the mini-PCI card on the Dell from the original 802.11b-only one to a newer 802.11b/g one (Intel ipw2200) worked like a charm - the drivers and firmware were already present on the SUSE 10.1 install, reboot, and it found the new wireless card immediately - Windows XP did not, I had to first download the driver from the Intel site.

∼ Continue Reading ∼