~ubuntu-branches/debian/experimental/libmtp/experimental

« back to all changes in this revision

Viewing changes to src/music-players.h

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2012-06-16 10:39:41 UTC
  • mfrom: (0.2.7) (16.1.27 sid)
  • Revision ID: package-import@ubuntu.com-20120616103941-u61e72y10244eo9e
Tags: 1.1.3-24-g9aca343-1
* New upstream snapshot 1.1.3-24-g9aca343.
* Replace dh-autotools_dev with dh-autoreconf.
  - Build-Depends on dh-autoreconf, gnulib.
  - Install config.rpath by hand.
* Drop {1001-kfreebsd_hurd_ftbfs,1002-fix_libusb_checks}.patch,
  applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
343
343
  // Added by Greg Fitzgerald <netzdamon@gmail.com>
344
344
  { "Samsung", 0x04e8, "SAMSUNG Trance", 0x6763,
345
345
      DEVICE_FLAG_UNLOAD_DRIVER |
346
 
      DEVICE_FLAG_NO_ZERO_READS |
 
346
     DEVICE_FLAG_NO_ZERO_READS |
347
347
      DEVICE_FLAG_PLAYLIST_SPL_V1 },
348
348
  // From anonymous sourceforge user
349
349
  // Guessing on .spl flag, maybe needs NO_ZERO_READS, whatdoIknow
355
355
      "Galaxy Nexus/Galaxy S i9000/i9250, Android 4.0 updates", 0x685c,
356
356
      DEVICE_FLAGS_ANDROID_BUGS |
357
357
      DEVICE_FLAG_PLAYLIST_SPL_V2 },
358
 
  // From: Ignacio Martínez <ignacio.martinezrivera@yahoo.es>
359
 
  // It seems that some PTP commands are broken.
360
 
  // Galaxy S2 has a connection timeout, the session must be
361
 
  // open in about 3 seconds since the device is plugged in, after
362
 
  // that time it will not respond.
363
 
  // Seems also to be used with Galaxy Nexus debug mode and on
364
 
  // US markets for some weird reason.
 
358
  // Reported by David Goodenough <dfgdga@users.sourceforge.net>
 
359
  // Guessing on flags.
 
360
  { "Samsung", 0x04e8, "Galaxy Y", 0x685e,
 
361
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
 
362
      DEVICE_FLAG_UNLOAD_DRIVER |
 
363
      DEVICE_FLAG_LONG_TIMEOUT |
 
364
      DEVICE_FLAG_PROPLIST_OVERRIDES_OI },
 
365
  /*
 
366
   * This entry (device 0x6860) seems to be used on a *lot* of Samsung
 
367
   * Android (gingerbread, 2.3) phones. It is *not* the Android MTP stack
 
368
   * but an internal Samsung stack.
 
369
   *
 
370
   * Popular devices: Galaxy S2 and S3.
 
371
   *
 
372
   * - It seems that some PTP commands are broken.
 
373
   * - Devices seem to have a connection timeout, the session must be
 
374
   *   open in about 3 seconds since the device is plugged in, after
 
375
   *   that time it will not respond. Thus GUI programs work fine.
 
376
   * - Seems also to be used with Galaxy Nexus debug mode and on
 
377
   *   US markets for some weird reason.
 
378
   *
 
379
   * From: Ignacio Martínez <ignacio.martinezrivera@yahoo.es> and others
 
380
   */
365
381
  { "Samsung", 0x04e8,
366
 
      "GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note", 0x6860,
 
382
      "GT P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab 7.7/10.1/S2/S3/Nexus/Note/Y", 0x6860,
367
383
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
368
384
      DEVICE_FLAG_UNLOAD_DRIVER |
369
385
      DEVICE_FLAG_LONG_TIMEOUT |
370
 
      DEVICE_FLAG_BROKEN_GET_OBJECT_INFO },
 
386
      DEVICE_FLAG_PROPLIST_OVERRIDES_OI },
371
387
  // Note: ID 0x6865 is some PTP mode! Don't add it.
372
388
  // From: Erik Berglund <erikjber@users.sourceforge.net>
373
389
  // Logs indicate this needs DEVICE_FLAG_NO_ZERO_READS
380
396
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
381
397
      DEVICE_FLAG_UNLOAD_DRIVER |
