🖨️ How to Install Brother DCP-L2600D on Ubuntu 24.04 (Printer & Scanner Setup Guide)

Setting up the Brother DCP-L2600D printer and scanner on Ubuntu 24.04 requires extra steps due to compatibility issues. This guide walks you through the installation and troubleshooting.

System Requirements

Before proceeding, verify the following:

  • Ubuntu Version: Ubuntu 24.04 (newer versions may require adjustments)
  • CUPS Version: Latest version from the Ubuntu repository
  • Dependencies: libusb-0.1-4, libsane, sane-utils
  • USB Connection: Ensure the printer is properly connected and detected

📁 Step 1: Create a Working Directory

To keep all files organized, start by creating a dedicated directory.

Open a terminal (Ctrl + Alt + T) and run:

mkdir -p ~/brother
cd ~/brother

🔧 Step 2: Verify and Fix USB Communication (Brother Legacy USB Support)

Proper USB detection is crucial for the printer and scanner to function.

1️⃣ Check USB Device Detection

Run:

ls -l /dev/usb/

Expected output (if the printer is correctly detected):

crw-rw---- 1 root lp 180, 0 Apr 5 12:14 lp0

If /dev/usb/lp0 exists, move on to the next step.

If lp0 is missing:

  • Ensure the printer is properly connected.
  • Try unplugging and reconnecting the USB cable.
  • Run lsusb to check if the printer appears in the list.
    …
    Bus 001 Device 007: ID 04f9:0567 Brother Industries, Ltd DCP-L2600D
    …

2️⃣ Install Brother Legacy USB Support & libusb (Only If Needed)

If /dev/usb/lp0 does not exist, install the Brother USB support package along with libusb-0.1-4.

Some Brother devices are not detected correctly over USB without this package. For proper USB communication, follow the steps from Brother FAQ00100729: How to Fix USB Communication Issues for Brother Printers on Debian 11+, Ubuntu 20.04+, and Their Derivatives.

Download the patch file brotherlegacyusb-1.1.1-0.all.deb and install it using the following commands:

sudo dpkg -i brotherlegacyusb-1.1.1-0.all.deb

sudo apt install -y libusb-0.1-4

This package enables proper communication between your printer/scanner and Ubuntu via USB.

After installation, verify detection again:

ls -l /dev/usb/

If lp0 is still missing:

check if the usblp module is loaded:

lsmod | grep usblp

If usblp is present, it should return something like:

usblp                  24576  0

If usblp is missing, manually load it:

sudo modprobe usblp

Then verify again with:

lsmod | grep usblp
  • Restart the system.
  • Check kernel logs for USB errors using:
    dmesg | grep usb

📦 Step 3: Install the Correct Version of libsane

Ubuntu 24.04 uses a new scanner backend (libsane1), but Brother software depends on the older version of libsane. To resolve compatibility issues, install the older version (libsane 1.1.1-5) manually.

The following packages have unmet dependencies:
 brscan-skey : Depends: libsane (>= 1.0.11-3) but it is not installable

Follow the instructions from Brother FAQ00100811: Fixing the Installation of Scan-Key-Tool on Ubuntu 23.10 and Later (or Its Derivatives) in Linux:

sudo apt install -y simple-scan sane-utils  # Install Scanning Tools and libsane1

wget http://archive.ubuntu.com/ubuntu/pool/universe/s/sane-backends/libsane_1.1.1-5_amd64.deb
sudo dpkg -i libsane_1.1.1-5_amd64.deb

🖨️ Step 4: Install Printer and Scanner Drivers

Brother provides an easy-to-use installer script that will automatically download and set up the required printer and scanner drivers. This step uses instructions from Brother USA's Driver Install Tool guide:

Download the Driver Install Tool from the following page: Brother Support – DCP-L2600D Downloads.

Run the following commands:

gunzip linux-brprinter-installer-2.2.3-1.gz
chmod +x linux-brprinter-installer-2.2.3-1
sudo ./linux-brprinter-installer-2.2.3-1 DCP-L2600D

Important Note: When you run the installer, you’ll be asked:
Will you specify the Device URI? [Y/n]
You should respond with n (no) to let the installer automatically detect the device URI.

If you accidentally select "Y", retrieve the printer's URI using:

lpinfo -v | grep usb

Then use it with:

lpadmin -p Brother_DCP_L2600D -E -v <Your-Printer-URI>

🔁 Step 5: Restart the Printing System

Restart CUPS to apply the changes:

sudo systemctl restart cups

Alternatively, reboot your system.

✅ Step 6: Test Your Printer and Scanner

After installation, you should test both the printer and scanner.

Printer Test

Open your browser and go to CUPS Printers: http://localhost:631/printers

You should see your Brother DCP-L2600D listed. Try printing a test page.

Scanner Test

Run the following commands in your terminal to check if the scanner is working:

scanimage -L
brsaneconfig4 -q

If detected, you can start scanning using Simple Scan.

📝 Automating Installation with a Bash Script

Here’s the Bash script that automates all the steps outlined above. It will download the necessary packages, install the drivers, and apply all required configurations for your Brother DCP-L2600D printer and scanner.

Bash Script: install_brother_dcp_l2600d.sh

#!/bin/bash

printer=DCP-L2600D

# Create working directory
mkdir -p ~/brother
cd ~/brother

sudo apt update

# Verify USB detection
echo "Checking USB status..."
if [ ! -e /dev/usb/lp0 ]; then
    echo "Installing Brother Legacy USB Support and libusb..."
    wget https://download.brother.com/welcome/dlf105612/brotherlegacyusb-1.1.1-0.all.deb
    sudo dpkg -i brotherlegacyusb-1.1.1-0.all.deb
    sudo apt install -y libusb-0.1-4
fi

# Install correct version of libsane
wget http://archive.ubuntu.com/ubuntu/pool/universe/s/sane-backends/libsane_1.1.1-5_amd64.deb
sudo dpkg -i libsane_1.1.1-5_amd64.deb

# Install printer/scanner drivers
wget https://download.brother.com/welcome/dlf006893/linux-brprinter-installer-2.2.3-1.gz
gunzip linux-brprinter-installer-2.2.3-1.gz
chmod +x linux-brprinter-installer-2.2.3-1
sudo ./linux-brprinter-installer-2.2.3-1 $printer

# Install scanning tools
sudo apt install -y simple-scan sane-utils

# Restart CUPS printing system
sudo systemctl restart cups

# Cleanup
#rm -f *.deb *.gz

# Completion message
echo "Installation complete! Test the printer at: http://localhost:631/printers"
echo "Test the scanner with: scanimage -L"

Conclusion

This guide ensures your Brother DCP-L2600D printer and scanner work correctly on Ubuntu 24.04. By fixing USB communication first, we minimize setup issues. Whether following the manual steps, your device should be fully functional!

Sources

Napsat komentář

Vaše e-mailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *