LauraCowen.co.uk

Life, technology, research, and miscellany

Setting up a Freecom media player with Ubuntu

January13

This has taken me over two months (on and off) to finally get set up so hopefully this post will make things a bit smoother for other people.

I have the Freecom Network Media Player 350 WLAN model with no harddrive. As we already have a MythTV media server in our living-room, I wanted to set up the new media player in the bedroom with my old 17″ LCD monitor and a pair of speakers. The media player has 802.11G wireless so I can listen to music over the network, though I’m not sure if that’ll be up to playing video so we might have to finish running the ethernet cable anyway.

So, what did I have to do to set it up? And why did it take me so long?

Well, the answer to the first question should really be “not a lot” because it’s mostly set up ready to go when you take it out of the box. In practice, it took me about three stints of fiddling around to get it working (only the ‘Sharing files from a Linux PC’ bit of this post is specific to Linux and Ubuntu, by the way).

Video output

First of all (and a significant mistake on the part of the manufacturers, I feel), the Freecom media player defaults to Composite, its analogue output. You can switch it to HD-DVI, its digital output, but you must have the digital output device (my LCD monitor in this case) connected to the media player with a DVI cable (the one with the white ends). If the LCD monitor is not connected, the media player doesn’t believe you that a digital output is really what you want and won’t switch.

But, in order to see the Setup screens on the media player, you have to have connected the media player to some kind of non-digital display. This was fine for me at home because our TV is still an old CRT and has easily accessible composite input (the triple cable with yellow/white/red plugs on it). At my parents’ house, however, they have a shiny new LCD TV with no composite input. Although the media player is handily supplied with a composite cable, it doesn’t come with either an s-video or scart cable, which is all that my parents’ TV can take.

So, after enlisting my parents to help lug their old portable TVs around the house, I managed to get an analogue output (old portable TV) and a digital output (the new LCD TV) in the same physical location so that I could plug the media player into both and switch the media player output to digital. Unfortunately, the default resolution of the digital output on the media player is 576 and not 1080. The LCD TV, however, will only recognise 1080. And you can only change the resolution of the media player’s digital output setting *after* you’ve switched to the digital output.

So something of a Catch-22 situation there.

I eventually got it working back at home where my LCD monitor was less picky about what resolution the media player fed into it and I could change to digital output then switch resolution, then save the settings so that the media player boots into digital output every time.

Wireless

We use WPA wireless encryption on our home network (use the WPA-TKIP option on the media player), so this was never going to be completely straightforward. But, really, entering a 63-character passphrase using a remote control is beyond a joke!

Basically, for each character, you tab through a list of 36 characters (0-9-a-z), using the Up arrow on the remote control, until you reach the one you want. Then, you press the Right arrow to move to the next character before repeating the previous step. For 63 characters!

Also, one thing that the media player instructions don’t mention is that you have to use the ASCII version of the WPA key, not the Hex version (which is what I’m used to using on my laptop, on the Wii, and on pretty much every other wireless device I use — except our digital photo frame, which is another story!).

Once I’d worked out how to enter the WPA key, it connected easily. It’s pretty much the same experience on a WEP network except that the key is much shorter to enter!

Sharing files from a Linux PC

This is where the Ubuntu (or LInux in general) bit comes in.

The media player’s manual provides detailed instructions on how to share files from a Windows PC to the media player so it takes a bit of translation to get the same thing to work from a Linux PC.

A nice touch in the media player is that it uses Samba by default to do its file sharing. This means that, on connecting to the network, it finds all the available Samba shares and displays them under the wireless (or wired, if you’re using ethernet) option on the main screen as sources of media.

The less nice touch is that it uses “a really crap authentication system” (Mills, 2008). I easily shared a directory using the Ubuntu GUI. Before you can share a folder using Samba, you must have a Samba server installed on the PC. On Ubuntu (Gutsy in my case), a Samba server is installed and configured by default so you should be fine.

