![]() ![]() See, gpsd is trying to be too friendly – and to do that, it opens a whole bunch of possibly GPS devices even if they’re not GPS devices! Could that be my problem? $ lsusbīus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 008 Device 003: ID 10c4:ea60 Cygnal Integrated Products, Inc. Hmm… time to search and find this in the gpsd FAQ: Why does GPSD open non-GPS USB devices? Ok, why is gpsd holding /dev/ttyUSB0 open? It’s true I have a GPS attached to my server, but that runs as /dev/ttyACM0 and has nothing to do with /dev/ttyUSB0. So, time to look at who has /dev/ttyUSB0 open: $ sudo lsof | grep ttyUSB0 Minicom: cannot open /dev/ttyUSB0: Device or resource busy I plugged the USB serial port in, and tried to connect to my firewall with minicom. Because the apu2 is headless, it’s nice to have something that’s plugged into a monitor when I need to fix things. ![]() The USB serial device worked fine when plugged into my Windows 8 laptop, but I want my server to be able to connect to my firewall even when the network is down. I have a CP2104 serial device that I bought with my PC Engines apu2 which I use for a firewall. As part of that, I wanted to plug my firewall’s serial port into USB serial and pop that into my server. I had the opportunity to reorganize my local machines.
0 Comments
Leave a Reply. |