PSN-L Email List Message

Subject: Re: Linux & WINSdr
From: Larry Cochrane lcochrane@..............
Date: Thu, 18 Jul 2013 21:35:26 -0700


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


On 7/18/2013 8:57 PM, Bob Hancock wrote:
> OK - I tried everybody's various tests.  Following are the results.
>
> bob@linuxmint ~ $ ls /dev/usb*
> /dev/usbmon0 /dev/usbmon2 /dev/usbmon4 /dev/usbmon6 /dev/usbmon8
> /dev/usbmon1 /dev/usbmon3 /dev/usbmon5 /dev/usbmon7
> bob@linuxmint ~ $
>
>
> bob@linuxmint ~ $ ls /dev/ttyUSB*
> /dev/ttyUSB0 /dev/ttyUSB1
> bob@linuxmint ~ $
>
> bob@linuxmint ~ $ ls /dev/*USB*
> /dev/ttyUSB0 /dev/ttyUSB1
> bob@linuxmint ~ $
>
> bob@linuxmint ~ $ ls /dev/ | grep usb
> usbmon0
> usbmon1
> usbmon2
> usbmon3
> usbmon4
> usbmon5
> usbmon6
> usbmon7
> usbmon8
> bob@linuxmint
>
> It was not necessary to go to root to display the USB ports.  I am currently using WinSDR on Windows XP through a USB port so I know the RS-232 to USB connector is working.
>
> Bob Hancock
>
>
> On Jul 18, 2013, at 7:01 PM, Larry Cochrane  wrote:
>
>> Hi Bob,
>>
>> As Angel wrote you need to include the wildcard characters *. So use
>> ls /dev/*USB* to get a list of all devices with the name USB in it. One other thing you may need to run as root to get a listing so try:
>>
>> sudo ls /dev/*USB* or /dev/*usb* etc
>>
>> Regards,
>> -Larry
>>
>> On 7/18/2013 6:36 PM, sismos wrote:
>>> Hi Bob,
>>>
>>> linux can sometimes be quite literal,  try to "ls" for
>>>
>>> ls /dev/usb*
>>>
>>> ls /dev/USB*
>>>
>>> but in the end I suspect those FTDI chips show up as
>>>
>>> ls /dev/ttyUSB*
>>>
>>> I am traveling right now so I can not test the above.
>>>
>>> Angel
>>>
>>>
>>>
>>> On 07/19/2013 01:06 AM, Bob Hancock wrote:
>>>> Hi Larry -
>>>>
>>>> The computer that I am working with has six USB slots and two RS-232 slots.  I have checked the six USB slots and they are ALL active whether in both Windows XP, or Linux.  I have received the RS-232 to USB plug with the FTDI Chip, and it works fine with WinSDR in Windows XP.
>>>>
>>>> When I type 'lsusb' any device plugged into a USB slot shows up.
>>>>
>>>> Yes, I am using the link (ln) command just as you have written without the '  '
>>>>
>>>> When I type ls /dev/USB   I get the following:  ls: cannot access dev/USB: No such file or directory
>>>>
>>>> The difficulty I am experiencing is getting WinSDR to work on either a USB or RS-232 slot with Linux.  The FTDI plug made the difference on Windows, but I need to do a little more work with Linux before it will work.
>>>>
>>>> Thanks for your input.  It is appreciated.
>>>>
>>>> Bob Hancock
>>>>
>>>> On Jul 18, 2013, at 4:57 PM, Larry Cochrane  wrote:
>>>>
>>>>> Bob, what do you get if you type this in a terminal 'ls /dev/*USB*' (without the '')? Have you been using the ln (link) command documented on this page http://www.seismicnet.com/linux_wine.html when trying different devices before starting Wine/WinSDR?
>>>>>
>>>>> 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.
>>>>
>>>
>>> __________________________________________________________
>>>
>>> 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.
>>>
>> __________________________________________________________
>>
>> 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.
>>
>
> __________________________________________________________
>
> 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.
>
__________________________________________________________

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 ]