David thanks for your excellent reply.
I did as you said and edited my gnuais file and my card is now hw 0,0 instead of default.
i still have the same problem of no ais coming through. When i run the ais decoder adjustment software it looks the same activity as before. if i pull the vhf radio mike in connector out all activity stops.
i manually typed in a terminal opencpnais and this is what i got.
george@george-acer:~$ opencpnais
/dev/com1 -> /dev/ttyS0
/dev/com2 -> /dev/ttyS1
/usr/local/bin/comports: line 21: [: /etc/comports{LXE900C0168200A5F62000: binary operator expected
find: `/sys/bus/usb-serial/drivers': No such file or directory
/dev/com3 -> /dev/rfcomm0
opencpn then opens but no ais targets appear?
Any advice would be appreciated.
George
David wrote:
There is one configuration file for gnuais which is the underlying AIS decoder. This configuration file needs to be set correctly. To do so open a terminal (Manta->Accessories->Terminal Emulator) and enter the command arecord -l this gives you a list of all the sound capture devices on your computer. In my case it looks like this:
card 1: SB [HDA ATI SB], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Which means there is only one card with one subdevice. Note the Card Number... in this case "1" and the device.. in this case "0" afterwards edit the gnuais configuration with this command sudo gedit /etc/gnuais.conf. Look for the line which says "SoundDevice hw:x,y" change x,y to cardnumber,device .... in my case it would be 1,0.