You are not logged in.

#26 2007-10-10 13:25:47

djclue917
Member
Registered: 2006-12-03
Posts: 121

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

Is your user already added to the 'lp' group?

Offline

#27 2007-10-10 20:33:30

joliveirinha
Member
Registered: 2007-04-06
Posts: 3

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

no... but it wasnt needed. I wil try that

Offline

#28 2007-10-11 14:56:42

djclue917
Member
Registered: 2006-12-03
Posts: 121

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

It's actually needed. wink

Offline

#29 2007-10-11 20:21:36

harald_u
Member
From: Stuttgart/Germany
Registered: 2004-02-16
Posts: 9

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

I had the same problem: I could print but xsane would find no device.

hp-check came up with an error, no ppdev installed, and insisted on having this before even installing hplip.
So I removed hplip, did a "modprobe ppdev", then reinstalled hplip.
Installation mentions to put hpiao into /etc/sane.d/dll.conf -- which must have been there before because I used hplip for quite some time with xsane --- I checked it and hpiao was commented out. Removed the comment and I can now print AND scan ...

HTH, Harald


--
Harald

Offline

#30 2007-10-12 10:32:15

stonerl
Member
Registered: 2007-05-28
Posts: 17

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

I also have the problem that i can't scan anymore. Every time i start xsane i get an error message:

Failed to open device 'hpaio:/usb/Photosmart_2600_series?serial=MY49GDJ2VG0400':
Error during device I/O

and i have to turn the printer off and on again, because after this error appeared i can't print anymore.

Last edited by stonerl (2007-10-12 10:38:06)

Offline

#31 2007-10-13 07:57:16

trilog
Member
From: Kuusankoski, Finland
Registered: 2007-08-22
Posts: 19
Website

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

I have same problem. I get "Unable to communicate with device" -error, but I solved it. So everything seems OK, but I can't print even now.  I get now "open device failed; will retry in 30 seconds..." -error.

Here is everything.log messages:

Oct 13 10:35:21 nettikone psc_1310_series?serial=MY47GBD432O2: io/hpmud/musb.c 549: invalid product id string: Operation not permitted
Oct 13 10:35:21 nettikone psc_1310_series?serial=MY47GBD432O2: io/hpmud/musb.c 1003: unable to open hp:/usb/psc_1310_series?serial=MY47GBD432O2
Oct 13 10:35:21 nettikone psc_1310_series?serial=MY47GBD432O2: INFO: open device failed; will retry in 30 seconds...
Oct 13 10:35:21 nettikone hpijs: io/hpmud/musb.c 549: invalid product id string: Operation not permitted
Oct 13 10:35:21 nettikone hpijs: io/hpmud/musb.c 1003: unable to open hp:/usb/psc_1310_series?serial=MY47GBD432O2

...and hp-check; printer and permission check:

psc_1315
--------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/psc_1310_series?serial=MY47GBD432O2
PPD: /etc/cups/ppd/psc_1315.ppd
PPD Description: HP PSC 1310 Foomatic/hpijs (recommended)
Printer open device failed; will retry in 30 seconds...e la 13. lokakuuta 2007 10:35:37

Checking for permissions of USB attached printers...
HP Device 0x3f11 at 001:004: 
    Device URI: hp:/usb/psc_1310_series?serial=MY47GBD432O2
    Device node: /dev/bus/usb/001/004
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/004
# owner: root
# group: lp
user::rw-
group::rw-
other::r--

Non-root user groups:

disk lp log dbus audio optical scanner camera power users jussi

Earlier version of the hplip everything worked fine. I can't understand why it does not work.

Offline

#32 2007-10-13 08:30:51

Limoto
Member
From: Prostějov, Czech Republic
Registered: 2007-10-13
Posts: 5

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

trilog wrote:

I have same problem. I get "Unable to communicate with device" -error, but I solved it. So everything seems OK, but I can't print even now.  I get now "open device failed; will retry in 30 seconds..." -error.

Earlier version of the hplip everything worked fine. I can't understand why it does not work.

I have the same problem.

