ILiad protocol: einkfb

From MobileRead
Jump to: navigation, search

Information gathered from displayMgr/src/displayMgr.c, contentLister/inc/cursor.h (which includes definitions from the yet-unreleased er0100_einkfb.h) and liberscribble/test/test.c

DISCLAIMER: The following information is not verified yet.

[edit] Commands

FBIO_IOCTL_BASE 'v' (major=118, 0x76)

Name ioctl_no generated_by parameter description (tentative)
FBIO_DISPLAYPARTIAL 0xfff - struct partial_display_update_info Partial display update
FBIO_DISPLAY 0x40087601 _IOW(FBIO_IOCTL_BASE, 1, struct display_update_info) struct display_update_info Update entire display
FBIO_ERASE_WHITE 0x40087602 _IOW(FBIO_IOCTL_BASE, 2, struct display_update_info) struct display_update_info Entire display goes blank
FBIO_DRAWPIXELS 0x40cc7603 _IOW(FBIO_IOCTL_BASE, 3, struct transfer_buffer) struct transfer_buffer Draw brush strokes (scribble)
FBIO_DRAW_BRUSH 0x400c7604 _IOW(FBIO_IOCTL_BASE, 4, struct brush_draw_info_obsolete) struct brush_draw_info_obsolete
FBIO_REDRAW 0x40087605 _IOW(FBIO_IOCTL_BASE, 5, struct display_update_info) struct display_update_info
FBIO_UPLOAD_WAVEFORM 0x40007606 _IOC(_IOC_WRITE, FBIO_IOCTL_BASE, 6, WAVEFORM_SIZE) ???
FBIO_UPLOAD_BRUSH 0x7607 _IO(FBIO_IOCTL_BASE, 7) ???
FBIO_DRAW_BUBBLE 0x400c7608 _IOW(FBIO_IOCTL_BASE, 8, struct brush_draw_info_obsolete) struct brush_draw_info_obsolete
FBIO_DRAW_BRUSH_GENERIC 0x40107609 _IOW(FBIO_IOCTL_BASE, 9, struct brush_draw_info) struct brush_draw_info
FBIO_START_PROGRESS_BAR 0x760a _IO(FBIO_IOCTL_BASE, 10) ???

To be completed :)


[edit] Links

[1] General article about linux drivers; explains what _IOW() does

[2] How to not invent kernel interfaces

Personal tools
Namespaces

Variants
Actions
Navigation
MobileRead Networks
Toolbox