Re: Some patches to luit

2003-08-17 Thread David Dawes
On Sun, Aug 17, 2003 at 04:28:52PM +0900, ITO Tsuyoshi wrote:
Hello,

[I am now not subscribing this list.  Please Cc to me if necessary.]

Excuse me for replying this late!  Thank you for committing the patch
to allow luit to be setuid'ed on FreeBSD (and probably other BSD-like
operating systems, but I am not sure):
  http://cvsweb.xfree86.org/cvsweb/xc/programs/luit/sys.c#rev1.8

The problem is: the fix is not sufficient on FreeBSD.  On FreeBSD,
BSD macro is defined in sys/param.h and the sys.c rev 1.8 fails to
find it.  I failed to notice it by now because of some silly mistakes
I made; please do not ask about it

Please consider applying the attached patch (sys.c.diff) against CVS
HEAD.  It solved the problem on my FreeBSD 4.8-RELEASE-p* environment.
I did not test it on a FreeBSD 5.x box because I do not have one.

I have written this patch according to:
  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-versions.html
and I hope it will not break the compilation on other operating
systems than FreeBSD.

I'll commit the patch.

Thanks.

David
--
David Dawes
Founder/committer/developer The XFree86 Project
www.XFree86.org/~dawes
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: pls give me some docs

2003-08-17 Thread Mike A. Harris
On Mon, 18 Aug 2003, [gb2312] Tao, Qian (Ì՝“ IES) wrote:

Date: Mon, 18 Aug 2003 08:54:24 +0800
From: [gb2312] \Tao, Qian (Ì՝“ IES)\ [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Content-Type: multipart/alternative;
   boundary=_=_NextPart_001_01C36523.44C3E4D5
Subject: pls give me some docs

I want to know how to write a linux driver for a graphic
card(like radeon,nvidia). I searched for a while,but there is
too little about the control flow and architect of a graphic
card's driver.

The docs that are available are included with XFree86 source 
code.  The best docs are the source itself (aside from the DESIGN 
doc and XAA-HOWTO et al.).

The technical specifications for Nvidia hardware are not
available to the general public at all, not even under NDA.

The technical specifications for most ATI video hardware are
available only under NDA to those who are employed to work
directly on XFree86 video driver work, and a small number of 
other people, such as some of the DRI project members et al.

If you're just starting out working on video drivers, you'll 
basically have to select hardware to which the specs are 
publically available to everyone, such as 3Dfx Voodoo 3, Banshee, 
Cyrix MediaGX, some older Intel boards, etc.

Video hardware vendors generally speaking do not allow public 
non-NDA access to video hardware documentation.

-- 
Mike A. Harris


___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


RE: [XFree86] Driver problem for RADEON 9100

2003-08-17 Thread Alexander Stohr
(WW) RADEON(0): monitor1: Using default hsync range of 28.00-33.00kHz
(WW) RADEON(0): monitor1: using default vrefresh range of 43.00-72.00Hz
(II) RADEON(0): Clock range:  20.00 to 350.00 MHz

(II) RADEON(0): Not using default mode 800x600 (hsync out of range)

(II) RADEON(0): Not using mode 800x600 (no mode of this name)
(--) RADEON(0): Virtual size is 640x480 (pitch 640)
(**) RADEON(0): *Mode 800x600
(**) RADEON(0): *Default mode 640x480: 25.2 MHz, 31.5 kHz, 60.0 Hz
(II) RADEON(0): Modeline 640x480   25.20  640 656 752 800  480 490 492 525
-hsync -vsync
(II) RADEON(0): Valid Clone Mode: 640x480
(II) RADEON(0): Total of 1 clone modes found 
 
(II) RADEON(0): Total number of valid DDC mode(s) found: 0
(WW) RADEON(0): Mode 800x600 is out of range.
(WW) RADEON(0): Valid modes must be between 320x200-0x0
(WW) RADEON(0): Mode 640x480 is out of range.
(WW) RADEON(0): Valid modes must be between 320x200-0x0
(II) RADEON(0): Total number of valid FP mode(s) found: 0
(EE) RADEON(0): No valid mode found for this DFP/LCD

(EE) Screen(s) found, but none have a usable configuration.

Let me say, there must be some driver problem.
I think the major problem for setting up a cloned
LCD/DFP mode is the lack of DDC detected modes
for the 2nd port, so the driver is unable to clone any mode at all.
 
i would like to pass that on to the experts.
i dont know if using a snapshot version of the drivers
or of X11 will help in any way.

-Original Message-
From: ddeki [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 17, 2003 17:50
To: [EMAIL PROTECTED]
Subject: [XFree86] Driver problem for RADEON 9100


Hi
 
I have a problem whit drivers for my graphic card RADEON 9100,
I tray whit ati and radeon drivers and still is the same problem.
The config and log file is attached.
Thanks
 
Dejan Bogoevski
Macedonia
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel