From: Stanislav Ievlev <inger@altlinux.ru> To: sisyphus@altlinux.ru Subject: Re: [sisyphus] Cups / Sisyphus не печатает Date: Wed, 08 Aug 2001 17:09:24 +0400 Message-ID: <3B713A04.20207@altlinux.ru> (raw) In-Reply-To: <012301c12006$e57e3230$01000001@darkstar> Mikhail Nikitin wrote: >Перестал печатать CUPS. > >Странно, но началось после апгрейда до последней версии. > >Что то он хочет какой-то параллелеьный порт странный >/dev/par0 . > >А раньше все было ок - /dev/lp0. И на 12 консоль при его рестарте >валятся сообщения >cant' locate module char-major-4 > Вот кусок кода из CUPS. -------------------cut------------------------------------------- if ((fd = open("/dev/parallel/0", O_WRONLY)) >= 0) { close(fd); strcpy(basedevice, "/dev/parallel/"); } else { sprintf(device, "/dev/lp%d", i); if ((fd = open(device, O_WRONLY)) >= 0) { close(fd); strcpy(basedevice, "/dev/lp"); } else { sprintf(device, "/dev/par%d", i); if ((fd = open(device, O_WRONLY)) >= 0) { close(fd); strcpy(basedevice, "/dev/par"); } else strcpy(basedevice, "/dev/unknown-parallel"); } } ---------------------------- cut---------------------------------------- То есть иначе говоря если он не нашел /dev/parallel/0 ищет /dev/lp0, иначе /dev/par0 иначе говорит обломись Посмотрите что у Вас там творится с /dev/lp0. Живи ли они, загружен ли соответствующий драйвер ? CUPS тут ни причем. > >Что это за модуль такой? > > >_______________________________________________ >Sisyphus mailing list >Sisyphus@altlinux.ru >http://altlinux.ru/mailman/listinfo/sisyphus >
next prev parent reply other threads:[~2001-08-08 13:09 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-07-23 18:53 [sisyphus] OO633 Aleksey Novodvorsky 2001-08-08 12:37 ` [sisyphus] Cups / Sisyphus не печатает Mikhail Nikitin 2001-08-08 13:09 ` Stanislav Ievlev [this message] 2001-08-09 9:02 ` Mikhail Nikitin 2001-08-09 9:53 ` Vyt 2001-08-09 10:32 ` Mikhail Nikitin 2001-08-09 11:41 ` [sisyphus] " Mikhail Nikitin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=3B713A04.20207@altlinux.ru \ --to=inger@altlinux.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git