Thanks the tip, Jeff.
I've tried it. Nevertheless, it didn't work.
I point out nevertheless that even if i don't mention card=62 but
just "modprobe bttv", it provisionnally makes the job too. A "modprobe -v
bttv" just that it loads all the bttv relationned modules and, automatically,
the card 62.
as the following line shows :
unit0:~ # modprobe -v bttv
insmod /lib/modules/2.6.22.13-0.3-default/kernel/drivers/media/video/v4l1-compat.ko
insmod /lib/modules/2.6.22.13-0.3-default/kernel/drivers/media/video/v4l2-common.ko
insmod /lib/modules/2.6.22.13-0.3-default/kernel/drivers/media/video/videodev.ko
insmod /lib/modules/2.6.22.13-0.3-default/kernel/drivers/media/video/tveeprom.ko
insmod /lib/modules/2.6.22.13-0.3-default/kernel/drivers/media/video/btcx-risc.ko
insmod /lib/modules/2.6.22.13-0.3-default/kernel/drivers/i2c/algos/i2c-algo-bit.ko
bit_test=1
insmod /lib/modules/2.6.22.13-0.3-default/kernel/drivers/media/video/compat_ioctl32.ko
insmod /lib/modules/2.6.22.13-0.3-default/kernel/drivers/media/common/ir-common.ko
insmod /lib/modules/2.6.22.13-0.3-default/kernel/drivers/base/firmware_class.ko
insmod /lib/modules/2.6.22.13-0.3-default/kernel/drivers/media/video/video-buf.ko
insmod /lib/modules/2.6.22.13-0.3-default/kernel/drivers/media/video/bt8xx/bttv.ko
card=62
/etc/modprobe.d/tv is configured as follows (even before i issue the above
mentionned "modprobe bttv") :
alias char-major-81 videodev
options i2c-algo-bit bit_test=1
options bttv card=62
# YaST configured TV card
# lgGW.bJ31E5obFa9:Askey CPH061/ BESTBUY Easy TV (bt878)
alias char-major-81-0 bttv
alias char-major-81-1 off
alias char-major-81-2 off
alias char-major-81-3 off
I guess thus that the new file /etc/modrobe.d/bttv doesn't add anything to it.
Finally, this is the /etc/modprobe.conf file, before i apply "modprobe bttv".
After i apply it, the file remains unchanged.
#
# Copyright (c) 1996-2002 SuSE Linux AG Nuernberg, Germany.
# All rights reserved.
#
# Author: Hubert Mantel , 1996-2002
#
# Configuration file for loadable modules; used by modprobe
#
# Please don't edit this file. Place your settings into
# /etc/modprobe.conf.local instead.
#
#
########################################################################
# Aliases - specify your hardware
########################################################################
install eth0 /bin/true
install eth1 /bin/true
install tr0 /bin/true
install scsi_hostadapter /bin/true
install fb0 /bin/true
########################################################################
# only used for Mylex or Compaq Raid as module
########################################################################
install block-major-48 /bin/true
install block-major-49 /bin/true
install block-major-72 /bin/true
install block-major-73 /bin/true
########################################################################
# only needed for fifth and sixth IDE adaptor
########################################################################
install block-major-56 /bin/true
install block-major-57 /bin/true
########################################################################
# mouse (for older busmice)
########################################################################
install char-major-10 /bin/true
########################################################################
# If you want to use the new autofs4
########################################################################
alias autofs autofs4
########################################################################
# For parallel port devices, uncomment the following two lines and
# change "frpw" to the protocol type you use
########################################################################
# install paride /sbin/modprobe --ignore-install paride &&
{ /sbin/modprobe --ignore-install frpw; }
# remove paride { /sbin/modprobe -r --ignore-remove
frpw; } ; /sbin/modprobe -r --ignore-remove paride
########################################################################
# Options; these are examples; uncomment and modify the lines you need
########################################################################
# options cdu31a cdu31a_port=0x340 cdu31a_irq=0
# options aztcd aztcd=0x320
# options cm206 cm206=0x340,11
# options gscd gscd=0x340
# options mcdx mcdx=0x300,11
# options optcd optcd=0x340
# options sjcd sjcd_base=0x340
# options sonycd535 sonycd535=0x340
# options ne io=0x300 irq=5
# Use this if you have two cards:
# options ne io=0x300,0x320 irq=5,7
# options tulip options=0
# options 3c59x options=0
# options 3c501 io=0x280 irq=5
# options 3c503 io=0x280 irq=5 xcvr=0
# options 3c505 io=0x300 irq=10
# options 3c507 io=0x300 irq=10
# options 3c509 irq=10
# options at1700 io=0x260 irq=10
# options wd io=0x300 irq=10
# options smc9194 io=0x200 irq=10 ifport=0
# options e2100 io=0x300 irq=10 mem=0xd0000 xcvr=0
# options depca io=0x200 irq=7
# options ewrk3 io=0x300 irq=10
# options eexpress io=0x300 irq=10
# options hp io=0x300 irq=10
# options hp100 hp100_port=0x380
# options ac3200 io=0x300 irq=10 mem=0xd0000
# options de620 io=0x378 irq=7 bnc=1
# options ibmtr io=0xa20
# options arcnet io=0x300 irq=10 shmem=0xd0000
# options plip io=0x378 irq=7
# options eepro io=0x260 irq=10 mem=0x6000
# options eth16i io=0x2a0 irq=10
# options ni52 io=0x360 irq=9 memstart=0xd0000 memend=0xd4000
# options bttv pll=1 radio=0 card=0
# options tuner type=0
# options msp3400 once=1 simple=1
# install bttv /sbin/modprobe --ignore-install bttv && { /sbin/modprobe -k
tuner; /sbin/modprobe -k msp3400; }
#
install dummy0 /sbin/modprobe -o dummy0 --ignore-install dummy
install dummy1 /sbin/modprobe -o dummy1 --ignore-install dummy
remove dummy0 /sbin/modprobe -r -o dummy0 --ignore-remove dummy
remove dummy1 /sbin/modprobe -r -o dummy1 --ignore-remove dummy
########################################################################
# block dev aliases
########################################################################
install block-major-3 /bin/true
alias block-major-13 xd
alias block-major-15 cdu31a
alias block-major-16 gscd
alias block-major-17 optcd
alias block-major-18 sjcd
alias block-major-20 mcdx
install block-major-22 /bin/true
alias block-major-24 sonycd535
alias block-major-29 aztcd
alias block-major-32 cm206
install block-major-33 /bin/true
install block-major-34 /bin/true
# network block device
install block-major-43 /bin/true
alias block-major-45 pd
alias block-major-46 pcd
alias block-major-47 pf
########################################################################
# char dev aliases
########################################################################
install char-major-10-134 /bin/true
install char-major-10-135 /bin/true
alias char-major-10-175 agpgart
alias char-major-10-181 toshiba
alias char-major-10-250 sonypi
options sonypi minor=250
install char-major-15 /bin/true
alias char-major-19 cyclades
alias char-major-20 cyclades
install char-major-29 /bin/true
# alias char-major-43 hisax
# alias char-major-44 hisax
# alias char-major-45 hisax
install char-major-43 /bin/true
install char-major-44 /bin/true
install char-major-45 /bin/true
alias char-major-67 coda
alias char-major-75 specialix
alias char-major-76 specialix
alias char-major-81 videodev
install char-major-81-0 /bin/true
install char-major-81-1 /bin/true
install char-major-81-2 /bin/true
install char-major-81-3 /bin/true
alias char-major-89 i2c-dev
alias char-major-96 pt
alias char-major-97 pg
# remove this if sound is configured
install char-major-116 /bin/true
########################################################################
# ppp over ethernet
# the kernel 2.2 uses pppox
# the kernel 2.4 uses pppoe
########################################################################
alias char-major-144 pppoe
########################################################################
# IrDA
########################################################################
alias char-major-161 ircomm-tty
alias char-major-162 raw
########################################################################
# ISDN
########################################################################
install b1pci /bin/true
install c4 /bin/true
install sc /bin/true
install hisax /bin/true
install hisax_fcpcipnp /bin/true
install hfc4s8s_l1 /bin/true
install hysdn /bin/true
install pcbit /bin/true
install t1pci /bin/true
install divas /bin/true
install fcdsl /bin/true
install fcdsl2 /bin/true
install fcpci /bin/true
install fcpnp /bin/true
install fcdslsl /etc/sysconfig/isdn/scripts/hotplug_pci
########################################################################
# USB
########################################################################
install char-major-166 /bin/true
########################################################################
# Moxa Multiport Serial Boards
########################################################################
alias char-major-172 moxa
alias char-major-173 moxa
# options moxa type=2,,, baseaddr=0xdc000,,, numports=8,,,
alias char-major-174 mxser
alias char-major-175 mxser
# options mxser ioaddr=0x180
#alias char-major-180 usbcore
alias char-major-188 usbserial
alias char-major-212 /bin/true
alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-0064 binfmt_aout
alias binfmt-0008 binfmt_aout
alias iso9660 isofs
# alias tty-ldisc-7 6pack
install tty-ldisc-7 /bin/true
# alias ax0 mkiss
install ax0 /bin/true
# alias sp0 6pack
install sp0 /bin/true
alias slip0 slip
alias sl0 slip
alias slip1 slip
alias sl1 slip
########################################################################
# the kernel 2.2 uses ppp.o as ppp driver,
# the kernel 2.4 uses ppp_generic.o
########################################################################
alias ppp0 ppp_generic
alias ppp1 ppp_generic
alias plip0 plip
alias plip1 plip
# Tunnel interfaces
alias sit0 ipv6
alias gre0 ip_gre
alias ipip0 ipip
alias xfrm-type-2-50 esp4
alias xfrm-type-2-51 ah4
alias xfrm-type-2-108 ipcomp
alias xfrm-type-10-50 esp6
alias xfrm-type-10-51 ah6
alias xfrm-type-10-108 ipcomp6
# Linux-ABI
install binfmt_misc /sbin/modprobe --ignore-install binfmt_misc && { mount -t
binfmt_misc none /proc/sys/fs/binfmt_misc; }
remove binfmt_misc {
umount /proc/sys/fs/binfmt_misc; } ; /sbin/modprobe -r --ignore-remove
binfmt_misc
# NFS
alias nfs4 nfs
# rpc_pipefs
install rpc_pipefs /sbin/modprobe sunrpc
# we don't want ide-scsi handle CD drives [#242009]
options ide-scsi idescsi_nocd=1
# end of common part for modprobe.conf
# begin of i386 part for modprobe.conf
alias parport_lowlevel parport_pc
# options parport_pc io=0x378 irq=none,none
# If you have multiple parallel ports, specify them this way:
# options parport_pc io=0x378,0x278 irq=none,none
# Linux ACP modem (Mwave)
alias char-major-10-219 mwave
# options mwave dspirq=10 dspio=0x130 uartirq=3 uartio=0x2f8
# IBM thinkpad tpctl
# see /usr/share/doc/packages/tpctl/
alias char-major-10-170 thinkpad
# options thinkpad enable_smapi=0
# required for DRI support on SiS chips
options sisfb mode=none mem=12288
# ata_piix can't handle ICH6 in AHCI mode
install ata_piix /sbin/modprobe ahci 2>&1 |:; /sbin/modprobe --ignore-install
ata_piix
# end of i386 part for modprobe.conf
# please keep this at the end and add local modifications to
modules.conf.local
include /etc/modprobe.d
include /etc/modprobe.conf.local
There is a mention to a /bin/true executable file in this last one, where it
refers to . Would'nt the corruption reside there ?
alias char-major-81 videodev
install char-major-81-0 /bin/true
BRgds
Le Sunday 20 January 2008 08:25:28 Jeff Mahoney, vous avez écrit :
linux@tele2.be wrote:
Le Saturday 19 January 2008 18:31:55 Jeff Mahoney, vous avez écrit :
I wonder if the module self is guilty : whether with the 2.6.22.5
whether with the 2.6.22.13 kernel, a "modprobe bttv card=62" bash command
has the TV running again.
What happens is that if i do it thru Yast, in the 2.6.22.5 kernel, Yast
activates the image of the TV, if i do it thru Yast in the 2.6.22.13
kernel nothing happens.
Nevertheless, in both cases, the root/bash command "modprobe bttv
card=62" (or simply "modprobe bttv") makes it.
Nevertheless again, after a reboot, the process has to be rerun, and, of
course, this is lastening, ...
BRgds to all and Jeff.
Thanks for the feedback. The key here is that you need to specify the
card=62 parameter.
Can you file a bug against the YaST component for this? They'll probably
want a bit more information about your hardware that won't really
advance anything on this list. It'd be nice if the driver would
autodetect, but that should happen upstream.
In the interim, you can make this permanent by creating a file named
/etc/modprobe.d/bttv with "options bttv card=62" in it. That will cause
modprobe to use that option whenever you load the module. The actual
name of the file isn't important, but it does need to be in that directory.
-Jeff
--
Jeff Mahoney
SUSE Labs
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-kernel+help@opensuse.org