Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Virtual COM Port

  1. #11
    Join Date
    Sep 2012
    Beans
    57

    Re: Virtual COM Port

    Quote Originally Posted by Lars Noodén View Post
    Does /dev/ttyUSB0 or something similar appear when you plug in the printer via USB? If so, try connecting to that device as if it were a serial port.
    No, I configured the printer to Virtual COM mode and nothing happens, no ttyUSB0 file. It's curious because when I connect the printer in USB mode it creates a folder called "usb" when I plug the printer to the PC.

    Quote Originally Posted by ian-weisser View Post
    This old thread seems to successfully cover a lot of this territory: http://ubuntuforums.org/showthread.php?t=1335098
    Dude, that's awesome, that's exactly I want to do, a serial port to be recognized as a COM1 port in Wine, really thank you.

    But you guys can help me with the ttyUSB0 problem? It doesn't appears. D:

    ---Just to make things clear, that printer has the option to emulate a serial port with a USB cable, I use that cable, not a Serial-USB adapter, just in case.---
    Last edited by manudo; November 26th, 2013 at 09:00 PM.

  2. #12
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Virtual COM Port

    When you have the printer set to emulate a serial connection, which device shows up in /dev when you plug it in? Try connecting to that one.

  3. #13
    Join Date
    Sep 2012
    Beans
    57

    Re: Virtual COM Port

    Quote Originally Posted by Lars Noodén View Post
    When you have the printer set to emulate a serial connection, which device shows up in /dev when you plug it in? Try connecting to that one.
    Here's the list of files in /dev when it's nothing connected.
    1.jpg

    Here's the list of files in /dev when I connect the printer with Virtual COM emulation.
    2.jpg
    No difference.

    And here's a screenshot when I connect it with USB normal mode, see that it creates a directory called usb/ and when I cd to it has a lp0 file. The printer works this way, even when I send an echo to /dev/usb/lp0.
    3.jpg

  4. #14
    Join Date
    Sep 2012
    Beans
    57

    Re: Virtual COM Port

    I have to create a ttyUSB0 file?

  5. #15
    Join Date
    Sep 2012
    Beans
    57

    Re: Virtual COM Port

    Well, problem solved, I just connected it in USB mode and did this.

    Code:
    sudo ln -s /dev/usb/lp0 ~/.wine/dosdevices/com1
    Links the printer to that port, and if I do an echo works. Thanks.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •