Re: usbserial/printer



On Tue, 19 Apr 2011 02:33:27 +0000
Leonardo Ruoso <leonardo.ruoso@xxxxxxxxx> wrote:

Yes, sure!

But I'm trying just to cat file.txt > /dev/ttyUSB0 but nothing
happens.... if I plug the printer directly to the onboard serial,
then the content of the file is printed when I do cat file.txt
/dev/ttyS0!


yuri:/home/leonardo# setserial -a /dev/ttyS0
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal skip_test

yuri:/home/leonardo# setserial -a /dev/ttyUSB0
/dev/ttyUSB0, Line 0, UART: 16654, Port: 0x0000, IRQ: 0
Baud_base: 460800, close_delay: 0, divisor: 0
closing_wait: infinite
Flags: spd_normal


Hi,

Please post to the list.

setserial /dev/ttyUSB0 baud_base 115200 spd_normal skip_test

might work.


Brian


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/20110418210923.399f39ff@xxxxxxxxxxxxxxxxx



Relevant Pages

  • Re: usbserial/printer
    ... But I'm trying just to cat file.txt> /dev/ttyUSB0 but nothing happens.... ... I need to plug a termal serial printer to it. ... serial adapter should be okay, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: usbserial/printer
    ... Leonardo Ruoso wrote: ... But I'm trying just to cat file.txt> /dev/ttyUSB0 but nothing ... if I plug the printer directly to the onboard serial, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: usbserial/printer
    ... Leonardo Ruoso wrote: ... But I'm trying just to cat file.txt> /dev/ttyUSB0 but nothing ... if I plug the printer directly to the onboard serial, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: missing serial script in /etc?
    ... or where is the serial port initiation script? ... Flags: spd_normal skip_test ... but all I got at cat /dev/ttyS3 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: An inquiry
    ... then I'm not sure I know how google formats gmail.] ... Output of lsmod | grep snd ... Output of cat /dev/snd/stat No such file or directory. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)