Page 1 of 4

Fine Offset + Linux Mint

Posted: Mon 12 Jan 2015 7:36 pm
by Spider-Vice
I just got Linux Mint on my station computer and I can't seem to be able to connect to my Fine Offset . I'm using the latest MX build, all the diags say is literally "Fine Offset station could not be found", but it's connected.
Any ideas?

Re: Fine Offset + Linux Mint

Posted: Mon 12 Jan 2015 7:43 pm
by steve
Have you looked at the output from lsusb?

Re: Fine Offset + Linux Mint

Posted: Mon 12 Jan 2015 7:53 pm
by Spider-Vice

Code: Select all

Bus 001 Device 002: ID 083a:4505 Accton Technology Corp. SMCWUSB-G 802.11bg
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
It seems to be there...

Diags says this:

Code: Select all

19:52:07 Looking for Fine Offset station
19:52:07 Fine Offset station not found

Re: Fine Offset + Linux Mint

Posted: Mon 12 Jan 2015 7:58 pm
by steve
What does ls -al /sys/class/hidraw show?

Re: Fine Offset + Linux Mint

Posted: Mon 12 Jan 2015 8:02 pm
by Spider-Vice

Code: Select all

total 0
drwxr-xr-x  2 root root 0 Jan 12 19:48 .
drwxr-xr-x 55 root root 0 Jan 12 19:48 ..
lrwxrwxrwx  1 root root 0 Jan 12 20:02 hidraw0 -> ../../devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:1941:8021.0003/hidraw/hidraw0

Re: Fine Offset + Linux Mint

Posted: Tue 13 Jan 2015 12:52 am
by Spider-Vice
In addition, when I then shutdown Cumulus MX by pressing a key:

Code: Select all

System.NullReferenceException: Object reference not set to an instance of an object
  at CumulusMX.WeatherStation.StopMinuteTimer () [0x00000] in <filename unknown>:0 
  at CumulusMX.FOStation.Stop () [0x00000] in <filename unknown>:0 
  at CumulusMX.Cumulus.Stop () [0x00000] in <filename unknown>:0 
  at A.c8142500dc9c7c9412dfdcbeaf39c4642.c4edc90ad7c8fb0571713952139ae9816 (System.String[] c068ecf5ea30894cab7ceb14d618db50b) [0x00000] in <filename unknown>:0 
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate

exception inside UnhandledException handler: The object was used after being disposed.
Possibly because it can't recognise the FO?

Re: Fine Offset + Linux Mint

Posted: Tue 13 Jan 2015 1:23 am
by Buford T. Justice
I am currently experiencing the exact same issue on Ubuntu MATE 14.04.1 LTS with the Fine Offset 1080...

lsusb

Code: Select all

Bus 013 Device 003: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
ls -al /sys/class/hidraw

Code: Select all

total 0
drwxr-xr-x  2 root root 0 Jan 12 18:23 .
drwxr-xr-x 58 root root 0 Jan 12 12:22 ..
lrwxrwxrwx  1 root root 0 Jan 12 18:23 hidraw0 -> ../../devices/pci0000:00/0000:00:13.0/usb6/6-5/6-5:1.2/0003:046D:C52B.0003/hidraw/hidraw0
lrwxrwxrwx  1 root root 0 Jan 12 18:23 hidraw1 -> ../../devices/pci0000:00/0000:00:13.0/usb6/6-5/6-5:1.2/0003:046D:C52B.0003/0003:046D:C52B.0004/hidraw/hidraw1
lrwxrwxrwx  1 root root 0 Jan 12 18:23 hidraw2 -> ../../devices/pci0000:00/0000:00:13.0/usb6/6-5/6-5:1.2/0003:046D:C52B.0003/0003:046D:C52B.0005/hidraw/hidraw2
lrwxrwxrwx  1 root root 0 Jan 12 18:23 hidraw3 -> ../../devices/pci0000:00/0000:00:14.4/0000:06:06.0/usb9/9-3/9-3:1.0/0003:06A3:0461.0006/hidraw/hidraw3
lrwxrwxrwx  1 root root 0 Jan 12 18:23 hidraw4 -> ../../devices/pci0000:00/0000:00:07.0/0000:04:00.0/usb13/13-1/13-1:1.0/0003:0764:0501.0007/hidraw/hidraw4
lrwxrwxrwx  1 root root 0 Jan 12 19:21 hidraw5 -> ../../devices/pci0000:00/0000:00:07.0/0000:04:00.0/usb13/13-2/13-2:1.0/0003:1941:8021.0009/hidraw/hidraw5

Re: Fine Offset + Linux Mint

Posted: Tue 13 Jan 2015 8:19 am
by steve
When you Linux experts solve the problem, don't forget to post here to let everyone else know ;)

Perhaps the system has claimed the device because it thinks it's a 'real' HID, a keyboard or whatever? You could try unplugging the station, rebooting, and then plugging the station in.

What do you get for lsusb -t?

Re: Fine Offset + Linux Mint

Posted: Tue 13 Jan 2015 9:28 am
by marfanuk
i run mine on mint, although with a Davis vue. I had problems connecting which was due to the wrong com port - I used '/dev/ttyUSB0' which worked with a little help from Mark.

Re: Fine Offset + Linux Mint

Posted: Tue 13 Jan 2015 9:40 am
by steve
These are USB devices, though, so there is no com port involved.

Re: Fine Offset + Linux Mint

Posted: Tue 13 Jan 2015 9:50 am
by Spider-Vice
Curiously, other weather software does recognise the station. Unfortunately I'm not a Linux expert so hope someone else can try to do something.

Re: Fine Offset + Linux Mint

Posted: Tue 13 Jan 2015 12:18 pm
by Buford T. Justice
lsusb -t

Code: Select all

/:  Bus 14.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 13.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 2: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/:  Bus 12.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 11.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 10.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    |__ Port 2: Dev 2, If 0, Class=Video, Driver=uvcvideo, 12M
    |__ Port 2: Dev 2, If 1, Class=Video, Driver=uvcvideo, 12M
/:  Bus 09.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/3p, 12M
    |__ Port 3: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/4p, 12M
/:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=pac207, 12M
    |__ Port 5: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 5: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 5: Dev 3, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M
    |__ Port 4: Dev 2, If 0, Class=Vendor Specific Class, Driver=mceusb, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/4p, 480M
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=usbfs, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
    |__ Port 4: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M

Re: Fine Offset + Linux Mint

Posted: Tue 13 Jan 2015 12:29 pm
by steve
That's odd, your lsusb shows the station is Bus 13 device 3, but that output doesn't show a device 3 on bus 13.

Re: Fine Offset + Linux Mint

Posted: Tue 13 Jan 2015 1:14 pm
by steve
Could you please unzip the attached on your Linux system, then change to the directory in a command window and type:

mono HidSharp.Test.exe

and paste the output here.

Re: Fine Offset + Linux Mint

Posted: Tue 13 Jan 2015 1:53 pm
by Spider-Vice
This is my output for the lsusb -t command:

Code: Select all

/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    |__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=, 1.5M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
    |__ Port 3: Dev 8, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    |__ Port 4: Dev 7, If 0, Class=Vendor Specific Class, Driver=zd1211rw, 480M
edit: For the USB Test

Code: Select all

Complete device list (took 225 ms to get 0 devices):

Opening HID class device...
Failed to open device.