Elastic Sheep

Because elasticdog was already taken

Elastic Sheep header image 2

PL-2303 serial adapter, cu and Snow Leopard

April 25th, 2010 · 2 Comments · Uncategorized

I am using a PL-2303 USB-to-serial adapter when connecting to serial interfaces.

After having installed Snow Leopard and reinstalled the Prolific PL-2303 driver (32-bit version from prolific), I found myself prevented from lauching cu to connect to the serial port:

elasticsheep:~ mathieu$ cu -s 9600 -l /dev/cu.usbserial
cu: creat during lock (/var/spool/uucp/TMP00000000c8 in /dev as uid 501): Permission denied
cu: /dev/cu.usbserial: Line in use

It appears that permissions have changed from Leopard and I am now not allowed to execute cu as a simple user (as mentionned here).

The solution is to use sudo to launch cu:

elasticsheep:~ mathieu$ sudo cu -s 9600 -l /dev/cu.usbserial
Password:
Connected.

Problem solved.

Tags:

2 Comments so far ↓

  • Nat

    Thanks for this! It helped me greatly.

    I was trying to get a cisco router to console for me…and she just wouldn’t do it. This fixed my problems :)

  • Dela

    Oh man, this worked like a charm! Thanks so much!

Leave a Comment