wiki:Docs/Prog/Manual/DeviceSupport

Version 4 (modified by Don Wilson, 15 years ago) ( diff )

--

    Device Support

    Device Drivers

    Overview

    For testing some device drivers may be loaded or unloaded dynamically or a startup script may be used to automatically load the modules.

    DriverModule FilenameDevice NodesDepends on other modules
    Mainboard communicationsmnbd-comm.ko/dev/mnbd
    /dev/wt1 ..

    /dev/wt10
    USB Hubisp1520.koi2c-mcf, i2c-core
    Keypad/Beepermax734x.ko/dev/cardbeepI2c-mcf, i2c-core

    Device driver operation may be tested from command line for some functions, for example:

    # echo “A,B,C” > /dev/cardbeep <CR>
    

    Play notes A, B, and C on beeper. (refer to beeper section for more details)

    # echo “W” > /dev/wt1 <CR>
    

    Request weight from scale one.

    # cat < /dev/wt1 <CR>
    

    Display response to previous request from scale 1 as a weight structure converted to hexadecimal.

    Error: Failed to load processor Lineno
    No macro or processor named 'Lineno' found

    Top

    Note: See TracWiki for help on using the wiki.