On 2008-03-12, Mark Rages <[email protected]> wrote:
> On Wed, Mar 12, 2008 at 4:09 PM, Eric Decker <[email protected]> wrote:
>> Hello,
>>
>> I just got a TI USB Jtag (msp-fet430uif) debugging interface to replace an
>> old parallel port
>> one.  The kernel is finding it but no /dev/ttyUSB* device file is being
>> created.
>>
>> Any thoughts?  Anyone know what error -5 coming from the
>> device driver means (ti_usb_3410_5052: probe of 1-1:1.0 failed
>> with error -5).

> Did you install the udev rule in /etc/udev/rules.d?

Yup, I'm pretty sure that's the problem.  Searching the list
for udev will probably turn up the relevent threads.

http://search.gmane.org/?query=udev+rules&group=gmane.comp.hardware.texas-instruments.msp430.gcc.user

> by the way, I added this to the udev rule:
>
> # Use the tty subsystem to get a stable name for the FET
>   SUBSYSTEM=="tty" ACTION=="add"\
>   SYSFS{product}=="MSP-FET430UIF JTAG Tool" \
>   SYMLINK+="ttyTIUSB"
>
> then a symlink is automatically created at /dev/ttyTIUSB.  I have a
> lot of USB->serial adapters and it seems like the FET tool never gets
> the same device file name.  This way, I can put "/dev/ttyTIUSB" in my
> Makefile and never have to worry about it.

That's an excellent tip, though I recently ended up with two
USB-serial based widgets both based on the same chip (IIRC, the
pl2303), and the flippin' vendors didn't bother to modify any
of the default values, so they both show up as generic PL2303
serial ports and there's no way for udev to tell them apart. :/

-- 
Grant Edwards                   grante             Yow! I left my WALLET in
                                  at               the BATHROOM!!
                               visi.com            


Reply via email to