Howto: Install Mustek 1200 UB Plus scanner on Ubuntu 11.10

I’ve been using my old Mustek 1200 UB Plus scanner since Ubuntu 8.10 and it serves me well through each version of Ubuntu, for my needs anyway. The only problem I have with this device is installation after upgrading OS (I prefer clean install). It is so simple to forget and I’ve decided to write a little script, so I don’t need to search the web every time. And someone even might find it useful.

 

Intstallation/Setup

  • To install sane and make directory, type in Terminal:
sudo apt-get install sane
sudo mkdir /usr/share/sane/gt68xx
  • Plug in your scanner.
  • Copy and paste the script content in any text editor and save it to Home folder as mustek1200UB.sh
Script:
#!/bin/bash
#################################################
# DESCRIPTION: Mustek UB1200 Plus setup on Ubuntu
# DATE: 2011.10.23
# AUTHOR: ssnjara
#################################################
#navigate to proper directory
cd /usr/share/sane/gt68xx
echo "Driver firmware download directory is:"
pwd
echo "Starting downlad..."
sleep 2
#download driver firmware file sbfw.usb
sudo wget http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/sbfw.usb
cd /etc/sane.d/
sleep 2
echo "Seting up /etc/sane.d/gt68xx.conf file"
#search the string in file and replace it
sudo sed -i.backup -e 's/^#override "mustek-scanexpress-1200-ub-plus"/override "mustek-scanexpress-1200-ub-plus"/' gt68xx.conf
sleep 2
echo "Device should be ready for use!"
  • To make the script executable, open Terminal and type:
sudo chmod +x mustek1200UB.sh
  • and finally execute the script:
./mustek1200UB.sh

That’s it. Scanner is ready to use.

Watch setting up Mustek 1200UB plus scanner on Ubuntu 11.10 in this video.

In case something goes wrong check the original post on Ubuntu Forums here.

Thanks to williamts99 for great howto!

10 Responses to Howto: Install Mustek 1200 UB Plus scanner on Ubuntu 11.10

  1. Ubuntu 12.04
    To make the script work I’ve done this steps:
    * sudo apt-get install sane
    * sudo mkdir /usr/share/sane/gt68xx

    • ssnjara kaže:

      @Girafik Thank you for the tip. I’v added this two lines to howto and it’s nice to know it works on 12.04. Thanks again.

  2. Daniel Heaphy kaže:

    “To make the script executable, open Terminal and type:
    sudo chmod +x mustek1200UB.sh
    and finally execute the script:
    ./mustek1200UB.sh
    That’s it. Scanner is ready to use.”

    The command “sudo chmod +x mustek1200UB.sh” comes up with “chmod: cannot access `mustek1200UB.sh’: No such file or directory”
    and the same for “./mustek1200UB.sh”

    Can anyone help as to why this is happening and have a solution?
    Any help would be appreciated (sorry, Im not so savvy with linux just yet and I have a lot to learn so bear with me)

    • ssnjara kaže:

      My guess is that you are not in the correct directory or your script in not named “mustek1200UB.sh”.
      Make sure that you navigate to the directory where you saved the script…if it’s home directory type in terminal: “cd /home/username” (replace “username” with yours) and than execute the command…
      also make sure that the script is named “mustek1200UB.sh”
      If this doesn’t help tell me witch distro are u using….

  3. Ubuntu related to Debian. This tutorial works equally well in Debian thanx for the information!

  4. Yahooey kaže:

    Worked first time no problems; Tak!

  5. Pingback: Установка драйверов Mustek 1200 UB Plus на линукс и XP | Николай Беляшов

  6. Eleanor Ellis kaže:

    You also need to add your username to the “scanner” group either by

    sudo adduser scanner

    or by installing the Gnome Users and Groups management tool

    sudo apt-get install gnome-system-tools

    or search for gnome-system-tools in the Ubuntu Software Center

    Then run “Users and Groups” from |System Tools|Administration (if you are using a menu based desktop environment like Gnome Fallback or Xfce)

    or search for “Users and Groups” in Unity

    Click “Manage Groups”
    Click on the “scanner” group and select “Properties”
    Tick any users who should be able to use the scanner.

  7. Linux Mint 17 – Scanner not working.
    Lubuntu 14.04 – Scanner is working.
    I need scanner on Linux mint 17. Can you help me?

  8. Works, RaspberryPi.

    Linux raspberrypi 3.12.22+ #691 PREEMPT Wed Jun 18 18:29:58 BST 2014 armv6l GNU/Linux

    Thank you!

Odgovori

Please log in using one of these methods to post your comment:

WordPress.com Logo

Ovaj komentar pišete koristeći vaš WordPress.com račun. Odjava / Izmijeni )

Twitter picture

Ovaj komentar pišete koristeći vaš Twitter račun. Odjava / Izmijeni )

Facebook slika

Ovaj komentar pišete koristeći vaš Facebook račun. Odjava / Izmijeni )

Google+ photo

Ovaj komentar pišete koristeći vaš Google+ račun. Odjava / Izmijeni )

Spajanje na %s

%d bloggers like this: