Version 5 (modified by 15 years ago) ( diff ) | ,
---|
Table of Contents
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.
Driver | Module Filename | Device Nodes | Depends on other modules |
Mainboard communications | mnbd-comm.ko | /dev/mnbd /dev/wt1 .. /dev/wt10 | |
USB Hub | isp1520.ko | i2c-mcf, i2c-core | |
Keypad/Beeper | max734x.ko | /dev/cardbeep | I2c-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.
Note:
See TracWiki
for help on using the wiki.