LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 05-23-2006, 12:09 PM   #1
dogalmity
LQ Newbie
 
Registered: May 2006
Posts: 20

Rep: Reputation: 0
want to monkey with the framebuffer drivers


Hey folks,

I want to mess with the framebuffer drivers in Fedora Core 5 and then recompile. What package has the source for these. Any resources for this?

Thanks,
Nathan
 
Old 05-23-2006, 12:33 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964
kernel-devel contains the kernel source
 
Old 05-23-2006, 01:00 PM   #3
dogalmity
LQ Newbie
 
Registered: May 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Much grass.
 
Old 05-23-2006, 02:12 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964
heh, i like that... may well steal it.

Chairs.
 
Old 05-23-2006, 04:32 PM   #5
dogalmity
LQ Newbie
 
Registered: May 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Ok I think I was actually looking for the vga16fb business. vga16fb.c and such. I want to mess with the fillrect function. Whats that in?

Thanks again.
 
Old 05-23-2006, 06:37 PM   #6
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
The generic, software fillrect is here:

/usr/src/linux/drivers/video/cfbfillrect.c

Handy tip: I find "gid" an extremely helpful tool for spelunking through the kernel source:

1. Install the Gnu id-utils package
2. cd /usr/src/linux
<= FOR EXAMPLE, IF YOU WANT TO USE "GID" ON THE KERNEL SOURCE
3. mkid
<= THIS WILL INDEX THE ENTIRE KERNEL TREE
4. gid fb_fillrect | less
<= THIS LED ME TO "cfb_fillrect", WHICH LED ME TO "cfbfillrect.c"

'Hope that helps .. PSM

PS:
The xorg (X windows) source is also a handy thing to have around for this kind of adventuring ;-)

Last edited by paulsm4; 05-23-2006 at 06:39 PM.
 
Old 06-02-2006, 04:55 PM   #7
dogalmity
LQ Newbie
 
Registered: May 2006
Posts: 20

Original Poster
Rep: Reputation: 0
gid

Thanks the tip on gid, its bigtime helpful.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VESA framebuffer vs Intel framebuffer in Slackware 10.0 with default kernel brancalessio Slackware 3 01-20-2005 03:21 PM
framebuffer vs nvidia drivers mrvikki Linux - Software 1 03-30-2004 02:35 PM
Kill the monkey! weblion LQ Suggestions & Feedback 21 04-28-2003 03:10 PM
Spank the Monkey cli_man General 23 04-23-2003 02:31 PM
ever punched the monkey? acid_kewpie General 6 04-08-2002 04:55 PM


All times are GMT -5. The time now is 03:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration