Re: [gentoo-user] usb scanner HP2200c

2007-01-15 Thread Dan
On Sun, 14 Jan 2007 20:11:46 +
Neil Bothwick [EMAIL PROTECTED] wrote:

 On Sun, 14 Jan 2007 10:04:14 -0600, Dan wrote:
 
  here's the output from the system log, i use metalog so
  that's /var/log/everything/current.
  
   Jan 14 10:02:02 [kernel] usb 2-1:
  USB disconnect, address 2 Jan 14 10:02:08 [kernel] ohci_hcd
  :00:02.0: wakeup Jan 14 10:02:08 [kernel] usb 2-4: new full
  speed USB device using ohci_hcd and address 3 Jan 14 10:02:09
  [kernel] usb 2-4: configuration #1 chosen from 1 choice
  
  dmesg: 
  
  usb 2-1: USB disconnect, address 2
  ohci_hcd :00:02.0: wakeup
  usb 2-4: new full speed USB device using ohci_hcd and address 3
  usb 2-4: configuration #1 chosen from 1 choice
 
 That's it? There would normally be several lines after that showing
 the device's identification.
 
 
perhaps in another log somewhere, but i use the niash drivers and they
don't have configuration options, they might be a little quieter than
yours.  
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] usb scanner HP2200c

2007-01-14 Thread Dan

 OK, so it's not a permissions issue. What shows up in your syslog when
 you connect the scannner?
 
 If you use syslog-ng, run tail -f /var/log/message then connect the
 scanner.
here's the output from the system log, i use metalog so
that's /var/log/everything/current.

 Jan 14 10:02:02 [kernel] usb 2-1:
USB disconnect, address 2 Jan 14 10:02:08 [kernel] ohci_hcd
:00:02.0: wakeup Jan 14 10:02:08 [kernel] usb 2-4: new full speed
USB device using ohci_hcd and address 3 Jan 14 10:02:09 [kernel] usb
2-4: configuration #1 chosen from 1 choice

dmesg: 

usb 2-1: USB disconnect, address 2
ohci_hcd :00:02.0: wakeup
usb 2-4: new full speed USB device using ohci_hcd and address 3
usb 2-4: configuration #1 chosen from 1 choice

anything else you think would be helpful? Just ask.  

--dan.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] usb scanner HP2200c

2007-01-14 Thread Justin Findlay
On AD 2007 January 13 Saturday 12:22:25 PM +, Neil Bothwick wrote:
 Don't apologise, if you know it's wrong, don't do it. Not only do I get
 two copies of your mail, but of every response when someone uses Reply to
 All :(

That's the way some mailing lists work because it's more 'RFC compliant'
and stuff.


Justin
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] usb scanner HP2200c

