Quantcast
Channel: banana pi single board computer open source project official forum BPI team - Latest topics
Viewing all articles
Browse latest Browse all 6458

BPI-R2 cups config in LXC container

$
0
0

@furumc wrote:

Hello guys,

I’ve been facing with an issue in the last few days. OS is :

5.4.27-bpi-r2-main, Debian 10 Buster

I attach an usb printer called EPSON Stylus SX230 to bpi-r2, and recognizes :

root@bpi-r2:/home/script$ lsusb Bus 001 Device 003: ID 04b8:0881 Seiko Epson Corp. PX-404A [ME OFFICE 535]

LXC Container runs on debian ( name is debian_printer, has hostname and fqdn ) , has fixed ip. I’m able to give usb device to it :

lxc-device -n debian_printer – add /dev/bus/usb/001/003

and in lxc looks the same :

Bus 001 Device 003: ID 04b8:0881 Seiko Epson Corp. PX-404A [ME OFFICE 535]

root@debianprinter:/# ls -l /dev/bus/usb/001/003 crw-rw-rw- 1 root root 189, 2 Jul 14 10:36 /dev/bus/usb/001/003

I’ve changed group ownership to lp, lpadmin, didn’t help.

The main goal would be, that cups could manage the printer, but unable to see it! With the backend I see following :

"DEBUG2: Printer found with device ID: MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR1;MDL:Epson Stylus SX230;CLS:PRINTER;DES:EPSON Epson Stylus SX230;CID:EpsonRGB;FID:FXN,DPN,WFN,ETN,AFN,DAN; Device URI: usb://EPSON/Stylus%20SX230?serial=4E3854593030333331&interface=1 direct usb://EPSON/Stylus%20SX230?serial=4E3854593030333331&interface=1 “Epson Stylus SX230” “Epson Stylus SX230” “MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR1;MDL:Epson Stylus SX230;CLS:PRINTER;DES:EPSON Epson Stylus SX230;CID:EpsonRGB;FID:FXN,DPN,WFN,ETN,AFN,DAN;” “” "

Cups is configured, and can reach web interface.

I’ve no idea, what’s the problem - maybe usbcore kernel module’s missing?

Has somebody tried making printer server from BPI-R2?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6458

Latest Images

Trending Articles



Latest Images