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 |
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 |
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 |
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, |
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: Quote:
Adam |
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 |
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 |
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! :D 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 :study: :rolleyes: Adam |
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 |
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! |
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 :D
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 |
All times are GMT -5. The time now is 01:49 PM. |