[opensuse] modprobe question
On my machine I am running xawtv in corner of my screen in order to keep an eye on the program and switch to my TV screen if it starts to become interesting. When using Skype I want to use my webcam. I run xawtv with the instruction to use video1 (xawtv -c /dev/video1) and keep the Skype on video0. In order to achieve that I have to give a "#modprobe bttv" before using xawtv. I assume that there must an easier way to achieve that but did not find out the howto. Could somebody help me out? -- Linux User 183145 using LXDE on a Pentium IV , powered by openSUSE 11.3 (i586) Kernel: 2.6.36-rc8-33-desktop LXDE WM & KDE Development Platform: 4.5.2 (KDE 4.5.2) 17:39pm up 0:21, 2 users, load average: 1.17, 1.34, 0.95 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Thu, 21 Oct 2010, C. Brouerius van Nidek wrote:
On my machine I am running xawtv in corner of my screen in order to keep an eye on the program and switch to my TV screen if it starts to become interesting. When using Skype I want to use my webcam. I run xawtv with the instruction to use video1 (xawtv -c /dev/video1) and keep the Skype on video0. In order to achieve that I have to give a "#modprobe bttv" before using xawtv. I assume that there must an easier way to achieve that but did not find out the howto. Could somebody help me out?
Try alias char-major-81-1 bttv in /etc/modprobe.d/*-tv.conf HTH, -dnh -- Deep in the human unconcious is a pervasive need for a logical universe that makes sense. But the real universe is always one step beyond logic. -- from "The Sayings of Muad'Dib" by the Princess Irulan -- from "Dune" by Frank Herbert -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Thanks David, That worked. On Tuesday, October 26, 2010 01:56:14 am David Haller wrote:
Hello,
On Thu, 21 Oct 2010, C. Brouerius van Nidek wrote:
On my machine I am running xawtv in corner of my screen in order to keep an eye on the program and switch to my TV screen if it starts to become interesting. When using Skype I want to use my webcam. I run xawtv with the instruction to use video1 (xawtv -c /dev/video1) and keep the Skype on video0. In order to achieve that I have to give a "#modprobe bttv" before using xawtv. I assume that there must an easier way to achieve that but did not find out the howto. Could somebody help me out?
Try alias char-major-81-1 bttv in /etc/modprobe.d/*-tv.conf
HTH, -dnh
-- Linux User 183145 using LXDE on a Pentium IV , powered by openSUSE 11.3 (i586) Kernel: 2.6.36-rc8-34-desktop LXDE WM & KDE Development Platform: 4.5.2 (KDE 4.5.2) 07:35am up 9:36, 2 users, load average: 1.37, 1.22, 1.10 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, [Topposting repaired] On Tue, 26 Oct 2010, C. Brouerius van Nidek wrote:
On Tuesday, October 26, 2010 01:56:14 am David Haller wrote:
On Thu, 21 Oct 2010, C. Brouerius van Nidek wrote:
On my machine I am running xawtv in corner of my screen in order to keep an eye on the program and switch to my TV screen if it starts to become interesting. When using Skype I want to use my webcam. I run xawtv with the instruction to use video1 (xawtv -c /dev/video1) and keep the Skype on video0. In order to achieve that I have to give a "#modprobe bttv" before using xawtv. I assume that there must an easier way to achieve that but did not find out the howto. Could somebody help me out?
Try alias char-major-81-1 bttv in /etc/modprobe.d/*-tv.conf
Thanks David, That worked.
Wonderful. That alias tells the kernel, what module to use when something wants to use /dev/video1. As there are many modules that could be used, the kernel cannot determine which one by itself. Except try all of them (and that might cause trouble). The same problem applies for all devices that can have several backends, e.g. for SCSI-Hostadapters (how should the kernel know whether to load e.g. ahci, g_NCR5830 or aha7xxx for /dev/sda?), the sound-devices, etc. But usually, those are properly configured by yast, using hwinfo output (as do other distributions). Just have a look around /etc/modprobe.d/ for other stuff yast has configured for you, i.e. what other aliases (and options) were "autoconfigured" by yast using hwinfo. And ahci is so common now, that it's in the SUSE-kernel image (and not a module), and it doesn't seem to cause conflicts. Other modules might cause conflicts though, e.g. if I load any but the right driver with correct parameters for my ancient ISA soundcard and that driver then tries to access the card, the whole system locks up hard, so a "try all modules" approach does not work here. -dnh -- "When it works, it is just biding its time waiting for a more inconvenient time for it to fail." -- Joe Moore -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 10/25/2010 09:58 PM, David Haller wrote:
Wonderful. That alias tells the kernel, what module to use when something wants to use /dev/video1. As there are many modules that could be used, the kernel cannot determine which one by itself. Except try all of them (and that might cause trouble).
Ahh, it's good to have smart people on the list willing to help :) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
El 25/10/10 21:36, C. Brouerius van Nidek escribió:
Thanks David, That worked.
And while you are at it, fill a bug report, users are not supposed to do modprobe trickery, it should work right out of the box. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
C. Brouerius van Nidek
-
Cristian Rodríguez
-
David C. Rankin
-
David Haller