On Friday 12 February 2016 16:39:16 Erico Mendonca wrote:
> That sounds odd. Device allocation on most distros is dynamic, and has been
> for quite some time, including openSUSE. The device names are regulated by
> LANANA, and follow the Unix major/minor notation. A full listing can be
> found here: http://www.lanana.org/docs/device-list/devices-2.6+.txt
>
> In this case, /dev/ttyUSBx is a char device, major 188:
>
> # ls -ld /dev/ttyUSB0
> crw-rw---- 1 root dialout 188, 0 Feb 12 20:29 /dev/ttyUSB0
>
>
> The device ttyUSB0 starts with minor 0, ttyUSB1 is minor 1, and so on.
> Whenever the kernel detects a new device being plugged in, the UDEV
> subsystem allocates the next available major/minor pair for the device type
> and creates the proper /dev file entry. So, it’s not really hardcoded. Plug
> three different serial USB devices, and they may get either ttyUSB0,
> ttyUSB1 or ttyUSB3 for each one depending on the order they’re connected.
>
> If what you want is a fixed device name, there are ways around it. You
> could create an UDEV rule to make a symbolic link to a device, for example
> /dev/modem pointing to /dev/ttyUSBx, no matter the order you plugged it.
> Any of the device’s properties can be used to filter it, from the
> vendor/product down to the serial number of the device. I can help you
> write one if you wish.
That was several years ago, when I was trying to connect my old RS-232
serial
Wacom tablet to my laptop, which has no RS-232 port. I have since given away
the tablet, so I no longer care to pursue the issue.
--
A Caution to Everybody
Consider the Auk;
Becoming extinct because he forgot how to fly, and could only walk.
Consider man, who may well become extinct
Because he forgot how to walk and learned how to fly before he thinked.
-- Ogden Nash
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel