You are not logged in.

#1 2009-12-19 20:11:20

psilo357
Member
Registered: 2008-10-31
Posts: 116

problem with printer device group [Solved]

This is the ouptut of ls -l /dev/bus/usb/001/004 which is where my printer is

crw-rw-r-- 1 root scanner 189, 3 Dec 19 14:02 /dev/bus/usb/001/004

The problem is it is part of group 'scanner' and not 'lp'.  i can assign the right group by using

chgrp lp /dev/bus/usb/001/004

And then i can see it just fine in the CUPS add printer menu and it will work just fine.  The problem comes whenever i reboot, and that problem is that the device get reassigned to scanner again.  I tried adding the following udev rule:

/etc/udev/rules.d/10-usbprinter.rules

ATTR{idVendor}=="04a9", ATTR{idProduct}=="1728", MODE:="0660", GROUP:="lp"

Which is where it gets weird, whenever i add this, for some reason, it stops gdm from launcing, it starts up the x server, but just hangs right there...so odd, so how can i get the right group assigned, without making my system unusable since it stops gdm from working?  It used to work this way, but i had a harddrive failure recently, and now, i can't get it to work again, other than reassigning the group on every startup...oh, and yes, usblp is blacklisted in the modules section with !usblp.

Thanks for any suggestions.

Last edited by psilo357 (2009-12-22 00:53:58)

Offline

#2 2009-12-19 20:50:56

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: problem with printer device group [Solved]

Just an idiot-check -- what's the output of lsusb for your printer?

Scott

Offline

#3 2009-12-20 03:14:02

psilo357
Member
Registered: 2008-10-31
Posts: 116

Re: problem with printer device group [Solved]

lsusb:

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash Card Reader/Writer (Internal/External)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 046d:c043 Logitech, Inc. MX320/MX400 Laser Mouse
Bus 003 Device 002: ID 046d:c317 Logitech, Inc. 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 04a9:1728 Canon, Inc. MX310 ser
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

The printer is the mx310...and while we are here, im soon going to be replacing this with an all in one laser black only printer, no fax needed, just printer, scanner, copier...any links or tips on what i should get to be most compatible with linux, and easily shareable?  Or maybe even get one that connects to my router?

Thanks

Offline

#4 2009-12-20 13:37:58

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: problem with printer device group [Solved]

Install hal-cups-utils. This will solve your problem. I have the exact same printer! (forgot this little detail when I first posted smile ) I didn't read the wiki for cups close enough the first time around.....

Good luck!
Scott

Last edited by firecat53 (2009-12-20 13:38:41)

Offline

#5 2009-12-20 19:20:55

psilo357
Member
Registered: 2008-10-31
Posts: 116

Re: problem with printer device group [Solved]

so when i add hal-cups-utils, do i put the udev rule back in or not?  Or will it finally set my group on my printer correctly automatically? 

i will also use the scanner as well, once i get the printer setup perfectly, i will install it, though, it never cared it was in the lp group, and both printing and scannign worked fine...

thanks a ton firecat.

Offline

#6 2009-12-21 04:50:32

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: problem with printer device group [Solved]

I think you still need the udev rule....at least I still have it and it's working smile Haven't tested scanning yet . . .

Offline

#7 2009-12-22 00:53:44

psilo357
Member
Registered: 2008-10-31
Posts: 116

Re: problem with printer device group [Solved]

alright, now the udev rule doesn't cause gdm to freeze when starting, and the printer is installed, now, to figure out why only root can see my printer...

thanks

Offline

Board footer

Powered by FluxBB