Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-24-2004, 10:59 AM
|
#1
|
Member
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897
Rep:
|
modules.conf tv card setup not loaded on startup
I don't know if I should blame it on the 2.6.3 kernal that I have recently installed or if I have made a stupid mistake, but I donīt know why my options bttv card=78 tuner=32 radio=1 that are stated in my modules.conf arnīt loaded.
My /etc/modules.conf
#TV Card
alias char-major-89 i2c-dev
alias char-major-81 bttv
options bttv card=78 tuner=32 radio=1
#Sound
alias sound-slot-0 snd_intel8x0
But the result is:
My dsmeg error
i2c /dev entries driver
Linux video capture interface: v1.00
bttv: driver version 0.9.12 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:01:0a.0, irq: 10, latency: 32, mmio: 0xd8000000
bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=003fffff [init]
bttv: readee error
bttv0: using tuner=-1
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: registered device video0
bttv0: registered device vbi0
Any ideas?
Adam
Last edited by jimdaworm; 02-24-2004 at 11:58 AM.
|
|
|
02-24-2004, 02:20 PM
|
#2
|
Member
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416
Rep:
|
Because 2.6.3 doesn't care about modules.conf - it has a new config file, modprobe.conf
Why'd they change the name? got me...
But put your options there and see if it works.
--Rounan
|
|
|
02-24-2004, 02:33 PM
|
#3
|
Member
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897
Original Poster
Rep:
|
Hey Rounan thanks for that! I will give it a go when I get home! It was confusing me a bit the fact that there was modprobe.conf and modules.conf!
Adam
|
|
|
02-25-2004, 11:35 AM
|
#4
|
Member
Registered: Jan 2004
Location: Vienna/Austria
Distribution: Slackware 10.0 (kernel 2.6.7)
Posts: 46
Rep:
|
Yes, all ex modules.conf settings now go into modprobe.conf, but modprobe.conf and modules.conf sytaxes are different.
Here's my part of modprobe.conf for the TV card:
# bttv
alias char-major-81 videodev
alias char-major-81-0 bttv
options bttv card=50 gbuffers=4 pll=1 vbibufs=4 bttv_gpio=1 autoload=1 latency=3
2 bttv_verbose=2 radio=1
options tuner type=5 pal=b
You probably don't need so much parameters, but just to give you an idea.
We meet again Jim? Eh?
Good luck,
|
|
|
02-25-2004, 12:06 PM
|
#5
|
Member
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897
Original Poster
Rep:
|
Hey Erol I just put exactly the same in the modprobe.conf and voila (dunno how to spell that) it worked! Sweet!
Yeah we meet again  Thanks again for all your help in the other thread... its great to have direct rendering!
Hey its going to be embarasing soon if I donīt start learning stuff!! With my number posts.
Hey I never understood this sort of thing:
Do you know of any good/basic explinations of how it works or how to figure out what numbers you need to put?? I know it somthing to do with how the kernal deals with things...
Adam
|
|
|
02-25-2004, 05:31 PM
|
#6
|
Member
Registered: Jan 2004
Location: Vienna/Austria
Distribution: Slackware 10.0 (kernel 2.6.7)
Posts: 46
Rep:
|
Well I'm no kernel expert either, but I would see it as naming convention for certain hardware types. It looks to me like addresses to whom kernel points to if it wants to do smth with certain hardware. And alias, is nothing else than shortcut to that address.
I guess the guys who know more than us will laugh when they read this, but it doesn't hurt to think a bit loud
Best regards,
Erol
|
|
|
02-25-2004, 06:53 PM
|
#7
|
Member
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416
Rep:
|
Well, I'm not laughing. Guess that means I don't know very much. Which we knew already.
Seems to me like you're setting up the 81st major character device (which are probably defined in the kernel) to use whatever device/driver you put next.
But that's a best guess.
--Rounan
|
|
|
02-26-2004, 11:21 AM
|
#8
|
Member
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897
Original Poster
Rep:
|
Hey Erol I know what you mean about feeling stupid! With all the stuff that the people in this forum know... lets just say a lot!
Mind you when I go to other forums (Not specilalised for linux) I feel kind of intelligent! Must be learning somthing!
I am going to read up on this char major thingee must be some info somewhere on it... if I can understand how it works... who knows maby I can try to explain it clearly to you!
Hey Rounan sounds like a feasibly idea... Still I guess I will have to try reading one of these manual things
Adam
|
|
|
02-28-2004, 06:07 AM
|
#9
|
Member
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897
Original Poster
Rep:
|
Hey I found this in the rute guide more or less expalins i
Hey I found this in the rute guide more or less expalins it:
18.3 Major and Minor Device Numbers
Devices are divided into sets called major device numbers. For instance, all SCSI disks are major number 8. Further, each individual device has a minor device number like /dev/sda, which is minor device 0. Major and minor device numbers identify the device to the kernel. The file name of the device is arbitrary and is chosen for convenience and consistency. You can see the major and minor device number ( 8, 0) in the ls listing for /dev/sda:
brw-rw---- 1 root disk 8, 0 May 5 1998 /dev/sda
Adam
|
|
|
02-28-2004, 07:55 AM
|
#10
|
Member
Registered: Jan 2004
Location: Vienna/Austria
Distribution: Slackware 10.0 (kernel 2.6.7)
Posts: 46
Rep:
|
alias char-major-81 videodev
alias char-major-81-0 bttv
hence the logic 81 is major for all videodev, but 81-0 is for bttv, a subset of videodev.
Well we thougt so? didn't we ?
Thanks jim!
|
|
|
02-28-2004, 10:44 AM
|
#11
|
Member
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897
Original Poster
Rep:
|
No worries... its cool to be able to put somthing back into this forum and help you understand somthing... especially after all that help you gave me with my direct rendering
Oh yeah now I just need to figure out where the numbers are kept! I guess there must be a table or somthing somwhere, probably in documents that come with the kernal or somthing.
Adam
Last edited by jimdaworm; 02-28-2004 at 10:47 AM.
|
|
|
All times are GMT -5. The time now is 10:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|