This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No /dev/usb/p0 for printer !
#1
I need to get my receipt / thermal printers working with the board, the problem I can't get the usual /dev/usb/p0 or /dev/usbp0 , etc files created when I connect it. 

I must get it that way in order to do , echo "Hi" > /dev/usb/p0 

I get that in my desktop & pi ... but not with the TB ... I tried tons of methods but with no luck, any suggestion ? 

Please not that I'm only interested in printing as [echo "Hi" > /dev/usb/p0] and not normal printing as I got the printer working a bit with cups , but even after install it with cups I get device file. 

I also watched the whole /dev folder for change using inotifywait ... it does create some files under /dev/bus/usb/001/* & /dev/char/* , but both those are not going to redirect output to them 

Thanks in advance.
Reply
#2
It might be /dev/usb/lp0
But it will be right to keep checking on /dev about something change when you plug the printer. 
Light blue words might be a link. Have you try to click on them? Big Grin
Reply
#3
Check Armbian where it might just work OOB. That will be closer/on the similar level as desktop/RPi. TinkerOS uses kernel 4.4.y which could have troubles in certain general areas since its pretty distant from actual vanilla kernel.

We provide 4.19.y / 5.1.y and also this stock.
Armbian. Lightweight Debian Stretch or Ubuntu Bionic for Tinker Board.
Reply
#4
Then what will be the solution?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)