382
398
      DEVICE_FLAG_LONG_TIMEOUT |
383
 
      DEVICE_FLAG_BROKEN_GET_OBJECT_INFO },
 
399
      DEVICE_FLAG_PROPLIST_OVERRIDES_OI },
384
400
  // From: John Gorkos <ab0oo@users.sourceforge.net> and
385
401
  // Akos Maroy <darkeye@users.sourceforge.net>
386
402
  { "Samsung", 0x04e8, "Vibrant SGH-T959/Captivate/Media player mode", 0x68a9,
840
856
      DEVICE_FLAGS_ANDROID_BUGS },
841
857
  // Reported by anonymous sourceforge user
842
858
  { "Archos", 0x0e79, "101 G9 Turbo", 0x1539, DEVICE_FLAGS_ANDROID_BUGS },
 
859
  // Reported by anonymous sourceforge user
 
860
  { "Archos", 0x0e79, "70it2", 0x1568, DEVICE_FLAGS_ANDROID_BUGS },
843
861
 
844
862
  /*
845
863
   * Dunlop (OEM of EGOMAN ltd?) reported by Nanomad
983
1001
  // Symbian phone
984
1002
  { "Nokia", 0x0421, "C7", 0x03c1, DEVICE_FLAG_NONE },
985
1003
  // Reported by Anonymous SourceForge user
 
1004
  { "Nokia", 0x0421, "C7 (ID2)", 0x03cd, DEVICE_FLAG_NONE },
 
1005
  // Reported by Anonymous SourceForge user
986
1006
  { "Nokia", 0x0421, "N950", 0x03d2, DEVICE_FLAG_NONE },
987
1007
  // From: http://nds2.nokia.com/files/support/global/phones/software/Nokia_3250_WMP10_driver.inf
988
1008
  { "Nokia", 0x0421, "3250 Mobile Phone", 0x0462, DEVICE_FLAG_NONE },
1169
1189
  { "Cowon", 0x0e21, "iAudio X7 (MTP mode)", 0x0931,
1170
1190
   DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
1171
1191
   DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
 
1192
  // Reported by anonymous SourceForge user
 
1193
  { "Cowon", 0x0e21, "iAudio C2 (MTP mode)", 0x0941,
 
1194
   DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
 
1195
   DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
1172
1196
  { "Cowon", 0x0e21, "iAudio 10 (MTP mode)", 0x0952,
1173
1197
   DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
1174
1198
   DEVICE_FLAG_OGG_IS_UNKNOWN | DEVICE_FLAG_FLAC_IS_UNKNOWN },
1375
1399
      DEVICE_FLAG_IGNORE_HEADER_ERRORS |
1376
1400
      DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST |
1377
1401
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 
1402
  // Reported by Alejandro DC <Alejandro_DC@users.sourceforge.ne>
 
1403
  { "SonyEricsson", 0x0fce, "Xperia MK16i", 0x015a,
 
1404
      DEVICE_FLAG_IGNORE_HEADER_ERRORS |
 
1405
      DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST |
 
1406
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
1378
1407
  // Reported by <wealas@users.sourceforge.net>
1379
1408
  // Android with homebrew MTP stack, possibly Aricent
1380
1409
  { "SonyEricsson", 0x0fce, "ST18a Xperia Ray", 0x0161,
1390
1419
  // Reported by Paul Taylor
1391
1420
  { "SONY", 0x0fce, "Xperia S", 0x0169,
1392
1421
      DEVICE_FLAG_NO_ZERO_READS | DEVICE_FLAGS_ANDROID_BUGS },
 
1422
  // Reported by Ondra Lengal (blindly copied from Xperia S)
 
1423
  { "SONY", 0x0fce, "Xperia P", 0x0172,
 
1424
      DEVICE_FLAG_NO_ZERO_READS | DEVICE_FLAGS_ANDROID_BUGS },
1393
1425
  // Reported by Jonas Nyrén <spectralmks@users.sourceforge.net>
1394
1426
  { "SonyEricsson", 0x0fce, "W302", 0x10c8,
1395
1427
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
1399
1431
      DEVICE_FLAG_IGNORE_HEADER_ERRORS |
1400
1432
      DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST |
1401
1433
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 
1434
  // Reported by Eduard Bloch <blade@debian.org>
 
1435
  // Xperia Ray (2012), SE Android 2.3.4, flags from ST18a
 
1436
  { "SonyEricsson", 0x0fce, "ST18i Xperia Ray", 0x5161,
 
1437
      DEVICE_FLAG_IGNORE_HEADER_ERRORS |
 
1438
      DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST |
 
1439
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
1402
1440
  // Reported by Anonymous Sourceforge user
1403
1441
  { "SonyEricsson", 0x0fce,  "j10i (Elm)", 0xd144,
1404
1442
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
1415
1453
  { "Motorola", 0x22b8, "V3m/V750 verizon", 0x2a65,
1416
1454
      DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST |
1417
1455
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
 
1456
  // Reported by Jader Rodrigues Simoes <jadersimoes@users.sourceforge.net>
 
1457
  { "Motorola", 0x22b8, "Xoom 2 Media Edition (ID2)", 0x41cf,
 
1458
      DEVICE_FLAGS_ANDROID_BUGS },
1418
1459
  // Reported by Steven Roemen <sdroemen@users.sourceforge.net>
1419
1460
  { "Motorola", 0x22b8, "Droid X/MB525 (Defy)", 0x41d6,
1420
1461
      DEVICE_FLAG_NONE },
1421
1462
  // Reported by anonymous user
1422
1463
  { "Motorola", 0x22b8, "Milestone / Verizon Droid", 0x41dc,
1423
 
      DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST |
1424
 
      DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST |
1425
 
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
1426
 
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 
1464
      DEVICE_FLAGS_ANDROID_BUGS },
1427
1465
  // Reported by anonymous user
1428
1466
  { "Motorola", 0x22b8, "DROID2", 0x42a7,
1429
 
      DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST |
1430
 
      DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST |
1431
 
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
1432
 
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 
1467
      DEVICE_FLAGS_ANDROID_BUGS },
1433
1468
  { "Motorola", 0x22b8, "Xoom 2 Media Edition", 0x4311,
1434
 
      DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST |
1435
 
      DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST |
1436
 
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL |
1437
 
      DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST },
 
1469
      DEVICE_FLAGS_ANDROID_BUGS },
1438
1470
  // Reported by Marcus Meissner to libptp2
1439
1471
  { "Motorola", 0x22b8, "IdeaPad K1", 0x4811,
1440
1472
      DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
1482
1514
  // Another OEM for Medion
1483
1515
  { "Google Inc (for Medion)", 0x18d1, "MD99000 (P9514)", 0xb00a,
1484
1516
      DEVICE_FLAGS_ANDROID_BUGS },
 
1517
  // Reported by Frederik Himpe <fhimpe@telenet.be>
 
1518
  { "Google Inc (for LG Electronics)", 0x18d1, "P990/Optimus (Cyanogen)",
 
1519
      0xd109, DEVICE_FLAGS_ANDROID_BUGS },
1485
1520
  { "Google Inc (for LG Electronics)", 0x18d1, "P990/Optimus", 0xd10a,
1486
1521
      DEVICE_FLAGS_ANDROID_BUGS },
1487
1522
 
1595
1630
  /*
1596
1631
   * Asus
1597
1632
   */
 
1633
  // Reported by Glen Overby
 
1634
  { "Asus", 0x0b05, "TF300 Transformer", 0x4c80,
 
1635
      DEVICE_FLAGS_ANDROID_BUGS },
1598
1636
  // Reported by anonymous Sourceforge user
1599
1637
  { "Asus", 0x0b05, "TF201 Transformer Prime (keyboard dock)", 0x4d00,
1600
1638
      DEVICE_FLAGS_ANDROID_BUGS },
1655
1693
  { "nVidia", 0x0955, "CM9-Adam", 0x70a9, DEVICE_FLAGS_ANDROID_BUGS },
1656
1694
 
1657
1695
  /*
 
1696
   * Vizio
 
1697
   */
 
1698
  // Reported by Michael Gurski <gurski@users.sourceforge.net>
 
1699
  { "Vizio", 0x0489, "VTAB1008", 0xe040, DEVICE_FLAGS_ANDROID_BUGS },
 
1700
 
 
1701
  /*
1658
1702
   * Other strange stuff.
1659
1703
   */
1660
1704
  { "Isabella", 0x0b20, "Her Prototype", 0xddee, DEVICE_FLAG_NONE }