Nowe posty

xx Problem ze sterownikami. (5)
2024-04-13, 21:25:16
xx Instalacja xfce4 (2)
2024-04-13, 16:20:17
xx Serie kompilacji bez instalacji dla “emerge” w Gentoo (2)
2024-04-08, 18:40:04
xx Plasma 6 w Neonie ssie trochę mniej ... (17)
2024-04-05, 10:03:46
xx Problem z Linux Lite po instalacji (3)
2024-04-03, 14:23:40
xx Jak właczyć num locka przy starcie systemu debian 12? (12)
2024-04-02, 17:43:54
xx Brak dźwieku w systemie. (5)
2024-04-02, 16:13:41
xx Dystrybucja pod HP Omen (7)
2024-03-29, 11:33:05
xx [Poradnik] Wyszukiwanie Sterowników (2)
2024-03-27, 21:08:23
xx Ile pingwinów? (1)
2024-03-27, 08:59:24

Autor Wątek: Skaner Brother DCP-115C  (Przeczytany 20302 razy)

ciewie

  • Gość
Skaner Brother DCP-115C
« dnia: 2007-12-14, 18:48:35 »
Mam zainstalowane urządzenie wielofunkcyjne Brother DCP-115C na ubuntu 7.10. Drukarka działa natomiast skaner nie. Kiedy otwieram Xsane pojawia się komunikat - nie powiodło się otwarcie urządzenia brother2:bus3;dev1': Błąd podczas operacji wejścia/wyjścia.

norbert_ramzes

  • Gość
Skaner Brother DCP-115C
« Odpowiedź #1 dnia: 2007-12-14, 18:52:13 »
Sprawdź czy pod root'em działa.

ciewie

  • Gość
Skaner Brother DCP-115C
« Odpowiedź #2 dnia: 2007-12-14, 21:36:31 »
Sprawdziłem i skaner urządzenia wielofunkcyjnego brother DCP-115C nie działa pod rootem. Co zrobić aby działał?

  • Gość
Skaner Brother DCP-115C
« Odpowiedź #3 dnia: 2007-12-19, 20:03:37 »
Witam, mam podobny problem, tzn. ten sam komunikat, ale mi pod rootem xsane działa. A normalnie nie... Co robić? Aha, mój model to DCP-350c

norbert_ramzes

  • Gość
