serial port - What's the udev-like thing on OSX and how does it work? -
if plug usb-serial adapter mac, new device shows in /dev, such /dev/tty.usbmodem1421 or /dev/tty.usbserial-a7048o1o.
if linux, i'd looking udev rule explains device name came from, , why created.
but osx. how device names allocated on mac (e.g. why funny numbers in device name), , piece of code that?
device names in mac os x, present, assigned specific driver involved. there's no single mechanism involved, particularly classes of device don't nodes in /dev
@ all.
in case of ftdi devices, "funny numbers" in device name serial number of ftdi chip. logic internal ftdi driver, which, unfortunately, isn't open-source, can't point code involved. :(
incidentally, can alter serial number of ftdi device using ft232r_prog.
osx serial-port kernel device-driver udev
No comments:
Post a Comment