# Re: Implementing new fb driver

- List: linux-fbdev
- 2 messages, 2 authors
- Page: https://ratatoskr.run/linux-fbdev/2008/07/13458552/t

## Re: Implementing new fb driver

- From: \<hidden\>
- Date: 2008-07-31 08:43:30 
- Message: https://ratatoskr.run/linux-fbdev/2008/07/13458552.md

```text


 > Hi there, I will be implementing a framebuffer driver for an internally
 > developed video adapter.
 > 
 > This adapter is able to change resolution and bit depth, has hardware
 > mouse support and bitblt acceleration. It will be for the ARM9
 > architecture (AHB bus).
 > 
 > The question is: is there an API to implement to give access to these
 > features? Which driver you think can be considered similar to take
 > inspiration from?
 > 
 > Sorry for the stupid questions but I\'d like to design a good interface
 > before beginning to hack... :)
 > 
 
There is a driver template called skeletonfb.c. It has extensive comments. Please use it as your template and report any problem (it should be up to date with API but something maybe missing).

A good example of working ARM fb driver is s3c2410fb driver.

Regards,
Krzysztof

----------------------------------------------------------------------
Najciekawsze miejsca w Polsce i na swiecie!
Zobacz >>> http://link.interia.pl/f1e60


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
```

## Re: Implementing new fb driver

- From: Alessio Sangalli \<hidden\>
- Date: 2008-09-16 22:58:30 
- Message: https://ratatoskr.run/linux-fbdev/2008/09/13458804.md

```text
krzysztof.h1@poczta.fm wrote:

>> Hi there, I will be implementing a framebuffer driver for an
>> internally developed video adapter.

> There is a driver template called skeletonfb.c. It has extensive
> comments. Please use it as your template and report any problem (it
> should be up to date with API but something maybe missing).
> 
> A good example of working ARM fb driver is s3c2410fb driver.


I have a question; this hardware supports (only) true color cursors. Is
the fb API unable to deal with this? I have read only 1-bit cursor
images are supported.

This said, I ma confused by the hw cursors calls, and I am not sure how
to proceed. Basically my hardware can store a number of cursor images,
enable or disable the cursor, and move the cursor at a specified
position. How do I implement that?

Thank you!
Alessio



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
```
