|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Hardware Support Do you have any problems with installing new hardware under SuSE Linux? Post your question in here... |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I hope someone might know how to cure the incorrect port permissions for /dev/lp0?
After a "clean" install of 10.3 I cannot get my printer to work unless i make the device -rw-rw-rw- However after a re-boot it goes back to -rw-rw---- /dev/lp0 is owned by root and in group lp which looks normal to me, but most of the files (eg in the spool directory) seem to be owner root, group nobody - has this changed (and been messed up)? BTW adding nobody or root to the lp group also makes no difference. For info - the symptoms are job stalls and printer goes offline when the permissions are wrong. you can re-set it until the next job comes along. |
|
|||
|
I dont know if this will work, but I would try modifying (as root) the udev file:
/etc/udev/rules.d/50-udev-default.rules Look for lp entries, then you could try adding a mode statement, something like: MODE="0666" (Study the file for exact syntax.) This should assign read and write privilege to lp devices, for all users. Havent tested this, but worth a try? Paul |
|
|||
|
Quote:
thanks for your suggestion, but unfortunately there don't seem to be any entries for lp0. nearest is: Code:
# printer SUBSYSTEM=="usb",********KERNEL=="lp*", NAME="usb/%k", SYMLINK+="usb%k", GROUP="lp" SUBSYSTEM=="printer",********KERNEL=="lp*", GROUP="lp" KERNEL=="irlpt*",********GROUP="lp" I also found some similar bugs about udev reported on the bugs.archlinux.org website, and upgraded udev from V114-19 to latestish version 120-2.3 - but this didn't help either. The funny thing is that Yast hardware_detection and printer_setup both correctly detect the printer (and obviously talk to it) .. logically there MUST be a startup programme that re-writes this, but this process is still opaque to me |
|
|||
|
this is driving me mad.....
now many late nights trying to find the problem. :wacko: has ANYONE managed to get their parallel port working with CUPS under 10.3 ??? (at least then I'd know if there was a chance to fix it) Since the previous posts I have tried configurations via every route I can think of, (YAST CUPS direct edit of files) re-installed CUPS tried many combinations of adding LP and myself to various groups turned CUPS logging to debug - to look for errors - but nothing added permissions to /etc/permissions.local - but even this gets overridden - none of which has helped. the only thing I've discovered is that I cannot either (yet) get the printer to work remotely (but maybe this is a networking problem.? (seems not to be listening to port 631). (I'm seriously considering down-grading to 9.3 which I know works and waiting for 11.0 to come along.) Help! |
|
|||
|
A small piece of progress - yes you can run the parallel port under 10.3 - because it works with the live-CD.
Otherwise still stuck to know - why CUPS (or whatever talks to /dev/lp0) has the wrong permissions and why the /dev/lp0 permissions get reset at boot. Anyone? |
|
|||
|
Quote:
|
|
|||
|
devices are create dynamically so obviously, all permissions are reset at boot time.
Quote:
it does not matter if your printer is local or not for printer to work you need print daemon. If you are using cups then port tcp 631 is open if port is not open the cups is not running then obviously printing problems persist: you need to connect to http://localhost:631 in order to configure printer. |
|
|||
|
thanks for your responses -
I can connect like that to CUPS and I can configure everything - the only problem is the "permission denied" for the "/dev/lp0" which I can temporarily fix with chmod, but it is reset the moment I reboot. When the device (temporarily) has world permissions then I can print successfully. Locally at least. Is it actually CUPS that talks to the device or some child process? do you know where the faulty permissions might be coming from? |
|
|||
|
Quote:
![]() Edit: Typos |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|