Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: New Serial Port Added

  1. #11
    pestocat is offline Student Penguin
    Join Date
    Dec 2008
    Posts
    55

    Default Re: New Serial Port Added

    I used the Yast utility to add me to the uucp group. Now I don't get error message from the application that it can't open the serial port. But I can't get any data from my device (it works in Windows version). Do you suppose I need to configure the serial port card. I have set the parameters in the application.

  2. #12
    deano_ferrari is online now Global Moderator
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    7,601

    Default Re: New Serial Port Added

    Yes, you may need to configure with setserial. This will tell you how ttyS0 is currently configured

    Code:
    setserial -g /dev/ttyS0
    Refer man setserial for config options.

    Another good way to test the data coming from your serial device, may be to use minicom to capture it first. When you are happy with this, then see if the wine app is ok with it.

    A couple of potential useful serial port test links:

    How To Check and Use Serial Ports Under Linux

    Testing Serial Ports in Linux | Debian Ubuntu Linux Solutions Blog

  3. #13
    pestocat is offline Student Penguin
    Join Date
    Dec 2008
    Posts
    55

    Default Re: New Serial Port Added

    deano, you are so patient. Everything checks out. The port address is correct and irq is correct. But I still can't pass data. Do you suppose I need to add something else to a group like maybe wine or winsdr.
    Thank you

  4. #14
    deano_ferrari is online now Global Moderator
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    7,601

    Default Re: New Serial Port Added

    1) Lets have a look at

    Code:
    ls -l ~/.wine/dosdevices
    2) Did you try minicom connectivity to check the serial port config/data from the device (assuming its possible for this device)?

  5. #15
    pestocat is offline Student Penguin
    Join Date
    Dec 2008
    Posts
    55

    Default Re: New Serial Port Added

    The ls -l ~/.wine/dosdevices looks OK I see /dev/ttyS0 so that should be OK. I checked for baud rate and it is set to 57600 as I set the application item. I can't get minicom, I tried to load it and I can't find my CD. I'm usually good at keeping my disks in order, but....

  6. #16
    deano_ferrari is online now Global Moderator
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    7,601

    Default Re: New Serial Port Added

    I checked for baud rate and it is set to 57600 as I set the application item.
    Maybe its a handshaking or parity issue? What kind of device is it as a matter of interest?

    If you have internet connectivity, install the minicom package via zypper:

    Code:
    zypper in minicom

  7. #17
    pestocat is offline Student Penguin
    Join Date
    Dec 2008
    Posts
    55

    Default Re: New Serial Port Added

    I'm sure the added serial card needed a driver installed. The first card had a CD but Linux couldn't read it. I tried another card, Linux could read the CD, but there was no driver available. Next I purchased a USB to serial converter and this works fine. Now I'm able to read data stream with no problem. Thank you for all the assistance, it is much appreciated.

  8. #18
    deano_ferrari is online now Global Moderator
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    7,601

    Default Re: New Serial Port Added

    I'm sure the added serial card needed a driver installed. The first card had a CD but Linux couldn't read it. I tried another card, Linux could read the CD, but there was no driver available. Next I purchased a USB to serial converter and this works fine. Now I'm able to read data stream with no problem. Thank you for all the assistance, it is much appreciated.
    Glad you've got it sorted. I use a usb to serial device (uses the pl2303 driver) for my work configuring swtiches and routers occasionally. It works very well. (I wondered and mentioned about whether a proprietary driver may have been required, but as you had /dev/ttyS0 present I didn't pursue it further). Anyway, at least you have gained some good serial interface troubleshooting skills now.

  9. #19
    malcolmlewis's Avatar
    malcolmlewis is offline Global Moderator
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    13,423
    Blog Entries
    14

    Default Re: New Serial Port Added

    Hi
    Hopefully you two have updated the HCL to include your converters??
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE Global Moderator and SUSE Knowledge Partner
    DELL E5510 Intel Arrandale GPU - Gnome 3.8.0 openSUSE 12.3 (x86_64)
    DELL 1545 Intel GM45 Express GPU - Gnome SLED 11 SP2 (x86_64)

  10. #20
    deano_ferrari is online now Global Moderator
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    7,601

    Default Re: New Serial Port Added


Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.5.2 PL2