Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No parallel printer with udev
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Fri Dec 10, 2004 7:11 am    Post subject: No parallel printer with udev Reply with quote

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
View user's profile Send private message
jschellhaass
Guru
Guru


Joined: 20 Jan 2004
Posts: 341

PostPosted: Fri Dec 10, 2004 6:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Fri Dec 10, 2004 6:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
headgap
n00b
n00b


Joined: 19 Nov 2004
Posts: 39
Location: between the ears

PostPosted: Sat Dec 11, 2004 2:45 am    Post subject: no parallel printer under cups & udev? Reply with quote

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
View user's profile Send private message
headgap
n00b
n00b


Joined: 19 Nov 2004
Posts: 39
Location: between the ears

PostPosted: Sat Dec 11, 2004 6:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Sat Dec 11, 2004 6:19 am    Post subject: Reply with quote

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
View user's profile Send private message
headgap
n00b
n00b


Joined: 19 Nov 2004
Posts: 39
Location: between the ears

PostPosted: Sat Dec 11, 2004 6:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Sat Dec 11, 2004 9:28 am    Post subject: Reply with quote

Happy to report that /dev/lp0 comes up as you indicated and my parallel printer is working again... yes! :-D

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum