- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have problem to do an open in the /dev of my driver. I write a driver and i put its entry in the /dev thougth the File system in the NIOS ide ( i do a copy paste of another entry ...) Because when i use the mknod command i have an error! Any idea? Thanks OlivierLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you modify the major and minor numbers of the file you copied in the FS?
mknod is failing because the dev directory is read only. You can actually create your device file anywhere (it doesn't have to be in /dev that is just convention), so if /tmp is writable you could mknod there. Tuck
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page