LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   how do I 'map' hw board to a /dev/item ? (https://www.linuxquestions.org/questions/linux-kernel-70/how-do-i-map-hw-board-to-a-dev-item-516572/)

brokenCollie 01-05-2007 08:02 AM

how do I 'map' hw board to a /dev/item ?
 
Hi all,

I am somewhat of a newbie in the device driver / kernel realm, so please forgive (but answer:) this rather naive question:

I have a box with ubuntu 6.06 with RTAI extensions installed and have one AcroMag board (for digital I/O) installed with a functioning driver. I want/need to install a second board (e.g., for analog I/O). I have also created /dev/apc_0 through which I talk to my board. I can create a /dev/apc_1 node, but I don't know how to determine / assign / map a /dev entry to a specific board. That is, how can I determine/specify that /dev/apc_0 is connected to the digital board, and that /dev/apc_1 is the analog board?

Of course, if there is something that I should read (RTFM!), please point me in that direction as well. (I have looked in the O'Reilly book(s), but haven't found it).

Any and all help appreciated!

/bc.

brokenCollie 01-05-2007 09:55 AM

I think I figured it out...nevermind... but thanks!
 
Thank you for the brain cells spent on this one, but I think I have an answer -- I was a bit confused about devices/boards/drivers... That has been cleared up.

Thanks for your attention.

-bc.


All times are GMT -5. The time now is 04:09 AM.