Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
RS-485 is an electrical and not a protocol specification.
If you have a RS-485 to RS-232 converter connected to the serial port or a RS-485 PCI card your set. You can talk to the device using minicom or any other serial communication program. So no special driver is required but you do need to know the device's command structure.
can I a little expand question.
how i can use several devices on one rs485 port? (up to 32 devices) I can just use ttyX to send or recive for only device as i understand - were i can at least to read "fucking manual"?
rs - 485 basic is 32 nodes but can be expanded to 1024 nodes. rs 485 is also a polling type network not event driven so all nodes are polled.. best info i've found was on a berkley site (not got any addresses sorry) but if you look up lenz under model train DCC(digital command control) they actually use rs 485 for there controller bus and have some good links. I haven't used them for a while so sorry can't give you directions..
thank's all for the answers - i familiar with electrical questions. on a simple processors such networks was build.
but i need linux operated eia-485 network.
i need some tutorial how to write a program for linux who can transmit data to the selected node and recive data from it.
i can do it on the low level - but i need a operating system point of view.
thanks
Does your network use 9-bit mode? I haven't found a lot of information on how to do this in software since the PC uart does not have this capability built in.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.