Video Driver

Jun 16, 2005 3 Replies

I'm looking at integrating a 65545 vga graphics controller chip into an embedded linux platform. I'll need to write a driver for it, but I'm not sure where to start. It's a fairly common chip, so I suspect that there's probably a driver out there already. Where would I find the source code? Could anyone point me to some resources and writing video drivers?



Thanks



Dan


Dan,

It's a standard VGA chipset, so the linux kernel can talk directly to it in text mode. If you want graphics, then you'll need to use SVGALib, kernel framebuffer or an X server (i.e. XFree86, X.org) A quick google just showed up pre-written drivers for all of these, look for Chips & Technologies CT-65545.

regards,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: damion@snapgear.com SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web: http://www.snapgear.com~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Free Embedded Linux Distro at http://www.snapgear.org ---

text mode.

X

My understanding is that i need a kernel framebuffer and nano-X.

Chips &

This isn't an i386 platform, so I'll need source code. Where would I go about finding it? Sorry if the answer seems obvious.

Dan

text mode.

an X

I'm not familiar with nano-X, but that sounds like a useable solution.

Chips &

Actually, upon further searching, it looks like there isn't a kernel framebuffer driver, but SVGAlib and XFree86 are open source so you should be able to use driver code from either of them.

regards,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: damion@snapgear.com SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web: http://www.snapgear.com~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Free Embedded Linux Distro at http://www.snapgear.org ---

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required