Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12531 closed bug (fixed)

Haiku no longer detects USB printer (regression)

Reported by: vidrep Owned by: axeld
Priority: normal Milestone: R1/beta1
Component: Printing Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

hrev49910 x86_gcc2 Epson NX625 printer Printer was configured and working on Haiku, but with recent builds it is no longer detected. Alpha 4.1, which is on another partition, on same hard drive, is still working. So, it not a hardware related problem

Attachments (2)

screenshot1.png (42.8 KB ) - added by vidrep 8 years ago.
screenshot2.png (108.9 KB ) - added by vidrep 8 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 by vidrep, 8 years ago

I will attempt to go back and find where the regression took place. I'll report back later with the results.

comment:2 by vidrep, 8 years ago

I have narrowed down the regression to between hrev49811 (working) and hrev49824 (not working).

comment:3 by pulkomandy, 8 years ago

Possibly related in this revision range are changes to the launch_daemon. Could it be that the print_server is not running properly?

comment:4 by axeld, 8 years ago

That would be my assumption as well. How exactly does the problem manifest itself? Is the printer always plugged in, but you cannot print to it? Or how exactly does the problem manifest itself? But do you mean by "detection"?

comment:5 by vidrep, 8 years ago

The printer is always plugged in, but it cannot now be added from "Preferences->Printers" as before. To illustrate, I have attached a screenshot from Alpha 4.1 and the latest nightly, showing the "Printers" dialog.

by vidrep, 8 years ago

Attachment: screenshot1.png added

by vidrep, 8 years ago

Attachment: screenshot2.png added

comment:6 by phoudoin, 8 years ago

Looks more like print transport add-ons are not loaded anymore.

comment:7 by phoudoin, 8 years ago

I would bet that the transport popup menu is empty because of this line:

https://cgit.haiku-os.org/haiku/tree/src/preferences/printers/AddPrinterDialog.cpp#n342 https://cgit.haiku-os.org/haiku/tree/src/preferences/printers/Globals.cpp#n40

Which sounds like, indeed, we fail to start print_server.

Last edited 8 years ago by phoudoin (previous) (diff)

comment:8 by axeld, 8 years ago

Thanks, I'll have a look at it.

comment:9 by axeld, 8 years ago

Milestone: UnscheduledR1/beta1
Owner: changed from phoudoin to axeld
Status: newin-progress

comment:10 by vidrep, 8 years ago

Have you had an opportunity to have a look at this yet?

comment:11 by axeld, 8 years ago

Resolution: fixed
Status: in-progressclosed

Fixed in hrev50005. It's only a workaround, as the actual fix is way more involved -- I'll open a new ticket for that.

comment:12 by vidrep, 8 years ago

Tested with hrev50006 x86_gcc2 - working again! Thank you for the "fix". Now I can resume testing the bugs which remain.

Note: See TracTickets for help on using tickets.