To share a folder using the GUI in Ubuntu:

  1. Right-click the folder on your Ubuntu PC you want to make available to the media player, then click Share folder. The Share Folder dialog opens like this:
    Screenshot of the Share Folder dialog.
  2. In the dialog, from the Share through list select Windows networks (SMB). A couple more fields are added to the dialog.
  3. In the Name field, type a name for the share. This name must be fewer than 12 characters long otherwise the media player doesn’t recognise it (a mistake I made on my first attempt).
    Screenshot of the Share Folder dialog with SMB selected.
  4. Leave the Read only check box selected. There’s no need for the media player to have any more access than this.
  5. Click OK.
  6. Right-click the folder then click Properties. On the Permissions page of the Properties dialog, check that the Folder Access list for ‘Others’ has Access files selected.
  7. Check also that the files in the folder have read-only access for ‘Others’ by looking in the Properties dialog of one or two of the files.

Okay, the folder is now shared but the media player still can’t access the files in it.

In case you’re interested, or in case you prefer to edit the Samba configuration file directly instead of using the GUI, the GUI generates a stanza like this in the /etc/samba/smb.conf file (where ‘cardiff’ is the name I gave to the share, and the path is the location of the folder in my home directory on my Ubuntu PC):

[cardiff]
path = /home/laura/photos/canon_ixus/2007-12-02-cardiff
available = yes
browsable = yes
public = yes
writable = no

At this point, the media player can find your shared directory but can’t access any of the files in it. So you need to do a tiny bit of editing of the smb.conf file (sorry, it’s unavoidable) to allow the media player to authenticate with your Ubuntu PC.

To enable the media player to access any folders you’ve shared (thanks to Hugo Mills for telling me this bit):

  1. Open a terminal window and change to the directory that contains the smb.conf file:
    cd /etc/samba
  2. Back up the smb.conf file (so that you can revert back to using the old version of the file if necessary):
    sudo cp smb.conf smb.conf.bak
  3. Open the smb.conf file in a text editor such as Gedit:
    sudo gedit smb.conf

    Enter your password when prompted. The smb.conf file opens in Gedit.

  4. Find the section of the file called
     ####### Authentication #######
  5. Find the line that says:
    security = user
  6. Replace the line with the following two lines:
    auth methods = guest sam winbind
    security = share
  7. Find the line that says:
    encrypt passwords = true

    Check that the line looks like this and that it isn’t commented out with a semi-colon (;).

And you’re done!

The media player should now be able to read the files in the directory that you shared (you’ll probably have to reload the folder on the media player to display the files).

Playing shared files

The media player supports a whole list of file formats but I’ve had trouble playing some files. I had no trouble playing some mp3 music files, and I was able to play an mp4 video file over the network (although the latter hung the media player the first time through for some reason).

One directory of jpg image files worked fine as a slideshow (though the media player doesn’t automatically rotate portrait pictures) but another directory of jpg images wouldn’t play. I think it’s got something to do with file sizes and the amount of memory available on the media player. A 1.9 MB png file wouldn’t play because it was too big for the media player’s memory.

Also, I haven’t been able to play any of the AVI movie files that I’ve tried. They all came from my Canon Ixus camera so I don’t know what the problem is but maybe the media player supports only certain AVI codecs?

I was also able to play a slideshow of jpg files from a USB key drive that I plugged into the USB port on the back of the media player (a USB extension lead is useful here because my USB key is slightly too bulky to go in port next to the DVI cable port).

Verdict

So far, I’ve not actually tried the media player in situ yet so I can’t say how well it works in its intended setting. But it’s now set up and works with wireless, sound, and file shares.

Post to Twitter Post to Facebook Post to Delicious Post to LinkedIn

tagged with:
posted on 2008-01-13 at 10:01 pm in Open Source | 9 Comments »

Oh so Web 2.0!

October10

A couple of nights a go, I had a go with del.icio.us (which I struggle to spell, let alone get the dots in the right places!). I registered a bit back but, once logged in, had absolutely no idea what to do next. Someone suggested I install a delicious (sack the dots!) extension for Firefox. There turned out to be three available (when I searched Firefox’s extensions) so I installed the Yahoo! one (Yahoo! own delicious now).

