Lines Matching full:printf

102 	printf("Supply some sane mtp-probe dir\n");  in main()
141 printf("# UDEV-style hotplug map for libmtp\n"); in main()
142 printf("# Put this file in /etc/udev/rules.d\n\n"); in main()
143 printf("ACTION!=\"add\", GOTO=\"libmtp_rules_end\"\n"); in main()
144 printf("ENV{MAJOR}!=\"?*\", GOTO=\"libmtp_rules_end\"\n"); in main()
145 printf("SUBSYSTEM==\"usb\", GOTO=\"libmtp_usb_rules\"\n" in main()
148 printf("# Some sensitive devices we surely don\'t wanna probe\n"); in main()
149 printf("# Color instruments\n"); in main()
150 printf("ATTR{idVendor}==\"0670\", GOTO=\"libmtp_rules_end\"\n"); in main()
151 printf("ATTR{idVendor}==\"0765\", GOTO=\"libmtp_rules_end\"\n"); in main()
152 printf("ATTR{idVendor}==\"085c\", GOTO=\"libmtp_rules_end\"\n"); in main()
153 printf("ATTR{idVendor}==\"0971\", GOTO=\"libmtp_rules_end\"\n"); in main()
154 printf("# Canon scanners that look like MTP devices (PID 0x22nn)\n"); in main()
155 printf("ATTR{idVendor}==\"04a9\", ATTR{idProduct}==\"22*\", GOTO=\"libmtp_rules_end\"\n"); in main()
156 printf("# Canon digital camera (EOS 3D) that looks like MTP device (PID 0x3113)\n"); in main()
157 printf("ATTR{idVendor}==\"04a9\", ATTR{idProduct}==\"3113\", GOTO=\"libmtp_rules_end\"\n"); in main()
158 printf("# Sensitive Atheros devices that look like MTP devices\n"); in main()
159 printf("ATTR{idVendor}==\"0cf3\", GOTO=\"libmtp_rules_end\"\n"); in main()
160 printf("# Sensitive Atmel JTAG programmers\n"); in main()
161 printf("ATTR{idVendor}==\"03eb\", GOTO=\"libmtp_rules_end\"\n"); in main()
162 printf("# Sensitive Philips device\n"); in main()
163 printf("ATTR{idVendor}==\"0471\", ATTR{idProduct}==\"083f\", GOTO=\"libmtp_rules_end\"\n"); in main()
166 printf("# UDEV-style hotplug map for libmtp\n"); in main()
167 printf("# Put this file in /etc/udev/rules.d\n\n"); in main()
168 printf("ACTION!=\"add\", GOTO=\"libmtp_rules_end\"\n"); in main()
169 printf("ENV{MAJOR}!=\"?*\", GOTO=\"libmtp_rules_end\"\n"); in main()
170 printf("SUBSYSTEM==\"usb_device\", GOTO=\"libmtp_usb_device_rules\"\n" in main()
175printf("# This usermap will call the script \"libmtp.sh\" whenever a known MTP device is attached.… in main()
178 printf("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?> <!-- -*- SGML -*- -->\n"); in main()
179 printf("<!-- This file was generated by %s - - fdi -->\n", argv[0]); in main()
180 printf("<deviceinfo version=\"0.2\">\n"); in main()
181 printf(" <device>\n"); in main()
182 printf(" <match key=\"info.subsystem\" string=\"usb\">\n"); in main()
185 printf("# usb.ids style device list from libmtp\n"); in main()
186 printf("# Compare: http://www.linux-usb.org/usb.ids\n"); in main()
189 printf("# hardware database file for libmtp supported devices\n"); in main()
199 printf("# %s %s\n", entry->vendor, entry->product); in main()
200printf("ATTR{idVendor}==\"%04x\", ATTR{idProduct}==\"%04x\", %s", entry->vendor_id, entry->product… in main()
201 if (udev_group != NULL) printf(", GROUP=\"%s\"", udev_group); in main()
202 if (udev_mode != NULL) printf(", MODE=\"%s\"", udev_mode); in main()
203 printf("\n"); in main()
206 printf("# %s %s\n", entry->vendor, entry->product); in main()
207printf("libmtp.sh 0x0003 0x%04x 0x%04x 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 … in main()
210 printf(" <!-- %s %s -->\n", entry->vendor, entry->product); in main()
211 printf(" <match key=\"usb.vendor_id\" int=\"0x%04x\">\n", entry->vendor_id); in main()
212 printf(" <match key=\"usb.product_id\" int=\"0x%04x\">\n", entry->product_id); in main()
214printf(" <match key=\"info.capabilities\" contains_not=\"portable_audio_player\">\n"); in main()
215printf(" <append key=\"info.capabilities\" type=\"strlist\">portable_audio_player</appe… in main()
216 printf(" </match>\n"); in main()
217printf(" <merge key=\"info.vendor\" type=\"string\">%s</merge>\n", entry->vendor); in main()
218printf(" <merge key=\"info.product\" type=\"string\">%s</merge>\n", entry->product); in main()
219printf(" <merge key=\"info.category\" type=\"string\">portable_audio_player</merge>\n"); in main()
220printf(" <merge key=\"portable_audio_player.access_method\" type=\"string\">user</merge>\… in main()
221printf(" <match key=\"portable_audio_player.access_method.protocols\" contains_not=\"mtp\… in main()
222printf(" <append key=\"portable_audio_player.access_method.protocols\" type=\"strlist\"… in main()
223 printf(" </match>\n"); in main()
224printf(" <append key=\"portable_audio_player.access_method.drivers\" type=\"strlist\">lib… in main()
226printf(" <match key=\"portable_audio_player.output_formats\" contains_not=\"audio/mpeg\">… in main()
227printf(" <append key=\"portable_audio_player.output_formats\" type=\"strlist\">audio/mp… in main()
228 printf(" </match>\n"); in main()
229printf(" <match key=\"portable_audio_player.output_formats\" contains_not=\"audio/x-ms-wm… in main()
230printf(" <append key=\"portable_audio_player.output_formats\" type=\"strlist\">audio/x-… in main()
231 printf(" </match>\n"); in main()
236printf(" <match key=\"portable_audio_player.output_formats\" contains_not=\"application/o… in main()
237printf(" <append key=\"portable_audio_player.output_formats\" type=\"strlist\">applicat… in main()
238 printf(" </match>\n"); in main()
240printf(" <merge key=\"portable_audio_player.libmtp.protocol\" type=\"string\">mtp</merge>… in main()
241 printf(" </match>\n"); in main()
242 printf(" </match>\n"); in main()
246 printf("%04x\n", entry->vendor_id); in main()
248 printf("\t%04x %s %s\n", entry->product_id, entry->vendor, entry->product); in main()
251 printf("# %s %s\n", entry->vendor, entry->product); in main()
252 printf("usb:v%04xp%04x*\n", entry->vendor_id, entry->product_id); in main()
253 printf(" ID_MEDIA_PLAYER=1\n"); in main()
254 printf(" ID_MTP_DEVICE=1\n"); in main()
255 printf("\n"); in main()
261 printf("Error.\n"); in main()
276 printf("\n# Autoprobe vendor-specific, communication and PTP devices\n"); in main()
277printf("ENV{ID_MTP_DEVICE}!=\"1\", ENV{MTP_NO_PROBE}!=\"1\", ENV{COLOR_MEASUREMENT_DEVICE}!=\"1\",… in main()
278 if (udev_group != NULL) printf(", GROUP=\"%s\"", udev_group); in main()
279 if (udev_mode != NULL) printf(", MODE=\"%s\"", udev_mode); in main()
280 printf("\n"); in main()
281 printf("\nLABEL=\"libmtp_rules_end\"\n"); in main()
284 printf(" </match>\n"); in main()
285 printf(" </device>\n"); in main()
286 printf("</deviceinfo>\n"); in main()
289 printf("\n"); in main()