* Re: [Comm] принтеры Canon @ 2012-03-11 14:12 ` Геннадий Ищенко 2012-03-11 14:15 ` Denis Nazarov 2012-03-11 16:57 ` Michael Shigorin 0 siblings, 2 replies; 18+ messages in thread From: Геннадий Ищенко @ 2012-03-11 14:12 UTC (permalink / raw) To: community 07 марта 2012, 20:49 от vx8400 <vx8400@gmail.com>: > /etc/cups/ppd/lp1.ppd ссылается на обертку к capt: > Промурыжился три часа с установкой принтеров Canon, попробовал три способа из найденных пяти, поматерился, позавидовал дебианцам и убунтавцам (судя по гуглу там все делается легко и просто). У меня принтера становятся и вроде как работают, но на выходе пшик. Во вторник продолжу. Есть один вопрос. В одном из способов для АЛТ-а автостарт процесса ccpd при загрузке ОС обеспечивают прописав service ccpd start в /etc/rc.d/rc.local. Но в системе такого раздела нет: [root@genry ~]# cd /etc/rc.d [root@genry rc.d]# ls init.d rc.powerfail rc0.d rc2.d rc4.d rc6.d rc rc.sysinit rc1.d rc3.d rc5.d scripts Так что редактировать? ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-11 14:12 ` [Comm] принтеры Canon Геннадий Ищенко @ 2012-03-11 14:15 ` Denis Nazarov 2012-03-11 14:38 ` Геннадий Ищенко 2012-03-11 16:57 ` Michael Shigorin 1 sibling, 1 reply; 18+ messages in thread From: Denis Nazarov @ 2012-03-11 14:15 UTC (permalink / raw) To: community 11.03.2012 20:12, Геннадий Ищенко пишет: > > > 07 марта 2012, 20:49 от vx8400<vx8400@gmail.com>: >> /etc/cups/ppd/lp1.ppd ссылается на обертку к capt: >> > Промурыжился три часа с установкой принтеров Canon, попробовал три способа из найденных пяти, > поматерился, позавидовал дебианцам и убунтавцам (судя по гуглу там все делается легко и просто). > У меня принтера становятся и вроде как работают, но на выходе пшик. Во вторник продолжу. > Есть один вопрос. В одном из способов для АЛТ-а автостарт процесса ccpd при загрузке ОС > обеспечивают прописав service ccpd start в /etc/rc.d/rc.local. Но в системе такого раздела нет: > [root@genry ~]# cd /etc/rc.d > [root@genry rc.d]# ls > init.d rc.powerfail rc0.d rc2.d rc4.d rc6.d > rc rc.sysinit rc1.d rc3.d rc5.d scripts > Так что редактировать? > ну, во-первых, никто не запрещает создать скрипт bash с именем rc.local (я так и делаю), а во-вторых есть еще chkconfig ccpd on. А вообще, у меня этим вроде как cups занимается ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-11 14:15 ` Denis Nazarov @ 2012-03-11 14:38 ` Геннадий Ищенко 2012-03-11 15:32 ` Denis Nazarov 0 siblings, 1 reply; 18+ messages in thread From: Геннадий Ищенко @ 2012-03-11 14:38 UTC (permalink / raw) To: community 11 марта 2012, 18:16 от Denis Nazarov <marsden@mail.ru>: > 11.03.2012 20:12, Геннадий Ищенко пишет: > > > > > > 07 марта 2012, 20:49 от vx8400<vx8400@gmail.com>: > >> /etc/cups/ppd/lp1.ppd ссылается на обертку к capt: > >> > > Промурыжился три часа с установкой принтеров Canon, попробовал три способа из найденных пяти, > > поматерился, позавидовал дебианцам и убунтавцам (судя по гуглу там все делается легко и просто). > > У меня принтера становятся и вроде как работают, но на выходе пшик. Во вторник продолжу. > > Есть один вопрос > > Так что редактировать? > > > ну, во-первых, никто не запрещает создать скрипт bash с именем rc.local > (я так и делаю), > а во-вторых есть еще chkconfig ccpd on. > А вообще, у меня этим вроде как cups занимается Насчет создать я что-то не подумал. А chkconfig ccpd не поддерживает. С cups в АЛТ-е с принтерами Cenon вообще непонятки. Некоторые советуют при установке нового принтера вообще сносить все дрова для Cenon и отключать автоустановку во избежании конфликтов. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-11 14:38 ` Геннадий Ищенко @ 2012-03-11 15:32 ` Denis Nazarov 2012-03-11 16:00 ` Геннадий Ищенко 0 siblings, 1 reply; 18+ messages in thread From: Denis Nazarov @ 2012-03-11 15:32 UTC (permalink / raw) To: community 11.03.2012 20:38, Геннадий Ищенко пишет: > > > Насчет создать я что-то не подумал. А chkconfig ccpd не поддерживает. чушь # chkconfig --list|grep ccpd ccpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off > С cups в АЛТ-е > с принтерами Cenon вообще непонятки. Некоторые советуют при установке нового принтера > вообще сносить все дрова для Cenon и отключать автоустановку во избежании конфликтов. > я давал ссылку http://www.altlinux.org/%D0%A3%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0_%D0%BF%D1%80%D0%B8%D0%BD%D1%82%D0%B5%D1%80%D0%B0_Canon_LBP3010 выше по треду, проблем нет никаких, чуть-чуть руками и мозгом и все будет работать вот мой /etc/cups/printers.conf # Printer configuration file for CUPS v1.4.2 # Written by cupsd on 2010-02-25 13:09 # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING <DefaultPrinter LBP3010> Info LBP3010 MakeModel Canon LBP3010/LBP3018/LBP3050 CAPT (UK) DeviceURI ccp:/var/ccpd/fifo0 State Idle StateTime 1265973001 Type 8392836 Filter application/vnd.cups-raw 0 - Filter application/vnd.cups-postscript 0 pstocapt3 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer </Printer> если поставили cndrvcups-capt-1.8, то вполне вероятно, что достаточно будет поменять <DefaultPrinter LBP3010> на <DefaultPrinter LBP2900> и LBP3010/LBP3018/LBP3050 на LBP2900 вообще, насколько я помню, вся возня с нуля у меня заняла часа 3, так что мне ваш долгострой непонятен ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-11 15:32 ` Denis Nazarov @ 2012-03-11 16:00 ` Геннадий Ищенко 2012-03-11 16:04 ` Denis Nazarov 0 siblings, 1 reply; 18+ messages in thread From: Геннадий Ищенко @ 2012-03-11 16:00 UTC (permalink / raw) To: ALT Linux Community general discussions 11 марта 2012, 19:33 от Denis Nazarov <marsden@mail.ru>: > 11.03.2012 20:38, Геннадий Ищенко пишет: > > Я пробовал варианты с установкой двух пакетов .rpm драйвера и до вашего решения добраться не успел. Сейчас попробовал. Скачал Camon3010install.7z, распаковал, вошел в папку, а там те же два .rpm пакета, три скрипта и текстовый документ. Стартовать скрипт, насколько я помню, это просто обратиться по адресу его нахождения: root@genry ~]# cd /home/genry2/nu/install [root@genry install]# ./install.sh -bash: ./install.sh: Permission denied В ответ получаю: Неверное решение. И что значит на русском языке? Одним словом непонятно как запустить инсталляцию. И где ошибка? ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-11 16:00 ` Геннадий Ищенко @ 2012-03-11 16:04 ` Denis Nazarov 2012-03-11 16:34 ` Геннадий Ищенко 0 siblings, 1 reply; 18+ messages in thread From: Denis Nazarov @ 2012-03-11 16:04 UTC (permalink / raw) To: community 11.03.2012 22:00, Геннадий Ищенко пишет: > > > Я пробовал варианты с установкой двух пакетов .rpm драйвера и до вашего решения добраться > не успел. Сейчас попробовал. Скачал Camon3010install.7z, распаковал, вошел в папку, а там те же два > .rpm пакета, три скрипта и текстовый документ. Стартовать скрипт, насколько я помню, это просто обратиться > по адресу его нахождения: > root@genry ~]# cd /home/genry2/nu/install > [root@genry install]# ./install.sh > -bash: ./install.sh: Permission denied > В ответ получаю: Неверное решение. И что значит на русском языке? Одним словом непонятно как запустить > инсталляцию. И где ошибка? > ну во первых, прежде чем стартовать скрипт, надо его подправить, во вторых - дать права на исполнение, в третьих - почитать readme в том же архиве, в четвертых - на момент установки вычистить систему от предыдущих издевательств. А в частности по permission denied - проверить, не смонтирован ли /home с noexec ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-11 16:04 ` Denis Nazarov @ 2012-03-11 16:34 ` Геннадий Ищенко 2012-03-11 18:20 ` Denis Nazarov 0 siblings, 1 reply; 18+ messages in thread From: Геннадий Ищенко @ 2012-03-11 16:34 UTC (permalink / raw) To: community 11 марта 2012, 20:04 от Denis Nazarov <marsden@mail.ru>: > 11.03.2012 22:00, Геннадий Ищенко пишет: > > > > > ну во первых, прежде чем стартовать скрипт, надо его подправить, А что именно подправлять в скрипте? В вашей инструкции прямо сказано "стартовать". > во вторых - дать права на исполнение, в третьих - почитать readme в А чего его читать? Там черным по белому написано все то же самое, что и в инструкции Сделал скрипт выполняемым и запустил: [root@genry install]# ! ./install.sh Installing CANON LBP-3010 USB printer Reading Package Lists... Done Building Dependency Tree... Done Selecting cndrvcups-common for 'cndrvcups-common-1.80-1.i386.rpm' The following NEW packages will be installed: cndrvcups-common 0 upgraded, 1 newly installed, 0 removed and 0 not upgraded. Need to get 0B/1308kB of archives. After unpacking 3582kB of additional disk space will be used. Committing changes... Preparing... ########################################### [100%] 1: cndrvcups-common ########################################### [100%] Running /usr/lib/rpm/posttrans-filetriggers Done. Reading Package Lists... Done Building Dependency Tree... Done Selecting cndrvcups-capt for 'cndrvcups-capt-1.80-1.i386.rpm' The following NEW packages will be installed: cndrvcups-capt 0 upgraded, 1 newly installed, 0 removed and 0 not upgraded. Need to get 0B/3282kB of archives. After unpacking 8283kB of additional disk space will be used. Committing changes... Preparing... ########################################### [100%] 1: cndrvcups-capt ########################################### [100%] Running /usr/lib/rpm/posttrans-filetriggers Done. Stopping CUPS service: [ DONE ] Starting CUPS service: [ DONE ] CUPS_ConfigPath = /etc/cups/ LOG Path = None UI Port = 59787 Entry Num : Spooler : Backend : FIFO path : Device Path : Status ---------------------------------------------------------------------------- [0] : LBP3010 : : : /dev/usb/lp0 : New!! chmod: cannot access `/dev/usb/lp0': No such file or directory service: ccpd: Unrecognized service error reading information on service ccpd: No such file or directory To complete install you must add to /etc/modules usblp delete from /etc/modprobe.d/blacklist-cups blacklist usblp and reboot your system Может лучше сначала запустить usblp и ccpd, а потом производить инсталляцию? И так и не понял смысл фразы о русском языке. в четвертых - на момент установки вычистить систему от предыдущих > издевательств. > А в частности по permission denied - проверить, не смонтирован ли /home > с noexec Последнее насквозь непонятно как раздел /home может быть невыполняемым? Можно подробнее в двух словах? ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-11 16:34 ` Геннадий Ищенко @ 2012-03-11 18:20 ` Denis Nazarov 0 siblings, 0 replies; 18+ messages in thread From: Denis Nazarov @ 2012-03-11 18:20 UTC (permalink / raw) To: community 11.03.2012 22:34, Геннадий Ищенко пишет: > > Последнее насквозь непонятно как раздел /home может быть невыполняемым? Можно подробнее в двух словах? > если в fstab прописать noexec для /home - то скрипты с /home запускаться не будут (правда, есть варианты) если у вас нет ccpd, так сделайте его #!/bin/sh # # ccpd Canon Printing for CUPS # chkconfig: 2345 65 35 # description: Canon Printing for CUPS # processname: ccpd # config: /etc/ccpd.conf # Do not load RH compatibility interface. WITHOUT_RC_COMPAT=1 # Source function library. . /etc/init.d/functions PIDFILE=/var/run/ccpd.pid LOCKFILE=/var/lock/subsys/ccpd BINARY=/usr/sbin/ccpd RETVAL=0 start() { start_daemon --lockfile "$LOCKFILE" --expect-user root -- ccpd RETVAL=$? return $RETVAL } stop() { stop_daemon --lockfile "$LOCKFILE" --expect-user root -- ccpd RETVAL=$? return $RETVAL } restart() { stop start } reload() { stop start } # See how we were called. case "$1" in start) start ;; stop) stop ;; reload) reload ;; restart) restart ;; condstop) if [ -e "$LOCKFILE" ]; then stop fi ;; condrestart) if [ -e "$LOCKFILE" ]; then restart fi ;; condreload) if [ -e "$LOCKFILE" ]; then reload fi ;; status) status --expect-user root -- ccpd RETVAL=$? ;; *) msg_usage "${0##*/} {start|stop|reload|restart|condstop|condrest art|condreload|status}" RETVAL=1 esac exit $RETVAL ************ и еще cat /etc/ccpd.conf # Canon Printer Daemon for CUPS Configuration Data <Path> # CUPS configuration file path. # Default /etc/cups/ CUPS_ConfigPath /etc/cups/ # Log directory path. # LogDirectoryPath /var/log/CCPD/ </Path> # Printer entries. # Mapping each "Printer Name" to each "Printer Device Port". # The "Printer Name" has to be identical to the CUPS printer queue name. # # For example, if you prepare a printer named "LBP3200" as a CUPS printer # queue name, and the printer is connected to the USB port "/dev/usb/lp0", # you can use the following three lines example just by removing the # comment symbol "#" of each line. #<Printer LBP3200> #DevicePath /dev/usb/lp0 #</Printer> <Printer LBP3010> DevicePath /dev/usb/lp0 </Printer> <Ports> # Status monitoring socket port. # Default 59787 UI_Port 59787 </Ports> ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-11 14:12 ` [Comm] принтеры Canon Геннадий Ищенко 2012-03-11 14:15 ` Denis Nazarov @ 2012-03-11 16:57 ` Michael Shigorin 2012-03-11 17:59 ` Геннадий Ищенко 1 sibling, 1 reply; 18+ messages in thread From: Michael Shigorin @ 2012-03-11 16:57 UTC (permalink / raw) To: community On Sun, Mar 11, 2012 at 06:12:18PM +0400, Геннадий Ищенко wrote: > Промурыжился три часа с установкой принтеров Canon, попробовал три способа из найденных пяти, Давал же ссылку на freesource. Писалось ровно по опыту. > В одном из способов для АЛТ-а автостарт процесса ccpd при > загрузке ОС обеспечивают прописав service ccpd start в > /etc/rc.d/rc.local. Но в системе такого раздела нет: Было такое дело... или же так (для запуска): ln -s ../init.d/ccpd /etc/rc.d/rc5.d/S50ccpd ln -s ../init.d/ccpd /etc/rc.d/rc3.d/S50ccpd -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-11 16:57 ` Michael Shigorin @ 2012-03-11 17:59 ` Геннадий Ищенко 2012-03-11 19:33 ` Michael Shigorin 0 siblings, 1 reply; 18+ messages in thread From: Геннадий Ищенко @ 2012-03-11 17:59 UTC (permalink / raw) To: shigorin, ALT Linux Community general discussions 11 марта 2012, 20:57 от Michael Shigorin <mike@osdn.org.ua>: > On Sun, Mar 11, 2012 at 06:12:18PM +0400, Геннадий Ищенко wrote: > > Промурыжился три часа с установкой принтеров Canon, попробовал три способа из найденных пяти, > > > Было такое дело... или же так (для запуска): > > ln -s ../init.d/ccpd /etc/rc.d/rc5.d/S50ccpd > ln -s ../init.d/ccpd /etc/rc.d/rc3.d/S50ccpd > Михаил! Твой пример использовал в первую очередь, правда, для принтера Canon LBP3010 (что было под руками, соответственно и драйвер под него). В системе сразу появляется куча доступных принтеров Canon. Дальше пробовал service cups admrestart и получаю что для сервиса cups такой команды как admrestart нет. Дальше пробовал ставить и через веб-интерфейс и из kde. Результат один: все ставится - печати нет. usblp и ccpd не запущены, соответственно /dev/usb/lp0 не создается, да и вообще, как я посмотрел по другим примерам есть и другие заморочки. Символьные ссылки, что ты привел это для автозапуска ccpd для 5 и 3? ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-11 17:59 ` Геннадий Ищенко @ 2012-03-11 19:33 ` Michael Shigorin 2012-03-12 6:18 ` Геннадий Ищенко 0 siblings, 1 reply; 18+ messages in thread From: Michael Shigorin @ 2012-03-11 19:33 UTC (permalink / raw) To: ALT Linux Community general discussions On Sun, Mar 11, 2012 at 09:59:29PM +0400, Геннадий Ищенко wrote: > Михаил! Твой пример использовал в первую очередь README из документации драйвера прочтено? > Дальше пробовал ставить и через веб-интерфейс и из kde. Как ccpd:// или как usb://? Последнее заведомо не заработает. > usblp и ccpd не запущены, соответственно /dev/usb/lp0 не /dev/usb/lp0 не создаётся из-за незагрузки модуля usblp, поскольку в cups где-то времён 5.1/branch были изменения на сей счёт. По идее, должно быть учтено в более свежих версиях драйвера, по крайней мере у меня на сизифном cups текущая версия драйвера для пресловутого MF4018 работала. > Символьные ссылки, что ты привел это для автозапуска ccpd для 5 и 3? Да, для уровней выполнения (runlevel) 5 и 3. Без автоостанова, как и в варианте с rc.local -- добавить его можно при помощи симлинков с "K" вместо "S". Номер выбран так, чтобы запускалось раньше самого cups (см. вывод grep chkconfig /etc/init.d/cups). -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-11 19:33 ` Michael Shigorin @ 2012-03-12 6:18 ` Геннадий Ищенко 2012-03-12 6:23 ` Денис Назаров 0 siblings, 1 reply; 18+ messages in thread From: Геннадий Ищенко @ 2012-03-12 6:18 UTC (permalink / raw) To: community 11 марта 2012, 23:33 от Michael Shigorin <mike@osdn.org.ua>: > On Sun, Mar 11, 2012 at 09:59:29PM +0400, Геннадий Ищенко wrote: > > Михаил! Твой пример использовал в первую очередь > > README из документации драйвера прочтено? > > > Дальше пробовал ставить и через веб-интерфейс и из kde. > > > Символьные ссылки, что ты привел это для автозапуска ccpd для 5 и 3? > > Да, для уровней выполнения (runlevel) 5 и 3. Без автоостанова, > как и в варианте с rc.local -- добавить его можно при помощи > симлинков с "K" вместо "S". Номер выбран так, чтобы запускалось > раньше самого cups (см. вывод grep chkconfig /etc/init.d/cups). > Как вообще проверить , запускается ли демон ccpd? На обычную проверку [root@genry ~]# service ccpd status service: ccpd: Unrecognized service В htop я его тоже не вижу. Пробовал менять содержимое самого ccpd в /etc/rc.d/init.d/ccpd ни к чему не привело. Я уже забодался с этими принтерами: куча способов и все разные и ни хрена не работает. Может быть, если удастся запустить ccpd что и получится. [root@genry ~]# ln -s ../init.d/ccpd/etc/rc.d/rc5.d/S50ccpd [root@genry ~]# ln -s ../init.d/ccpd/etc/rc.d/rc3.d/S50ccpd я выполнил и перезагрузился, но как проверить стартанул он или нет? ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-12 6:18 ` Геннадий Ищенко @ 2012-03-12 6:23 ` Денис Назаров 2012-03-12 6:43 ` Геннадий Ищенко 0 siblings, 1 reply; 18+ messages in thread From: Денис Назаров @ 2012-03-12 6:23 UTC (permalink / raw) To: ALT Linux Community general discussions 12 марта 2012, 10:18 от Геннадий Ищенко <anarhoret@mail.ru>: > Как вообще проверить , запускается ли демон ccpd? На обычную проверку > [root@genry ~]# service ccpd status > service: ccpd: Unrecognized service > В htop я его тоже не вижу. Пробовал менять содержимое самого ccpd в /etc/rc.d/init.d/ccpd > ни к чему не привело. Я уже забодался с этими принтерами: куча способов и все разные > и ни хрена не работает. Может быть, если удастся запустить ccpd что и получится. > [root@genry ~]# ln -s ../init.d/ccpd/etc/rc.d/rc5.d/S50ccpd > [root@genry ~]# ln -s ../init.d/ccpd/etc/rc.d/rc3.d/S50ccpd > я выполнил и перезагрузился, но как проверить стартанул он или нет? что показывает # ls -l /etc/init.d/|grep ccpd ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-12 6:23 ` Денис Назаров @ 2012-03-12 6:43 ` Геннадий Ищенко 2012-03-12 7:07 ` Denis Nazarov 0 siblings, 1 reply; 18+ messages in thread From: Геннадий Ищенко @ 2012-03-12 6:43 UTC (permalink / raw) To: community 12 марта 2012, 10:23 от Денис Назаров <marsden@mail.ru>: > 12 марта 2012, 10:18 от Геннадий Ищенко <anarhoret@mail.ru>: > > Как вообще проверить , запускается ли демон ccpd? На обычную проверку > > [root@genry ~]# service ccpd status > > service: ccpd: Unrecognized service > > В htop я его тоже не вижу. Пробовал менять содержимое самого ccpd в /etc/rc.d/init.d/ccpd > > ни к чему не привело. Я уже забодался с этими принтерами: куча способов и все разные > > и ни хрена не работает. Может быть, если удастся запустить ccpd что и получится. > > [root@genry ~]# ln -s ../init.d/ccpd/etc/rc.d/rc5.d/S50ccpd > > [root@genry ~]# ln -s ../init.d/ccpd/etc/rc.d/rc3.d/S50ccpd > > я выполнил и перезагрузился, но как проверить стартанул он или нет? > > что показывает > > # ls -l /etc/init.d/|grep ccpd > _______________________________________________ [root@genry ~]# ls -l /etc/init.d/|grep ccpd -rw-r--r-- 1 root root 1666 Mar 12 10:02 ccpd -rw-r--r-- 1 root root 1500 Mar 11 20:22 ccpd~ ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-12 6:43 ` Геннадий Ищенко @ 2012-03-12 7:07 ` Denis Nazarov 2012-03-12 7:18 ` Геннадий Ищенко 0 siblings, 1 reply; 18+ messages in thread From: Denis Nazarov @ 2012-03-12 7:07 UTC (permalink / raw) To: community 12.03.2012 12:43, Геннадий Ищенко пишет: > > > 12 марта 2012, 10:23 от Денис Назаров<marsden@mail.ru>: >> 12 марта 2012, 10:18 от Геннадий Ищенко<anarhoret@mail.ru>: >>> Как вообще проверить , запускается ли демон ccpd? На обычную проверку >>> [root@genry ~]# service ccpd status >>> service: ccpd: Unrecognized service >>> В htop я его тоже не вижу. Пробовал менять содержимое самого ccpd в /etc/rc.d/init.d/ccpd >>> ни к чему не привело. Я уже забодался с этими принтерами: куча способов и все разные >>> и ни хрена не работает. Может быть, если удастся запустить ccpd что и получится. >>> [root@genry ~]# ln -s ../init.d/ccpd/etc/rc.d/rc5.d/S50ccpd >>> [root@genry ~]# ln -s ../init.d/ccpd/etc/rc.d/rc3.d/S50ccpd >>> я выполнил и перезагрузился, но как проверить стартанул он или нет? >> что показывает >> >> # ls -l /etc/init.d/|grep ccpd >> _______________________________________________ > [root@genry ~]# ls -l /etc/init.d/|grep ccpd > -rw-r--r-- 1 root root 1666 Mar 12 10:02 ccpd > -rw-r--r-- 1 root root 1500 Mar 11 20:22 ccpd~ > #chmod +x /etc/init.d/ccpd и попробовать рестарт/ребут ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-12 7:07 ` Denis Nazarov @ 2012-03-12 7:18 ` Геннадий Ищенко 2012-03-12 14:12 ` Anton Gorlov 0 siblings, 1 reply; 18+ messages in thread From: Геннадий Ищенко @ 2012-03-12 7:18 UTC (permalink / raw) To: ALT Linux Community general discussions 12 марта 2012, 11:07 от Denis Nazarov <marsden@mail.ru>: > 12.03.2012 12:43, Геннадий Ищенко пишет: > > > > > > 12 марта 2012, 10:23 от Денис Назаров<marsden@mail.ru>: > >> 12 марта 2012, 10:18 от Геннадий Ищенко<anarhoret@mail.ru>: > >>> Как вообще проверить , запускается ли демон ccpd? На обычную проверку > >>> [root@genry ~]# service ccpd status > >>> service: ccpd: Unrecognized service > >>> В htop я его тоже не вижу. Пробовал менять содержимое самого ccpd в /etc/rc.d/init.d/ccpd > >>> ни к чему не привело. Я уже забодался с этими принтерами: куча способов и все разные > >>> и ни хрена не работает. Может быть, если удастся запустить ccpd что и получится. > >>> [root@genry ~]# ln -s ../init.d/ccpd/etc/rc.d/rc5.d/S50ccpd > >>> [root@genry ~]# ln -s ../init.d/ccpd/etc/rc.d/rc3.d/S50ccpd > >>> я выполнил и перезагрузился, но как проверить стартанул он или нет? > >> что показывает > >> > >> # ls -l /etc/init.d/|grep ccpd > >> _______________________________________________ > > [root@genry ~]# ls -l /etc/init.d/|grep ccpd > > -rw-r--r-- 1 root root 1666 Mar 12 10:02 ccpd > > -rw-r--r-- 1 root root 1500 Mar 11 20:22 ccpd~ > > > #chmod +x /etc/init.d/ccpd > > и попробовать рестарт/ребут Спасибо, старт нормальный. Вопрос: на работе пробовал modprobe usbip ну и заносил для автостарта usblp в /etc/modules. При этом, как положено, создавалось /dev/usb/lp0, в том числе и после удаления принтера. Дома сейчас пробую тоже самое, но без принтера и без видимого результата. Как я понял, нужно хотя одно подключение принтера на шину USB для создания /dev/usb/lp0? ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-12 7:18 ` Геннадий Ищенко @ 2012-03-12 14:12 ` Anton Gorlov 2012-03-12 15:33 ` Геннадий Ищенко 0 siblings, 1 reply; 18+ messages in thread From: Anton Gorlov @ 2012-03-12 14:12 UTC (permalink / raw) To: ALT Linux Community general discussions usblp является устаревшим да и cups собрано уже без него ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Comm] принтеры Canon 2012-03-12 14:12 ` Anton Gorlov @ 2012-03-12 15:33 ` Геннадий Ищенко 0 siblings, 0 replies; 18+ messages in thread From: Геннадий Ищенко @ 2012-03-12 15:33 UTC (permalink / raw) To: community 12 марта 2012, 18:16 от Anton Gorlov <stalker@altlinux.ru>: > usblp является устаревшим да и cups собрано уже без него > _______________________________________________ Может быть и так, но все способы установки принтеров Canon, которых море в обращении и единицы в дистрибутиве используют именно usblp. Других способов не встречал. А на хрена людям дистрибутив, если они не могут реализовать такой базовой функции как печать на имеющемся оборудовании? И если производители оборудования не разрешают тиражировать на дисках свои драйвера, то в документации к нему должна быть четкая пошаговая инструкция установки для начинающих. Так, как приведено, к примеру , для одного из принтеров Samsung. Я себя начинающим не считаю, хотя мои знания и фрагментарны, но используя подсказки более опытных вполне могу решать задачи, которые возникают время от времени. И мне потребовалось день лазить в Интернете, пол дня возни с компом, переписка в рассылке и то до конца не добил, но надеюсь добить завтра. Или это специально, чтобы без специалистов не разбирались? ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2012-03-12 15:33 UTC | newest] Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-03-11 14:12 ` [Comm] принтеры Canon Геннадий Ищенко 2012-03-11 14:15 ` Denis Nazarov 2012-03-11 14:38 ` Геннадий Ищенко 2012-03-11 15:32 ` Denis Nazarov 2012-03-11 16:00 ` Геннадий Ищенко 2012-03-11 16:04 ` Denis Nazarov 2012-03-11 16:34 ` Геннадий Ищенко 2012-03-11 18:20 ` Denis Nazarov 2012-03-11 16:57 ` Michael Shigorin 2012-03-11 17:59 ` Геннадий Ищенко 2012-03-11 19:33 ` Michael Shigorin 2012-03-12 6:18 ` Геннадий Ищенко 2012-03-12 6:23 ` Денис Назаров 2012-03-12 6:43 ` Геннадий Ищенко 2012-03-12 7:07 ` Denis Nazarov 2012-03-12 7:18 ` Геннадий Ищенко 2012-03-12 14:12 ` Anton Gorlov 2012-03-12 15:33 ` Геннадий Ищенко
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git