Offline

#33 2007-10-16 02:52:28

Freeshadow
Member
Registered: 2006-06-03
Posts: 2

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

I have a Deskjet 970 Cxi and am also esperiencing the above listed problem "couldn't connect to device"
the printer worked fine before the hplip update after which the daemon was no longer needed.

I tried all of the above (updates, chmod, adding user to lp camera and scanner altough i haven't the latter two and removal of hplip)
nothing helped. the current status is:

- kde printer installing wiz doesn't recognize the printer at all anymore (regardless wether hplip is installed or not)
- the printer can only be installed with the hp device manager (hplip installed), is then recognized by cups and kde but i get the error above.

HELP i need my printer to work and have no idea what's wrong there. after the updates the problem shouldn't exist any longer.

Last edited by Freeshadow (2007-10-16 02:55:56)

Offline

#34 2007-10-16 17:40:22

solstice
Member
Registered: 2006-10-27
Posts: 235
Website

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

yes. i have the same problem since i switched from my HP deskjet 5740 to my new photosmart C3180.

it have the groupe scanner and i can't print with it.
but if I change the group to lp all is working fine even the scanner.

so i wonder if i am gonna delete the /etc/udev/rules.d/sane.rules

or may be i rename it 53-sane.rules ??

i think that's another fix needed for hplip to work nicely ? no ?

Last edited by solstice (2007-10-16 17:43:01)

Offline

#35 2007-10-20 12:31:43

yoburtu
Member
Registered: 2006-06-07
Posts: 103

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

I have problems too. When I power on my printer yours permissions are:

$ ll /dev/bus/usb/001/008 
crw-rw-r-- 1 root scanner 189, 7 oct 20 14:29 /dev/bus/usb/001/008

If I change group to "lp" printer work fine, but Xsane don't work, :-(.

How can I fix this?.

Regards.

Offline

#36 2007-10-21 13:24:40

reguila
Member
Registered: 2007-09-18
Posts: 3

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

i have exactly the same problem... everything was fine until the update. Now i get the "open device failed; will retry in 30 seconds..." error....
still waiting for a solution, since i cant find any

regards

Offline

#37 2007-10-21 13:42:59

jordz
Member
Registered: 2006-02-01
Posts: 248

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

Maybe be this got something to do with each other:
http://bbs.archlinux.org/viewtopic.php?pid=291541
I can print from normal applications (gedit/acroread), but I can't print the cups testpage.

Offline

#38 2007-10-23 06:51:34

neildarlow
Member
From: United Kingdom
Registered: 2007-10-23
Posts: 17

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

sane-1.0.18-9 fixes this problem correctly.

Previously, the ordering of udev rules resulted in the printer being assigned to group scanner. Now it is correctly assigned to group lp.

If printing previously worked for you and now doesn't please ensure you are a member of group lp.

Offline

#39 2007-10-23 18:22:03

yoburtu
Member
Registered: 2006-06-07
Posts: 103

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

Correct, the group is now "lp", but xsane don't work.

I think that is a permissions problem, the error message is:

Error from I/O device.

If I run:

$ sudo chown root:scanner [device]

Xsane work good, but don't print.

Regards.

Offline

#40 2007-10-23 18:38:56

yoburtu
Member
Registered: 2006-06-07
Posts: 103

Re: Permissions problem in hplip 2.7.9-1 [FIXED: FS#8240]

I've fixed then problem changing permissions with "chmod", but I don't like this solution:

$ ll /dev/bus/usb/002/008 
crw-rw-r-- 1 root lp 189, 135 oct 23 20:27 /dev/bus/usb/002/008
$ sudo chmod 666 /dev/bus/usb/002/008
crw-rw-rw- 1 root lp 189, 135 oct 23 20:27 /dev/bus/usb/002/008

When power on the printer and the permission is done, there is change the file in /etc/udev/rules.d.

I think that there is other solution more elegant, but I don't known what is this.

Regards.

Last edited by yoburtu (2007-10-23 18:39:16)

Offline

Board footer

Powered by FluxBB