Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  [lastfm_scrobbler] plugin creates a *PANIC* when USB unplugs.
« previous next »
  • Print
Pages: [1]

Author Topic: [lastfm_scrobbler] plugin creates a *PANIC* when USB unplugs.  (Read 114 times)

Offline dhugas

  • Member
  • *
  • Posts: 15
[lastfm_scrobbler] plugin creates a *PANIC* when USB unplugs.
« on: May 18, 2022, 04:46:57 PM »
Hello,

I have trouble with the [lastfm_scrobbler] plugin. When it is running and the device is plugged via USB to the computer, the computer doesn't detect the device and it's inaccessible. If the USB is unplugged, it shows a *PANIC* mount: 0 error message. I can't unmount it before unplugging because the computer does not recognize the device. On the other hand, if [lastfm_scrobbler] is stopped and a USB pugged in, the computer detects the device, it can be mounted and files accessed. When it is unmounted and the USB unplugged, the device resumes its normal function.

The device is an xDuoo X3ii runing 2f71571c0a daily build, the last one as of today.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 728
Re: [lastfm_scrobbler] plugin creates a *PANIC* when USB unplugs.
« Reply #1 on: May 18, 2022, 10:22:41 PM »
Can you try the battery_bench plugin and see if you can connect to USB while it is running?
it uses a similar mechanism and should tell us if its the device failing to notify USB or the plugin
Logged

Offline dhugas

  • Member
  • *
  • Posts: 15
Re: [lastfm_scrobbler] plugin creates a *PANIC* when USB unplugs.
« Reply #2 on: May 19, 2022, 06:03:13 PM »
I have tried it and it has the same behavior. I've checked that lastfm_scrobbler is not running, I turn on battery_bench and when the USB is connected, the computer does not detect it and there is a *PANIC* mount:0 when I disconnect the USB. If battery_bench is not running and neither lastfm_scrobbler is, everything is fine.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 728
Re: [lastfm_scrobbler] plugin creates a *PANIC* when USB unplugs.
« Reply #3 on: May 19, 2022, 11:32:02 PM »
dhugas I think what this means is that the device is not sending USB events

could you try running Plugins>demos>cube and see if it exits on USB plug to see if maybe its just TSR plugins not getting events

« Last Edit: May 19, 2022, 11:40:09 PM by Bilgus »
Logged

Offline amachronic

  • Developer
  • Member
  • *
  • Posts: 189
Re: [lastfm_scrobbler] plugin creates a *PANIC* when USB unplugs.
« Reply #4 on: May 21, 2022, 10:20:14 AM »
*PANIC* mount:0 is from usb.c L265 so I can't see why the scrobbler would affect it... more likely it's noise from the usb unplug making the card detect look like the SD card is not present, possibly combined with a timing issue with the TSR threads.

dhugas is this panic reproducible or intermittent? and does it happen even if you disable the scrobbler?
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  [lastfm_scrobbler] plugin creates a *PANIC* when USB unplugs.
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.884 seconds with 19 queries.