Re: [gentoo-user] Can't run `X -configure' successfully.

2006-06-12 Thread maxim wexler


--- gentuxx <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> maxim wexler wrote:
> >
> > --- gentuxx <[EMAIL PROTECTED]> wrote:
> >
> >> -BEGIN PGP SIGNED MESSAGE-
> >> Hash: SHA1
> >>
> >> Jason's recent inquiry about the alternate
> terminals
> >> caused me to
> >> revisit an issue that I've had for some time.
> >> AFAIK, I don't have an
> >> xorg.conf.  I've tried running `X -configure
> >
> > Don't know if it amounts to the same thing but
> have
> > you tried running xorgconfig? When it completes it
> > should write the xorg.conf file.
> >
> >
> >
> Well, it's obviously not the same thing. 

Ouch. Not obvious to me; that's why I mentioned it.

> `xorgconfig' seems to run
> fine.  However, it doesn't create a workable
> xorg.conf.  The problem
> that I get is that it can't "initialize the core
> devices".  Basically,
> it can't find my mouse.  When I ran `xorgconfig', I
> used the default
> for the location:  /dev/mouse.  It's obviously not
> hanging off of that
> /dev device.

How about /dev/psaux? That's what I'm using for a USB
Logitech optical type.



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't run `X -configure' successfully.

2006-06-12 Thread Alan McKinnon
On Monday 12 June 2006 03:10, gentuxx wrote:
> david wrote:
> > Try changing /dev/mouse
> > to
> > /dev/input/mice
> > or
> > /dev/psaux
>
> OK, that worked as far as getting a running config.  Now I just
> have to figure out what the scan rates are for my monitor.  

Most modern monitors report that to Xorg during start-up and it's in 
Xorg.0.log (easier than finding the manual). Example:

(II) RADEON(0): EDID data from the display on port 
2---
(II) RADEON(0): Manufacturer: SAM  Model: 2d  Serial#: 1095643449
[snip]
(II) RADEON(0): Ranges: V min: 50  V max: 160 Hz, H min: 30  H max: 85 
kHz, PixClock max 190 MHz


-- 
If only me, you and dead people understand hex, 
how many people understand hex?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't run `X -configure' successfully.

2006-06-11 Thread Richard Fish

On 6/11/06, gentuxx <[EMAIL PROTECTED]> wrote:


How do I know what is out of tree, and thus what needs to be rebuilt
when I recompile my kernel?  I'm using an older ATI Rage128
All-in-Wonder (with the TV tuner), and through this process, I've
re-emerged the ati-drivers.  But, is there an easy way to tell what
else *should* be recompiled?


You can 'emerge module-rebuild' and run that after each kernel
upgrade.  Although the typical symptom of needing to rebuild an
out-of-tree module is that something breaks on reboot! :->

For example, if have the 'fglrx' driver in your xorg.oconf, then you
are using ATI's proprietary driver, and when you upgrade to a new
kernel and reboot X will fail to start until you re-merge ati-drivers.
But if you are using the open source 'ati' or 'radeon' drivers, you
will not have a problem.

So module-rebuild is really meant to be run immediately after updating
the kernel, but before you reboot.

HTH,
-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't run `X -configure' successfully.

2006-06-11 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Richard Fish wrote:
> On 6/11/06, gentuxx <[EMAIL PROTECTED]> wrote:
>> While looking closely at /var/log/Xorg.0.log, I noticed that Xorg had
>> been built under a different kernel.  So, I re-emerged Xorg under the
>> new kernel.  Which spawns a tangential question:  How can I tell what
>> other programs on my system would benefit from being re-compiled under
>> the new kernel - instead of re-emerging world?
>
> Why do you think you need to remerge *anything* that is not a kernel
> module under a new kernel?  You must re-merge any proprietary graphics
> drivers that you are using, like nivida-kernel or ati-drivers, or
> other out of tree kernel modules (alsa-drivers, ipw, and so on),
> but there is no benefit at all to remerging xorg or any other program
> due to a new kernel.
>
> -Richard
Well, when it wasn't working, I was grasping at straws to find a
solution.  I noticed the difference between what kernel xorg was built
under and the current one, so I thought I would give it a shot.

How do I know what is out of tree, and thus what needs to be rebuilt
when I recompile my kernel?  I'm using an older ATI Rage128
All-in-Wonder (with the TV tuner), and through this process, I've
re-emerged the ati-drivers.  But, is there an easy way to tell what
else *should* be recompiled?

- --
gentux
echo "hfouvyyAhnbjm/dpn" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239  D840 4CF0 39E2
18D3 4A9E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEjNnxTPA54hjTSp4RAu0bAKCKuiQufVLZQZ0U6nJ4PVtwnELLsACguYSQ
jMaMjGt4pPeooiR124t82bs=
=XdHj
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't run `X -configure' successfully.

2006-06-11 Thread Richard Fish

On 6/11/06, gentuxx <[EMAIL PROTECTED]> wrote:

OK, that worked as far as getting a running config.  Now I just have
to figure out what the scan rates are for my monitor.  Is there anyway
to dump the config being used when there isn't a .conf file?  I seem
to have lost some screen real estate.  ;-)


xvidtune can help here, although generally with modern hardware there
is no need to specify scan rates at all in the xorg.conf file.  With
DDC monitors, X can detect what the available scan rates are.

