Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 04-01-2005, 09:56 PM   #1
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
mknod minor

I have been messing around with tv out using my matrox card. The tutorial I mainly used said to use the command
mknod /dev/fusion/0 c 253 0
this worked for my older system using a 2.4 kernel(2.4 headers), but not my newer system using a 2.6(and 2.6 headers). For the newer system I had to use this command
mknod /dev/fusion/0 c 252 0 #notice the minor is a different number

notice the number, 252(I think this is the minor), where does that number come from?
Old 04-01-2005, 10:30 PM   #2
Senior Member
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0, RHEL5,6), CentOS, SuSE (10.x, 11.x, 12.2, 13.2), Solaris (8-10), Tru64, MacOS, Raspian
Posts: 1,137

Rep: Reputation: 65
Looks like on 2.4 you were creating a character device with a major number of 253 and, then, on 2.6 that changed to a major number of 252.

According to the "devices.txt" file in /usr/src/linux/Documentation, those number fall into the range, well, here's what's in the file:
                Allocated for local/experimental use.  For devices not
                assigned official numbers, these ranges should be
                used in order to avoid conflicting with future assignments.
You have to contact Matrox to find out why they changed major numbers. Perhaps they found that some other popular device manufacturer was using 252 under 2.6 before they got their driver ported/updated. Kinda hard to say why they changed it. Pity they didn't update their documentation/tutorial. Or, if that's a third-party tutorial, then that author never got it updated in time.
Old 04-01-2005, 10:34 PM   #3
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
thanks for the explanation.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HD / mknod issue fasta Debian 7 08-08-2006 12:39 AM
mknod Basel Linux From Scratch 1 09-03-2005 02:13 PM
mknod Infinite_Pizza Linux - Software 2 04-14-2005 08:59 PM
Mouse mknod major/minor numbers? BlurredWeasel Linux - Hardware 2 11-06-2003 02:22 PM
mknod watashiwaotaku7 Linux - Software 1 01-23-2003 10:11 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration