View previous topic :: View next topic |
Author |
Message |
l_arbalette Guru
Joined: 05 Feb 2006 Posts: 569 Location: Paris - FRANCE
|
Posted: Mon Aug 27, 2007 6:01 pm Post subject: [hplip 2.7.7] Pb droits pour le scanner ? [Résolu] |
|
|
Bonjour à tous,
J'ai un souci depuis que j'ai mis à jour hplip. Je suis passé de la version hplip-1.7.4a-r1 à la version hplip-2.7.7-r2
Avant : pas de problème, mon scanner est reconnu sans problème par n'importe quel user.
Après : ça ne marche qu'en root.
Si je downgrade, ça remarche. Mais j'aimerais bien faire marcher cette nouvelle version, qui ne nécessite plus le /etc/init.d/hplip start.
Ce qui est bizarre, c'est que les droits semblent à priori bien configuré. Je suis bien :
- dans le groupe lp
- dans le groupe usb
- dans le groupe scanner.
En root, scanimage -L renvoie :
Code: | device `hpaio:/usb/Photosmart_C3100_series?serial=MY652B51DP04P9' is a Hewlett-Packard Photosmart_C3100_series all-in-one |
Sous mon user :
Code: | No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages). |
Et en root, ça marche bien : je viens de scanner 2 images..
Quelqu'un aurait-il une explication ? Merci d'avance, _________________ Proverbe chinois : L'homme qui pose une question peut sembler stupide, celui qui ne la pose pas le restera.
Abraham Maslow : Lorsque votre seul outil est un marteau, vous avez tendance à traiter tous les problèmes comme un clou.
Last edited by l_arbalette on Wed Aug 29, 2007 4:48 pm; edited 1 time in total |
|
Back to top |
|
|
l_arbalette Guru
Joined: 05 Feb 2006 Posts: 569 Location: Paris - FRANCE
|
Posted: Mon Aug 27, 2007 7:50 pm Post subject: |
|
|
j'ajouterai un point qui est assez troublant :
un sane-find-scanner renvoie la même chose en root et sous mon user :
Code: | $ sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x03f0, product=0x5611) at libusb:002:004
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.
|
Dans les 2 cas, le scanner est détecté....mais scanimage -L ne marche pas sous mon user.
J'ai le même symptôme avec hp-toolbox : OK en root, pas OK en user...
Ensuite, les droits sur le bus ont l'air d'être OK (en tout cas, ce sont les mêmes pour root que pour le groupe usb dont je fais partie)
Code: | ls -lha /proc/bus/usb/002/004
-rw-rw-r-- 1 root usb 149 aoû 27 21:25 /proc/bus/usb/002/004 |
Quelqu'un aurait-il une idée ? _________________ Proverbe chinois : L'homme qui pose une question peut sembler stupide, celui qui ne la pose pas le restera.
Abraham Maslow : Lorsque votre seul outil est un marteau, vous avez tendance à traiter tous les problèmes comme un clou. |
|
Back to top |
|
|
l_arbalette Guru
Joined: 05 Feb 2006 Posts: 569 Location: Paris - FRANCE
|
Posted: Wed Aug 29, 2007 4:48 pm Post subject: |
|
|
bon, ben c'est résolu...
A la fin du emerge, il fallait lire :
Code: | You should run hp-setup as root if you are installing hplip for the first time, and may also
need to run it if you are upgrading from an earlier version.
If your device is connected using USB, users will need to be in the lp group to access it.
This release doesn't use an init script anymore, so you should probably do a
'rc-update del hplip' if you are updating. |
Ce que je viens de faire...(hp-setup)
C'est bizarre, parce qu'il m'a semblé que seule la partie imprimante était configurée (pour cups). Mais apparemment, ça a résolu également la question du scanner... _________________ Proverbe chinois : L'homme qui pose une question peut sembler stupide, celui qui ne la pose pas le restera.
Abraham Maslow : Lorsque votre seul outil est un marteau, vous avez tendance à traiter tous les problèmes comme un clou. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|