linux n00b

Arch Linux and Samsung Unified Linux Driver

Posted in Arch Linux, Howto by downforce on October 22, 2009

I’ve finally taken the plunge back into linux on my main desktop, after a loong looong break.

Everything has been going swimmingly well (and I’ll comment more on this another time) but one of my last ‘issues’ was getting my Samsung SCX-4521F printer working.

The AUR doesn’t explicitly have it, the closest being this.

So I tried using the Samsung driver out of the box and surprise surprise, no support for Arch Linux.

So I got out trusty old vim and added support for Arch Linux. The main issue is that:
1. It doesn’t detect Arch as a distro; and
2. It hardcodes the use of /etc/init.d.

So I just added an extra check for Arch Linux and set that variable then added a IF statement at the end to set a new variable INIT which sets it to rc.d or init.d and then updated all instances of init.d with $INIT. There is still a couple of WARNINGS produced but the driver works 😀

THe last thing I needed to change comes care of this article and thats:

10. Open /etc/cups/printers.conf Under “DefaultPrinter scx4x21” change the “DeviceURI” so it looks like this:
DeviceURI file:/dev/usb/lp0

Want to use it?

Download the Samsung Unified Linux Driver from the Samsung site and use this install.sh instead (you’ll need to rename it). The current version of the Samsung ULD is 3.00.37.