Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158051 - CUPS 1.2.x usb backend doesn't recognise printers with customized names...
Summary: CUPS 1.2.x usb backend doesn't recognise printers with customized names...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-13 10:46 UTC by brankob
Modified: 2006-12-13 11:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brankob 2006-12-13 10:46:57 UTC
After updating CUPS to 1.2.6 (and 1.2.7 behaves the same way) my HP LAserjet 1200, which is connected through USB port to the server, has stopped working.

After whole day of re-emergeing dependencies and fiddling woth everything, I have found the reason: its usb backend - "/usr/libexec/cups/backends/usb" expects to see usb printers in /dev/usb conventionally named (lp0,lp1 etc).

SInce I had written extra rule for hotplug that makes my printer device node named "/dev/usb/ljr_1200", backend did not recognise it and preinter under CUPS refused to work. Simple link "ln /dev/usb/ljr_1200 /dev/usb/lp0" has remedied the situation. 

My system is dual opteron with hardened kernel and selinux 


emerge --info:

System uname: 2.6.18-hardened x86_64 AMD Opteron(tm) Processor 240
Gentoo Base System version 1.12.6
Last Sync: Wed, 13 Dec 2006 12:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3, 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg candy distlocks fixpackages metadata-transfer nostrip sandbox selinux sesandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.inode.at/ http://ftp.romnet.org/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/"
LC_ALL="sl_SI.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/streznik"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/usr/portage/work"
PORTDIR="/usr/portage/tree"
PORTDIR_OVERLAY="/usr/portage/tree/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip acpi amd64 apache2 bash-completion berkdb browserplugin bzip2 c++ caps cdr crypt cscope cups dar64 dba dbus dhcp doc dpms ds dvd dvdr dvdread eds effects elf elibc_glibc emacs epiphany examples fame fbcon flac fltx fpx ftp gd gif gimp glut gpm grammar graphviz gs gstreamer gtkhtml hal hardened httpd idn ieee1394 imq inetd inkjar input_devices_keyboard input_devices_mouse iproute2 ipv6 java javascript jbig jpeg jpeg2k kerberos kernel_linux l7filter lcms ldap libgda lirc live lm_sensors logrotate lzo math mmap mod mpeg mpqc multislot multitarget mysql ncurses network nls nptl nptlonly openal pam pdf pic plotutils plugin png posix postgres ppds python readline rle samba sdk selinux sensord shared sharedmem slp smartcard smp sockets sse-filters ssl stream svg sysfs t1lib thesaurus threads tiff truetype unicode usb userland_GNU vcd vhosts wmf wordperfect xbase xinetd xml xpm zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-12-13 11:18:49 UTC
Please a) complain upstream to the cups devs so that they can change their usb backend or b) do not use an udev rule to rename the dev node.