FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-10-2010, 10:58 PM
 
Default why don't scanner permissions get assigned correctly ?

My scanner, a very old epson, shows up in dmesg:

Processor EPSON GT-9700 1.03 PQ: 0 ANSI: 4
scsi 11:0:0:0: Attached scsi generic sg1 type 3


I checked /lib/udev/rules and in the libsave rules there is a match:

# Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0112", MODE="0664",
GROUP="scanner", ENV{libsane_matched}="yes"

The problem is that sg1 is not getting assigned to group scanner.

?

What would be just great is if there was a udev log file somewhere
which contained messages about which rule was matched and what was done.

This information is supposed to be in syslog, and probably consists of
the above message. The problem, of course, is that it's not doing what
it says it should be doing.


Thanks.

Brian


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100710155812.58d053a8@windy.deldotd.com">http://lists.debian.org/20100710155812.58d053a8@windy.deldotd.com
 
Old 07-11-2010, 10:56 AM
Bill Dennen
 
Default why don't scanner permissions get assigned correctly ?

I would suspect that the vendor and device IDs for your device do not
match those listed in libsave. You can determine your scanner's identity
through lspci -nn. If it's not 04b8:0112 then there's no match for that
entry. Probably did match on generic, and that rule may not set the
GROUPID as you'd like.

Regards
>@<

On Sun, 11 Jul 2010 01:00:02 +0200, briand scribbled:

> My scanner, a very old epson, shows up in dmesg:
>
> Processor EPSON GT-9700 1.03 PQ: 0 ANSI: 4 scsi
> 11:0:0:0: Attached scsi generic sg1 type 3
>
>
> I checked /lib/udev/rules and in the libsave rules there is a match:
>
> # Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO
> ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0112", MODE="0664",
> GROUP="scanner", ENV{libsane_matched}="yes"
>
> The problem is that sg1 is not getting assigned to group scanner.
>
> ?
>
> What would be just great is if there was a udev log file somewhere which
> contained messages about which rule was matched and what was done.
>
> This information is supposed to be in syslog, and probably consists of
> the above message. The problem, of course, is that it's not doing what
> it says it should be doing.
>
>
> Thanks.
>
> Brian

--
>@<
Bill Dennen ieee1014@hotmail.com
Of all the things I miss, I miss my mind the most ...


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: i1c80q$pnu$1@speranza.aioe.org">http://lists.debian.org/i1c80q$pnu$1@speranza.aioe.org
 
Old 07-11-2010, 02:35 PM
Alan Greenberger
 
Default why don't scanner permissions get assigned correctly ?

On 2010-07-10, <briand@aracnet.com> <briand@aracnet.com> wrote:
> My scanner, a very old epson, shows up in dmesg:
>
> Processor EPSON GT-9700 1.03 PQ: 0 ANSI: 4
> scsi 11:0:0:0: Attached scsi generic sg1 type 3

Try running sane-find-scanner (in package sane-utils).


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: slrni3jlm4.4nj.alanjg@archduke.router">http://lists.debian.org/slrni3jlm4.4nj.alanjg@archduke.router
 
Old 07-12-2010, 05:24 AM
 
Default why don't scanner permissions get assigned correctly ?

On Sun, 11 Jul 2010 10:35:48 -0400
Alan Greenberger <alanjg@ptd.net> wrote:

> On 2010-07-10, <briand@aracnet.com> <briand@aracnet.com> wrote:
> > My scanner, a very old epson, shows up in dmesg:
> >
> > Processor EPSON GT-9700 1.03 PQ: 0 ANSI: 4
> > scsi 11:0:0:0: Attached scsi generic sg1 type 3
>
> Try running sane-find-scanner (in package sane-utils).
>
>

found SCSI processor "EPSON GT-9700 1.03" at /dev/sg1

I'm not clear on how this helps.

It seems like dmesg showed that it was being detected, the problem
seems to be the udev is not assigning the correct permissions.

Brian


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100711222448.57e5c4b9@windy.deldotd.com">http://lists.debian.org/20100711222448.57e5c4b9@windy.deldotd.com
 
Old 07-12-2010, 05:25 AM
 
Default why don't scanner permissions get assigned correctly ?

On Sun, 11 Jul 2010 10:56:26 +0000 (UTC)
Bill Dennen <ieee1014@hotmail.com> wrote:

> I would suspect that the vendor and device IDs for your device do not
> match those listed in libsave. You can determine your scanner's
> identity through lspci -nn. If it's not 04b8:0112 then there's no
> match for that entry. Probably did match on generic, and that rule
> may not set the GROUPID as you'd like.
>

lspci for a firewire device ??

Brian


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100711222533.7d60bcbb@windy.deldotd.com">http://lists.debian.org/20100711222533.7d60bcbb@windy.deldotd.com
 
Old 07-12-2010, 05:31 AM
 
Default why don't scanner permissions get assigned correctly ?

On Sun, 11 Jul 2010 10:35:48 -0400
Alan Greenberger <alanjg@ptd.net> wrote:

> On 2010-07-10, <briand@aracnet.com> <briand@aracnet.com> wrote:
> > My scanner, a very old epson, shows up in dmesg:
> >
> > Processor EPSON GT-9700 1.03 PQ: 0 ANSI: 4
> > scsi 11:0:0:0: Attached scsi generic sg1 type 3
>
> Try running sane-find-scanner (in package sane-utils).
>
>

Never mind.

I added the users to the scanner group and everything works just fine
now.


Brian


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100711223130.2f25894b@windy.deldotd.com">http://lists.debian.org/20100711223130.2f25894b@windy.deldotd.com
 

Thread Tools




All times are GMT. The time now is 09:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org