Hi chiachen,

I use mknod in the .sh file I use to load the module. The device appears on
the list under /dev however all operations to write to it fail.

Thanks, Sam

2010/1/8 chiachen <[email protected]>

> Dear Sam Carter,
>
> Maybe you have not "mknod" , so the /dev/myDevice could not be found.
>
>
> Sincerely yours,
> chiachen
> [email protected]
> 2010-01-08
>
> ======= 2010-01-07 09:31, your message: 'No such device or address' when
> writing to device driver=======
>
> Hi all,
>
> I'm trying to write a simple char driver following the 'Linux Device
> Drivers' book from O' Reilly. My driver appears in /proc/devices and under
> lsmod. I've been trying to register the device fops table so I can
> read/write to it, however when I try to cat some data to it in /dev/myDevice
> I get the error 'No such device or address'.. The device does appear on the
> list with ls /dev/.
>
> Can anyone help me find the source of this problem? Thanks in advance.
>
> Sam
>
>
> = = = = = = = = = = = = = = = = = = = =
>

Reply via email to