ďťż
 
 
   Debian 5.0 - xorg.conf i wyciszanie dźwięku domyślne
 
 

Tematy

 
    
 

 

 

 

Debian 5.0 - xorg.conf i wyciszanie dźwięku domyślne





bullseye - 20-03-2009 19:02
Witam.
Na dniach zainstalowałem Debiana 5.0 wraz z Gnomem.
I mam w sumie dwa nurtujące mnie pytania:lCzemu mój Xorg jest pusty praktycznie? Co zrobić by był poprawny? Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc105"
        Option                "XkbLayout"        "pl"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
EndSection

Section "Device"
        Identifier        "Configured Video Device"
EndSection

Section "Monitor"
        Identifier        "Configured Monitor"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Monitor                "Configured Monitor"
EndSection lspci:
00:00.0 Host bridge: nVidia Corporation nForce2 IGP2 (rev c1)
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
01:07.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S [Rhine-III] (rev 86)
01:08.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
02:00.0 VGA compatible controller: ATI Technologies Inc RV350 AS [Radeon 9550]
02:00.1 Display controller: ATI Technologies Inc RV350 AS [Radeon 9550] (Secondary) l
lCzemu po każdym ponownym uruchomieniu komputera system domyślnie wycisza i wyłącza dźwięk? Jest to trochę wkurzające i uciążliwe?l



silentwr - 20-03-2009 19:24
Poszukaj na forum o alsie i xorg'u jest bardzo dużo podobnych tematów wraz z rozwiązaniami.



Euzebiusz29 - 20-03-2009 19:35
Poszukaj jak radzi silentwr, ale zajrzy też do tego tematu klik



pavbaranov - 20-03-2009 19:44
Działa Ci Xorg? Jeśli tak, to czego chcesz? Jeśli nie - to zgłoś problem.
Jeśli chodzi o dźwięk - zobacz to co podpowiadają przedpiszący.



bullseye - 20-03-2009 20:44
Biore sie za czytanie :)
Dzieki za pomoc.

Nie do konca wiem czy dziala, szczegolnie sekcja z karta graficzna, bo co restart badz dwa cos w systemie pada dajac w rezultacie dziwna rozdzielczosc (Wide Screen zwezony do 17" kwadratu jakim jest moj monitor), strzelam ze to Xorg bo nic w nim nie ma, a zazwyczaj wyswietlalo sie (na Ubuntu chociazby) sekcja z grafika i monitorem. DirectRendering dziala i w sumie poza ta rozdzielczoscia co jakis czas wszystko dziala idealnie.



Euzebiusz29 - 20-03-2009 20:59
A sterowniki zainstalowałeś do nvidii? Jeśli jeszcze nie to polecam dział dla początkujących.



silentwr - 20-03-2009 21:04
Kolega ma Radeona. :P



bullseye - 20-03-2009 21:19
Hmm napisałem ze DirectRendering działa dajac w wyniku Yes, wiec sterownik zainstalowany, glxfears daje kolo 2000fps wiec to standart dla mojej karty :)



ilin - 20-03-2009 21:24
Wygeneruj sobie nowego xorg.conf za pomocą X -configure jak nie pomoze to go wyrzucisz.

Co do dzwięku to jak poustawiasz glośnosci wydaj z roota polecenie
alsactl store



bullseye - 21-03-2009 12:47
Wielkie dzieki za pomoc :)
Alsa działa poprawnie (tzn dzwiek odpala sie tak jak ustawilem).

