PSN-L Email List Message

Subject: Re: Linux & WINSdr
From: Larry Cochrane lcochrane@..............
Date: Fri, 19 Jul 2013 20:48:41 -0700


Hi Bob,

I remember now, one other thing I needed to do was add my user account to the dialout 
group. So try something like this:

sudo adduser your_user_name dialout

If that does not work do a google search on "dialout group permissions". There seems 
to be several ways to add a user to a group so you may need to try different commands 
for your version of Linux.

One way around all of this is to run as root and reinstall WinSDR. If you do this you 
will need to start from scratch since Wine will create a new .wine directory under 
the root home directory.

Regards,
-Larry

On 7/19/2013 7:34 PM, Bob Hancock wrote:
> Hi Larry -
>
> My goof - this morning - I was rushing to leave for multiple appointments and was out all day.  I redid the SUDO commands and listed below is what I got.  As you can see it is identical to yours.
>
> Still unable to get WinSDR open with Linux, but it works fine with a USB slot using the RS-232 to USB FTDI adapter/
>
> With Apologies
>
> Bob Hancock
>
> bob@linuxmint ~ $ ls -la /dev/ttyUSB*
> crw-rw-rw- 1 root dialout 188, 0 Jul 19 18:47 /dev/ttyUSB0
> crw-rw-rw- 1 root dialout 188, 1 Jul 19 18:48 /dev/ttyUSB1
> bob@linuxmint ~ $
>
>
>
>
>
> On Jul 19, 2013, at 6:03 PM, Larry Cochrane  wrote:
>
>> Hi Bob,
>>
>> From your ls -la printout it looks like the ports can only be opened by root. Did you do the sudo chmod 666 /dev/ttyUSB0 and sudo chmod 666 /dev/ttyUSB1 commands?
>>
>> This is what you should see after doing them:
>>
>> crw-rw-rw- 1 root dialout 4, 64 Jul 19 17:52 /dev/ttyS0
>> crw-rw-rw- 1 root dialout 4, 65 Dec 31  2009 /dev/ttyS1
>>
>> Note the extra rw in the permission information.
>>
>> Regards,
>> -Larry
>>
>> On 7/19/2013 6:41 AM, Bob Hancock wrote:
>>> Hi Larry -
>>>
>>> Still unable to open Com Port 1 or 2 with WinSDR
>>>
>>> The commands you sent to me went accepted with no problems.  Following is output you requested
>>>
>>> bob@linuxmint ~ $ ls -la /dev/ttyUSB*
>>> crw-rw---- 1 root dialout 188, 0 Jul 19 06:00 /dev/ttyUSB0
>>> crw-rw---- 1 root dialout 188, 1 Jul 19 06:00 /dev/ttyUSB1
>>> bob@linuxmint ~ $
>>>
>>> I only have one RS-232 to USB adaptor plugged in.  At present there is nothing plugged in to the two RS-232 ports.
>>>
>>> Question - Could this be due to the old Version 1 AD board I am using.
>>>
>>> Bob Hancock
>>>
>>>
>>> On Jul 18, 2013, at 9:35 PM, Larry Cochrane  wrote:
>>>
>>>> Hi Bob,
>>>>
>>>> Ok, now we are getting somewhere... It's strange that two ttyUSB devices are in the /dev/ directory. Do you have two USB to RS-232 adapters connected up to the system? Does one or both go away if you remove/unplug the adapter that is connected up to the A/D board?
>>>>
>>>> Try the following commands:
>>>>
>>>> sudo chmod 666 /dev/ttyUSB0
>>>> sudo chmod 666 /dev/ttyUSB1
>>>> then do...
>>>> cd ~.wine/dosdevices
>>>> ln -s /dev/USB0 com1
>>>> ln -s /dev/USB1 com2
>>>>
>>>> Next check the permission on the port(s) by using the following command:
>>>>
>>>> ls -la /dev/ttyUSB*
>>>>
>>>> And send the output to the psnlist if you are still having problems.
>>>>
>>>> Now start up WinSDR using Wine and if Comm Port 1 does not work try Comm Port 2.
>>>>
>>>> Regards,
>>>> -Larry
__________________________________________________________

Public Seismic Network Mailing List (PSNLIST)

To leave this list email PSNLIST-REQUEST@.............. with 
the body of the message (first line only): unsubscribe
See http://www.seismicnet.com/maillist.html for more information.

[ Top ] [ Back ] [ Home Page ]