Loading ...
Sorry, an error occurred while loading the content.

Re: [Raspberry_Pi_4-Ham_RADIO] Re: XASTIR USB WX Dongle Device Name

Expand Messages
  • John Hays
    Unplug ls /dev/tty* Plug in ls /dev/try* see if new tty device. Sent from my iPhone
    Message 1 of 8 , Jul 28, 2013
    • 0 Attachment
      Unplug

      ls /dev/tty*

      Plug in

      ls /dev/try*

      see if new tty device. 

      Sent from my iPhone

      On Jul 28, 2013, at 8:04 AM, "kb4jhu" <kb4jhu@...> wrote:

       

      Ray,

      Took your suggestion and booted up and plugin the dongle. Looks like it loaded as USB device number 5:

      /var/log/syslog:
      usb 1-1.2: new full-speed USB device number 5 using dwc_otg
      usb 1-1.2: New USB device found, idVendor=110a, idProduct=1110
      usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      usb 1-1.2: Product: UPort 1110
      1-1.2: Manufacturer: Moxa Technologies Co., Ltd.
      usb 1-1.2: SerialNumber: 000404
      checking bus 1, device 5: "/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.2"
      bus: 1, device: 5 was not an MTP device

      pi@raspberrypi ~ $ lsusb
      Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
      Bus 001 Device 005: ID 110a:1110 Moxa Technologies Co., Ltd.
      Bus 001 Device 004: ID 04d9:2519 Holtek Semiconductor, Inc.

      pi@raspberrypi ~ $ lsusb -t
      1-1.2:1.0: No such file or directory
      /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
      |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 480M
      |__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
      |__ Port 2: Dev 5, If 0, Class=vend., Driver=, 12M
      |__ Port 3: Dev 4, If 0, Class=HID, Driver=usbhid, 1.5M
      |__ Port 3: Dev 4, If 1, Class=HID, Driver=usbhid, 1.5M

      pi@raspberrypi ~ $ lsusb -s 1:5
      Bus 001 Device 005: ID 110a:1110 Moxa Technologies Co., Ltd.

      Bus 001 Device 005: ID 110a:1110 Moxa Technologies Co., Ltd.
      Couldn't open device, some information will be missing
      Device Descriptor:
      bLength 18
      bDescriptorType 1
      bcdUSB 2.00
      bDeviceClass 255 Vendor Specific Class
      bDeviceSubClass 0
      bDeviceProtocol 0
      bMaxPacketSize0 8
      idVendor 0x110a Moxa Technologies Co., Ltd.
      idProduct 0x1110
      bcdDevice 2.00
      iManufacturer 1
      iProduct 2
      iSerial 3
      bNumConfigurations 1
      Configuration Descriptor:
      bLength 9
      bDescriptorType 2
      wTotalLength 25
      bNumInterfaces 1
      bConfigurationValue 1
      iConfiguration 0
      bmAttributes 0xa0
      (Bus Powered)
      Remote Wakeup
      MaxPower 100mA
      Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 0
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
      bLength 7
      bDescriptorType 5
      bEndpointAddress 0x01 EP 1 OUT
      bmAttributes 2
      Transfer Type Bulk
      Synch Type None
      Usage Type Data
      wMaxPacketSize 0x0040 1x 64 bytes
      bInterval 0

      Driver name is too long for the WX Serial device of: /sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.2

      Also tried /dev/ttyUSB5 as well as the device name with no luck. Other suggestions??

      -Michael KB4JHU

      --- In Raspberry_Pi_4-Ham_RADIO@yahoogroups.com, Ray Wells <vk2tv@...> wrote:
      >
      > Leave the device unplugged and boot the Pi. Plug the device in and have
      > a look towards the end of /var/log/syslog. If the device was recognised
      > you should see reference to the device and /dev/ttyUSB# where # is the
      > number allocated - ttyUSB1, etc.
      >
      > Ray vk2tv
      >
      > On 28/07/13 11:57, kb4jhu wrote:
      > >
      > > I have a Raspberry Pi running XASTIR using the TNC-PI. I have the
      > > system working with APRS and now desire to connect my Peet Brothers
      > > Altermeter 800 serial weather station to XASTIR.
      > >
      > > I am having a problem finding the ttyUSB port that is assigned. I have
      > > setup the "serial WX" under Interface Control/configure WX Port. Can
      > > anyone help me figure out the "weather station device" for the USB dongle?
      > >
      > > --------------------------------
      > >
      > > Per the var/log/syslog states:
      > > usb 1-1.2: new full-speed USB device number 4 using dwc_otg
      > > usb 1-1.2: New USB device found, idVendor=110a, idProduct=1110
      > > usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      > > usb 1-1.2: Product: UPort 1110
      > > Manufacturer: Moxa Technologies Co., Ltd.
      > > usb 1-1.2: SerialNumber: 000404
      > >
      > > -----------------------------------------------------
      > >
      > > The Dongle is a Moxa UPort 1110 so the system loaded the driver.
      > >
      > > Now the part I get confused. What /dev/ttyUSB4? is needed for "weather
      > > station device" I have tried several commands to include ls -l
      > > /dev/USB* with no luck finding the /dev for the serial USB dongle.
      > >
      > > Any help is appreciated.
      > >
      > > Michael KB4JHU
      > >
      > >
      >

    • kb4jhu
      Thanks. Used that command and found no ttyUSB* listed. I changed out USB Hub. Same results no ttyUSB* found. Finally changed out USB dongle. Yep...
      Message 2 of 8 , Jul 28, 2013
      • 0 Attachment
        Thanks. Used that command and found no ttyUSB* listed. I changed out USB Hub. Same results no ttyUSB* found.

        Finally changed out USB dongle. Yep... Prolific driver loaded and assigned ttyUSB0. Got it working...

        Wx station is KB4JHU-15.

        Thanks for all the help!

        -Michael KB4JHU

        --- In Raspberry_Pi_4-Ham_RADIO@yahoogroups.com, John Hays <john@...> wrote:
        >
        > Unplug
        >
        > ls /dev/tty*
        >
        > Plug in
        >
        > ls /dev/try*
        >
        > see if new tty device.
        >
        > Sent from my iPhone
        >
      • Ray Wells
        Michael, This is what I see on my system when I attached an usb/rs232 device. For convenience I did this on my Dell desktop system but the result on the Pi
        Message 3 of 8 , Jul 28, 2013
        • 0 Attachment
          Michael,

          This is what I see on my system when I attached an usb/rs232 device. For convenience I did this on my Dell desktop system but the result on the Pi would be very similar, especially the line in syslog about the device being attached to /dev/ttyUSB(#)

          vk2tv@gizmo ~ $ lsusb <device not attached>
          Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
          Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
          Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
          Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
          Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
          Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
          Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
          vk2tv@gizmo ~ $

          vk2tv@gizmo ~ $ lsusb <device attached>
          Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
          Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
          Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
          Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
          Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
          Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
          Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
          Bus 004 Device 002: ID 0557:2008 ATEN International Co., Ltd UC-232A Serial Port [pl2303]
          vk2tv@gizmo ~ $

          vk2tv@gizmo ~ $ lsmod
          Module                  Size  Used by
          pl2303                 17993  0
          usbserial              47107  1 pl2303

          <list severely trimmed to save space>
          vk2tv@gizmo ~ $

          From the end of /var/log/syslog ...

          Jul 29 09:41:56 gizmo kernel: [ 3121.984016] usb 4-2: new full speed USB device number 4 using uhci_hcd
          Jul 29 09:41:56 gizmo mtp-probe: checking bus 4, device 4: "/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2"
          Jul 29 09:41:56 gizmo kernel: [ 3122.205095] pl2303 4-2:1.0: pl2303 converter detected
          Jul 29 09:41:56 gizmo kernel: [ 3122.217108] usb 4-2: pl2303 converter now attached to ttyUSB0
          Jul 29 09:41:56 gizmo mtp-probe: bus: 4, device: 4 was not an MTP device

          Did you check lsmod to see if the module is loaded?

          Ray vk2tv

          On 29/07/13 01:04, kb4jhu wrote:
           

          Ray,

          Took your suggestion and booted up and plugin the dongle. Looks like it loaded as USB device number 5:

          /var/log/syslog:
          usb 1-1.2: new full-speed USB device number 5 using dwc_otg
          usb 1-1.2: New USB device found, idVendor=110a, idProduct=1110
          usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
          usb 1-1.2: Product: UPort 1110
          1-1.2: Manufacturer: Moxa Technologies Co., Ltd.
          usb 1-1.2: SerialNumber: 000404
          checking bus 1, device 5: "/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.2"
          bus: 1, device: 5 was not an MTP device

          pi@raspberrypi ~ $ lsusb
          Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
          Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
          Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
          Bus 001 Device 005: ID 110a:1110 Moxa Technologies Co., Ltd.
          Bus 001 Device 004: ID 04d9:2519 Holtek Semiconductor, Inc.

          pi@raspberrypi ~ $ lsusb -t
          1-1.2:1.0: No such file or directory
          /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
          |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 480M
          |__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
          |__ Port 2: Dev 5, If 0, Class=vend., Driver=, 12M
          |__ Port 3: Dev 4, If 0, Class=HID, Driver=usbhid, 1.5M
          |__ Port 3: Dev 4, If 1, Class=HID, Driver=usbhid, 1.5M

          pi@raspberrypi ~ $ lsusb -s 1:5
          Bus 001 Device 005: ID 110a:1110 Moxa Technologies Co., Ltd.

          Bus 001 Device 005: ID 110a:1110 Moxa Technologies Co., Ltd.
          Couldn't open device, some information will be missing
          Device Descriptor:
          bLength 18
          bDescriptorType 1
          bcdUSB 2.00
          bDeviceClass 255 Vendor Specific Class
          bDeviceSubClass 0
          bDeviceProtocol 0
          bMaxPacketSize0 8
          idVendor 0x110a Moxa Technologies Co., Ltd.
          idProduct 0x1110
          bcdDevice 2.00
          iManufacturer 1
          iProduct 2
          iSerial 3
          bNumConfigurations 1
          Configuration Descriptor:
          bLength 9
          bDescriptorType 2
          wTotalLength 25
          bNumInterfaces 1
          bConfigurationValue 1
          iConfiguration 0
          bmAttributes 0xa0
          (Bus Powered)
          Remote Wakeup
          MaxPower 100mA
          Interface Descriptor:
          bLength 9
          bDescriptorType 4
          bInterfaceNumber 0
          bAlternateSetting 0
          bNumEndpoints 1
          bInterfaceClass 255 Vendor Specific Class
          bInterfaceSubClass 0
          bInterfaceProtocol 0
          iInterface 0
          Endpoint Descriptor:
          bLength 7
          bDescriptorType 5
          bEndpointAddress 0x01 EP 1 OUT
          bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
          wMaxPacketSize 0x0040 1x 64 bytes
          bInterval 0

          Driver name is too long for the WX Serial device of: /sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.2

          Also tried /dev/ttyUSB5 as well as the device name with no luck. Other suggestions??

          -Michael KB4JHU

          --- In Raspberry_Pi_4-Ham_RADIO@yahoogroups.com, Ray Wells <vk2tv@...> wrote:
          >
          > Leave the device unplugged and boot the Pi. Plug the device in and have
          > a look towards the end of /var/log/syslog. If the device was recognised
          > you should see reference to the device and /dev/ttyUSB# where # is the
          > number allocated - ttyUSB1, etc.
          >
          > Ray vk2tv
          >
          > On 28/07/13 11:57, kb4jhu wrote:
          > >
          > > I have a Raspberry Pi running XASTIR using the TNC-PI. I have the
          > > system working with APRS and now desire to connect my Peet Brothers
          > > Altermeter 800 serial weather station to XASTIR.
          > >
          > > I am having a problem finding the ttyUSB port that is assigned. I have
          > > setup the "serial WX" under Interface Control/configure WX Port. Can
          > > anyone help me figure out the "weather station device" for the USB dongle?
          > >
          > > --------------------------------
          > >
          > > Per the var/log/syslog states:
          > > usb 1-1.2: new full-speed USB device number 4 using dwc_otg
          > > usb 1-1.2: New USB device found, idVendor=110a, idProduct=1110
          > > usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
          > > usb 1-1.2: Product: UPort 1110
          > > Manufacturer: Moxa Technologies Co., Ltd.
          > > usb 1-1.2: SerialNumber: 000404
          > >
          > > -----------------------------------------------------
          > >
          > > The Dongle is a Moxa UPort 1110 so the system loaded the driver.
          > >
          > > Now the part I get confused. What /dev/ttyUSB4? is needed for "weather
          > > station device" I have tried several commands to include ls -l
          > > /dev/USB* with no luck finding the /dev for the serial USB dongle.
          > >
          > > Any help is appreciated.
          > >
          > > Michael KB4JHU
          > >
          > >
          >


        • Wolfgang
          Hello , I am trying to get KLOG to work. Things work well, but I only can not get a connection with hamlib. I use the same parameters as for other programs
          Message 4 of 8 , Jul 29, 2013
          • 0 Attachment
            Hello ,
            I am trying to get KLOG to work. Things work well, but I only can not
            get a connection with hamlib.
            I use the same parameters as for other programs (like GRIG, FLDIGI):

            300msec
            FT-857
            /dev/ttyUSB0
            38400

            But I always get a message saying that KLOG can not establish a
            connection to my transceiver.

            What am I doing wrong??

            73, Wolfgang, dl7nb
          • The Silver Fox
            Try lsusb. From: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com [mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of kb4jhu Sent: Sunday, July 28, 2013
            Message 5 of 8 , Jul 29, 2013
            • 0 Attachment

              Try lsusb.

               

               

              From: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com [mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of kb4jhu
              Sent: Sunday, July 28, 2013 3:12 PM
              To: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com
              Subject: [Raspberry_Pi_4-Ham_RADIO] Re: XASTIR USB WX Dongle Device Name

               

               

              Thanks. Used that command and found no ttyUSB* listed. I changed out USB Hub. Same results no ttyUSB* found.

              Finally changed out USB dongle. Yep... Prolific driver loaded and assigned ttyUSB0. Got it working...

              Wx station is KB4JHU-15.

              Thanks for all the help!

              -Michael KB4JHU

              --- In Raspberry_Pi_4-Ham_RADIO@yahoogroups.com, John Hays <john@...> wrote:
              >
              > Unplug
              >
              > ls /dev/tty*
              >
              > Plug in
              >
              > ls /dev/try*
              >
              > see if new tty device.
              >
              > Sent from my iPhone
              >

            Your message has been successfully submitted and would be delivered to recipients shortly.