The status of cups still shows idle when the printer has been unplugged
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
OEM Priority Project | Status tracked in Focal | |||||
Focal |
Fix Released
|
Undecided
|
Unassigned | |||
system-config-printer (Ubuntu) |
Fix Released
|
High
|
Till Kamppeter | |||
Focal |
Fix Released
|
High
|
Unassigned | |||
Groovy |
Fix Released
|
High
|
Unassigned |
Bug Description
[ Impact ]
After printers (non-ippusb protocal) have been disconnected, the status of cups still shows "idle" instead of "disabled", so seems the disconnected procedure hasn't worked well.
[ Test Case ]
1. Connect the printer (non-ippusb protocal)(which isn't 070104) with any 20.04 machine
2. Wait for the status of cups became "Idle" (lpstat -p)
3. Unplug the cable of the printer
4. Check the status of cups again. (lpstat -p)
[ Regression potential ]
Very Low, if something went wrong in the change, then this issue happened again, due to this snippet will only be called during printer removed event.
[Expected result]
The status should show disabled.
[Actual result]
The status shows idle.
[info]
Target:
HP LaserJet Pro203dw
HP Officejet 100 Mobile Printer
HP Officeject 200 Mobile Printer
Brother HL-2250DN
Samsung ML-331x
Upstream Bug: https:/
PPA: https:/
Changed in oem-priority: | |
assignee: | nobody → hugh chao (hugh712) |
importance: | Undecided → Critical |
status: | New → Confirmed |
tags: | added: laramie oem-priority originate-from-1892987 |
information type: | Proprietary → Public |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in oem-priority: | |
status: | Confirmed → In Progress |
description: | updated |
description: | updated |
Changed in system-config-printer (Ubuntu): | |
assignee: | nobody → Till Kamppeter (till-kamppeter) |
importance: | Undecided → High |
description: | updated |
tags: | added: verification-needed |
Changed in oem-priority: | |
status: | In Progress → Triaged |
tags: | added: rls-ff-incoming |
Changed in oem-priority: | |
status: | Triaged → Fix Released |
currently the syspath for udev-configure- printer is too specific level as:
/devices/ pci0000: 00/0000: 00:14.0/ usb1/1- 5
But current path can be as below for removing
/devices/ pci0000: 00/0000: 00:14.0/ usb1/1- 5:1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 5:1.0/usbmisc/ lp0
or
/devices/
so the printer can't be removed, I think the problem is this program - udev-configure- printer, so let me tried to make it more flexible...