Skip to content

p910nd: after restarting router, the printer bidirectional settings change. #28645

@zakk87

Description

@zakk87

Package Name

p910nd

Maintainer

p910nd/

OpenWrt Version

25.12-SNAPSHOT

OpenWrt Target/Subtarget

mediatek/filogic

Steps to Reproduce

  1. uncheck bidirectional copy and mDNS,
  2. restart router
    3, bidirectional copy and mDNS are checked

Actual Behaviour

My old HP LaserJet 1022 can't print while bidirectional copy is checked (prints only page one than hangs). Why bidirectional copy and mDNS are always checked after reboot?

I think this line causing the issue
append_bool "$section" bidirectional "-b"

BTW there's no bidirectional line in config file
`cat /etc/config/p910nd

config hotplug
option driver_home '/opt/p910nd_drivers'

config p910nd
option enabled '1'
option device '/dev/usb/lp0'
option port '0'
option usbvidpid '03f0/2c17'
option mdns_sn 'JM0BC6K'
option driver_file '/opt/p910nd_drivers/Hewlett-Packard_HP_LaserJet_1022_03f0_2c17.bin'
option mdns_cls 'PRINTER'
option runas_root '1' (now I change it to root user)`

Confirmation Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions