You can configure mm-pnp through its configuration file. This file defines the directories and device paths used for writing media databases and managing playback. It also defines parameters that control how content from specific device types is synchronized and stored.
The mm-pnp command line doesn't support any configuration options; you must use the configuration file to define any nondefault settings for multimedia services and to customize synchronization and database management for different device types. The configuration file offers a convenient way to change the behavior of mm-pnp without modifying and recompiling the code.
The configuration file is a text file with one setting defined per line. Each line consists of an option name, followed by the equal sign (=), followed by an option value. You can enter comments by starting lines with the number sign (#).
audio_device=snd:/dev/snd/pcmPreferredp qdb_mountpoint=/dev/qdb renderer_mountpoint=NULL pps_pub_root=/pps/qnx pps_qdb_root=/pps/qnx qdb_db_modifier=db_ sync_mountpoint=/dev/mmsync sync_max=5
[device_usb] sync_max=1 sync_path=/ sync_mask=0x4003 play_device=true db_directory=Filename::/fs/tmpfs/ db_schema=SchemaFile::/etc/mm/sql/mmsync.sql db_data_schema=DataSchemaFile::/etc/mm/sql/mmsync_data.sql
The global synchronization limit defined in the first section of the file applies over all type-specific synchronization limits defined in subsequent sections. For example, suppose you set sync_max to 5 in the first section but also to 3 in the device_usb section. If mm-pnp starts two synchronizations for USB devices while three synchronizations for other device types are in progress, the program won't start a third synchronization for a USB device. No more content from USB devices can be uploaded or played until one of the current synchronizations completes.