Modify

Opened 7 years ago

Closed 3 years ago

Last modified 2 years ago

#6959 closed defect (worksforme)

p910nd expects /dev/lpn

Reported by: t1n Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: p910nd Cc:

Description

p910nd ignores the device name stored in /etc/config/p910nd and expects the printer to be /dev/lpn.

root@OpenWrt:/dev# logread
Mar 27 18:13:19 OpenWrt lpr.err p9100d[10779]: /dev/lpn: No such file or directory
Mar 27 18:13:19 OpenWrt lpr.err p9100d[10779]: /dev/lpn: No such file or directory, will try opening later

After creating a symlink /dev/lpn that shows to /dev/lp0 printing works. However, this way it probably impossible to have multiple printers installed.

root@OpenWrt:/dev# cat /etc/config/p910nd 
config p910nd
	option device        /dev/lp0
	option port          0
	option bidirectional 1
	option enabled       1
root@OpenWrt:/dev# opkg info p910nd
Package: p910nd
Version: 0.93-1
Provides:
Status: install user installed
Section: net
Architecture: ar71xx
MD5Sum: 54e5763bdc3f16afd27403af534a6d30
Size: 5943
Filename: p910nd_0.93-1_ar71xx.ipk
root@OpenWrt:/dev# uname -a
Linux OpenWrt 2.6.32.9 #2 Thu Mar 25 00:40:31 CET 2010 mips GNU/Linux

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by Anton van Bohemen <avbohemen@…>

I don't see this problem (anymore) in p910nd version 0.95-1. It now expects /dev/lp0, or whatever you specify in the config file.

comment:2 Changed 3 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

comment:3 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.