'No such device or address' when writing to device driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: 'No such device or address' when writing to device driver
- From: Sam Carter <sam.w.carter@xxxxxxxxx>
- Date: Thu, 7 Jan 2010 01:31:20 +0000
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
[Index of Archives]
[Newbies FAQ]
[Linux Kernel Mentors]
[Linux Kernel Development]
[IETF Annouce]
[Git]
[Networking]
[Security]
[Bugtraq]
[Yosemite]
[MIPS Linux]
[ARM Linux]
[Linux RAID]
[Linux SCSI]
[Linux ACPI]