[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: xine error



Lei Yu wrote:

|> I have tried what you said below for the mouse, but I can only use 
|> the touch pad, the ps2 mouse is disabled, I could use both on Suse 
|> 9.1 before, do you know a way to do this?

Well, I'm glad that the touchpad is working. To use the PS2 mouse in
addition, you need to include a stanza for it in /etc/X11/XF86Config-4.
Something like this:

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

Once you have that stanza in place, you need to include a reference to
it in the ServerLayout section. Something like this:

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
        InputDevice     "TouchPad" "AlwaysCore"
EndSection

On my system at least, this yields access to both the touchpad and the
mouse.

|> Did what  you said for the dvd, still got error, it cannot find dvd. 
|>
|> I kept on have xine engine error
|>
|> "There is no input plugin available to handle 'dvd:/' Maybe MRL syntax
|> is wrong or file/stream source doesn't exist."

If not caused by absence of decryption libraries, this message often indicates
that something is amiss with the way that the device nodes are set up.
Xine comes with a nice utility call xine-check, which looks over your system to
see if it is set up properly for xine to do its work. Have you tried running that?
On my system (on which xine does a fine job of playing DVDs) the output of xine-check 
looks like this:

------------------------------------------------------------------------------------
[~] xine-check
Please be patient, this script may take a while to run...
[ good ] you're using Linux, doing specific tests
[ good ] looks like you have a /proc filesystem mounted.
[ good ] You seem to have a reasonable kernel version (2.6.9)
[ good ] intel compatible processor, checking MTRR support
[ good ] you have MTRR support and there are some ranges set.
[ good ] found the player at /usr/local/bin/xine
[ good ] /usr/local/bin/xine is in your PATH
[ good ] found /usr/local/bin/xine-config in your PATH
[ good ] plugin directory /usr/local/lib/xine/plugins/1.0.0 exists.
[ good ] found input plugins
[ good ] found demux plugins
[ good ] found decoder plugins
[ good ] found video_out plugins
[ good ] found audio_out plugins
[ good ] skin directory /usr/local/share/xine/skins exists.
[ good ] found logo in /usr/local/share/xine/skins
[ good ] I even found some skins.
[ good ] /dev/cdrom points to /dev/hdc
[ good ] /dev/dvd points to /dev/hdc
[ good ] DMA is enabled for your DVD drive
[ good ] found xvinfo: X-Video Extension version 2.2
[ good ] your Xv extension supports YV12 overlays (improves MPEG performance)
[ good ] your Xv extension supports YUY2 overlays
[ good ] Xv ports:  YUY2 UYVY YV12 I420
----------------------------------------------------------------------------------

I compiled Xine from source rather than using the Debian packages, hence all the 
references to the /usr/local/ directory. So that part of the output will be different
for you if you're using the Debian packages. But perhaps running the script will give 
you more information about what's wrong/missing in your setup. Watch especially for
what it says about symbolic links in the /dev/ directory. Once you have that information
you can check it against how xine is set up (for example just by looking at the file
~/.xine/config). A common setup would be for xine to expect to find the DVD on /dev/dvd,
which in turn would be a symbolic link pointing to the actual device-node (/dev/hdc 
or whatever). 

Jim



Reply to: