On 2007-09-25, Grant Edwards <[email protected]> wrote:
> The second creates a symlink so that you can use /dev/ez430
> instead of /dev/ttyUSBn. [Since n varies depending on what
> other USB serial widgets are present, it's nice to have an
> unchanging reference.]
[...]
> The problem is that msp430-gdbproxy is doing a PPCLAIM ioctl()
> call on a serial port. Apparently msp430-gdbproxy requires
> that serial ports have names that match some sort of pattern.
>
> I'll have to see if I can find a work-around for that...
Changing the symlink so that it starts with "tty" seems to
work. I think it's a bit uglier than just 'dev/ez430', but it
works:
KERNEL=="ttyUSB*", SYSFS{idProduct}=="f430",SYSFS{idVendor}=="0451",
SYSFS{bConfigurationValue}=="2", SYMLINK="ttyUSBez430"
--
Grant Edwards grante Yow! Do I have a lifestyle
at yet?
visi.com