[Bug 673845] New: YaST2 does not detect printers on the LPT port - lp kernel module not loaded
https://bugzilla.novell.com/show_bug.cgi?id=673845 https://bugzilla.novell.com/show_bug.cgi?id=673845#c0 Summary: YaST2 does not detect printers on the LPT port - lp kernel module not loaded Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Printing AssignedTo: jsmeix@novell.com ReportedBy: silviu_marin-caea@otpbank.ro QAContact: jsmeix@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b11) Gecko/20110203 Firefox/4.0b11 When trying to set up a parallel printer, YaST2 does not detect anything on the parallel port. Reproducible: Always Steps to Reproduce: 1. open YaST2 Hardware/Printer 2. printer on parallel port is not detected 3. open Konsole, become root 4. load "lp" kernel module, with "modprobe lp" 5. go back to YaST2, click on "Detect more" 6. printer on parallel port is detected Actual Results: Printer on parallel port is not detected "lp" kernel module is not loaded automatically Expected Results: Detect the printer Load "lp" kernel module automatically -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c1
--- Comment #1 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c2
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c3
Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c4
Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c5
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c6
Brandon Philips
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c7
Vitaliy Saiko
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c8
--- Comment #8 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c9
--- Comment #9 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c10
--- Comment #10 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c11
Brandon Philips
Why is only lp a waste but parport, parport_pc and ppdev are not?
When there is a parallel port in a machine, why should kernel modules like parport, parport_pc and ppdev be loaded but only lp not?
Do you have a machine with a parallel port? My understanding was that parport never gets autoloaded by the kernel. I could be wrong- I haven't used a machine with a parallel port in a very long time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c12
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c13
Michael Lanczak
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c14
Brandon Philips
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c15
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c16
--- Comment #16 from Brandon Philips
It might not be a kernel bug, but it clearly is an openSUSE bug that should be fixed.
Kay, Greg, this is something udev should take care of somehow. Any ideas on how to solve this?
One way to solve it is as I suggested in comment #14: create a package that provides the device node /lib/udev/devices/lp0. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c17
--- Comment #17 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c18
--- Comment #18 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c
Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c19
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c20
--- Comment #20 from Kay Sievers
Isn't it enough to add the module named "lp" to /etc/sysconfig/kernel:MODULES_LOADED_ON_BOOT
And it's more than good enough if the YaST printer configuration module performes this change. We can't cover all the 1078 other possible printer configuration possibilities.
Sure, that would be enough to make it work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c21
Eion MacDonald
Just great...
This bug right here is the perfect example why openSUSE is not Ubuntu. Because a bug that it's a deal-breaker for Joe-Regular-who-owns-a-LPT-printer it's just being thrown around between developers like a hot potato. And it doesn't even seem so hard to fix. As a matter of fact I'll try to make that package myself even though I'm not sure how to do it right now.
Reply; I am a Joe Regular [deal-breaker is correct!]and use 3 Win OS machines, circa 1999-2005 (all dual boot to Live Knoppix); two Linux machines (ex Win XP) circa 1999, 2001, using (regretfully) Open Suse now 11.4 All laser printers are workhorses using parallel port. The upgrade to 11.4 OpenSUSE destroys completely the ability to use OpenSUSE on any on my machines. My solution is a USB to Parallel MAC OS rated cable. Comment original and 1 did not work. Linux forums say is great way to go green by keeping old machines in use and is normal way I get others to use Linux. If OpenSUSE does not detect parallel printers it is on way out of usable distributions. Sorry for outburst but I almost moved the Linux box on OpenSuSE to A N Other Linux system. This is NOT a minor bug! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c22
Steffen Sobiech
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c23
--- Comment #23 from Vitaliy Saiko
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c24
--- Comment #24 from Vitaliy Saiko
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c25
--- Comment #25 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c26
Knut Berger
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c27
--- Comment #27 from Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c28
--- Comment #28 from Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c29
--- Comment #29 from Knut Berger
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c30
--- Comment #30 from Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c31
--- Comment #31 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c32
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c33
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c34
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c35
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c36
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c37
--- Comment #37 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c38
--- Comment #38 from Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c39
--- Comment #39 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c40
--- Comment #40 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c41
Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c42
--- Comment #42 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c43
--- Comment #43 from Vincent Untz
So, Vincent, what do you think about adding those commands to udev-configure-printer? Does that seem the Right Thing(tm) to you?
Those commands might be right, but I don't think udev-configure-printer is the right place for that. Shouldn't the cups package simply do it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c44
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c45
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c46
--- Comment #46 from Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c47
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c48
--- Comment #48 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c49
Bjørn Lie
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c50
--- Comment #50 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c51
--- Comment #51 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c52
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c53
--- Comment #53 from Roland Hughes
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c54
--- Comment #54 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c55
--- Comment #55 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c56
--- Comment #56 from Roland Hughes
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c57
--- Comment #57 from Roland Hughes
"PP via a USB->LPT cable" is a different issue because it depends on the particular USB<->parallel-port cable to which extent this works at all, see https://bugzilla.novell.com/show_bug.cgi?id=264219#c1 and http://lists.opensuse.org/opensuse/2008-10/msg01527.html
This cable worked for years with this printer under Windows. Given the corrupted printout problem spills over into networked printers, this appears to be some kind of print engine corruption or shared memory corruption, all of which _could_ have something to do with lp not loading at boot. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c58
--- Comment #58 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c59
Dieter Jurzitza
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c60
--- Comment #60 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c61
--- Comment #61 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c62
--- Comment #62 from Roland Hughes
FYI:
The next upcomming CUPS version 1.6 will drop serial and parallel backends, see http://www.cups.org/str.php?L3935
This means that from CUPS 1.6 on there will be no longer built-in support for serial and parallel printers so that for such printers one must use a selfmade backend, see http://en.opensuse.org/SDB:Using_Your_Own_Backends_to_Print_with_CUPS
In general for changes in the upcomming CUPS version 1.6 see http://www.cups.org/roadmap.php?VERSION=1.6
Whoever thought THAT was a good idea was dropped on their head too many times as an infant. There are millions of PP printers still in service used by members of AARP who are NOT technical enough to "use a selfmade backend". You need to freeze CUPS in OpenSuSE to an earlier version until Serial and PP are restored. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c63
--- Comment #63 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c64
--- Comment #64 from Roland Hughes
It is basically useless to complain at openSUSE about such issues.
When an openSUSE user finds an issue in a free software package which is not caused by the openSUSE distribution efforts, then the responsibility for the issue is said to lie upstream so that please you the openSUSE users out there speak up at the matching free software upstream forum.
E.g. for CUPS see http://www.cups.org/newsgroups.php
Red Hat and Fedora users post there, Ubuntu users post there,...
If you - the openSUSE users - do not speak up at free software upstream forums, the upstream authors can neither notice that you exist at all nor care about you.
When you speak up please use a tone which is appropriate for public communication and does not insult others.
It is the duty of the downstream developers to bubble up information to upstream developers about how they have completely lost touch with reality. It is also the duty of downstream developers to protect their distro users from such monstrous bungles by freezing packages which have jumped the shark until they either return to reality or have a fork which takes into account reality. There are more than 50 million AARP members. The majority of those members (estimated to be 35-40 million according to AARP) are on ever shrinking fixed incomes using older 32-bit computers. While some of these computers still have their original Windows distro, most have been "refurbished" to use some form of Linux distro so they could meet all of the member's needs without costing anything. These people are, for the most part, non-technical. They send email, surf the Web looking for cheap drug sources, and communicate with other members of their voting block because they are all registered voters. Just because BestBuy didn't sell a PP printer last year doesn't mean dropping support for PP and serial was a good idea. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c65
--- Comment #65 from Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c66
--- Comment #66 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c67
--- Comment #67 from Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c68
--- Comment #68 from Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c69
--- Comment #69 from Lukas Sommer
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c70
--- Comment #70 from Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c71
--- Comment #71 from Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c72
--- Comment #72 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c73
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c74
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c75
--- Comment #75 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c76
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c77
--- Comment #77 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c78
--- Comment #78 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c79
--- Comment #79 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c80
--- Comment #80 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c81
--- Comment #81 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c82
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c83
--- Comment #83 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c84
--- Comment #84 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c85
--- Comment #85 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c86
--- Comment #86 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c87
Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c
Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c88
--- Comment #88 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c89
--- Comment #89 from Roland Hughes
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c90
--- Comment #90 from Ludwig Nussel
Is this also going to fix the problem with serial ports no longer working?
please file a separate bug report -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c91
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c92
--- Comment #92 from Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c93
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c94
Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c95
--- Comment #95 from Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c96
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c97
--- Comment #97 from Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c98
--- Comment #98 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c99
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c100
--- Comment #100 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c101
--- Comment #101 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c102
--- Comment #102 from Jeff Mahoney
Jeff: you joined this bug too late. See comment #45 on why we have a separate package... :-)
Indeed. There's a big mess to clean up here. The printer modules have *always* been loaded when the device file was accessed. This hasn't changed. There is no regression in the kernel here. This is how module autoloading worked in the "old days" for nearly everything and that's changed now that we have sane device discovery. This was from the days of a mostly static /dev. In order for lp.ko to be accessed /dev/lp* needs to be opened first. The module will then be loaded automatically. The only other way to do this is to load the module manually, after which udev will create the device files. The first option is the only one that works automatically. Udev is now responsible for creating the device nodes. This is true in either of the debated solutions. It will create them by reading the MODULE_ALIAS attributes and it will create them by copying the files from /lib/udev/devices. In either case, udev is responsible for creating the nodes. The reason I'm pushing for the /lib/udev/devices option is because it's simple. It's a packaging change and one that Fedora has already demonstrated to be working. The MODULE_ALIAS solution will, quite simply, *never* be accepted upstream. It's also a code change for a problem that can be fixed by adding several lines to the spec file. So that makes the choice between maintaining a patch to our kernel, outside of mainline, forever or adding a few lines to a spec file to create the nodes. I think the preference is obvious. Now, to answer Johannes' question: (In reply to comment #101)
I have a question:
What happens if a RPM package contains the udev files --------------------------------------------------------------- crw-r--r-- 1 root lp 6, 0 ... /lib/udev/devices/lp0 crw-r--r-- 1 root lp 6, 0 ... /lib/udev/devices/lp1 crw-r--r-- 1 root lp 6, 0 ... /lib/udev/devices/lp2 crw-r--r-- 1 root lp 6, 0 ... /lib/udev/devices/lp3 ---------------------------------------------------------------
Thanks for pasting this chunk. This is actually a bug in my submission. They should be: crw-r--r-- 1 root lp 6, 0 ... /lib/udev/devices/lp0 crw-r--r-- 1 root lp 6, 1 ... /lib/udev/devices/lp1 crw-r--r-- 1 root lp 6, 2 ... /lib/udev/devices/lp2 crw-r--r-- 1 root lp 6, 3 ... /lib/udev/devices/lp3
but on the computer where those RPM package is installed there is no parallel port hardware at all?
The device files are created but accessing them returns -ENODEV or -ENXIO.
Could this cause any kind of errors or udev warning messages when udev tries to create the device nodes even when there is no parallel port hardware?
No. You could populate that directory with random device nodes and udev wouldn't complain.
Could this cause any kind of subsequent problems?
No. Your example isn't a problem.
E.g. might /dev/lp0 /dev/lp1 /dev/lp2 /dev/lp3 exist even on a computer without parallel port hardware?
Yes. But that's the point of all of this. lp can't be automatically detected. It can only be loaded automatically when the device is accessed and to access the device, the device nodes must exist. This is, unfortunately, how legacy devices work. So, in order for parallel printing to work, those device nodes *must* exist. Having them in a separate package is only a good idea if the point of the package's existence is to be Required by multiple printing systems. If we only care about cups, the device nodes should be pulled into the cups package like they are on Fedora. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c103
--- Comment #103 from Ludwig Nussel
The reason I'm pushing for the /lib/udev/devices option is because it's simple. It's a packaging change and one that Fedora has already demonstrated to be working. The MODULE_ALIAS solution will, quite simply, *never* be accepted upstream.
Why?
They should be: crw-r--r-- 1 root lp 6, 0 ... /lib/udev/devices/lp0 crw-r--r-- 1 root lp 6, 1 ... /lib/udev/devices/lp1 crw-r--r-- 1 root lp 6, 2 ... /lib/udev/devices/lp2 crw-r--r-- 1 root lp 6, 3 ... /lib/udev/devices/lp3
No, they should be mode 660. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c104
--- Comment #104 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c105
--- Comment #105 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c106
--- Comment #106 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c107
--- Comment #107 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c108
--- Comment #108 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c109
--- Comment #109 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c110
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c111
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c112
--- Comment #112 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c113
--- Comment #113 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c114
--- Comment #114 from Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c115
Jeff Mahoney
Then let's keep the package parallel-printer-support.
Jeff Mahoney, I added you both as maintainer and bugowner to the package parallel-printer-support in the Printing project so that you can work on it directly in the Printing project - if you like.
Ok, thanks. The way the package works now isn't great. My understanding is that the device nodes are created in %post because the package can't be built as a non-root user otherwise. RPM has the ability to create the device nodes itself in the %files section, so we can make this a lot simpler. BTW, Silviu - the %changelog section of the spec file should be empty in OBS. The changelog goes in <packagename>.changes. I've updated it and submitted to Factory via SR 120976. Closing as FIXED. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c116
--- Comment #116 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c117
--- Comment #117 from Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c118
--- Comment #118 from Johannes Meixner
From my point of view the issue is perfectly solved now.
Jeff Mahoney, thank you very much for your enlightening background explanations and for your contribution to get it done really correctly in the parallel-printer-support package! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c119
--- Comment #119 from Johannes Meixner
I see in the NEWS file:
"udev: /lib/udev/devices/ are not read anymore; systemd-tmpfiles should be used to create dead device nodes as workarounds for broken subsystems."
What sort of "broken subsystems" are we talking about here?
The only one still known is the parport driver, where cups might rely on module-autoloading by accessing of /dev/lp0. There are around 3 users in the world which need that. :) ----------------------------------------------------------------------------- As far as I understand it means that from systemd/udev version 183 on the current way how parallel printer support is enabled via device node files in /lib/udev/devices/ which are provided by the parallel-printer-support package does no longer work and the whole mechanism must be replaced by "systemd-tmpfiles". If my understanding is right this together with comment #61 (note: for openSUSE 12.2 we will have CUPS 1.5 not 1.6!) means that out-of-the-box support for the parallel port seems to become more or less abandoned by upstream projects. In this case for openSUSE versions after 12.2 there is the question if there is sufficient voluntary manpower so that the free openSUSE project can still provide out-of-the-box support for the parallel port. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c120
--- Comment #120 from Dieter Jurzitza
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c121
--- Comment #121 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=673845
https://bugzilla.novell.com/show_bug.cgi?id=673845#c122
--- Comment #122 from Johannes Meixner
participants (1)
-
bugzilla_noreply@novell.com