Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2006 21:03:05 +0200
From:      Rainer Heesen <rainer.heesen@gmx.de>
To:        sigsegv@radiotube.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cups 1.2 - no output
Message-ID:  <200607032103.06324.rainer.heesen@gmx.de>
In-Reply-To: <44A8318A.3070902@radiotube.org>
References:  <200607021653.13546.rainer.heesen@gmx.de> <44A8318A.3070902@radiotube.org>

next in thread | previous in thread | raw e-mail | index | archive | help
the permissions of /dev/ulp* are:

crw-rw----  1 root  cups        0, 169 Jul  3 20:35 /dev/ulpt0
crw-rw----  1 root  cups        0, 170 Jul  3 20:35 /dev/unlpt0

the directory /var/cache/cups is group writable

when I start a print job I get the message 

printer Minolta now printing Minolta-59.  enabled since Mon Jul  3 20:53:42 
2006
        USB port busy; will retry in 30 seconds...
Minolta-59              guest            18432   Mon Jul  3 20:53:42 2006

however, there is now output of fstat | grep ulpt0

'fstat |grep cups' gives this output

cups     usb         1657 root /             2 drwxr-xr-x     512  r
cups     usb         1657   wd /             2 drwxr-xr-x     512  r
cups     usb         1657 text /usr     7632315 -rwxr-xr-x   22297  r
cups     usb         1657    0 /dev         21 crw-rw-rw-    null  r
cups     usb         1657    1 /dev         21 crw-rw-rw-    null  w
cups     usb         1657    2* pipe c5826d78 <-> c5826cc0      0 rw
cups     usb         1657    3* pipe c5826580 <-> c58264c8      0 rw
cups     usb         1657    4 /var       4022 -rw-r-----   18382  r
root     cupsd       1652 root /             2 drwxr-xr-x     512  r
root     cupsd       1652   wd /             2 drwxr-xr-x     512  r
root     cupsd       1652 text /usr     6743296 -rwxr-xr-x  595608  r
root     cupsd       1652    0* internet6 stream tcp c4eb0570
root     cupsd       1652    1 /var       3206 -rw-r--r--  695444 rw
root     cupsd       1652    2* internet stream tcp c4acfae0
root     cupsd       1652    3* local stream c57a6c08
root     cupsd       1652    4* internet dgram udp c48775a0
root     cupsd       1652    5* pipe c5826198 <-> c5826250      0 rw
root     cupsd       1652    6* pipe c5826250 <-> c5826198      0 rw
root     cupsd       1652    7* internet6 stream tcp c49b8cb0
root     cupsd       1652    8 /var       3069 -rw-r--r--  311933 rw
root     cupsd       1652    9* internet6 stream tcp c4acf740
root     cupsd       1652   11 /dev         21 crw-rw-rw-    null  r
root     cupsd       1652   14* pipe c5826cc0 <-> c5826d78      0 rw
root     cupsd       1652   16 /dev         21 crw-rw-rw-    null  r


Am Sonntag 02 Juli 2006 22:50 schrieb Jan-Espen Pettersen:
> Rainer Heesen wrote:
> >         USB port busy; will retry in 30 seconds...
>
> fstat | grep ulpt0
>
> .. will reveal which process is eventually having ulpt0 open, and
> causing 'device busy'.
> The usb backend seems to get this error while trying to open /dev/ulpt0.
>
> Please also make sure that either the cups user or cups group has read
> and write access to /dev/ulpt0.
> I think most people use permissions like: root:cups 0660 (-rw-rw----).
>
> Jan-Espen Pettersen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607032103.06324.rainer.heesen>