[Bug 1649313] Re: Mediascanner is not working
** Also affects: canonical-devices-system-image Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not working To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1649313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1649313] Re: Mediascanner is not working
I downloaded the latest image from ubuntu-touch/staging/ubuntu "OS Build Details" in system settings reports r85, 20161215 Unfortunately, I can't provide the output from system-image-cli because, since flashing this image, USB is broken. I can no longer get my desktop to recognize the USB port. It's as if the USB port is dead (lsusb doesn't find the device). Developer mode is on, and when I plug my Aquaris E5 into the same port using the same cable, it's recognized just fine. Anyway, after installing this image, the SD card is no longer recognized at all, no matter how many times I insert it. (The same card works fine in the E5.) I guess the problem is with the image from ubuntu-touch/staging/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1649313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1649313] Re: Mediascanner is not working
** Also affects: udisks2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1649313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1649313] Re: Mediascanner is not working
Victor: Looking over the output, I can't see any entry that would correspond to the SD card (all the mmcblk0p* entries are the internal flash. Is the SD card actually mounted and visible under /media/phablet? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1649313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1649313] Re: Mediascanner is not working
I just tried with OTA-14, and it works fine there too. However, the first time I inserted the card, it wasn't recognized. It was only after I ejected and re-inserted it that it was mounted. This may just be dodgy connectors in the card slot. I'll also try with image you linked to. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1649313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1649313] Re: Mediascanner is not working
@michihenning, yes indeed, it should work fine in all Vivid images, this bug only targets xenial for M10 though. If you want to reproduce it you can flash frieza using the channel in the bug description. This image comes with file manager and external devices pre-installed, however they're currently broken. I filed it against mediascanner because I though it could be related. ** Description changed: Story: looks like this is a well known bug but there wasn't a bug report - yet so I'm opening it. Mediascanner doesn't work in frieza_arm64 so - files in sdcards aren't detected. + yet so I'm opening it. Sdcards detection doesn't work in frieza_arm64. Environment: current build number: 99 device name: frieza_arm64 channel: ubuntu-touch/staging/ubuntu last update: 2016-12-12 12:21:18 version version: 99 version ubuntu: 20161210 version device: 20161014.0 version custom: 20161210 Steps: 1º Put some media files(songs,videos) on a sdcard 2º Install the sdcard in frieza 3º Open music app or music/video scopes Current result: music app reports no songs were found and music/video scopes don't show the media files either Expected result: all files from sdcard r other external devices should be detected ** Description changed: Story: looks like this is a well known bug but there wasn't a bug report yet so I'm opening it. Sdcards detection doesn't work in frieza_arm64. Environment: current build number: 99 device name: frieza_arm64 channel: ubuntu-touch/staging/ubuntu last update: 2016-12-12 12:21:18 version version: 99 version ubuntu: 20161210 version device: 20161014.0 version custom: 20161210 Steps: 1º Put some media files(songs,videos) on a sdcard 2º Install the sdcard in frieza 3º Open music app or music/video scopes Current result: music app reports no songs were found and music/video scopes don't show the media files either - Expected result: all files from sdcard r other external devices should + Expected result: all files from sdcard or other external devices should be detected -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1649313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1649313] Re: Mediascanner is not working
It could be just that the card slot is dirty or some such. I would also try a reboot. Possibly, some other low-level piece of machinery got stuck. At any rate, I don't think this is a mediascanner problem. If the card isn't mounted, mediascanner can't possibly see it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1649313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1649313] Re: Mediascanner is not working
Thanks @jamesh! Please find below the output of udisksctl dump with the card installed: https://pastebin.canonical.com/173676/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1649313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1649313] Re: Mediascanner is not working
I tried it with build 191 from ubuntu-touch/rc-proposed/bq-aquaris-pd.en. After inserting an SD card with a few music and image files, the music scope shows the tracks, and gallery app shows all the images on the card. I'm about to try with OTA 14. But I expect to see the same results. Can you install the file manager app from the store and check if you can see the card contents with that? If not, mediascanner is innocent; it can't see the card if it isn't mounted. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1649313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1649313] Re: Mediascanner is not working
Okay, so according to the log the only mounted volumes are "/", "/android/protect_f", "/android/data" and "/android/cache". It hasn't detected any mounts like "/media/phablet/something", which is where the SD card should be mounted. The fact that it listed some volumes indicates that it is successfully talking to the udisks2 daemon. So either (a) udisks2 has missed the SD card volume, or (b) it is being presented in a way that mediascanner2 ignores. To help debug this, could you provide the output of "udisksctl dump" from the device with the SD card inserted? That should help identify which is the case. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1649313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1649313] Re: Mediascanner is not working
Hi @jamesh 1. Here is the content of mediascanner log after installing my sdcard: https://pastebin.canonical.com/173543/ 2. From adb shell I get mediascanner-2.0 start/running, process 8728 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1649313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1649313] Re: Mediascanner is not working
I don't have access to this device, so it is a bit difficult to tell what is going on. The following would be helpful in debugging the problem: 1. could you attach the log file (~/.cache/upstart/mediascanner-2.0.log). 2. If you run "restart mediascanner-2.0" from the terminal or an "adb shell" session, does anything show up? If so, it might be an issue of detecting when new volumes are mounted at runtime, as opposed to volumes already mounted when the service starts. ** Package changed: mediascanner (Ubuntu) => mediascanner2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1649313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1649313] Re: Mediascanner is not working
** Summary changed: - mediascanner not working + Mediascanner is not working -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mediascanner/+bug/1649313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs