Canon Pixma MP600 unter Debian etch

Fragen zu bestimmten Linux-Distributionen
Antworten
tpo
Beiträge: 9
Registriert: Fr 23 Mär, 2007 01:45

Canon Pixma MP600 unter Debian etch

Beitrag von tpo »

Ich habe einen Canon Pixma MP600 unter Debian. CUPS ist installiert, Turboprint auch.

Leider sieht aber weder Cups noch Turboprint den Drucker.

D.h. beim Feld "Anschluss" bei der Druckereinrichtung im "xtpsetup" kann man nur Drucker am /dev/lp[0|1] auswählen (obwohls dort keine hat (es ist nur der Parallel-Port Treiber, der dort seine 2 Ports hällt)).

Code: Alles auswählen

# lsusb
Bus 004 Device 004: ID 04a9:1718 Canon, Inc. PIXMA MP600 Printer

Code: Alles auswählen

# ls /dev/usb*
/dev/usbdev1.1_ep00  /dev/usbdev3.1_ep00  /dev/usbdev4.4_ep00  /dev/usbdev4.4_ep82
/dev/usbdev1.1_ep81  /dev/usbdev3.1_ep81  /dev/usbdev4.4_ep01  /dev/usbdev4.4_ep84
/dev/usbdev2.1_ep00  /dev/usbdev4.1_ep00  /dev/usbdev4.4_ep05  /dev/usbdev4.4_ep88
/dev/usbdev2.1_ep81  /dev/usbdev4.1_ep81  /dev/usbdev4.4_ep07  /dev/usbdev4.4_ep89
man beachte, dass es kein /dev/usb/ gibt, wie das das Manual sagt [1].

udevinfo meint z.B. zum Device /dev/usbdev4.4_ep82:

Code: Alles auswählen

# udevinfo -a -p $(udevinfo -q path -n /dev/usbdev4.4_ep82)

  looking at device '/devices/pci0000:00/0000:00:0c.2/usb4/4-3/4-3:1.1/usbdev4.4_ep82':
    KERNEL=="usbdev4.4_ep82"
    SUBSYSTEM=="usb_endpoint"
    DRIVER==""
    ATTR{direction}=="in"
    ATTR{type}=="Bulk"
    ATTR{interval}=="0ms"
    ATTR{wMaxPacketSize}=="0200"
    ATTR{bInterval}=="00"
    ATTR{bmAttributes}=="02"
    ATTR{bEndpointAddress}=="82"
    ATTR{bLength}=="07"
    ATTR{dev}=="442:6147"

  looking at parent device '/devices/pci0000:00/0000:00:0c.2/usb4/4-3/4-3:1.1':
    KERNELS=="4-3:1.1"
    SUBSYSTEMS=="usb"
    DRIVERS==""
    ATTRS{modalias}=="usb:v04A9p1718d0104dc00dsc00dp00ic07isc01ip02"
    ATTRS{bInterfaceProtocol}=="02"
    ATTRS{bInterfaceSubClass}=="01"
    ATTRS{bInterfaceClass}=="07"
    ATTRS{bNumEndpoints}=="02"
    ATTRS{bAlternateSetting}==" 0"
    ATTRS{bInterfaceNumber}=="01"

  looking at parent device '/devices/pci0000:00/0000:00:0c.2/usb4/4-3':
    KERNELS=="4-3"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{serial}=="320F8E"
    ATTRS{product}=="MP600"
    ATTRS{manufacturer}=="Canon"
    ATTRS{maxchild}=="0"
    ATTRS{version}==" 2.00"
    ATTRS{devnum}=="4"
    ATTRS{speed}=="480"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceClass}=="00"
    ATTRS{bcdDevice}=="0104"
    ATTRS{idProduct}=="1718"
    ATTRS{idVendor}=="04a9"
    ATTRS{bMaxPower}=="  2mA"
    ATTRS{bmAttributes}=="c0"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bNumInterfaces}==" 3"

  looking at parent device '/devices/pci0000:00/0000:00:0c.2/usb4':
    KERNELS=="usb4"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{serial}=="0000:00:0c.2"
    ATTRS{product}=="EHCI Host Controller"
    ATTRS{manufacturer}=="Linux 2.6.18-3-686 ehci_hcd"
    ATTRS{maxchild}=="4"
    ATTRS{version}==" 2.00"
    ATTRS{devnum}=="1"
    ATTRS{speed}=="480"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bDeviceProtocol}=="01"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bcdDevice}=="0206"
    ATTRS{idProduct}=="0000"
    ATTRS{idVendor}=="0000"
    ATTRS{bMaxPower}=="  0mA"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bNumInterfaces}==" 1"

  looking at parent device '/devices/pci0000:00/0000:00:0c.2':
    KERNELS=="0000:00:0c.2"
    SUBSYSTEMS=="pci"
    DRIVERS=="ehci_hcd"
    ATTRS{broken_parity_status}=="0"
    ATTRS{enable}=="1"
    ATTRS{modalias}=="pci:v00001106d00003104sv00001106sd00003104bc0Csc03i20"
    ATTRS{local_cpus}=="ff"
    ATTRS{irq}=="11"
    ATTRS{class}=="0x0c0320"
    ATTRS{subsystem_device}=="0x3104"
    ATTRS{subsystem_vendor}=="0x1106"
    ATTRS{device}=="0x3104"
    ATTRS{vendor}=="0x1106"

  looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""