Rather nicely, after installation, it launched a wizard that stepped me through importing my bookmarks from my local Firefox file. They imported okay and were saved as private. I then did some spring-cleaning and deleted out-of-date bookmarks, then tagged and re-tagged others. The imported bookmarks were automatically tagged according to the bookmark folders they’d been in, which was helpful.

So, anyway, here are my delicious tags. If you click through a tag, you’ll see the bookmarks that I’ve classified with that tag.

Post to Twitter Post to Facebook Post to Delicious Post to LinkedIn

tagged with:
posted on 2007-10-10 at 08:10 pm in Blogging, Twittering, etc | 1 Comment »

My new friend

May24

This is my new bunny:

My new bunny

She talks to me, tells me the time, tells me the weather forecast, reads messages to me, flashes her lights in pretty colours, and waggles her ears.

My Mum has a bunny too. Her bunny has married my bunny (fortunately about 250 miles apart) so when my Mum moves the ears on her bunny, the ears on my bunny move the same way.

If we were really sorted (or geeky, if you like), we’d arrange some kind of code. So far, the only meaning we’ve established is that ears down last thing at night means ‘good night’.

But it’s all fun. :D

Post to Twitter Post to Facebook Post to Delicious Post to LinkedIn

tagged with:
posted on 2007-05-24 at 09:05 pm in Technology | 1 Comment »

Shiny new – red – laptop

March18

This is slightly old news now – especially to the poor souls who I see and bore about my new laptop every day at work. ;)

I’ve wanted to buy a laptop of my very own for about a year now but, already having a desktop PC that works fine, I couldn’t really justify it. Also, I wasn’t sure what I wanted from a laptop: a desktop replacement like the Dell Inspiron, which my brother bought last summer with a huge screen but large and heavy, or an ultraportable like the little Vaios and iBooks that might be a bit underspec and overpriced.

Then a couple of weeks ago I stopped procrastinating and decided that I want a small, light laptop that had to have a bit of umph and could run Linux. I had no idea what was available so I just looked at the main manufacturers like Dell (too big), Sony (too expensive and focusing a little too much on what it looks like over what happens under the lid), Apple (ditto Sony)…

In the past, Tony has bought new hardware based on recommendations in the PCW magazine Group Test reviews. So I did a search and discovered, conveniently, that PCW’s February 2007 issue did a Group Test of lightweight laptops. Their favourite, with a glowing review, was for the Samsung Q35. After looking at some of the others that they tested, I came to the same conclusion.

Then I discovered that the Q35 also comes in RED!!! :D

After a bit of debate about settling for the slightly lower spec Q35 Red over the standard silver Q35, I figured that what difference there might be between a 1.83 Ghz Intel core 2 duo (the red one) and a 2 Ghz Intel core 2 duo (the silver one) I’m unlikely to notice with my type of usage (email, Web, word processing). So I plumped for the Q35 Red.

And it’s so cool!

The keys on the keyboard feel really nice to type with. There’s is a slightly odd keyboard layout in that you have to use the Fn key to get Home and End but it actually takes less getting used to than I expected. What still catches me out is having to reach slightly further to the right for the right-hand Shift key. But even so, it’s all very nice. Another thing that user reviews pointed out as being negative is the slight stiffness of the touchpad buttons but it’s not a big deal and I tend to double-tap the touchpad anyway.

Other than that….the build feels really solid (including the DVD drive which doesn’t feel as flimsy when open as on some laptops), the monitor resolution (widescreen 1280 x 800) compensates for the smaller screen (12.1″), the picture quality is great, the battery life is good….

….and almost everything worked on Ubuntu Edgy out of the box!

I booted first into the factory-installed Windows XP Pro to check that all the hardware worked (like the SD/MMC etc card reader). After some initial confusion about which way up to insert an MMC card (the user manual says with the label down, but actually it’s with the label up), all was fine. So I wiped the harddrive and installed Ubuntu Edgy.

