MacAxePad software issue with the usbserial port name - Compiler bug
I have a MAC with a working USB serial interface lead. The lead uses the PL2303 drive but the name of the port under the MAC OS is /dev/tty.usbserial
Note the fact that this is NOT /dev/tty.usbserial-xxxxxx
As I stated this port works perfectly well with lots of other applications and I can use it as a terminal to the device I have running, so I know it is not a port or cable issue.
Both the standalone command line compilers and the MAC AXEPAD will not support this, they are hard coded to support /dev/tty.usbserial-xxxxx etc.
Could the code be changed such that you can fully specify the name of the port i.e. /dev/tty.usbserial? this is a simple change however it is stopping me use the applications.
The other way is somehow renaming the driver such that there is a linked name to the real port. Does anyone know how to do this?
Below is an output from my machine showing the drivers
xxx-macbook-pro-2:~ <user>$ ls -l /dev/tty.*
crw-rw-rw- 1 root wheel 9, 0 24 Feb 10:39 /dev/tty.BTGPS-SPPslave-1
crw-rw-rw- 1 root wheel 9, 4 24 Feb 10:39 /dev/tty.Bluetooth-Modem
crw-rw-rw- 1 root wheel 9, 8 24 Feb 10:39 /dev/tty.Bluetooth-PDA-Sync
crw-rw-rw- 1 root wheel 9, 6 24 Feb 10:39 /dev/tty.Ejs-Dial-UpNetworking-1
crw-rw-rw- 1 root wheel 9, 2 24 Feb 10:39 /dev/tty.Photosmart330series-Ser-1
crw-rw-rw- 1 root wheel 9, 20 24 Feb 11:32 /dev/tty.usbserial
If you change the name of the port in the .ini file it does not seem to make a difference. This seems to be a simple change to the software and I am happy to Alpha/Beta test new code
More information
The command line compilers suffer the same issue
Output follows from my mahine
PICAXE-18X Enhanced Compiler. Version 0.6
Copyright (c) 1996-2009 Revolution Education Ltd
All rights reserved.
www.picaxe.co.uk
Compiled successfully.
Memory used = 19 out of 2048 bytes.
Searching for hardware on /dev/tty.usbserial.
line# 0 col# 0
Error: Hardware not found on /dev/tty.usbserial!
You can see that the compiler puts an extra. in the name of the ouput device!!!
using the MacAXEpad, the port is detected using the USB Setup button but the compiler has the same issue i.e. it puts the extra. in the serial port name.
Using the MacAXEpad you can open a terminal to the port and receive information from a pre-programmed device
I have a MAC with a working USB serial interface lead. The lead uses the PL2303 drive but the name of the port under the MAC OS is /dev/tty.usbserial
Note the fact that this is NOT /dev/tty.usbserial-xxxxxx
As I stated this port works perfectly well with lots of other applications and I can use it as a terminal to the device I have running, so I know it is not a port or cable issue.
Both the standalone command line compilers and the MAC AXEPAD will not support this, they are hard coded to support /dev/tty.usbserial-xxxxx etc.
Could the code be changed such that you can fully specify the name of the port i.e. /dev/tty.usbserial? this is a simple change however it is stopping me use the applications.
The other way is somehow renaming the driver such that there is a linked name to the real port. Does anyone know how to do this?
Below is an output from my machine showing the drivers
xxx-macbook-pro-2:~ <user>$ ls -l /dev/tty.*
crw-rw-rw- 1 root wheel 9, 0 24 Feb 10:39 /dev/tty.BTGPS-SPPslave-1
crw-rw-rw- 1 root wheel 9, 4 24 Feb 10:39 /dev/tty.Bluetooth-Modem
crw-rw-rw- 1 root wheel 9, 8 24 Feb 10:39 /dev/tty.Bluetooth-PDA-Sync
crw-rw-rw- 1 root wheel 9, 6 24 Feb 10:39 /dev/tty.Ejs-Dial-UpNetworking-1
crw-rw-rw- 1 root wheel 9, 2 24 Feb 10:39 /dev/tty.Photosmart330series-Ser-1
crw-rw-rw- 1 root wheel 9, 20 24 Feb 11:32 /dev/tty.usbserial
If you change the name of the port in the .ini file it does not seem to make a difference. This seems to be a simple change to the software and I am happy to Alpha/Beta test new code
More information
The command line compilers suffer the same issue
Output follows from my mahine
PICAXE-18X Enhanced Compiler. Version 0.6
Copyright (c) 1996-2009 Revolution Education Ltd
All rights reserved.
www.picaxe.co.uk
Compiled successfully.
Memory used = 19 out of 2048 bytes.
Searching for hardware on /dev/tty.usbserial.
line# 0 col# 0
Error: Hardware not found on /dev/tty.usbserial!
You can see that the compiler puts an extra. in the name of the ouput device!!!
using the MacAXEpad, the port is detected using the USB Setup button but the compiler has the same issue i.e. it puts the extra. in the serial port name.
Using the MacAXEpad you can open a terminal to the port and receive information from a pre-programmed device
Last edited: