Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

poileafrire

macrumors newbie
Original poster
May 9, 2006
2
0
Hi all,

I'm new on Mac. I have to develop a user-application using specific device.
I have some Linux C code.
I just need to find the path (/dev/??) of these devices.
Any software ? Any tuto ?

Thanks for your anser.
 

mrichmon

macrumors 6502a
Jun 17, 2003
873
3
poileafrire said:
Hi all,

I'm new on Mac. I have to develop a user-application using specific device.
I have some Linux C code.
I just need to find the path (/dev/??) of these devices.
Any software ? Any tuto ?

There are significant differences between linux and OS X device paths, major and minor device numbers and even some of the sematics of interacting with the devices represented by /dev files.

The simple answer to finding the path is to cd into /dev and have a look for the dev file you need. The more realistic answer is that you need to understand how /dev "files" work and the mechanics of working with these devices.

Good luck with you application, but based on your questions I suspect there is a massive knowledge gap between where you are now and what you need to know to build this application.
 

poileafrire

macrumors newbie
Original poster
May 9, 2006
2
0
Yes, sure. There is a real big gap ... I used to work on Linux, but it's the first time i use a Mac ... and i start by creating a kind of driver.

Not easy to change my abits.

Thanks for your ansers.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.