Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi,
--- Quote Start --- I've "THINK" I have properly requested four minor numbers for my driver. When I open "/dev/mine1" and try and do the mmap from user space the mmap function IS NOT entered!! So, I'm figuring I have done something incorrectly when doing the cdev_add and the driver funtions are not properly being pointed to --- but it looks like what Rubini has... --- Quote End --- What error code does the 'mmap' return ? It seems that you can open "/dev/mine1", so please check it in your function 'mine_open'. Kazu