Thanks for your suggestion. I have used platformio in the past and found the environment quite helpful. Although I may change my mind in the future, I’ll be sticking with it for now…
For anybody else with this issue of not finding the device to upload to on Ubuntu. It seems that I had a problem that a previous installation of platformio was being picked up. Which gave some unpredictable results (unsurprisingly).
In a treminal I ran
pio device list
And got no results (despite the pico w being plugged in)
I then did
pip install -U platformio
(get a wall of friendly and happy status messages)
And I now get
pio device list
Please wait while upgrading PlatformIO…
PlatformIO has been successfully upgraded to 6.1.6a3!
/dev/ttyACM0
Hardware ID: USB VID:PID=2E8A:00C0 SER=xxxxxxxxxxxxxxxx LOCATION=3-2:1.0
Description: RaspberryPi Pico