On Sun, 2019-02-17 at 12:14 +0000, Mick wrote:
> On Sunday, 17 February 2019 11:39:21 GMT IMAP wrote:
> > Hello list,
> >
> > After a long spell of no printing, I'm trying to get my mono laser
> > working
> > again. I'm in the lp group, and the USB interface seems to be working:
> >
> > # lsusb | grep Kyocera
> > Bus 003 Device 008: ID 0482:000e Kyocera Corp. FS-1020D Printer
>
> OK, the USB stack is working. Check your user is also in the lpadmin and
> plugdev groups.
>
>
> > But the KDE system settings applet can't see the printer, nor can
> > Firefox at
> > http://localhost:631/. I've tried adding a manual configuration, but the
> > printer is still not found.
> >
> > I even tried the kernel module usblp, but that didn't find it either so
> > I got rid of the module.
>
> From what I recall this module should no longer be used with cups
Quite so. The docs all say that too. I was clutching at straws.
> > Do I have a defunct printer?
>
> Check dmesg to make sure nothing untoward is reported by the kernel.
OK, checked all those, but still no printer. The one dmesg entry is:
usb 3-5.1: new full-speed USB device number 9 using xhci_hcd
I wonder whether I have USB support right in the kernel. I have checked, but
nothing leaps out at me. [1]
> Have a quick look at lpstat. For example, 'lpstat -v' should list your
> printer.
It doesn't show anything. Apparently the printer is just not there, except
for its USB interface.
1. I tried setting CONFIG_USB_ANNOUNCE_NEW_DEVICES=y, and a few other
things (diff attached), and now I get more info in dmesg:
[ 91.472049] usb 3-5.1: new full-speed USB device number 7 using xhci_hcd
[ 91.561360] usb 3-5.1: New USB device found, idVendor=0482,
idProduct=000e
[ 91.561363] usb 3-5.1: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 91.561364] usb 3-5.1: Product: Kyocera Mita FS-1020D
[ 91.561366] usb 3-5.1: Manufacturer: Kyocera Mita
[ 91.561367] usb 3-5.1: SerialNumber: XAX5X26731
So the printer is definitely there; I just need more splinters under my
fingernails.
--
Regards,
Peter.
2638c2639
< # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
---
> CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
2754,2756c2755,2757
< # CONFIG_USB_PHY is not set
< # CONFIG_NOP_USB_XCEIV is not set
< # CONFIG_USB_ISP1301 is not set
---
> CONFIG_USB_PHY=y
> CONFIG_NOP_USB_XCEIV=m
> CONFIG_USB_ISP1301=m
2763c2764
< # CONFIG_USB_ULPI_BUS is not set
---
> CONFIG_USB_ULPI_BUS=m
3000c3001,3007
< # CONFIG_EXTCON is not set
---
> CONFIG_EXTCON=y
>
> #
> # Extcon Device Drivers
> #
> # CONFIG_EXTCON_RT8973A is not set
> # CONFIG_EXTCON_SM5502 is not set
3017a3025,3027
> # CONFIG_PHY_QCOM_USB_HS is not set
> # CONFIG_PHY_QCOM_USB_HSIC is not set
> # CONFIG_PHY_TUSB1210 is not set