View previous topic :: View next topic |
Author |
Message |
Cintra Advocate
Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Fri Dec 10, 2004 7:11 am Post subject: No parallel printer with udev |
|
|
Am I right in thinking this is an outstanding area where udev development is concerned?
regards _________________ "I am not bound to please thee with my answers" W.S. |
|
Back to top |
|
|
jschellhaass Guru
Joined: 20 Jan 2004 Posts: 341
|
Posted: Fri Dec 10, 2004 6:10 pm Post subject: |
|
|
My parallel printer works fine with udev. I had no problems installing it (lexmark optra R+).
It needs to be configured in two different places in the kernel config.
Device Drivers > Parallel Port Support and
Device Drivers > Character Devices > Parallel Printer Support
jeff |
|
Back to top |
|
|
Cintra Advocate
Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Fri Dec 10, 2004 6:34 pm Post subject: |
|
|
jschellhaass wrote: | My parallel printer works fine with udev. I had no problems installing it (lexmark optra R+).
It needs to be configured in two different places in the kernel config.
Device Drivers > Parallel Port Support and
Device Drivers > Character Devices > Parallel Printer Support
jeff |
Thanks for your reply jeff. I thought it was rather odd that parallel support should be neglected, but seem to remember reading this was the case, and decided to be patient.. I have looked at my .config and have:
Code: |
# Parallel port support
#
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_CML1=m
CONFIG_PARPORT_SERIAL=m
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PARPORT_PC_SUPERIO=y
# CONFIG_PARPORT_OTHER is not set
# CONFIG_PARPORT_1284 is not set
and
CONFIG_PRINTER=m
|
but I'll look deeper with xconfig and see if I missed something..
regards _________________ "I am not bound to please thee with my answers" W.S. |
|
Back to top |
|
|
headgap n00b
Joined: 19 Nov 2004 Posts: 39 Location: between the ears
|
Posted: Sat Dec 11, 2004 2:45 am Post subject: no parallel printer under cups & udev? |
|
|
same deal here:
ps ax shows the whole filter shebang being fired off, then hpijs just sits and
waits for the device to become active.
cups manage printers still *lists* parallel as an option, but assigns it
/dev/unknown-parallel0 as a device name
/dev/lp0, /dev/lp1, /dev/lp2 exist, as well as /dev/par0, /dev/par1, /dev/par2,
but none of these work as printer devices (killing cupsd each time, reconfigure
printer in cups, hand-edit printer.conf, restart cupsd)
lsmod shows (coldplug) parport_pc & parport loaded.
kernel 2.6.9-r9 + ali3nx bootstrap _________________ If at any time you find yourself on the side of the majority, it is time to reconsider your position - Mark Twain |
|
Back to top |
|
|
headgap n00b
Joined: 19 Nov 2004 Posts: 39 Location: between the ears
|
Posted: Sat Dec 11, 2004 6:08 am Post subject: |
|
|
ok. after looking around dogpile a bit, i set all the above-mentioned config
lines to 'compiled-in', as opposed to 'modules'.
this causes lp0 to load at boot time, bypassing the udev coldplug, giving
me a /dev/lp0 that's only usable via lpr, so far.
am currently trying to get eg gs to recognize the port, as a postscript device.
this is 2.6.9-r9 dev-sources w/ 2.6 headers and nptl.
cheers _________________ If at any time you find yourself on the side of the majority, it is time to reconsider your position - Mark Twain |
|
Back to top |
|
|
Cintra Advocate
Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Sat Dec 11, 2004 6:19 am Post subject: |
|
|
Thanks for the info headgap
I'll try that and hope to get /dev/lp0 back.
Only way I can print at the moment is to move a copy of lp0, which I made with 'mknod lp0 c 6 0', into /dev then it all springs to life and prints whats stuck waiting in the jobs queue.
mvh _________________ "I am not bound to please thee with my answers" W.S. |
|
Back to top |
|
|
headgap n00b
Joined: 19 Nov 2004 Posts: 39 Location: between the ears
|
Posted: Sat Dec 11, 2004 6:54 am Post subject: |
|
|
yes, well i've been able to kludge postscript support using the time-honoured
ln -sf ljetplus lp0 # some convenient gs-supported device name
gs -sDEVICE=ljetplus -sOutputFile=\|lpr <some ps or pdf file>
where ps ax then shows gs having spawned lpr, and shortly the output
appears
mozilla no such luck :(
cheers
nb: but one shouldn't have to go through hoops like this... _________________ If at any time you find yourself on the side of the majority, it is time to reconsider your position - Mark Twain |
|
Back to top |
|
|
Cintra Advocate
Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Sat Dec 11, 2004 9:28 am Post subject: |
|
|
Happy to report that /dev/lp0 comes up as you indicated and my parallel printer is working again... yes!
Tho' I thought udev should make a folder called /dev/printers
thanks _________________ "I am not bound to please thee with my answers" W.S. |
|
Back to top |
|
|
|