All the software comes on CDs in the box with a healthy understanding, on Samsung’s part, that users *might* want to reinstall at some point (even if it’s just because of a harddrive failure), rather than expecting a hidden partition on the harddrive to be sufficient. Actually, there is a hidden recovery partition on the Samsung Q35 but it contains some recovery software, rather than an entire operating system. The idea is that you can take an image of your machine at certain points to which you can revert in future if all goes wrong. I figure that if I’ve got all the software on CD and I screw up my machine *that* much, I’d rather just do a straight reinstallation. Besides, the recovery software runs on Windows.

So, in the BIOS, I made the hidden recovery partition deleteable and told Ubuntu to format the entire harddrive. Unfortunately, I think there’s a slight bug in the BIOS so that whenever you do a cold restart (ie shutdown and power off then power on again) the BIOS setting defaults back to protecting the hidden partition from being deleted again. And I kept forgetting to switch it back to being deleteable. So, on my second installation attempt, I remembered to make the hidden partition deleteable. Possibly predicatably, however, after installation, when I next powered on, the machine wouldn’t boot because the BIOS had reverted back to protecting (ie hiding) the recovery partition area of the harddrive. Which meant that the Master Boot Record (on the first bit of the harddrive) was hidden (which is not ideal).

In the end, I gave up and wrote off the few Gb of hidden partition area and installed into the rest of the drive. Strangely, the installation took ages this time. Still, it seems okay and I’m going to do a fresh installation of Ubuntu Feisty when it comes out in April anyway. Slightly annoying that I can’t use that area of the drive but my BIOS version is up-to-date – and I’d have to reinstall Windows to update it now anyway – so I’ll have to live with it.

One thing that I didn’t mention about the factory installation is that there’s another partition which contains a media centre (based on Windows XP) that you can boot into without loading the full operating system so that you can look at photos, play DVDS, and listen to music. There’s even a separate power button on the laptop for it. Because it’s all part of Windows XP I couldn’t keep it when I installed Ubuntu but, at some point, I’m going to investigate the possibility of installing something similar based on Linux and, hopefully, hooking it into the second power button. Apparently I know someone who knows about this sort of thing so there’s a chance that it might work too.

Anyway, on installation, Ubuntu automatically detected the correct screen resolution and just worked. To work on our WPA-encrypted wireless network, the wireless needs Network Manager installing with some slight configuration (though Feisty should do this better), and there’s a weird bug in the sound card support that requires you to run a command (see these instructions for installing Fedora on a Samsung Q35 for the command). Without the command, the sound works but there’s a high-pitched whistling sound that quickly gets irritating.

The touchpad works (including double-tapping to do a double-click) but vertical and horizontal scrolling using the touchpad doesn’t work out of the box. At some point I’ll look into that. I successfully burnt a CD using the Nautilus-integrated drag-and-drop method a couple of nights ago (easier than I remember it being on Windows) so that’s all fine. The card reader does work but ironically only seems to detect the DRM-protected SD card and not the DRM-free MMC card. Hopefully that will change with Feisty because I use an MMC card in my digital camera.

So, all in all, I’m a very happy bunny!

Post to Twitter Post to Facebook Post to Delicious Post to LinkedIn

tagged with:
posted on 2007-03-18 at 01:03 pm in Open Source, Technology | 2 Comments »

Importing photos from my Canon IXUS 55

August28

In response to a comment on my previous post, here’s what happens when I plug in my camera and switch it on (in Playback mode) under Ubuntu Linux Dapper:

Import Camera dialog

Then, when I click Import Photos, I get this dialog:

Import Photos dialog

You then just select the thumbnails of the photos that you want to import to your harddrive and click Import. It automatically creates a directory in the location shown using the current date and time.

Much the same sort of thing happens under Windows XP and Mac OS X because they all use the PTP transfer protocol.

Post to Twitter Post to Facebook Post to Delicious Post to LinkedIn

tagged with:
posted on 2006-08-28 at 09:08 am in Open Source, Technology | 1 Comment »
« Older EntriesNewer Entries »