If you post the Monitor, Device, and Screen sections from the
generated xorg.conf, we can probably give you better advice on these.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't run `X -configure' successfully.

2006-06-11 Thread Richard Fish

On 6/11/06, gentuxx <[EMAIL PROTECTED]> wrote:

While looking closely at /var/log/Xorg.0.log, I noticed that Xorg had
been built under a different kernel.  So, I re-emerged Xorg under the
new kernel.  Which spawns a tangential question:  How can I tell what
other programs on my system would benefit from being re-compiled under
the new kernel - instead of re-emerging world?


Why do you think you need to remerge *anything* that is not a kernel
module under a new kernel?  You must re-merge any proprietary graphics
drivers that you are using, like nivida-kernel or ati-drivers, or
other out of tree kernel modules (alsa-drivers, ipw, and so on),
but there is no benefit at all to remerging xorg or any other program
due to a new kernel.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't run `X -configure' successfully.

2006-06-11 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

david wrote:
> Try changing /dev/mouse
> to
> /dev/input/mice
> or
> /dev/psaux
OK, that worked as far as getting a running config.  Now I just have
to figure out what the scan rates are for my monitor.  Is there anyway
to dump the config being used when there isn't a .conf file?  I seem
to have lost some screen real estate.  ;-)

- --
gentux
echo "hfouvyyAhnbjm/dpn" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239  D840 4CF0 39E2
18D3 4A9E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEjL79TPA54hjTSp4RAu9lAKD00JSMcP0NhxUlE+GtBZUWb4NSIgCgqcFq
VieIzZOG5GDz4vb4Z43pJxA=
=hwMh
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't run `X -configure' successfully.

2006-06-11 Thread david

Try changing /dev/mouse
to
/dev/input/mice
or
/dev/psaux
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't run `X -configure' successfully.

2006-06-11 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

maxim wexler wrote:
>
> --- gentuxx <[EMAIL PROTECTED]> wrote:
>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Jason's recent inquiry about the alternate terminals
>> caused me to
>> revisit an issue that I've had for some time.
>> AFAIK, I don't have an
>> xorg.conf.  I've tried running `X -configure
>
> Don't know if it amounts to the same thing but have
> you tried running xorgconfig? When it completes it
> should write the xorg.conf file.
>
>
>
Well, it's obviously not the same thing.  `xorgconfig' seems to run
fine.  However, it doesn't create a workable xorg.conf.  The problem
that I get is that it can't "initialize the core devices".  Basically,
it can't find my mouse.  When I ran `xorgconfig', I used the default
for the location:  /dev/mouse.  It's obviously not hanging off of that
/dev device.

So when I move the xorg.conf file that was created to xorg.conf.old,
I'm able to start up gdm again, with the assumingly, same default
configuration.  How can I find where my mouse is, so I can tell
xorgconfig where to look?

- --
gentux
echo "hfouvyyAhnbjm/dpn" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239  D840 4CF0 39E2
18D3 4A9E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEjKIHTPA54hjTSp4RAodQAJ9qoIiXRsAEZXR8VF89qIWkIeSY/QCfdk44
o491EALoOby1NYa3BiIeNpk=
=poLv
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't run `X -configure' successfully.

2006-06-11 Thread maxim wexler


--- gentuxx <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Jason's recent inquiry about the alternate terminals
> caused me to
> revisit an issue that I've had for some time. 
> AFAIK, I don't have an
> xorg.conf.  I've tried running `X -configure

Don't know if it amounts to the same thing but have
you tried running xorgconfig? When it completes it
should write the xorg.conf file.



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't run `X -configure' successfully.

2006-06-11 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jason's recent inquiry about the alternate terminals caused me to
revisit an issue that I've had for some time.  AFAIK, I don't have an
xorg.conf.  I've tried running `X -configure -verbose' and it fails
with a "Signal 11".  There are a bunch of modules that have invalid
references, but none of them are the modules that should be used for
my video card.  I've looked at the xorg.conf.example, but can't really
make heads or tails of it in regards to my specific equipment.

Ironically, I have no problem running gdm, and then logging into KDE.
So I know Xorg is working, I assume with some sort of default
configuration.  But there are little things that don't quite jive.
One of them is the alternate terminals.  Another is the fact that my
4-button wheel mouse, isn't recognized as a wheel mouse.

While looking closely at /var/log/Xorg.0.log, I noticed that Xorg had
been built under a different kernel.  So, I re-emerged Xorg under the
new kernel.  Which spawns a tangential question:  How can I tell what
other programs on my system would benefit from being re-compiled under
the new kernel - instead of re-emerging world?  Unfortunately,
recompiling xorg under the new kernel didn't seem to make a difference
as far as generating a new conf file, but there are some notable
differences.  One is that gKrellm with the "glass 2" theme is no
longer clear.

So, if anyone could help with either the xorg.conf issue, or the
new-kernel-rebuild question, I'd appreciate it.

Thanks.

- --
gentux
echo "hfouvyyAhnbjm/dpn" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239  D840 4CF0 39E2
18D3 4A9E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEjIiFTPA54hjTSp4RArKNAKCRCcdjbBQs2RDSDlCU3wYlaxKn4QCg6AgU
sPT+miIO/x+B9jgQBrVjEV0=
=H8ss
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list