[cups.bugs] [HIGH] STR #2535: backendGetDeviceID doesn't work with parallel backend

Dick Marinus dick at mrns.nl
Fri Sep 28 10:33:52 PDT 2007


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

# lpinfo -l -v

always gives:
....
Device: uri = parallel:/dev/lp0
        class = direct
        info = LPT #1
        make-and-model = Unknown
        device-id = 
....

An unknown make-and-model.

I suppose LPIOC_GET_DEVICE_ID only works for USB printing devices.

Parallel devices should still be probed by the old code (as cups-1.1 did):
/proc/sys/dev/parport/parport%d/autoprobe

This is a strace on the parallel backend:
....
open("/dev/lp0", O_RDWR|O_EXCL|O_LARGEFILE) = 3
ioctl(3, SNDCTL_DSP_SYNC, 0xbfc44e3a)   = -1 EINVAL (Invalid argument)
....

I'm using Fedora 7 on a i686, 2.6.22.5-76.fc7

An older version of cups (1.1) worked with Fedora Core 4.

Link: http://www.cups.org/str.php?L2535
Version: 1.2-current





More information about the cups mailing list