This pkg contains usb-moded profile config and config for setting default profile based on pmb_select. Signed-off-by: Clayton Craft <craftyguy@postmarketos.org> Signed-off-by: Clayton Craft <craftyguy@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6531>
16 lines
386 B
Text
16 lines
386 B
Text
# FunctionFS configuration
|
|
usb_functionfs_mode 0x1
|
|
usb_dev_path "/dev/mtp/ep0"
|
|
usb_epin_path "/dev/mtp/ep1"
|
|
usb_epout_path "/dev/mtp/ep2"
|
|
usb_epint_path "/dev/mtp/ep3"
|
|
usb_max_packet_size 0x200
|
|
|
|
# Prevent disconnection on cable status, managed by usb-moded
|
|
loop_on_disconnect 1
|
|
|
|
# Storage to expose over MTP
|
|
storage "/home" "Home" "rw"
|
|
|
|
manufacturer "postmarketOS"
|
|
product "Device"
|