You are not logged in.

#1 2005-12-20 23:46:59

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Cannot edit xorg.conf.hwd(solved)

Procedure.....

#hwd -x
#cd /etc/X11
#nano xorg.conf.hwd..........modify file....ctl o..enter...ctl x
#cd enter

The modification of the file is not recognized if the file is then recalled by the procedure above.

Kernel 2.6.14.3

Does this mean that the copy obtained via hwd -x cannot be edited and be reflected back to the system?  It is identified as a "sample file".

The file in xorg.hwd is generated by the system and it would seem a "sample file" does not  modify the hwd of the system.

Is there an error here?   Confusedjavascript:emoticon(':?')


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2005-12-21 00:16:28

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Cannot edit xorg.conf.hwd(solved)

Ummm, it's a system file.  Are you sure you're editing it as root? Does it have writable permissions?  Try 'chmod 666 /etc/X11/xorg.conf.hwd'

Offline

#3 2005-12-21 00:26:49

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Cannot edit xorg.conf.hwd(solved)

I am addressing it as root.

Will retry after chmod. big_smile

Performed chmod 666 for the file.

Edited the hwd file again.

Recalled the hwd file and found it had not been edited.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2005-12-21 00:32:31

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Cannot edit xorg.conf.hwd(solved)

I bring up a further note...xorg is soon to be upgraded...what then?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2005-12-21 00:49:24

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: Cannot edit xorg.conf.hwd(solved)

I couldn't tell you the first thing about nano (I'm a vi kinda guy), but I can promise you that the file made with hwd -x is indeed usable.  It's how I have generated every xorg.conf file I have on any arch box.  As you can see, I'm able to munge it just fine (look at the filesizes in my two ls outputs).

[root@bukowski X11]# hwd -x
Generating /etc/X11/xorg.conf.hwd
Your sample file is ready.

[root@bukowski X11]# ls -l /etc/X11/xorg.conf.hwd 
-rw-r--r--  1 root root 12091 2005-12-20 05:46 /etc/X11/xorg.conf.hwd
[root@bukowski X11]# vi /etc/X11/xorg.conf.hwd 

...snip...

[root@bukowski X11]# ls -l /etc/X11/xorg.conf.hwd 
-rw-r--r--  1 root root 12120 2005-12-20 05:47 /etc/X11/xorg.conf.hwd

edited, just because.


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#6 2005-12-21 01:07:58

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Cannot edit xorg.conf.hwd(solved)

[root@n6re ~]# ls -l /etc/X11/xorg.conf.hwd
-rw-rw-rw-  1 root root 12102 2005-12-20 16:28 /etc/X11/xorg.conf.hwd
[root@n6re ~]# hwd -x
Your sample file is ready.

[root@n6re ~]# cd /etc/X11
[root@n6re X11]# nano xorg.conf.hwd
[root@n6re X11]# cd
[root@n6re ~]# ls -l /etc/X11/xorg.conf.hwd
-rw-rw-rw-  1 root root 12157 2005-12-20 17:00 /etc/X11/xorg.conf.hwd
[root@n6re ~]#


This data indicates that the file has been edited since the size has increased.  The exact data entered is not observable to check whether typos occurred or failure to enter all corrections.

Assumption is made (bad) that calling up the file hwd -x will reveal the new file params as edited.....wrong! ...it lists the "sample" file again which does not show the present state of xorg.

If the entries made by editing are not readable after edit has been accomplished, no "present state" data is provided.

How is such data accessed?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#7 2005-12-21 01:33:49

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Cannot edit xorg.conf.hwd(solved)

If all that can be accessed is a "sample" of xorg.hwd, how can I verify the correct xorg.conf is entered into the system when troubleshooting since the "sample" does not represent the parameters actually present in system?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#8 2005-12-21 02:14:13

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: Cannot edit xorg.conf.hwd(solved)

I don't think I'm understanding your question.  If you're asking how to put the changes you've made to your xorg.conf file into use, you have to change the name from xorg.conf.hwd to just xorg.conf.  If you have an existing xorg.conf, rename that one xorg.conf.old (or something similar) first, before doing this.  If you are running X currently, restart X to get the X server to reload it's configuration (usually ctrl+alt+backspace works) once you have made all of these changes.  Does this answer your question at all?


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#9 2005-12-21 02:56:44

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Cannot edit xorg.conf.hwd(solved)

