MythGeneral
/dev minor device numbers
Having problems with figuring out which hardware device gets assigned to
which minor numbers under /dev/video*. Apparently the rules are
something on the order of:
1) Order in which the kernel finds the hardware
--) if USB module gets loaded before the PCI bus is scanned, it will
find any USB devices first and assign them the next available.
2) Order of the boards physically installed in the PCI slots.
(NOTE: this is why in my system my HD-3000 wins the /dev/video0 (81:0)
device instead of the PVR-350, which gets pushed all the way up
to /dev/video3 (81:3))
3) Forget this .... move to 'udev'
4) Even udev having problems with the interaction between the PVR-350 and HD-3000 cards. Both are apparently fighting for /dev/video32. So make a udev rule for one (or the other) and force it to /dev/video33. Not sure what the PVR-350 needs the /dev/video32 device for ????
5) My udev 10-local.rules file for MythTV with HD-3000 and PVR-350
SYSFS{dev}="81:0" SUBSYSTEM="video4linux" , NAME="video0"
SYSFS{dev}="81:1" SUBSYSTEM="video4linux", NAME="video32"
SYSFS{dev}="81:2" SYSFS{model}="Labtec Webcam Pro", NAME="webcam0"
SYSFS{dev}="81:3" SUBSYSTEM="video4linux", NAME="video3"
SYSFS{dev}="81:32" SYSFS{name}="Vanilla iTVC15 card", NAME="video33"
SYSFS{dev}="4:67" SUBSYSTEM="tty", NAME="/dev/ledxmit0"
6) alsamixer settings: (vary the "Line" setting to get the TV audio at about the same level
as the music volume level)
master : 81
pcm : 81
line : 42
VIA DXS (all) : 100 specific to VIA mobo's
Figuring out how to deal with kernel modules
1) 'lsmod' to see what's currently loaded
2) 'modinfo' modname --> check out possible options to pass to this module
Modified Files
/etc/resolv.conf
/etc/hostname
/etc/modules.conf
/etc/inittab
/etc/init.d/bobo-local
//etc/init.d/myth-backend
etc/X11/XF86-Config4
/etc/X11/Xwrapper.config
~mythtv/.mythtv/lircrc
~mythtv/MythTV_BootUp.sh
~mythtv/.xinitrc
/lib/modules/ivtv-fw-dec.bin
/lib/modules/ivtv-fw-enc.bin
/etc/udev/rules.d/10-local.rules
/etc/udev/rules.d/10-local.permissions
update-rc.d xdm remove (do not run xdm session manager)
update-rc.d kdm remove (do not run kdm session manager)
Kernel Drivers
videodev (kernel builtin)
spgadev (LabTec WebCam)
ivtv (PVR-350 card)
cx8800 (HD-3000 card)
nvidia (mx440 card)
joydev (joystick)
LIRC Stuff
1) Make sure, when using the myth-ledxmit.sh script, that you really do start
off with a 'fresh' (uncompiled) copy of "lirc-0.7.0". It can't have been compiled!!!!
2) For testing IR-blaster, do the following (in a loop) watching with a DigiCam:
— /usr/local/lirc-ledxmit/bin/ledxmit-irsend SEND_ONCE JVC_RAW 2
ReCompile steps
1) recompile the kernel with the following required modules enabled:
--) joydev joystick driver
--) udev
--) video4linux
--) dvb
2) delete default kernel version of "msp3400.ko"
3) make install: ivtv drivers
4) make install: lirc drivers
5) make install: ledxmit drivers
6) make install: pcHDTV-2.0 drivers
7) make install: spca5xx drivers LabTec webcam
8) run NVIDIA-Linux-x86-1.0-7174-pkg1.run
QMYSQL3 driver not loaded error message
After trying to reload debian packages many,many times. This turned out
to be due to not having the env vars (QTDIR, PATH, LD_LIBRARY_PATH) set.
XvMC usage
1) invoke mythfrontend as: XVMC_DEBUG=2 mythfrontend
2) Debian: (create/edit): /usr/X11R6/lib/X11/XvMCConfig
Ubuntu: (create/edit): /etc/X11/XvMCConfig
3) if using the "nvidia" proprietary driver add the following line: /usr/X11R6/lib/libXvMCNVIDIA_dynamic.so.1
4) if using the "nv" open source driver add the following line: /usr/X11R6/lib/libXvMC.so
Sidebar
Login
TikiWiki assistant
To begin configuring Tiki, please login as admin.
To learn more, visit: http://tikiwiki.org.
For help, visit http://doc.tikiwiki.org.
