View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Sep 16, 2007 2:06 pm 
Offline
Joined: Tue Nov 23, 2004 12:49 am
Posts: 15
Good afternoon all,

So I've finally gotten around to trying to install R5F27, and I must say it's a fantastic installer and makes life very easy. However I ran to to a slight snag when rebooting and attempting to use my wintv-350, there doesn't seem to be a Screen entry in the xorg config file.

/var/log/Xorg.0.log shows:
Code:
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux mythtv 2.6.18-chw-13 #1 SMP PREEMPT Sat Jun 2 21:06:06 PDT 2007 i686
Build Date: 04 April 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 16 13:06:13 2007
(==) Using config file: "/etc/X11/xorg.conf"
Data incomplete in file /etc/X11/xorg.conf
        At least one Device section is required.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor


/etc/X11/xorg.conf shows:
Code:
Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "TV Screen" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"

EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi:unscaled"
        FontPath     "/usr/share/fonts/X11/100dpi:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/share/fonts/X11/Speedo"
        FontPath     "/usr/share/fonts/X11/PEX"
# Additional fonts: Locale, Gimp, TTF...
        FontPath     "/usr/share/fonts/X11/cyrillic"
#       FontPath     "/usr/share/fonts/X11/latin2/75dpi"
#       FontPath     "/usr/share/fonts/X11/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath     "/usr/share/fonts/truetype"
        FontPath     "/usr/share/fonts/latex-ttf-fonts"
EndSection

Section "Module"
# Comments: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346408
        Load  "dbe" # Double Buffering Extension, very important.
        Load  "dri" # This shouldn't be available choice if user has selected driver vga, vesa or nv.
        Load  "glx" # GLX Extension.
        Load  "freetype" # Freetype fonts.
        Load  "type1"  # Type 1 fonts
        Load  "record" # Developer extension, usually not needed
#       Load  "extmod" # This is okay, but if you look into "man xorg.conf" you'll find option NOT to include DGA extension with extmod, and for a good reason.. DGA causes instability as it access v
ideoram without consulting X about it.
        SubSection      "extmod"
                Option          "omit xfree86-dga"
        EndSubSection
#       Load  "speedo" # Speedo fonts, this module doesn't exist in Xorg 7.0.17
# The following are deprecated/unstable/unneeded in Xorg 7.0
#       Load  "ddc"  # ddc probing of monitor, this should be never present, as it gets automatically loaded.
#       Load  "GLcore" # This should be never present, as it gets automatically loaded.
#       Load  "bitmap" # Should be never present, as it gets automatically loaded. This is a font module, and loading it in xorg.conf makes X try to load it twice.
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us"

EndSection

Section "InputDevice"
        Identifier  "Serial Mouse"
        Driver      "mouse"
        Option      "Protocol" "Microsoft"
        Option      "Device" "/dev/ttyS0"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option      "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier  "PS/2 Mouse"
        Driver      "mouse"
        Option      "Protocol" "auto"
Option          "ZAxisMapping"          "4 5"
        Option      "Device" "/dev/psaux"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option      "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option          "SendCoreEvents"        "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

# Auto-generated by KNOPPIX mkxf86config


Now I wonder if this might be because I have two 350s in the box and the installer got confused?

Anyhow have any ideas why this didn't detect correctly?

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 16, 2007 4:13 pm 
Offline
Joined: Sun Mar 05, 2006 11:27 am
Posts: 44
Location: Edinburgh, Scotland
It could well be the multiple cards.
If possible can you post the output from the following commands
Code:
lspci | grep iTVC15
and
Code:
modprobe ivtvfb
cat /proc/fb
These are used by the setup script and it is possible that the output is different with multiple cards and causing something unexpected to happen.

I can then do a bit of investigation.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 1:04 pm 
Offline
Joined: Tue Nov 23, 2004 12:49 am
Posts: 15
Code:
root@mythtv:/# lspci | grep iTVC15
00:09.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
00:0a.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)


Code:
root@mythtv:/# cat /proc/fb
0 cx23415 TV out
1 cx23415 TV out


Hmm, unfortunately they looks like they're the same revision, which is interesting in itself, because they're about 2 years apart in age. You can actually see a physical difference in the cards, the older one has a metal shield around the coax inputs about twice as large as the newer one (I hope I have that the right way around).

Anyhow, thanks for the assistance and code digging.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 19, 2007 3:52 pm 
Offline
Joined: Sun Mar 05, 2006 11:27 am
Posts: 44
Location: Edinburgh, Scotland
Thanks for the info.

Yes I believe the script is confused by the two cards. I think this is an unusual combination.

I have an experimental script that I am in the middle of preparing with the intention of improving support for PAL based 350 cards, however it also fixes a couple of other minor issues with the current script - hopefully including the one you are experiencing. So far this version has only been tried with my PAL card and not at all with an NTSC card, so there is a risk that it will not work as expected. Where there is more than one 350 card, it relies on the frame buffer numbers being allocated in the same order as the cards are reported by lspci. I can change this if it does not work.

Keep a copy of the old script in case anything goes wrong.
Code:
mv /usr/local/bin/setup_350a.sh /usr/local/bin/setup_350a.sh.orig

Fetch and run the replacement script
Code:
cd /usr/local/bin
wget http://www.babblefish.pwp.blueyonder.co.uk/knoppmyth/scripts/R5F27/setup_350a.sh
chmod a+x setup_350a.sh
setup_350.sh

I would be interested to know if running this works with your configuration.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu