Bug 8013 - HP all-in-one recognised as scanner but not as printer (reopened from Mga3 Alpha 3)
Summary: HP all-in-one recognised as scanner but not as printer (reopened from Mga3 Al...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard: 3alpha3
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-07 20:32 CET by Carolyn Rowse
Modified: 2016-03-18 04:32 CET (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
result of tailf command (63 bytes, text/plain)
2012-11-11 10:46 CET, Carolyn Rowse
Details
result of lspcidrake command (2.57 KB, text/plain)
2012-11-11 10:47 CET, Carolyn Rowse
Details
output of journalctl (2.58 KB, text/plain)
2012-11-12 21:21 CET, Marc Lattemann
Details
lspcidrake -v (1.83 KB, application/octet-stream)
2012-11-12 21:22 CET, Marc Lattemann
Details

Description Carolyn Rowse 2012-11-07 20:32:41 CET
Description of problem:

I have an HP Deskjet 1050 J410 series all-in-one which worked fine from the start in Mga2, but in Mga3 Alpha3 MCC won't recognise it under "Configure printer" but does recognise it under "Configure scanner".  Similarly, it doesn't show as available in the Abiword print window but it does show as available in Xsane.


Version-Release number of selected component (if applicable):

Mga3 Alpha3 i586 DVD

How reproducible:
Install Alpha3 then try to configure printer in MCC

Steps to Reproduce:
1.
2.
3.



Carolyn
Carolyn Rowse 2012-11-07 20:33:01 CET

Whiteboard: (none) => 3alpha3

Comment 1 Manuel Hiebel 2012-11-08 16:32:45 CET
hello can you disconnect your hp

launch tailf /var/log/messages 2>&1 | tee output.txt as root

and then _attach_ the file output.txt

and also the output of lspcidrake -v
Comment 2 Carolyn Rowse 2012-11-11 10:46:50 CET
Created attachment 3067 [details]
result of tailf command
Comment 3 Carolyn Rowse 2012-11-11 10:47:14 CET
Created attachment 3068 [details]
result of lspcidrake command
Comment 4 claire robinson 2012-11-11 11:18:15 CET
You missed a leading / from /var/log/messages Carolyn
Comment 5 claire robinson 2012-11-11 11:30:03 CET
This is actually a little complex if you're not used to using the terminal.

As your normal user, open a terminal/konsole window and do the following..

$ su -
<enter root password>

This will give you a root prompt which looks like #, your normal user has $

# tailf /var/log/messages 2>&1 | tee output.txt

Connect your printer, turn it on.

When it's finished doing it's thing, click on the terminal window and press ctrl-c to quit tailf. It should return you to a root prompt. So now you need to copy output.txt to your regular user's home directory and change the file ownership from root, so that you can access it.

# cp output.txt /home/your-username/
# chown your-username:your-username /home/your-username/output.txt

So assuming your username is carolyn it would be..

# cp output.txt /home/carolyn/
# chown carolyn:carolyn /home/carolyn/output.txt

Return to your normal user with..

# exit

You should then find output.txt in your home directory which you can attach to this bug.
Comment 6 Carolyn Rowse 2012-11-12 14:48:30 CET
Oops, sorry, didn't notice the missing /.  But I was able to access output.txt without going through the process you outlined, Claire.

I'll try again as soon as I get a chance, but at what point should I connect the printer?  I got the impression from the initial instructions that I had to do it with the printer disconnected.

Thanks.

Carolyn
Comment 7 Marc Lattemann 2012-11-12 21:21:04 CET
Created attachment 3081 [details]
output of journalctl

tested with HP PSC1400 (printer+scanner) on installation in VBox (from dualArchCD). Same here: scanner detected, printer not.
attached output of journalctl -f when attaching printer (activating USB in VBox).
Marc Lattemann 2012-11-12 21:21:29 CET

CC: (none) => marc.lattemann

Comment 8 Marc Lattemann 2012-11-12 21:22:57 CET
Created attachment 3082 [details]
lspcidrake -v

corresponding lspcidrake -v from VBox
Comment 9 papoteur 2012-11-20 17:53:34 CET
Carolyn, 
You have disconnect the printer, run the command tailf ... and then turn on the printer. At this time, you get what it is executed according to the printer connection.
The lspcidrake command is to launch with the printer connected.

CC: (none) => yves.brungard_mageia

Manuel Hiebel 2012-11-20 22:55:09 CET

Attachment 3081 mime type: application/octet-stream => text/plain

Comment 10 Manuel Hiebel 2012-11-20 22:56:38 CET
Nov 12 15:17:47 localhost systemd-udevd[5501]: failed to execute '/usr/bin/setfacl' '/usr/bin/setfacl -m user:lp:rw /dev/usb/lp0': No such file or directory

so does it work if you install acl ?

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=7875

Comment 11 claire robinson 2012-11-21 10:08:06 CET
You can also try, as root

# modprobe usblp
Comment 12 Carolyn Rowse 2012-11-25 10:36:39 CET
That's it, Manuel, I installed acl and now it works. Yaaay!

Thank you all for your guidance.

Carolyn

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 13 Manuel Hiebel 2012-11-25 10:41:04 CET
dup

*** This bug has been marked as a duplicate of bug 7875 ***

Resolution: FIXED => DUPLICATE

Comment 14 Manuel Hiebel 2012-11-25 10:42:51 CET
better one

*** This bug has been marked as a duplicate of bug 8125 ***
Comment 15 Bernard SIAUD 2012-11-25 21:00:11 CET
With a HP Desjet F4280 ALL-IN-ON

# urpmi acl
# systemctl restart cups

and it's good !

thank's

CC: (none) => liste

Comment 16 Carolyn Rowse 2014-11-02 10:05:56 CET
Having the same situation with the Mga5 beta1 dual arch iso on a 64-bit HP laptop.

acl is installed.

The device is listed in the lspcidrake -v output.

I tried the tailf command from comment 5 but it says there's no such file as /var/log/messages - do I need a different file path now?

Carolyn

Status: RESOLVED => REOPENED
Hardware: i586 => x86_64
Resolution: DUPLICATE => (none)

Carolyn Rowse 2014-11-06 19:10:48 CET

Summary: HP all-in-one recognised as scanner but not as printer in Mga3 Alpha 3 => HP all-in-one recognised as scanner but not as printer (reopened from Mga3 Alpha 3)

Comment 17 Florian Hubold 2014-11-20 00:02:20 CET
(In reply to Carolyn Rowse from comment #16)
> I tried the tailf command from comment 5 but it says there's no such file as
> /var/log/messages - do I need a different file path now?

We switched to journald quite some time ago, unless you have rsyslog or syslog-ng installed there's no /var/log/messages. Now instead of
tailf /var/log/messages 2>&1 | tee output.txt
you simply do
journalctl -af 2>&1 | tee output.txt

CC: (none) => doktor5000

Comment 18 Nic Baxter 2015-12-28 03:19:28 CET
Is this still an issue. Nothing for over a year.

CC: (none) => nic

Comment 19 Nic Baxter 2016-03-18 04:32:05 CET
Since there are insufficient details provided in this report for us to investigate the issue further, and we have not received feedback to the information we have requested above, we will assume the problem was not reproducible, or has been fixed in one of the updates we have released for the reporter's distribution.

Users who have experienced this problem are encouraged to upgrade to the latest update of their distribution, and if this issue turns out to still be reproducible in the latest update, please reopen this bug with additional information.

Closing as OLD.

Status: REOPENED => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.