[Решено] Canon MP 170 && CUPS (Ничего не работает, совсем запутался)

Модератор: Модераторы разделов

Аватара пользователя
Alastis
Сообщения: 86
ОС: Arch

[Решено] Canon MP 170 && CUPS

Сообщение Alastis »

Настраивал CUPS для работы с Canon MP170, все нужные пакеты доустановил.
http://wiki.archlinux.org/index.php/CUPS_%...%D0%B8%D0%B9%29
Обычно данная процедура не занимает более 5 минут (в других дистрибах), но здесь же бьюсь уже полдня.
Собственно CUPS не обнаруживает данный принтер. Игрался с модулем usblp (в вики рекомендуют заблеклистить его), не работает ни с ним, ни без него.
Ядро 2.6.32-ARCH, cups версии 1.4.2-2.
Вот выдержка из dmesg после подключения принтера:

Код:

usb 1-3: USB disconnect, address 6 usb 1-3: new high speed USB device using ehci_hcd and address 7 usb 1-3: configuration #1 chosen from 1 choice scsi8 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 7 usb-storage: waiting for device to settle before scanning scsi 8:0:0:0: Direct-Access Canon MP170Storage 0108 PQ: 0 ANSI: 2 sd 8:0:0:0: Attached scsi generic sg4 type 0 usb-storage: device scan complete sd 8:0:0:0: [sdd] Attached SCSI removable disk
Спасибо сказали:
Аватара пользователя
Dunris
Сообщения: 295
Статус: ...
ОС: Archlinux

Re: [Решено] Canon MP 170 && CUPS

Сообщение Dunris »

Два дня уже пытаюсь нормально поставить драйвера Canon MP110 на Gentoo (bjfilter-2.5.ebuild с одного из оверлеев не работает никак).
Так вот, на Cups 1.3.х мой принтер определяется, на 1.4.х - он "не подключен".
Думается, дело в Cups. Баг это или фича пока не ясно.
Спасибо сказали:
Аватара пользователя
Alastis
Сообщения: 86
ОС: Arch

Re: [Решено] Canon MP 170 && CUPS

Сообщение Alastis »

Dunris писал(а):
06.01.2010 19:00
Два дня уже пытаюсь нормально поставить драйвера Canon MP110 на Gentoo (bjfilter-2.5.ebuild с одного из оверлеев не работает никак).
Так вот, на Cups 1.3.х мой принтер определяется, на 1.4.х - он "не подключен".
Думается, дело в Cups. Баг это или фича пока не ясно.

Спасибо за наводку. Погуглил насчет cups 1.4.x, нашел на арчевских форумах отзывы владельцев принтеров Canon касательно именно этой ветки - у всех проблемы.
Собрал 1.3.11 - все работает :rolleyes:
На всякий случай решил скопипастить - мало ли кому пригодится
Stop the CUPS daemon. ("sudo /etc/rc.d/cups stop")

Uninstall the CUPS packages. ("pacman -R cups")

Make a backup copy of the CUPS config files, just in case. ("sudo mv /etc/cups /etc/cups.OLD")

Download all of the CUPS 1.3.11 PKGBUILD data by going to this website and clicking "Tarball". (near the center of the website) http://repos.archlinux.org/wsvn/package … ?rev=44879

Unzip the tarball and use "makepkg" to create the pacman package. For some reason the checksum check failed for the file "cups-1.3.11-source.tar.bz2". I wasn't really worried about the reason why, so I just calculated it myself by using the "md5sum" command and made the change to the PKGBUILD file.

Install the new cups 1.3.11 pacman package by using the "pacman -U" command.

Enable the "usblp" module. ("sudo modrobe usblp") Apparently this is not necessary for 1.4, but was necessary for 1.3. I use a USB connection for my printer, so I don't know what you need to do if you use something else. Also, if you have "usblp" blacklisted in "rc.conf" then you may want to un-blacklist it.

Start the CUPS (new! 1.3.11!) daemon. ("sudo /etc/rc.d/cups start")

Use the CUPS local "website" to add and configure the printer. http://localhost:631/ Bask in it's yellow tinted glory.

CUPS should be able to find the printer.
Спасибо сказали: