{"action":"created","issue":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1375","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1375/labels{/name}","comments_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1375/comments","events_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1375/events","html_url":"https://github.com/QubesOS/qubes-issues/issues/1375","id":115039610,"number":1375,"title":"USB connected android phone does not show up as USB block device","user":{"login":"adrelanos","id":1985040,"avatar_url":"https://avatars.githubusercontent.com/u/1985040?v=3","gravatar_id":"","url":"https://api.github.com/users/adrelanos","html_url":"https://github.com/adrelanos","followers_url":"https://api.github.com/users/adrelanos/followers","following_url":"https://api.github.com/users/adrelanos/following{/other_user}","gists_url":"https://api.github.com/users/adrelanos/gists{/gist_id}","starred_url":"https://api.github.com/users/adrelanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrelanos/subscriptions","organizations_url":"https://api.github.com/users/adrelanos/orgs","repos_url":"https://api.github.com/users/adrelanos/repos","events_url":"https://api.github.com/users/adrelanos/events{/privacy}","received_events_url":"https://api.github.com/users/adrelanos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-04T12:11:04Z","updated_at":"2015-11-04T18:47:10Z","closed_at":null,"body":"Android has two settings:\r\n\r\n* connected as camera\r\n* connected as media device\r\n\r\n-----\r\n\r\n__connected as camera__\r\n\r\ndom0 journalctl\r\n```\r\nNov 04 12:55:34 dom0 kernel: usb 1-2: USB disconnect, device number 11\r\nNov 04 12:55:34 dom0 kernel: usb 1-2: new high-speed USB device number 12 using xhci_hcd\r\nNov 04 12:55:34 dom0 kernel: usb 1-2: New USB device found, idVendor=04e8, idProduct=6865\r\nNov 04 12:55:34 dom0 kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3\r\nNov 04 12:55:34 dom0 kernel: usb 1-2: Product: SAMSUNG_Android\r\nNov 04 12:55:34 dom0 kernel: usb 1-2: Manufacturer: SAMSUNG\r\nNov 04 12:55:34 dom0 kernel: usb 1-2: SerialNumber: 3ed09617\r\nNov 04 12:55:59 dom0 logger[16500]: /etc/xen/scripts/block-snapshot: remove XENBUS_PATH=backend/vbd/30/51712\r\nNov 04 12:55:59 dom0 logger[16521]: /etc/xen/scripts/block-snapshot: Device /dev/mapper/snapshot-fd02:29100454-fd02:29101166 still in use - not removing\r\nNov 04 12:56:25 dom0 PackageKit[15553]: daemon quit\r\n```\r\n\r\ndom0 `lsusb`\r\n```\r\nBus 004 Device 002: ID 8087:8000 Intel Corp. \r\nBus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\r\nBus 003 Device 002: ID 8087:8008 Intel Corp. \r\nBus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\r\nBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub\r\nBus 001 Device 005: ID 8087:07dc Intel Corp. \r\nBus 001 Device 008: ID 046d:c01e Logitech, Inc. MX518 Optical Mouse\r\nBus 001 Device 014: ID 04e8:6865 Samsung Electronics Co., Ltd GT-I9300 Phone [Galaxy S III] (PTP mode)\r\nBus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. Hub\r\nBus 001 Device 004: ID 046d:c31d Logitech, Inc. Media Keyboard K200\r\nBus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub\r\nBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\r\n```\r\n\r\n-----\r\n\r\n__connected as media device__\r\n\r\ndom0 journalctl\r\n```\r\nNov 04 12:57:15 dom0 kernel: usb 1-2: USB disconnect, device number 12\r\nNov 04 12:57:15 dom0 kernel: usb 1-2: new high-speed USB device number 13 using xhci_hcd\r\nNov 04 12:57:15 dom0 kernel: usb 1-2: New USB device found, idVendor=04e8, idProduct=6860\r\nNov 04 12:57:15 dom0 kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3\r\nNov 04 12:57:15 dom0 kernel: usb 1-2: Product: SAMSUNG_Android\r\nNov 04 12:57:15 dom0 kernel: usb 1-2: Manufacturer: SAMSUNG\r\nNov 04 12:57:15 dom0 kernel: usb 1-2: SerialNumber: 3ed09617\r\n```\r\n\r\ndom0 `lsusb`\r\n```\r\nBus 004 Device 002: ID 8087:8000 Intel Corp. \r\nBus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\r\nBus 003 Device 002: ID 8087:8008 Intel Corp. \r\nBus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\r\nBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub\r\nBus 001 Device 005: ID 8087:07dc Intel Corp. \r\nBus 001 Device 008: ID 046d:c01e Logitech, Inc. MX518 Optical Mouse\r\nBus 001 Device 013: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-I9300 Phone [Galaxy S III], GT-P7500 [Galaxy Tab 10.1] , GT-I9500 [Galaxy S 4]\r\nBus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. Hub\r\nBus 001 Device 004: ID 046d:c31d Logitech, Inc. Media Keyboard K200\r\nBus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub\r\nBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                                                                                               \r\n```\r\n\r\n-----\r\n\r\nEither way, the USB connected android phone does not show up as USB block device in Qubes VM Manager (QVMM). (Therefore cannot be attached to AppVMs, therefore the phone storage cannot be accessed using Qubes.)\r\n\r\nThe device also shows not up in `gparted`. (Restarted between changing modes.)"},"comment":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/comments/153827155","html_url":"https://github.com/QubesOS/qubes-issues/issues/1375#issuecomment-153827155","issue_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1375","id":153827155,"user":{"login":"adrelanos","id":1985040,"avatar_url":"https://avatars.githubusercontent.com/u/1985040?v=3","gravatar_id":"","url":"https://api.github.com/users/adrelanos","html_url":"https://github.com/adrelanos","followers_url":"https://api.github.com/users/adrelanos/followers","following_url":"https://api.github.com/users/adrelanos/following{/other_user}","gists_url":"https://api.github.com/users/adrelanos/gists{/gist_id}","starred_url":"https://api.github.com/users/adrelanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrelanos/subscriptions","organizations_url":"https://api.github.com/users/adrelanos/orgs","repos_url":"https://api.github.com/users/adrelanos/repos","events_url":"https://api.github.com/users/adrelanos/events{/privacy}","received_events_url":"https://api.github.com/users/adrelanos/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T18:47:10Z","updated_at":"2015-11-04T18:47:10Z","body":"> Not a Qubes issue.\r\n\r\nI think it is. On Debian systems last time I tried, the very same device worked out of the box. Not so on Qubes. So I think it's s usability issue.\r\n\r\n> Google switched to use MTP some time ago - you'll need simple-mtpfs installed and mtp libs.\r\n\r\nThese would have to be installed in dom0? This might work as a workaround, but is this a good, secure solution, long term? If it was (rather unlikely, I guess...), then we should install these packages by default, no?\r\n\r\nPerhaps #531 + #704 would be the proper fix for this ticket?"}}