Ale po zaladowaniu Xorga jak ponizej, srodowisko graficzne nie wstaje i nie mam pojecia czemu :(

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc105"
        Option                "XkbLayout"        "pl"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Files"
        RgbPath      "/etc/X11/rgb"
        ModulePath  "/usr/lib/xorg/modules"
        FontPath    "/usr/share/fonts/X11/misc"
        FontPath    "/usr/share/fonts/X11/cyrillic"
        FontPath    "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath    "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath    "/usr/share/fonts/X11/Type1"
        FontPath    "/usr/share/fonts/X11/100dpi"
        FontPath    "/usr/share/fonts/X11/75dpi"
        FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load  "glx"
        Load  "extmod"
        Load  "xtrap"
        Load  "record"
        Load  "GLcore"
        Load  "dbe"
        Load  "dri"
EndSection

Section "Monitor"
        #DisplaySize          340  270        # mm
        Identifier  "Monitor0"
        VendorName  "MAX"
        ModelName    "Belinea101728"
 ### Comment all HorizSync and VertRefresh values to use DDC:
        HorizSync    30.0 - 83.0
        VertRefresh  50.0 - 77.0
        Option            "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: [i]: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option    "NoAccel"                    # [<bool>]
        #Option    "SWcursor"                  # [<bool>]
        #Option    "Dac6Bit"                    # [<bool>]
        #Option    "Dac8Bit"                    # [<bool>]
        #Option    "BusType"                    # [<str>]
        #Option    "CPPIOMode"                  # [<bool>]
        #Option    "CPusecTimeout"              # [i]
        #Option    "AGPMode"                    # [i]
        #Option    "AGPFastWrite"              # [<bool>]
        #Option    "AGPSize"                    # [i]
        #Option    "GARTSize"                  # [i]
        #Option    "RingSize"                  # [i]
        #Option    "BufferSize"                # [i]
        #Option    "EnableDepthMoves"          # [<bool>]
        #Option    "EnablePageFlip"            # [<bool>]
        #Option    "NoBackBuffer"              # [<bool>]
        #Option    "DMAForXv"                  # [<bool>]
        #Option    "FBTexPercent"              # [i]
        #Option    "DepthBits"                  # [i]
        #Option    "PCIAPERSize"                # [i]
        #Option    "AccelDFS"                  # [<bool>]
        #Option    "DDCMode"                    # [<bool>]
        #Option    "IgnoreEDID"                # [<bool>]
        #Option    "DisplayPriority"            # [<str>]
        #Option    "PanelSize"                  # [<str>]
        #Option    "ForceMinDotClock"          # <freq>
        #Option    "ColorTiling"                # [<bool>]
        #Option    "VideoKey"                  # [i]
        #Option    "RageTheatreCrystal"        # [i]
        #Option    "RageTheatreTunerPort"        # [i]
        #Option    "RageTheatreCompositePort"        # [i]
        #Option    "RageTheatreSVideoPort"        # [i]
        #Option    "TunerType"                  # [i]
        #Option    "RageTheatreMicrocPath"        # <str>
        #Option    "RageTheatreMicrocType"        # <str>
        #Option    "ScalerWidth"                # [i]
        #Option    "RenderAccel"                # [<bool>]
        #Option    "SubPixelOrder"              # [<str>]
        #Option    "ShowCache"                  # [<bool>]
        #Option    "DynamicClocks"              # [<bool>]
        #Option    "VGAAccess"                  # [<bool>]
        #Option    "ReverseDDC"                # [<bool>]
        #Option    "LVDSProbePLL"              # [<bool>]
        #Option    "AccelMethod"                # <str>
        #Option    "DRI"                        # [<bool>]
        #Option    "ConnectorTable"            # <str>
        #Option    "DefaultConnectorTable"        # [<bool>]
        #Option    "DefaultTMDSPLL"            # [<bool>]
        #Option    "TVDACLoadDetect"            # [<bool>]
        #Option    "ForceTVOut"                # [<bool>]
        #Option    "TVStandard"                # <str>
        #Option    "IgnoreLidStatus"            # [<bool>]
        #Option    "DefaultTVDACAdj"            # [<bool>]
        #Option    "Int10"                      # [<bool>]
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName  "RV350 AS [Radeon 9550]"
        BusID      "PCI:2:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection



ilin - 21-03-2009 12:56
Wszystko co ma # jest pomijane przy czytaniu configa przez system.
Mozesz wywalić .
Natomiast czasami coś sie przydaje więc jest pod ręką wystarczy odhaczyć dlatego ja bym u siebie nie kasował ale jeśli lubisz porządek to nic nie stoi na przeszkodzie. :)



bullseye - 21-03-2009 12:59
Wiec zostawie wszystko z #, moze kiedys sie faktycznie przyda.
Zmienilem troche tresc posta po restarcie.



ilin - 21-03-2009 13:06
Nie wstaje powiadasz ?

Poszukaj przyczyny w /var/log/Xorg.0.log



bullseye - 21-03-2009 13:15
Z tego co zrozumialem, nie mam zidentyfikowanej klawiatury, oraz problem ze znalezieniem monitora.
X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-10)
Current Operating System: Linux Debian5.0.0-Desktop 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686
Build Date: 09 January 2009  02:57:16AM
 
        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: Sat Mar 21 13:11:45 2009
(==) Using config file: "/etc/X11/xorg.conf"
Data incomplete in file /etc/X11/xorg.conf
        Undefined InputDevice "Keyboard0" referenced by ServerLayout "X.org Configured".
(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 Jako ze sam chce cos zrobic, powiedz czy dobrze kombinuje z klawiszami.
Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc105"
        Option                "XkbLayout"        "pl"
EndSection Wdg mnie musze w ServerLayout" zamiast Keyboard0 wpisac "generic Keyboard" jak w sekcji InputDevice ?
Ale z monitorem to nie wiem co zrobic:( Mniemam ze musze zamienic nazwe z Screen0 na Monitor0 badz odwrotnie ale nie wiem na 100% tego, i wole poczekac na opowiedz :)



sidjestgit - 21-03-2009 13:32
a tak?

Section "ServerLayout"
    Identifier    "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection Section "InputDevice"
    # generated from default
    Identifier    "Keyboard0"
    Driver        "kbd"
    Option          "XkbRules"        "xorg"
    Option          "XkbModel"        "pc105"
    Option          "XkbLayout"        "pl"
    Option          "XkbVariant"        "nodeadkeys"
EndSection



silentwr - 21-03-2009 13:36
Ja zrobiłbym odwrotnie, czyli zamienił
Section "InputDevice"
    Identifier    "Generic Keyboard" na
Section "InputDevice"
    Identifier    "Keyboard0" Ale mogę się co do tego mylić. :P



bullseye - 23-03-2009 15:27
Własnie tak zamieniłem i klawisze działaja. Problem został z monitorem i nie wlączającym sie srodowiskiem graficznym.
Ma ktos pomysł co jest nie tak i jak go naprawic?:)



silentwr - 23-03-2009 16:27
Jaki masz błąd po wykonaniu startx?
Pokaż też zawartość /var/log/Xorg.0.log



bullseye - 23-03-2009 16:56
Czytaj wczesniejsze posty, tam jest zawartosc Xorg.0.log



silentwr - 23-03-2009 17:41
Owszem jest log, ale jeszcze z błędami, z którymi się uporałeś - klawiatura, teraz na pewno wygląda inaczej.



bullseye - 23-03-2009 18:07
Dziwne w tym momencie po zmienie tej jednej linijki wszystko smiga.
Ale problem z rozdzielczoscia został, tzn co ktorys z koleji restart sama sie zmienia na 1280x800, i trzeba ponownie komputer uruchamiac nie wiem czemu?
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • minister.pev.pl

  •  

     


     

     
    Copyright 2003. MĂłj serwis