2007-01-14 Thread Boyd Stephen Smith Jr.
On Sunday 14 January 2007 11:38, Justin Findlay [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] usb scanner HP2200c':
 On AD 2007 January 13 Saturday 12:22:25 PM +, Neil Bothwick wrote:
  Don't apologise, if you know it's wrong, don't do it. Not only do I
  get two copies of your mail, but of every response when someone uses
  Reply to All :(

 That's the way some mailing lists work because it's more 'RFC compliant'
 and stuff.

I'd like to hear what RFC that suggests CCing the author of the email by 
default, please.

From what I understand the recommended default reply behavior is to reply 
to only the Reply-To or, if that header is absent, From 
header.  Reply to all to a feature that all MUAs should have, but it's 
used more often with large multiple TO+CC addresses rather than on lists.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh


pgpShn0O7uqhY.pgp
Description: PGP signature


Re: [gentoo-user] usb scanner HP2200c

2007-01-14 Thread Neil Bothwick
On Sun, 14 Jan 2007 10:04:14 -0600, Dan wrote:

 here's the output from the system log, i use metalog so
 that's /var/log/everything/current.
 
  Jan 14 10:02:02 [kernel] usb 2-1:
 USB disconnect, address 2 Jan 14 10:02:08 [kernel] ohci_hcd
 :00:02.0: wakeup Jan 14 10:02:08 [kernel] usb 2-4: new full speed
 USB device using ohci_hcd and address 3 Jan 14 10:02:09 [kernel] usb
 2-4: configuration #1 chosen from 1 choice
 
 dmesg: 
 
 usb 2-1: USB disconnect, address 2
 ohci_hcd :00:02.0: wakeup
 usb 2-4: new full speed USB device using ohci_hcd and address 3
 usb 2-4: configuration #1 chosen from 1 choice

That's it? There would normally be several lines after that showing the
device's identification.


-- 
Neil Bothwick

We are upping our standards - so up yours.


signature.asc
Description: PGP signature


Re: [gentoo-user] usb scanner HP2200c

2007-01-13 Thread Neil Bothwick
On Fri, 12 Jan 2007 23:12:57 +0100, Mihamina Rakotomandimby (R12y) wrote:

 As root:
   # scanimage --list-devices
   No scanners were identified. [...]
   # sane-find-scanner -q
   found USB scanner [...]
   found USB scanner [...]
 
 As normal user:
   $ scanimage --list-devices
   No scanners were identified.
   $ sane-find-scanner -q
   found USB scanner [...]
   found USB scanner [...]

OK, so it's not a permissions issue. What shows up in your syslog when
you connect the scannner?

If you use syslog-ng, run tail -f /var/log/message then connect the
scanner.

 PS: Sorry for the CCing, just to up the thread.

Don't apologise, if you know it's wrong, don't do it. Not only do I get
two copies of your mail, but of every response when someone uses Reply to
All :(


-- 
Neil Bothwick

Bother, said Pooh, as Smurfette got dressed.


signature.asc
Description: PGP signature


Re: [gentoo-user] usb scanner HP2200c

2007-01-12 Thread Neil Bothwick
On Fri, 12 Jan 2007 01:28:47 +0100, Mihamina Rakotomandimby (R12y) wrote:

 When I launch xsane, it says it does not detect any device.
 I launch it as user, I already added me to the scanner group.

 [EMAIL PROTECTED] ~ $ sane-find-scanner -q
 found USB scanner (vendor=0x03f0 [Hewlett-Packard], 
 product=0x0605 [HP ScanJet 2200C], chip=LM9832/3) at libusb:003:003
 found USB scanner (vendor=0x05e1, product=0x0501) at libusb:001:003

What are the results of running scanimage --list-devices both as root
and a normal user? Permission problems can cause scanimage or xsane to not
find the scanner while sane-find-scanner will.


-- 
Neil Bothwick

What do you have when you have six lawyers buried up to their necks in
sand? Not enough sand.


signature.asc
Description: PGP signature


Re: [gentoo-user] usb scanner HP2200c

2007-01-12 Thread Mihamina Rakotomandimby (R12y)
On Fri, 2007-01-12 at 10:19 +, Neil Bothwick wrote:
 What are the results of running scanimage --list-devices both as root
 and a normal user? Permission problems can cause scanimage or xsane to not
 find the scanner while sane-find-scanner will.

As root:
# scanimage --list-devices
No scanners were identified. [...]
# sane-find-scanner -q
found USB scanner [...]
found USB scanner [...]

As normal user:
$ scanimage --list-devices
No scanners were identified.
$ sane-find-scanner -q
found USB scanner [...]
found USB scanner [...]

I know my scanner uses plustek driver, and I already
edited /etc/sane.d/plustek.conf, but I dont know how to exclude all
other configuration files so that they dont disturb mine...

PS: Sorry for the CCing, just to up the thread.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] usb scanner HP2200c

2007-01-12 Thread Justin Findlay
On AD 2007 January 12 Friday 11:12:57 PM +0100, Mihamina Rakotomandimby (R12y) 
wrote:
 On Fri, 2007-01-12 at 10:19 +, Neil Bothwick wrote:
  What are the results of running scanimage --list-devices both as root
  and a normal user? Permission problems can cause scanimage or xsane to not
  find the scanner while sane-find-scanner will.
 
 As root:
   # scanimage --list-devices
   No scanners were identified. [...]
   # sane-find-scanner -q
   found USB scanner [...]
   found USB scanner [...]
 
 As normal user:
   $ scanimage --list-devices
   No scanners were identified.
   $ sane-find-scanner -q
   found USB scanner [...]
   found USB scanner [...]

I don't have much experience with USB devices or how udev handles
them in /dev.  All my experience which is quite limited would suggest
that it is still a permission issue.  You could find the (ephemeral)
device file(s) and check the perms on them and then issue the groups
command to check against.  My guess is you still have a permission
problem that is more likely due to /etc/groups than to /etc/udev.d.


Justin
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] usb scanner HP2200c

2007-01-12 Thread Dan

 I don't have much experience with USB devices or how udev handles
 them in /dev.  All my experience which is quite limited would suggest
 that it is still a permission issue.  You could find the (ephemeral)
 device file(s) and check the perms on them and then issue the groups
 command to check against.  My guess is you still have a permission
 problem that is more likely due to /etc/groups than to /etc/udev.d

you may have to relogin as your user to apply the new group settings;
you may also have to be in the USB group; you may also have to unplug
and replug the scanner once after you add yourself to those groups.  

Just to be clear, I use Xsane and an HP Scanjet, i think 4300 C,
something close to that, and permission issues like this don't effect
root, so that would be agood way to test.  
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] usb scanner HP2200c

2007-01-11 Thread Mihamina Rakotomandimby (R12y)
Hi,

I have an USB scanner HP2200c.

It is automatically detected and used with Fedora and Ubuntu.
But on my personnal laptop, I use Gentoo and I would like it to be
detected.
I have installed xsane and its dependencies (sane-backends, hplip,...)

When I launch xsane, it says it does not detect any device.
I launch it as user, I already added me to the scanner group.


# grep mihamina /etc/group
root::0:root,mihamina
disk::6:root,adm,mihamina
wheel::10:root,mihamina
audio::18:mihamina
cdrom::19:mihamina
cdrw::80:mihamina
portage::250:portage,root,mihamina
mihamina:x:1000:
scanner:!:1002:mihamina


I did not touch any of the files under /etc/sane.d/.
And last:


[EMAIL PROTECTED] ~ $ sane-find-scanner -q
found USB scanner (vendor=0x03f0 [Hewlett-Packard], 
product=0x0605 [HP ScanJet 2200C], chip=LM9832/3) at libusb:003:003
found USB scanner (vendor=0x05e1, product=0x0501) at libusb:001:003


The second found device is an embeded webcam. Nothing to do with a
scanner.
What should I do to make my scanner detected by xsane?

Thank you.

-- 
gentoo-user@gentoo.org mailing list