On Monday 15 November 2004 19:20, Hannes Bjurek wrote:
> When I created /dev/raw1394 with mknod dvgrab says:
> raw1394 - failed to get handle: Invalid argument.
> kino gives me error that module isn't loading or rw problems on
> /dev/raw1394 ------
> root@HanneZ:~# ls -l /dev/raw1394
> crw-rw-rw- 1 root root 171, 16 2004-11-15 22:33 /dev/raw1394
This is my /dev/raw1394 device. You might want to try a minor of 0.
crw-r--r-- 1 root root 171, 0 Feb 7 2004 /dev/raw1394
I really do not know if it actually works or not. I do not think I have
anything that would use the raw1394 device. Everything I have would
interface through sbp2 for the device level.
The text below is from the ieee1394_core.h file though that explains the
usage and assignments of the device minor numbers. Perhaps it will be of
some help.
Cheers,
James
/*
* CHARACTER DEVICE DISPATCHING
*
* All ieee1394 character device drivers share the same major number
* (major 171). The 256 minor numbers are allocated to the various
* task-specific interfaces (raw1394, video1394, dv1394, etc) in
* blocks of 16.
*
* The core ieee1394.o modules handles the initial open() for all
* character devices on major 171; it then dispatches to the
* appropriate task-specific driver.
*
* Minor device number block allocations:
*
* Block 0 ( 0- 15) raw1394
* Block 1 ( 16- 31) video1394
* Block 2 ( 32- 47) dv1394
*
* Blocks 3-14 free for future allocation
*
* Block 15 (240-255) reserved for drivers under development, etc.
*/
#define IEEE1394_MAJOR 171
#define IEEE1394_MINOR_BLOCK_RAW1394 0
#define IEEE1394_MINOR_BLOCK_VIDEO1394 1
#define IEEE1394_MINOR_BLOCK_DV1394 2
#define IEEE1394_MINOR_BLOCK_AMDTP 3
#define IEEE1394_MINOR_BLOCK_EXPERIMENTAL 15
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
Received on Tue Nov 16 02:08:20 2004
This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:50 CEST