My Pi Journey

My Pi Journey

Postby VK3ZAZ » Fri Nov 30, 2018 11:49 am

My Pi journey
to take all these nerdy boxes and send them to you FOC
One on ADSB
One of Flight Aware
One basic model.
Never got to work.
Too glitchy
tech support says I am the nerd..
I rate them in same light as an Apple MAC and LINUX.
and maybe OS2?
That's not to say the nerds cant get them going with time on their hands.
to coin phrase of a friend PAAASSSSSS.
enjoy PJ
None return.
If you are not part of the solution,
then you are part of the problem!
No problems?
Not a problem then!
Tread your own path :om:
User avatar
VK3ZAZ
Forum Diehard
 
Posts: 750
Joined: Sat Dec 18, 2010 1:46 pm
Location: Hamilton Victoria Australia

Re: My Pi Journey

Postby VK6SIX » Fri Nov 30, 2018 2:46 pm

"and maybe OS2?"

OS2 was used for many years by the commonwealth bank on bank branch computers, magic OS it was.

e&oe

vk6ro
VK6SIX
Frequent Poster
 
Posts: 157
Joined: Wed Jun 27, 2007 12:10 am

Re: My Pi Journey

Postby VK5PJ » Fri Nov 30, 2018 3:05 pm

Hello RO,
for a long time it was my go to O/S for PC but when they stopped improving it and Windoze leapfrogged ahead with applications that could not function on OS/2 (Win 95 and 98) it was hard to stay with it, I still have the disks and CDrom from "Warp 3" and had loaded it onto a modern PC about 12 months ago for nostalgia's sake then wiped it clean again.

For those that do not know, OS/2 was a true multi tasking O/S for Intel processors when all windows could do is still live on top of DOS 6.22 and pretend to multi-task, I guess that is a by gone time.

VK6SIX wrote:"and maybe OS2?"

OS2 was used for many years by the commonwealth bank on bank branch computers, magic OS it was.

e&oe

vk6ro
Peter Sumner, vk5pj
You have enemies? Good. That means you've stood up for something, sometime in your life.
- Winston Churchill
User avatar
VK5PJ
Forum Diehard
 
Posts: 748
Joined: Sat Apr 02, 2005 7:38 pm
Location: Barossa Valley S.A

Re: My Pi Journey

Postby VK5PJ » Tue Jan 01, 2019 6:28 am

Please be patient this is a work in progress. . . .


Sick of the serial ports re-assigning their values in Linux... /dev/ttyusb0 becomes /dev/ttyusb1 on restart? I am.. GRR..

please note the details below are specific to Raspian stretch and not other distro's some may have loaded BUT this can do no harm and all you do is delete the RULES file and your back where you started.

information sourced from here: https://unix.stackexchange.com/questions/66901/how-to-bind-usb-device-under-a-static-name

It is all based around a RULES file that we need to create that is scanned at boot time
so please create in this directory /etc/udev/rules.d create this file by issuing this command $ sudo nano 99-usb-serial.rules

Now the content of my rules file (seen below) may seem a bit cryptic but here we go... one line per rule, first line is assigning the device with an Vendor ID of 0424 and a Product ID of 2514 with a symbolic link named "tty-IC7100" which can be used inside most applications as the name of the serial port. The second line create a similar linkage for the serial port connected to my IC910.

SUBSYSTEM=="tty", ATTRS{idVendor}=="0424", ATTRS{idProduct}=="2514", SYMLINK+="tty-IC7100"
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="tty-IC910"

The name of the SYMLINK can be anything meaningful to you, I chose to prefix mine with "tty" to remind me they are a serial port.

The slightly difficult part is getting those "idVendor" and "idProduct" numbers but all things of goodness come from a terminal windows (command line). For each of your installed serial ports issue the command like below.

$ udevadm info --name=/dev/ttyUSB1 --attribute-walk


now this will display a LOT of information (many screens full) to the console window, scroll back up and look for:

ATTRS{devspec}==" (null)"
ATTRS{idProduct}=="2046"
ATTRS{idVendor}=="0451"
ATTRS{ltm_capable}=="no"

Now you have the needed info to populate the rules file you created earlier..

To get the PI to create these links for you without a reboot, issue the following command..

$ sudo udevadm trigger

$ ls -l /dev/tty-IC7100
lrwxrwxrwx 1 root root 7 Dec 31 19:21 /dev/tty-IC7100 -> ttyUSB1

$ sudo udevadm trigger

now to check they were created, issue this command (put your SYMLINK name in there instead of mine), if it comes back empty (no SymLink) then there is an error in the RULES file you created, check for spelling mistakes or wrong ID's

$ ls -l /dev/tty-IC910
lrwxrwxrwx 1 root root 7 Dec 31 19:26 /dev/tty-IC910 -> ttyUSB0

now you can use the alias's (symlink) in WSJT-X as the serial port names "/dev/tty-IC7100" for my IC-7100 and "/dev/tty-IC910" for my IC910H


more soon... I needed to note this down before I lost the work in progress..
Peter Sumner, vk5pj
You have enemies? Good. That means you've stood up for something, sometime in your life.
- Winston Churchill
User avatar
VK5PJ
Forum Diehard
 
Posts: 748
Joined: Sat Apr 02, 2005 7:38 pm
Location: Barossa Valley S.A

Previous

Return to Arduino, Picaxe, Raspberry Pi, and variants

Who is online

Users browsing this forum: No registered users and 1 guest