Und "lsusb -v" meint:

Code: Alles auswählen

Bus 004 Device 004: ID 04a9:1718 Canon, Inc. PIXMA MP600 Printer
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04a9 Canon, Inc.
  idProduct          0x1718 PIXMA MP600 Printer
  bcdDevice            1.04
  iManufacturer           1
  iProduct                2
  iSerial                 3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           85
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x07  EP 7 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x88  EP 8 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x89  EP 9 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              11
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      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     0x0200  1x 512 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     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Ich habe versucht den Drucker als Lokalen Drucker mit den folgenden URIs anzugeben:

Code: Alles auswählen

/dev/usbdev4.4_ep82
(bzw. jedes der anderen angegeben USB Geräte)

Code: Alles auswählen

usb://Canon/MP600
usb://04a9:1718
usb://04a9/1718
jedoch ohne Erfolg. Das Gerät macht keinen Wank. Und wenn ich sowas mache:

Code: Alles auswählen

for i in /dev/usb*; do cat /etc/hosts > $i; done
Dann bekomme ich einfach eine Reihe von "No such device or address" Meldungen.

Wenn ich in im "xtpsetup" als Anschluss z.B. "usb://Canon/MP600" angebe, dann mein Cups z.B. dazu:

Code: Alles auswählen

tp0 (Default Printer) "Printer not connected; will retry in 30 seconds..."
 Description: Canon_PIXMA_MP600
 Location: 
 Make and Model: Canon_PIXMA_MP600 TurboPrint
 Printer State: processing, accepting jobs, published. 
 Device URI: usb://Canon/MP600
Ich habe Debian etch's (testing) standard Kernel aka 2.6.18-3-686.

Ideen? Hilfe?
*t

[1] http://www.turboprint.de/manual/turbopr ... erxtpsetup
tpo
Beiträge: 9
Registriert: Fr 23 Mär, 2007 01:45

Debians Kernel 2.6.18-3-686 ohne usblp! 2.6.18-4-686 hat's

Beitrag von tpo »

Oh, das Problem war, dass Debian's Kernel 2.6.18-3-686 nicht das usblp Modul hat.

Der neuere Kernel (2.6.18-4-686 aus dem Paket linux-image-2.6.18-4-686) hat das usblp Modul und funktionert wunderbar mit TurboPrint :D.

Danke!
*t
Antworten