Snarkout:
I think I have understood you to say that xorg.conf.hwd is provided to allow users to edit that file to their requirements.  The edit thusly made has to be placed in a new file, not merely "WRITE" , ENTER and "EXIT" which is done in all other "EDIT" instances. (WRITE= CTL  O ..."EXIT= CTL X in nano edit format).  Thus, this edit is a special case.

Therefore, one must perform a change when using nano edit, to establish the edited configuration in a new file, which might well be /etc/X11/xorg.conf as you state.  (your statement only refers to xorg.conf as being extant and that the file needs be renamed)

I have in my system /etc/X11/xorg.conf.hwd as entered by the kernel and do not know its actual configuration because it is not accessible except as a "sample".  The sample configuration is supposedly installed in my system and the config installed has an error in mouse config.

I have not found an xorg.conf file in my system other than the xorg.conf.hwd which is just the "sample" config.

Perhaps I need  a guiding hand to permit the xorg.conf file to be separated from the .hwd system.

If I should rename the "Sample" file to /etc/X11/xorg.conf, I surmise I could then EDIT the file in that location, but I still would not know what the actual configuration is "at present" to enable the correct changes to be made.  This can be done with the "mv" command, rename that is...

The only way to establish it is to use the "Sample" file as is (It looks correct) and enter it in the /etc/x11/folder as xorg.conf and reboot.

Upon reboot, call /etc/X11/xorg.conf to verify it exists, check the mouse for correct performance and EDIT the file as might be necessary if the mouse fails.

My system boots through X into KDE and I would expect the system to recognize the new xorg.conf file in /etc/X11.

Am I setting the right setup info now?  This procedure may be of interest to others if it solves my misunderstanding.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#10 2005-12-21 03:27:38

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Cannot edit xorg.conf.hwd(solved)

Performing the transfer of the "SAMPLE" xorg.conf.hwd to /etc/X11/xorg.conf with the "mv" command solved the mouse problem.

No editing was necessary but the system required the xorg.conf to be in /etc/X11/xorg.conf to respond correctly to the mouse.

Thanks for the help guys....

Merry Christmas all...got my present now!!!!!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#11 2005-12-21 03:48:35

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: Cannot edit xorg.conf.hwd(solved)

Awesome!  I think a large part of the problem we had communicating was a language barrier (though I may be wrong about that).  Looks like you figured it out on your own though.  Good work!


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#12 2005-12-21 03:52:02

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Cannot edit xorg.conf.hwd(solved)

Snarkout;

The awesome thing is that the Arch system performs as advertised even for addle-headed users like me!!!! lol


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#13 2005-12-21 05:02:38

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Cannot edit xorg.conf.hwd(solved)

Just a quick summary, I hope to clarify things for lilsirecho.

First, hwd -x does generate a 'sample' file (/etc/X11/xorg.conf.hwd) based on your hardware.   However, that's all it does.  hwd is just a hardware-checker; it doesn't care what you do with xorg.conf.hwd after it makes it.

Xorg is what needs the file to work, and it always looks for it at /etc/X11/xorg.conf (like you found out when you moved it).  So, when you had only xorg.conf.hwd, Xorg couldn't find your config -- when you mv'd it to /etc/X11/xorg.conf, everything became good.

I hope that clears it up a bit, and doesn't confuse ya. smile

Offline

#14 2005-12-21 05:25:55

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Cannot edit xorg.conf.hwd(solved)

cerebral;

Understand the arrangement well but how did the system function without the file /etc/X11/xorg.conf?  And it failed to operate the mouse scroll but everything else was good.  What file was operating the system.

The scroll became operable using the "Sample" file as installed in /etc/xorg.conf with no changes..no edits.

That file was there in the system all the time but I was unable to find it to discover why it didn't allow the mouse to scroll.

That was the crux of the problem.  Since the system could operate, xorg had to be installed somewhere!!!  I needed that file to edit and fix the problem.

The install of the same "Sample" file in /etc/X11/xorg.conf corrected the problem without changing any parameter.

Its like "how do you eat your cake and have it too".

The xorg had to be present somewhere...where?  I couldn't find it.

End of story....

Merry Christmas!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#15 2005-12-21 06:44:05

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Cannot edit xorg.conf.hwd(solved)

X will use default settings if no xorg.conf is supplied, IIRC.


I am a gated community.

Offline

#16 2005-12-21 07:03:16

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Cannot edit xorg.conf.hwd(solved)

In this case , xorg.conf.hwd is the default.....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB