View previous topic :: View next topic |
Author |
Message |
dapsaille Advocate
Joined: 02 Aug 2004 Posts: 2366 Location: Paris
|
Posted: Thu Oct 13, 2005 4:30 pm Post subject: [LPINFO] direct usb://Unknown |
|
|
Bonjour à tous :p
Voila j'ai une imprimante parallele installée grace à un adaptateur usb (mais je ne pense pas que le probleme viennes de la)
et lorce que je fait un lpinfo -v j'ai ca
Code: |
direct usb://Unknown
|
Alors que si je fait un echo zaffezz > /dev/usb/lp0 j'ai bien quelque blabla sur l'imprimante ....
Une idée ?? :p |
|
Back to top |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3634 Location: Belgium
|
Posted: Thu Oct 13, 2005 4:43 pm Post subject: |
|
|
Un "echo zaffezz > /dev/usb/lp0" s'adresse directement au périphérique tandis que ton message d'erreur est produit par CUPS : "pilote inconnu".
Pourrais-tu décrire un peu plus ton système d'"adaptateur usb" ?
Tu n'as pas de connecteur parallèle qui pourrait éviter de passer par l'usb ? |
|
Back to top |
|
|
dapsaille Advocate
Joined: 02 Aug 2004 Posts: 2366 Location: Paris
|
Posted: Thu Oct 13, 2005 9:42 pm Post subject: |
|
|
et bien malheureusement mon portable n'as pas de port //
J'ai trouve sur google is my friend des messages sans réponses concernant des imprimantes usb uniquement .. donc peut etre que ce soucis n'est pas lie au // > usb ?? |
|
Back to top |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3634 Location: Belgium
|
Posted: Fri Oct 14, 2005 1:04 pm Post subject: |
|
|
Et si tu pointes ton browser sur http://localhost:631/printers l'URI de périphérique est-il correct ?
[EDIT] Tu peux voir aussi cette info dans /etc/cups/printers.conf ... |
|
Back to top |
|
|
dapsaille Advocate
Joined: 02 Aug 2004 Posts: 2366 Location: Paris
|
Posted: Fri Oct 14, 2005 8:57 pm Post subject: |
|
|
Et bien ma foi un chti
Code: |
localhost TOTALA # more /etc/cups/printers.conf
# Printer configuration file for CUPS v1.1.23
# Written by cupsd on Thu Oct 13 07:24:48 2005
<DefaultPrinter BJ30>
Info
Location
DeviceURI usb://Unknown
State Stopped
StateMessage
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
|
(pas tapper pour le root merci :p )
Enfin pas grand chose de croustillant ... et je deduis que l'adaptateur en lui meme fonctionne bien dans le sens ou grace à un echo j'arrive a lui envoyer des datas et qu'il fonctionne sur un "systeme parasite" que je ne nommerais pas :p
EDIT = je n'avais pas vu la demande de description du // vers usb alors je me ratrappe =
il est blanc ,long de 30 cm environs et d'un coté il y as un connecteur de type Centronics(tm) et de l'autre un connecteur USB ... bon mode boulay off
c'est un
lsusb -v
Code: |
Bus 002 Device 002: ID 047e:1001 Agere Systems, Inc. (Lucent) USS720 Parallel Port
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x047e Agere Systems, Inc. (Lucent)
idProduct 0x1001 USS720 Parallel Port
bcdDevice 1.04
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 78
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
MaxPower 98mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 7 Printer
bInterfaceSubClass 1 Printer
bInterfaceProtocol 1 Unidirectional
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 7 Printer
bInterfaceSubClass 1 Printer
bInterfaceProtocol 2 Bidirectional
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 2
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 1
|
qui utilise le driver USS720 (enfin deboggué car avant la cata genre bad atomic schedule des le chargement du biniou)
Un peu plus d'infos te serais utile ?? |
|
Back to top |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3634 Location: Belgium
|
Posted: Sat Oct 15, 2005 10:44 am Post subject: |
|
|
dapsaille wrote: | # Printer configuration file for CUPS v1.1.23
# Written by cupsd on Thu Oct 13 07:24:48 2005
<DefaultPrinter BJ30>
Info
Location
DeviceURI usb://Unknown |
Tu as essayé de remplacer usb://Unknown par usb:/dev/usb/lp0 ?
Peut-être qu'un petit restart de /etc/init.d/cupsd serait nécessaire mais sans certitude.
Sinon, essaie de créer une "nouvelle imprimante" dans http://localhost:631 pour voir ce qu'il raconte.
En principe, dans cups, ton périphérique devrait être noté USB printer #1 même si dans /dev/usb il s'agit de lp0 |
|
Back to top |
|
|
dapsaille Advocate
Joined: 02 Aug 2004 Posts: 2366 Location: Paris
|
Posted: Sun Oct 16, 2005 6:30 pm Post subject: |
|
|
Ok merci pour le tuyau ( de poêle) je vais essayer ca demain la suis a fond dans LFS
( et franchement ca te remet à ta place ca :p ) |
|
Back to top |
|
|
|