Cups and usb printer

Ask questions about Arch Linux ARM. Please search before making a new topic.

Cups and usb printer

Postby festuc » Mon Sep 28, 2020 5:50 am

I have 2 usb pritners named dymo labelwriter 450 one is connected to my laptop x86_64 and the other in my rpi4
Few kernels ago (i have no idea what kernel was) all of my computers work well with this kind of printers.
When i open my cups webpage, it detect my usb printer and later i put dymo drivers from AUR without any problem.
But few months ago rpi suddenly (after a usual pacman -Syu) lost ability for print to printer.
I was try to delete printer and reload again in my arm without success. But i put it on my laptop and laptop work just normal. Fully detection from begin, aur drivers work well just like arm does few months ago.
In that moment i just move printer to rpi to my x86_64 and it work perfectly until today the printer #1.
Now i need a second printer in a other space.
And rpi4 has been selected for to the job.
But error stay here. I can not view my printer in arm cups.
I baned kernel module usblp but it don't work too
I follow arch wiki with all related entry about usb printer
i add a file named /etc/udev/rules.d/10-local.rules
with this line:
Code: Select all
SUBSYSTEM=="usb", ATTRS{idVendor}=="0922", ATTRS{idProduct}=="0020", GROUP:="lp", MODE:="0664"

I even try to put this line to /etc/udev/rules.d/raspberrypi.rules without succes.

I have not this entry on my laptop but there printer work.
I have no idea what part of OS caused this fail, so i can not open a bug in cups or in kernel. 1st need to know what is component with malfunction.
this other comands have same equal output in each platform

this are my ls -l /dev/bus/usb/001/004
Code: Select all
crw-rw-r-- 1 root lp 189, 3 Sep 28 05:40 /dev/bus/usb/001/004


this are my cat /etc/group |grep cups
Code: Select all
lp:x:991:cups:http:username
cups:x:209:


this are my lsusb -v related enty
Code: Select all
Bus 001 Device 004: ID 0922:0020 Dymo-CoStar Corp. LabelWriter 450
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0922 Dymo-CoStar Corp.
  idProduct          0x0020 LabelWriter 450
  bcdDevice            1.00
  iManufacturer           1 DYMO
  iProduct                2 DYMO LabelWriter 450
  iSerial                 3 19120604380561
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0020
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                4mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      2 Bidirectional
      iInterface              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     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0101
  Self Powered


Ty for your help
festuc
 
Posts: 3
Joined: Wed Feb 15, 2017 8:53 pm

Re: Cups and usb printer

Postby festuc » Mon Sep 28, 2020 11:28 am

If anyone know how back in time in kerner version tell me how, please
festuc
 
Posts: 3
Joined: Wed Feb 15, 2017 8:53 pm

Re: Cups and usb printer

Postby Beazegelv » Tue Nov 17, 2020 2:32 pm

Tôi cũng có vấn đề tương tự, tôi không biết làm thế nào để giải quyết nó. Tôi cần gấp để làm việc và tạo nội dung, nhưng rất tiếc tôi không biết làm thế nào để sửa chữa nó. Có lẽ tôi có thể cài đặt một chương trình khác? Hãy cho tôi biết những gì phù hợp để tạo nội dung như sau: https://www.forextime.com/vi/trading-instruments/contract-specifications ? Cảm ơn trước
Beazegelv
 
Posts: 1
Joined: Tue Nov 17, 2020 1:59 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 4 guests