Skaner Brother DCP-115C
« Odpowiedź #4 dnia: 2007-12-19, 20:32:38 »
Do skanera('ów) jest z tego co wiem grupa, a jak się nazywała to nie pamiętam (patrz mój opis). Jak będę w domu to postaram się sprawdzić.

Rysh

  • Gość
Skaner Brother DCP-115C
« Odpowiedź #5 dnia: 2007-12-19, 21:26:57 »
Dobrze pojdziemy schodami :P

A tak na powaznie kiedyś mialem HP1315 chyba model (uzadzenie wielofunkcyjne) - skaner i drukarka dzialaly bez zadnego kombinowania. Tylko ze to byla stara wersja Ubuntu. Teraz moze cos pozmieniali.

Pozdrawiam.

norbert_ramzes

  • Gość
Skaner Brother DCP-115C
« Odpowiedź #6 dnia: 2007-12-20, 00:25:38 »
Grupa zwie się scanner

wiedziałem że jakoś tak...

  • Gość
Skaner Brother DCP-115C
« Odpowiedź #7 dnia: 2007-12-20, 06:54:20 »
Ale ja do niej należę i nic....

JesperKyd

  • Gość
Skaner Brother DCP-115C
« Odpowiedź #8 dnia: 2008-05-04, 12:51:48 »
W Ubuntu 8.04 x86_64 drukarkę DCP 115C instaluje się w dosyć prosty sposób.
Sciągamy najnowsze sterowniki do drukarki MFC-210C
Teraz tylko
Ubuntu 8.04 does not have /usr/share/cups/model directory where our driver create a ppd file.
Please follow the instruction below when the installation failed with the message about it.

1. Uninstall the cupswrapper driver.
Command : sudo dpkg -P (driver name)

2. Create /usr/share/cups/model directory
Command : sudo mkdir /usr/share/cups/model

3. Install the cupswrapper driver
Command : sudo dpkg -i --force-all --force-architecture (driver file name)
Co do skanera to dodajemy
gksudo gedit /etc/udev/rules.d/10-local.rules
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="_end"
# For brother
SYSFS{idVendor}=="04f9", MODE="666", GROUP="scanner"
LABEL="_end"
i instalujemy sane oraz sterowniki

W 32 bitowym Ubuntu jest jeszcze łatwiej. Wszystko robi skrypt
#!/bin/bash
#
# Brother MFC-210C Installer 0.09c
#
# Please Note: if you see this text after downloading it and didn't expect to,
# close the editor, right-click the file and click Properties. Click the Permissions
# tab and click the check box to the right of "Owner" called Execute.
#
# This script is based on "Automatix" as copyrighted and written by arnieboy
# Automatix is released under the General Public license (Please refer to GPL.txt)
# Modified by GoogleNinja and BobSongs
# Ported to Edgy by Guitara, using Matchless's excellent howto as reference
# Ported to Feisty by Guitara

function check {

# User Verification; Root alone accepted.
usr=$(whoami);
echo $usr;
if [ $usr != "root" ]
then zenity --info --title "Brother MFC-210C Beta Installer 0.09c" --text $"This script requires 'super user' privileges and must be run as like this: 'sudo ./Brother_MFC-210C_Installer.sh' (without the quotes). Please try again.";
exit 1;
fi
}

function choose {
# Displays the list of options available
RET=`zenity --list --checklist --width=525 --height=200 \\
--title "Brother MFC-210C Beta Installer 0.09c" \\
--column="X" --column $"Function" --column $"Description" \\
FALSE $"Brother MFC-210C Printer Driver" $"Installs Printer Driver"\\
FALSE $"Brother MFC-210C Fax Driver" $"Installs Fax Driver"\\
FALSE $"Brother MFC-210C Scanner Driver" $"Installs Scanner Driver"`

  if echo "$RET" | grep $"Printer"; then
PrinterDriver
fi
  if echo "$RET" | grep $"Fax"; then
FaxDriver
fi
  if echo "$RET" | grep $"Scanner"; then
ScannerDriver
fi
echo $RET >> $HOME/brother.log
}

function PrinterDriver {
# Installs the Brother MFC-210C printer driver
zenity --info --title="Brother MFC-210C Beta Installer 0.09c" --text=":: TURN PRINTER OFF NOW ::  Click OK when it is shut down."
# Create the necessary folders required by the drivers
sudo mkdir /var/spool/lpd
sudo mkdir /var/spool/lpd/MFC210C
# Create a symbolic link to 'cupsys' called 'cups'
sudo ln -s /etc/init.d/cupsys /etc/init.d/cups
# Install the c shell
sudo apt-get install csh
# Download the drivers
wget http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc210c_1.0.0-1_i386.deb
wget http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc210clpr-1.0.2-1.i386.deb
# Install the downloaded drivers
sudo dpkg -i /tmp/mfc210clpr-1.0.2-1.i386.deb
sudo dpkg -i /tmp/cupswrappermfc210c_1.0.0-1_i386.deb
# Write correct device uri to printers.conf
# Create a symbolic link to 'ppd'
sudo ln -s /usr/share/cups/model/brmfc210c_cups.ppd /usr/share/ppd
sudo sed -i '
/Info MFC210C/ {
N
s/usb\\:\\/dev\\/usb\\/lp0/usb\\:\\/\\/Brother\\/MFC-210C/
}' /etc/cups/printers.conf
        sudo /etc/init.d/cups restart
# Broadcast a message
zenity --info --title="Brother MFC-210C Beta Installer 0.09c" --text="Step 1: TURN PRINTER ON NOW. Click OK to continue."
zenity --info --title="Brother MFC-210C Beta Installer 0.09c" --text="Step 2: Upon clicking Ok, the ''Printers'' box will appear. Make sure the MFC-210C appears. Click OK to continue."
# Start the GNOME CUPS Manager
gnome-cups-manager
zenity --info --title="Brother MFC-210C Beta Installer 0.09c" --text="If the MFC-210C did not appear in the Printers box, file a bug report at ubuntuforums.org/showthread.php?t=105703"
killall -9 $ZENITY_PID
}

function FaxDriver {
# Installs the Brother MFC-21C fax driver
# Download the fax drivers
wget http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/faxshare/brmfcfaxcups-1.0.0-1.i386.deb
wget http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/faxshare/brmfcfaxlpd-1.0.0-1.i386.deb
# Install the downloaded drivers
sudo dpkg -i /tmp/brmfcfaxcups-1.0.0-1.i386.deb
sudo dpkg -i /tmp/brmfcfaxlpd-1.0.0-1.i386.deb
# Write correct device uri to printers.conf
# Create a symbolic link to 'ppd'
sudo ln -s /usr/share/cups/model/brfax_cups.ppd /usr/share/ppd
sudo sed -i '
/Info BRFAX/ {
N
s/usb\\:\\/dev\\/usb\\/lp0/usb\\:\\/\\/Brother\\/MFC-210C/
}' /etc/cups/printers.conf
        sudo /etc/init.d/cups restart
# Broadcast a message
zenity --info --title="Brother MFC-210C Beta Installer 0.09c" --text="Step 2: Upon clicking Ok, the ''Printers'' box will appear. Make sure BRFAX appears. Click OK to continue."
# Start the GNOME CUPS Manager
gnome-cups-manager
zenity --info --title="Brother MFC-210C Beta Installer 0.09c" --text="If your MFC-210C fax printer was not installed, file a bug report at ubuntuforums.org/showthread.php?t=105703"
if ps -A | grep 'gnome-panel'; then
zenity --info --title="Brother MFC-210C Beta Installer 0.09c" --text="Your Fax drivers will now be setup. Click Ok to continue."
sudo apt-get install sun-java6-jre
sudo update-java-alternatives -s java-1.6.0-sun
# Create brpcfax.desktop
FILE=/usr/share/applications/brpcfax.desktop
echo "[Desktop Entry]" 1>$FILE
echo "Encoding=UTF-8" 1>>$FILE
echo "Name=BRFAX" 1>>$FILE
echo "Comment=Fax files with Brother MFC" 1>>$FILE
echo "Exec=brpcfax %f" 1>>$FILE
echo "Terminal=false" 1>>$FILE
echo "Type=Application" 1>>$FILE
echo "Categories=Application" 1>>$FILE
echo "GenericName=BRFAX" 1>>$FILE
echo "StartupNotify=false" 1>>$FILE
echo "NoDisplay=true" 1>>$FILE

#Add open with BRFAX
sudo sed -i '
/application\\/postscript/ {
s/;brpcfax.desktop//g
}' /usr/share/applications/mimeinfo.cache
sudo sed -i '
/application\\/postscript/ {
s/$/;brpcfax.desktop/g
}' /usr/share/applications/mimeinfo.cache
zenity --info --title="Brother MFC-210C Beta Installer 0.09c" --text="To use your fax printer, right click on any Postscript file (.ps extenstion) and select open with BRFAX"
fi
kill -9 $ZENITY_PID
}

function ScannerDriver {
# Installs the Brother MFC-21C scanner driver
zenity --info --title="Brother MFC-210C Beta Installer 0.09c" --text=":: TURN PRINTER OFF NOW ::  When it has shut down click OK."
# Download the scanner driver
wget http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/sane_debian/brscan2-0.2.1-0.i386.deb
# Install the scanner driver
sudo dpkg -i /tmp/brscan2-0.2.1-0.i386.deb
# Ensure sane and xsane are installed
sudo apt-get -y install sane xsane
# Broadcast a message
zenity --info --title="Brother MFC-210C Beta Installer 0.09c" --text=":: TURN PRINTER ON NOW ::  When it is fully started click OK."
# Add current user to saned, scanner group
# Would be root, not work
#usermod -G scanner $usr
#usermod -G saned $usr
}
cd /tmp
init
check
choose
zenity --info --title "Brother MFC-210C Beta Installer 0.09c" --text="All selected installations/configurations completed. File bugs at ubuntuforums.org/showthread.php?t=105703"
sudo rm -f /tmp/*.deb
sudo rm -f /*.deb
sudo rm -f /*.rpm
i jeszcze tylko
gksudo gedit /etc/udev/rules.d/10-local.rules
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="_end"
# For brother
SYSFS{idVendor}=="04f9", MODE="666", GROUP="scanner"
LABEL="_end"

honecker

  • Gość
Skaner Brother DCP-115C
« Odpowiedź #9 dnia: 2008-05-31, 17:25:43 »
@jaskerkyd mógłbyś rozwinąć jak zainstalować drukarkę na 64bit systemie.
Jak dla mnie jest to za skomplikowane :), ściągam ze strony plik "cupswrapperMFC210C-1.0.2-3.i386.deb" i tu się zatrzymuje , problem z pkt. 1 i 3 , "(driver name)" oraz "--force-all --force-architecture" co dokładniej wpisać.
Drukarka DCP-115C , nadmienie że skaner działa bardzo dobrze, XSane skanuje tak jak trzeba.

JesperKyd

  • Gość
Skaner Brother DCP-115C
« Odpowiedź #10 dnia: 2008-06-01, 00:38:26 »
W terminalu

1.
sudo dpkg -P (nazwa drivera którego rozpoznaje system, a na którym niestety drukarka nie działą)*

2.
sudo mkdir /usr/share/cups/model

3.
cd (ścieżka do foldera w którym jest plik ściągnięty driver, cupswrapperMFC210C*)

4.
sudo dpkg -i --force-all --force-architecture (driver file name)
cupswrapperMFC210C*

PS. W nawiasach są tylko wskazówki.