Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Wednesday, July 30, 2008

Got My USBs Back in VirtualBox

Well, since I upgraded to Hardy, I couldn't get my USB devices to work in VirtualBox and I was almost forgetting it once had such feature : )

I've been very lazy because if I just had googled it like I did today, my life could have been more colourful. If you suffer from the same problem and haven't bothered fixing it yet, here is a fix I found on ubuntu-unleashed.

After adding yourself to vboxusers group and uncommenting a few lines in /etc/init.d/mountdevsubfs.sh, find group id of vboxusers and add the following to /etc/fstab
none /proc/bus/usb usbfs devgid=VBOXUSERS_ID,devmode=664 0 0 
Mount it and celebrate the reunion.

Link to full article:
http://www.ubuntu-unleashed.com/2008/04/howto-install-virtualbox-in-hardy-heron.html>

Wednesday, May 14, 2008

Transmission 1.20 Hardy Packages

Hey. Yesterday I thought of setting up a small repository of Hardy packages as an exercise after reading Debian New Maintainers' Guide. So, I grabbed the official source package of transmission from Hardy's repository and the new 1.20 source code.

At first, it looked like I had to do a lot of configurations but thanks to free software community, all I needed to do was copying old control files, updating package info and issuing a single command, dpkg-buildpackage -rfakeroot to build the package. Of course, it could have been harder if I didn't have the previously made source package ready but fortunately in most cases someone else has already built a version of that software.

Well, I've just opened a free account on freehostia and uploaded the packages there. If you are interested, add the repository and enjoy the bleeding-edge Transmission on your Hardy ;)

wget -q http://masoodbeh.freehostia.com/repositories/hot/DF405F92.asc -O- | sudo apt-key add - 
sudo wget http://masoodbeh.freehostia.com/repositories/hot/sources.list.d/hardy.list -O /etc/apt/sources.list.d/hot.list 

Saturday, May 10, 2008

Brother MFC665 New Linux Drivers

I've been using version 1.0.0 of Brother MFC-665CW multifunction printer on Gutsy (AMD64) for over a year until recently I upgraded to Hardy. I thought I better give the newer, 1.0.1, drivers a go since the older version package installation was cumbersome and printing itself was slow.

Unfortunately, a bug which also existed in previous version still exists and causes the installation of Debian packages for both LPR and CUPS Wrapper fail to complete. Fortunately, the fix is just a simple directory creation this time, /var/spool/lpd/mfc665cw and /usr/share/cups/model, before installing the packages. Well, no native packages for AMD64 yet so the usual --force-architecture option to dpkg is required. If your printer is attached to a network, you need to set "Device URI" in Printing.

I forgot to mention that printing speed is considerably faster than previous version but I don't know who should get the credit, the cool new driver or the superb distribution. Both rock : ))

Below are the direct link to drivers:
http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc665cwlpr-1.0.1-1.i386.deb
http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/mfc665cwcupswrapper-1.0.1-1.i386.deb

Thursday, April 17, 2008

The Remedy For HDD Issue

I've just posted a detailed configuration and procedures that I followed to solve the clicking noise of my laptop's hard drive in oxplot. So check it out if you have the same problem and I hope it'll help you too.

Also if you are interested in more detail about this, check out this bug report on launchpad. You can find several useful links to discussions in the bug report comments.

The Unpleasant Clicks

If you happened to run Ubuntu on a laptop, you've probably noticed the annoying hard drive clicks every few seconds. I've only recently got a laptop so I didn't know this problem existed so long without any out of the box solution. However, it didn't take me long to find a reasonable workaround for it.

The whole issue is around the fact that hard drives with aggressive power saving feature park heads after just several seconds in idle but a frequent disk access in Ubuntu causes it to unpark the heads shortly after. This leads to an annoying click noise and shorten drives' life. In Gutsy, enabling laptop-mode with noatime and hard disk power management option and disabling Tracker daemon fixed the problem for me. I actually changed the power management on battery mode from 1 to 128 because I didn't want it to spin down the disk too often. I'll post the configurations in more details soon.

I just want to add that the issue is still not solved in Hardy as of this writing. In order to get rid of the clicking noise in Hardy I had to change disk power management up to 192 but keep in mind that Hardy is still in beta and the issue might be solved by the time it's released. Fingers crossed!