#1 Le 15/09/2009, à 10:12
- Yop69
[RESOLU] Scanner avec une imprimante multifonctions PSC 1500
Bonjour,
Voila j'essaie de scanner un document avec ma PSC 1500 et grace au logiciel XSane. Celui-ci au démarrage me propose 2 choix de device :
* noname
* HP PSC 1500
Je choisis donc PSC 1500 ensuite je fais simplement scan mais la les fenêtres du soft se grisent et voila
Avez vous une idée ?
Dernière modification par Yop69 (Le 15/09/2009, à 16:38)
Hors ligne
#2 Le 15/09/2009, à 10:18
- Jos31
Re : [RESOLU] Scanner avec une imprimante multifonctions PSC 1500
Salut,
Que donne
scanimage -L
Puis
scanimage -d le_nom_du_device
(ou scanimage tout court)
Hors ligne
#3 Le 15/09/2009, à 11:52
- Yop69
Re : [RESOLU] Scanner avec une imprimante multifonctions PSC 1500
scanimage -L
device `v4l:/dev/video0' is a Noname Vega USB 2.0 Camera. virtual device
device `hpaio:/usb/PSC_1500_series?serial=MY5A7DB1480498' is a Hewlett-Packard PSC_1500_series all-in-one
scanimage -d hpaio:/usb/PSC_1500_series?serial=MY5A7DB1480498
Ca mouline dans le vide
Edit : ca m'a retourné
scanimage: sane_start: Device busy
Dernière modification par Yop69 (Le 15/09/2009, à 11:54)
Hors ligne
#4 Le 15/09/2009, à 13:51
- Jos31
Re : [RESOLU] Scanner avec une imprimante multifonctions PSC 1500
As tu installé des machines virtuelles? Si oui as tu partagé l'USB?
La commande "dmesg" retourne t'elle des erreurs apres avoir fait le scanimage -d ?
Hors ligne
#5 Le 15/09/2009, à 14:37
- Yop69
Re : [RESOLU] Scanner avec une imprimante multifonctions PSC 1500
oui j'ai installé des machines virtuelles et je ne crois pas avoir partagé l'USB (pas sur)
scanimage -d hpaio:/usb/PSC_1500_series?serial=MY5A7DB1480498 | dmesg
[ 4414.728504] atkbd.c: Use 'setkeycodes e079 <keycode>' to make it known.
[ 6223.728431] CE: hpet increasing min_delta_ns to 15000 nsec
[27711.671088] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
[80418.325233] usb 2-2.5: new full speed USB device using ehci_hcd and address 11
[80418.618392] usb 2-2.5: configuration #1 chosen from 1 choice
[80419.410853] usblp0: USB Bidirectional printer dev 11 if 1 alt 0 proto 2 vid 0x03F0 pid 0x4C11
[80419.410892] usbcore: registered new interface driver usblp
[80653.333066] usblp0: removed
[96785.490096] usb 2-1: USB disconnect, address 10
[96786.195348] scsi 4:0:0:0: rejecting I/O to dead device
scanimage: sane_start: Device busy
Hors ligne
#6 Le 15/09/2009, à 15:03
- Jos31
Re : [RESOLU] Scanner avec une imprimante multifonctions PSC 1500
Peux tu mettre le contenu de /etc/fstab
Lorsque tu essaye scanimage, tes machines virtuelles sont éteintes?
As tu essayé de rebooter ton imprimante? (j'imagine que oui)
Hors ligne
#7 Le 15/09/2009, à 15:30
- Yop69
Re : [RESOLU] Scanner avec une imprimante multifonctions PSC 1500
$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda3 during installation
UUID=a6dd1d18-2284-465a-a543-665aef6489c9 / ext4 relatime,errors=remount-ro 0 1
# swap was on /dev/sda4 during installation
UUID=f3c27649-2da6-44e7-bb38-6b30bbc0b41a none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/sda5 /media/disk-1 ntfs-3g defaults 0 2
/dev/sda6 /media/disk ext4 defaults 0 2
Et rebooter euh je l'ai juste éteins et rallumé
et oui mes machines virtuelles sont éteintes
Dernière modification par Yop69 (Le 15/09/2009, à 15:31)
Hors ligne
#8 Le 15/09/2009, à 15:38
- Jos31
Re : [RESOLU] Scanner avec une imprimante multifonctions PSC 1500
Ce "rejecting I/O to dead device" est bizarre...
Que donne la commande
hp-info -ig
Y'a t'il des messages qui apparaissent dans dmesg quand tu débranche / rebranche le cable USB de l'imprimante?
Hors ligne
#9 Le 15/09/2009, à 15:49
- Yop69
Re : [RESOLU] Scanner avec une imprimante multifonctions PSC 1500
$ hp-info -ig
HP Linux Imaging and Printing System (ver. 3.9.2)
Device Information Utility ver. 5.2
Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
hp-info[25291]: debug: getDeviceUri(None, None, ('hp',), None, , False)
hp-info[25291]: debug: Mode=0
hp-info[25291]: debug: Cache miss: psc_1500_series
hp-info[25291]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-info[25291]: debug: Searching for section [psc_1500_series] in file /usr/share/hplip/data/models/models.dat
hp-info[25291]: debug: Found section [psc_1500_series] in file /usr/share/hplip/data/models/models.dat
hp-info[25291]: debug: {'hp:/usb/PSC_1500_series?serial=MY5A7DB1480498': ['PSC-1500-series']}
Using device: hp:/usb/PSC_1500_series?serial=MY5A7DB1480498
hp-info[25291]: debug: Device URI: hp:/usb/PSC_1500_series?serial=MY5A7DB1480498
hp-info[25291]: debug: Printer: None
hp-info[25291]: debug: Connecting to com.hplip.StatusService (try #1)...
hp-info[25291]: debug: URI: backend=hp, is_hp=True, bus=usb, model=PSC_1500_series, serial=MY5A7DB1480498, dev=, host=, port=1
hp-info[25291]: debug: Model/UI model: PSC_1500_series/HP PSC 1500 Series
hp:/usb/PSC_1500_series?serial=MY5A7DB1480498
hp-info[25291]: debug: Opening device: hp:/usb/PSC_1500_series?serial=MY5A7DB1480498 (not for printing)
hp-info[25291]: debug: I/O mode=6
hp-info[25291]: debug: device-id=1
hp-info[25291]: debug: Opened device: hp (backend=hp:/usb/PSC_1500_series?serial=MY5A7DB1480498, is_hp=True, bus=usb, model=PSC_1500_series, dev=, serial=MY5A7DB1480498, host=, port=1)
hp-info[25291]: debug: Type 1/2 (S: or VSTATUS:) status
hp-info[25291]: debug: Num pens=2
hp-info[25291]: debug: {'in-tray2': False, 'top-door': 1L, 'in-tray1': True, 'agents': [{'index': 0, 'kind': 3L, 'level': 79, 'ack': False, 'hp-ink': False, 'dvc': 5040L, 'level-trigger': 0, 'virgin': True, 'health': 0, 'known': False, 'type': 3, 'id': 18}, {'index': 1, 'kind': 3L, 'level': 61, 'ack': False, 'hp-ink': False, 'dvc': 5220L, 'level-trigger': 0, 'virgin': True, 'health': 0, 'known': False, 'type': 2, 'id': 17}], 'photo-tray': 0L, 'duplexer': 0L, 'supply-door': 0L, 'status-code': 1000, 'media-path': 3L, 'revision': 3}
hp-info[25291]: debug: Sending event 1000 to hpssd...
hp-info[25291]: debug: Panel check...
hp-info[25291]: debug: Opening HP-MESSAGE channel...
hp-info[25291]: debug: channel-id=1
hp-info[25291]: debug: PML/SNMP GET 1.1.2.20.2.1.1 failed (result code = 0x83)
hp-info[25291]: debug: PML/SNMP GET 2.16.5.1.2.1.1 (result code = 0x0) returned:
hp-info[25291]: debug: 0000: (no data)
hp-info[25291]: debug: PML/SNMP GET 2.16.5.1.2.1.2 failed (result code = 0x83)
hp-info[25291]: debug: Closing HP-MESSAGE channel...
hp-info[25291]: debug: Dynamic counters: 1
hp-info[25291]: debug: Closing device...
hp-info[25291]: debug: Result-code = 0
hp-info[25291]: debug: Opening device: hp:/usb/PSC_1500_series?serial=MY5A7DB1480498 (for printing)
hp-info[25291]: debug: I/O mode=1
hp-info[25291]: debug: device-id=1
hp-info[25291]: debug: Opened device: hp (backend=hp:/usb/PSC_1500_series?serial=MY5A7DB1480498, is_hp=True, bus=usb, model=PSC_1500_series, dev=, serial=MY5A7DB1480498, host=, port=1)
hp-info[25291]: debug: Opening PRINT channel...
hp-info[25291]: debug: channel-id=2
hp-info[25291]: debug: Writing 65 bytes to channel 2...
hp-info[25291]: debug: Writing 65 bytes to channel 2...
hp-info[25291]: debug: r_value=2000004
hp-info[25291]: debug: Closing PRINT channel...
hp-info[25291]: debug: Looking for kind=3, type=1...
hp-info[25291]: debug: Not found: 1
hp-info[25291]: debug: Looking for kind=3, type=2...
hp-info[25291]: debug: found: r4-kind3-type2
hp-info[25291]: debug: health=0, level=61, level_trigger=0, status_code=1000
hp-info[25291]: debug: Looking for kind=3, type=3...
hp-info[25291]: debug: found: r4-kind3-type3
hp-info[25291]: debug: health=0, level=79, level_trigger=0, status_code=1000
hp-info[25291]: debug: {'agent1-kind': 3L, 'agent1-hp-ink': False, 'scan-uri': 'hpaio:/usb/PSC_1500_series?serial=MY5A7DB1480498', 'agent2-type': 3, 'agent2-hp-ink': False, 'agent2-ack': False, 'is-hp': True, 'agent1-level': 61, 'top-door': 1L, 'in-tray1': True, 'serial': 'MY5A7DB1480498', 'back-end': 'hp', 'agent2-health-desc': 'Good/OK', 'agent1-dvc': 0, 'device-uri': 'hp:/usb/PSC_1500_series?serial=MY5A7DB1480498', 'rr': '000004', 'photo-tray': 0L, 'panel-line1': '', 'panel-line2': '', 'agent2-sku': '348 (C9369EN)', 'port': 1, 'agent2-level-trigger': 0, 'rg': '002', 'agent2-desc': 'Photo cartridge', 'agent1-known': False, 'agent1-health': 0, 'status-code': 1000, 'revision': 3, 'dev-file': '', 'status-desc': 'Idle', 'agent2-virgin': False, 'agent1-health-desc': 'Good/OK', 'agent2-dvc': 0, 'agent2-kind': 3L, 'host': '', 'agent2-health': 0, 'agent2-known': False, 'agent1-id': 0, 'cups-printer': 'PSC-1500-series', 'agent2-level': 79, 'error-state': 0, 'device-state': 1, 'panel': 0, 'in-tray2': False, 'agent1-ack': False, 'agent1-virgin': False, 'agent1-level-trigger': 0, 'rs': '002000004', 'agent2-id': 0, 'agent1-type': 2, 'agent1-desc': 'Tri-color cartridge', 'r': 4, 'deviceid': 'MFG:HP;MDL:PSC 1500 series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1;CLS:PRINTER;DES:6543;SN:MY5A7DB1480498;S:038000C480001021002c390004fc288003d;J: ;Z:0102,05013b08014648,0600;CTR:00140 002000004;', 'cups-uri': 'hp:/usb/PSC_1500_series?serial=MY5A7DB1480498', 'duplexer': 0L, 'supply-door': 0L, 'agent1-sku': '342 (C9362EN)/343 (C8766EN)', 'media-path': 3L}
Device Parameters (dynamic data):
Parameter Value(s)
---------------------------- ----------------------------------------------------------
agent1-ack False
agent1-desc Tri-color cartridge
agent1-dvc 0
agent1-health 0
agent1-health-desc Good/OK
agent1-hp-ink False
agent1-id 0
agent1-kind 3
agent1-known False
agent1-level 61
agent1-level-trigger 0
agent1-sku 342 (C9362EN)/343 (C8766EN)
agent1-type 2
agent1-virgin False
agent2-ack False
agent2-desc Photo cartridge
agent2-dvc 0
agent2-health 0
agent2-health-desc Good/OK
agent2-hp-ink False
agent2-id 0
agent2-kind 3
agent2-known False
agent2-level 79
agent2-level-trigger 0
agent2-sku 348 (C9369EN)
agent2-type 3
agent2-virgin False
back-end hp
cups-printer PSC-1500-series
cups-uri hp:/usb/PSC_1500_series?serial=MY5A7DB1480498
dev-file
device-state 1
device-uri hp:/usb/PSC_1500_series?serial=MY5A7DB1480498
deviceid MFG:HP;MDL:PSC 1500
series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1
;CLS:PRINTER;DES:6543;SN:MY5A7DB1480498;S:038000C480001021
002c390004fc288003d;J:
;Z:0102,05013b08014648,0600;CTR:00140 002000004;
duplexer 0
error-state 0
host
in-tray1 True
in-tray2 False
is-hp True
media-path 3
panel 0
panel-line1
panel-line2
photo-tray 0
port 1
r 4
revision 3
rg 002
rr 000004
rs 002000004
scan-uri hpaio:/usb/PSC_1500_series?serial=MY5A7DB1480498
serial MY5A7DB1480498
status-code 1000
status-desc Idle
supply-door 0
top-door 1
Model Parameters (static data):
Parameter Value(s)
---------------------------- ----------------------------------------------------------
align-type 1
clean-type 1
color-cal-type 3
copy-type 0
embedded-server-type 0
fax-type 0
fw-download False
icon psc_1100_series.png
io-mfp-mode 6
io-mode 1
io-support 2
job-storage 0
linefeed-cal-type 0
model PSC_1500_series
model-ui HP PSC 1500 Series
model1 HP PSC 1503 All-in-One Printer
model2 HP PSC 1504 All-in-One Printer
model3 HP PSC 1507 All-in-One Printer
model4 HP PSC 1508 All-in-One Printer
monitor-type 0
panel-check-type 1
pcard-type 0
plugin 0
plugin-reason 0
power-settings 0
pq-diag-type 0
r-type 1
r0-agent1-kind 3
r0-agent1-sku 92 (C9361WN)/94 (C8765WN)
r0-agent1-type 1
r0-agent2-kind 3
r0-agent2-sku 93 (C9362WN)/95 (C8766WN)
r0-agent2-type 2
r0-agent3-kind 3
r0-agent3-sku 99 (C9369WN)
r0-agent3-type 3
r1-agent1-kind 3
r1-agent1-sku 92 (C9361WN)/94 (C8765WN)
r1-agent1-type 1
r1-agent2-kind 3
r1-agent2-sku 93 (C9362WN)/95 (C8766WN)
r1-agent2-type 2
r1-agent3-kind 3
r1-agent3-sku 99 (C9369WN)
r1-agent3-type 3
r2-agent1-kind 3
r2-agent1-sku 92 (C9361WN)/94 (C8765WN)
r2-agent1-type 1
r2-agent2-kind 3
r2-agent2-sku 93 (C9362WN)/95 (C8766WN)
r2-agent2-type 2
r2-agent3-kind 3
r2-agent3-sku 99 (C9369WN)
r2-agent3-type 3
r3-agent1-kind 3
r3-agent1-sku 92 (C9361WN)/94 (C8765WN)
r3-agent1-type 1
r3-agent2-kind 3
r3-agent2-sku 93 (C9362WN)/95 (C8766WN)
r3-agent2-type 2
r3-agent3-kind 3
r3-agent3-sku 99 (C9369WN)
r3-agent3-type 3
r4-agent1-kind 3
r4-agent1-sku 337 (C9361EN)/338 (C8765EN)
r4-agent1-type 1
r4-agent2-kind 3
r4-agent2-sku 342 (C9362EN)/343 (C8766EN)
r4-agent2-type 2
r4-agent3-kind 3
r4-agent3-sku 348 (C9369EN)
r4-agent3-type 3
r5-agent1-kind 3
r5-agent1-sku 132 (C9361HN)/131 (C8765HN)
r5-agent1-type 1
r5-agent2-kind 3
r5-agent2-sku 136 (C9362HN)/135 (C8766HN)
r5-agent2-type 2
r5-agent3-kind 3
r5-agent3-sku 138 (C9369HN)
r5-agent3-type 3
r6-agent1-kind 3
r6-agent1-sku 132 (C9361HN)/131 (C8765HN)
r6-agent1-type 1
r6-agent2-kind 3
r6-agent2-sku 136 (C9362HN)/135 (C8766HN)
r6-agent2-type 2
r6-agent3-kind 3
r6-agent3-sku 138 (C9369HN)
r6-agent3-type 3
r7-agent1-kind 3
r7-agent1-sku 850 (C9361ZN)/852 (C8765ZN)
r7-agent1-type 1
r7-agent2-kind 3
r7-agent2-sku 854 (C9362ZN)/855 (C8766ZN)
r7-agent2-type 2
r7-agent3-kind 3
r7-agent3-sku 858 (C9369ZN)
r7-agent3-type 3
scan-style 1
scan-type 1
status-battery-check 0
status-dynamic-counters 1
status-type 2
support-released True
support-subtype 15036
support-type 2
support-ver 0.9.5
tech-class ['DJGenericVIP']
tech-subclass ['Normal']
tech-type 2
usb-pid 19473
usb-vid 1008
Status History (most recent first):
Date/Time Code Status Description User Job ID
-------------------- ----- ---------------------------------------- -------- --------
09/15/09 15:49:28 1000 Idle yo 0
09/15/09 15:47:38 1009 The printer is out of paper yo 0
hp-info[25291]: debug: Closing device...
hp-info[25291]: debug: Result-code = 0
Done.
Y avait un manque de papier. Donc j'ai mis du papier et mon imprimante m'a sortie une page de test. (a chaque fois que j'allume mon imprimante/scanner elle me fait une page de test :(:()
Voici le nouveau message pour
[80418.325233]
usb 2-2.5: new full speed USB device using ehci_hcd and address 11
[80418.618392] usb 2-2.5: configuration #1 chosen from 1 choice
[80419.410853] usblp0: USB Bidirectional printer dev 11 if 1 alt 0 proto 2 vid 0x03F0 pid 0x4C11
[80419.410892] usbcore: registered new interface driver usblp
[80653.333066] usblp0: removed
[96785.490096] usb 2-1: USB disconnect, address 10
[96786.195348] scsi 4:0:0:0: rejecting I/O to dead device
[100464.079986] usb 2-2.5: USB disconnect, address 11
[100476.832156] usb 2-2.5: new full speed USB device using ehci_hcd and address 12
[100477.185463] usb 2-2.5: configuration #1 chosen from 1 choice
[100477.187842] usblp0: USB Bidirectional printer dev 12 if 1 alt 0 proto 2 vid 0x03F0 pid 0x4C11
[100489.352498] usblp0: removed
sinon pour l'usb je n'ai pas testé...
Euh attend apres avoir lancé la commande scanimage -d hpaio:/usb/PSC_1500_series?serial=MY5A7DB1480498 il m'a lancé un scan 2 plombe après lol
Mais voici la commande :
[ 2037.752207] EXT4-fs: mounted filesystem with ordered data mode.
[ 4414.728496] atkbd.c: Unknown key pressed (translated set 2, code 0xf9 on isa0060/serio0).
[ 4414.728504] atkbd.c: Use 'setkeycodes e079 <keycode>' to make it known.
[ 6223.728431] CE: hpet increasing min_delta_ns to 15000 nsec
[27711.671088] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
[80418.325233] usb 2-2.5: new full speed USB device using ehci_hcd and address 11
[80418.618392] usb 2-2.5: configuration #1 chosen from 1 choice
[80419.410853] usblp0: USB Bidirectional printer dev 11 if 1 alt 0 proto 2 vid 0x03F0 pid 0x4C11
[80419.410892] usbcore: registered new interface driver usblp
[80653.333066] usblp0: removed
[96785.490096] usb 2-1: USB disconnect, address 10
[96786.195348] scsi 4:0:0:0: rejecting I/O to dead device
[100464.079986] usb 2-2.5: USB disconnect, address 11
[100476.832156] usb 2-2.5: new full speed USB device using ehci_hcd and address 12
[100477.185463] usb 2-2.5: configuration #1 chosen from 1 choice
[100477.187842] usblp0: USB Bidirectional printer dev 12 if 1 alt 0 proto 2 vid 0x03F0 pid 0x4C11
[100489.352498] usblp0: removed
scanimage: received signal 13
scanimage: trying to stop scanner
scanimage: sane_read: Operation was cancelled
Dernière modification par Yop69 (Le 15/09/2009, à 15:56)
Hors ligne
#10 Le 15/09/2009, à 15:59
- Yop69
Re : [RESOLU] Scanner avec une imprimante multifonctions PSC 1500
Attends j'ai relancé un scan ca marche !!!
Super merci bien a toi !!
Reste plus qu'a réglé la page de teste qui se lance a chaque demarrage de mon imprimante (si tu as une idée )
Hors ligne
#11 Le 15/09/2009, à 16:10
- Jos31
Re : [RESOLU] Scanner avec une imprimante multifonctions PSC 1500
Super
C'etait peut etre du au fait que l'imprimante etait en attente de papier pour imprimer quelque chose du coup.
Ca te fait ca depuis tout le temps?
Elle le fait aussi quand ton ordi est éteint?
Sinon tu peux aussi enlever le papier avant d'allumer l'imprimante et essayer d'annuler l'impression comme tu peux (en facade de l'imprimante ou sur l'ordi), mais c'est pas très pratique
Oublie pas d'éditer ton premier message pour ajouter [Résolu] dans le titre si tu considère le sujet résolu
Dernière modification par Jos31 (Le 15/09/2009, à 16:11)
Hors ligne
#12 Le 15/09/2009, à 16:40
- Yop69
Re : [RESOLU] Scanner avec une imprimante multifonctions PSC 1500
oui ca venait que de l'attente de papier
Je ne sais pas si elle le fait quand l'ordi est eteint.
Par ocntre je ne peux pas annuler l'impression par l'ordi car ya rien de notifié sur l'ordi et sur l'imprimante je n'ai pas de bouton pour annuler la tache en cours
si ca continue je posterais sur ce forum pour demander de l'aide
En tout cas merci a toi pour ton aide !
Ce qui est cool maintenant c'est que j'ai l'icone de HP dans le systray qui m'indique les opérations et les settings
Dernière modification par Yop69 (Le 15/09/2009, à 16:41)
Hors ligne