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
| |-+  Hardware
| | |-+  Sansa Clip + USB issues
« previous next »
  • Print
Pages: [1]

Author Topic: Sansa Clip + USB issues  (Read 5926 times)

Offline oblivion

  • Member
  • *
  • Posts: 4
Sansa Clip + USB issues
« on: October 24, 2012, 05:41:26 AM »
Currently running v7292254-120617 in the hope that sticking with recent builds will eventually fix this, but I'm starting to wonder if the problem might be something else...

If I connect my Clip + to my (32-bit Win7) PC without forcing a connect with the OF,  the player powers up, shows the currently playing track momentarily, puts up the USB graphic then, after maybe a second, crashes thusly:

Code: [Select]
Undefined instruction
bt pc: 0000003C, sp: :
bt end

I'm sure USB connectivity worked okay for a while, at least. But I find it difficult to believe that it's broken after it was eventually got working -- could it be something else doing this? Some odd setting, maybe related to a theme or something?

Logged

Offline cs96and

  • Member
  • *
  • Posts: 31
Re: Sansa Clip + USB issues
« Reply #1 on: October 25, 2012, 08:37:31 AM »
I just upgraded to 3.12 hoping the USB issues had been fixed on the Clip+ but it seems not.

The first time I plugged it in (from a powered off state), no drives appeared in windows, but the Clip+ appeared in the "Safely remove hardware" list.

So I unplugged it and plugged it back in (from a powered on state), and it worked fine.

Tried again from a powered off state and I got the same "Undefined instruction" error as oblivion above.

Pressed the power button, the device restarted and the drives mounted OK.

Tried again from off, and "Undefined instruction" again.

So it seems that as long as you power on the Clip+ first, USB works OK, otherwise it is broken.
Logged

Offline Zian

  • Member
  • *
  • Posts: 3
Re: Sansa Clip + USB issues
« Reply #2 on: November 21, 2012, 03:16:27 PM »
I've been able to reproduce this issue on my Clip+ running Rockbox 3.12.

Is there any plan to fix this issue?
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Sansa Clip + USB issues
« Reply #3 on: November 21, 2012, 03:21:36 PM »
If someone works out what the problem is, sure.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline batman52

  • Member
  • *
  • Posts: 9
Re: Sansa Clip + USB issues
« Reply #4 on: November 28, 2012, 07:18:51 PM »
I think I have fallen into the same issue with my clip v2. I comment in case some clever developer can get from this some useful hints.

I wanted to use my player attached to the aux input of my car stereo in "car adapter mode", therefore I have enabled the car adapter function, and the resume playing feature at the same time. The idea was to attach a cigarette lighter power supply to the player, which would have woken up the player when turning on the car (apparently the hardest feature to find on whatever other player...), and then thank to the car adapter mode gently shut down when the car was turned off.

What happens instead is that when I turn on the car, the device sticks with the rockbox splash screen showing a message "loading firmware not found", then after a few seconds goes automatically to the "bootloader USB mode", then when removing power a thrilling panic message appears.

*PANIC*
Unhandeld masked IRQ 03: INT_USB (status0x00000008)

then pressing play resumes playing normally.

The strange bit is that there seems to be some kind of timeout, meaning if you turn off the player and re-attach it in a short delay (I'd say less than 2 mins), the thing does not happen, and it just resumes playing normally.

My feeling is that due to the unstable power supply when attaching the player, the bootloader may detect a false keypress of the "upload firmware mode" (power+left if I remember well). If that assumption is true, a solution could be to add some delay time (0.5 sec?) before doing the check for the keypress in the bootloader - but this is just a guess, and there's obviously people more skilled than me out there who have done this wonderful job of porting rockbox even on my really cheap music player - thank you all for this (still hope someone can work on this bug)!
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa Clip + USB issues
« Reply #5 on: November 28, 2012, 07:56:46 PM »
Your issue isn't really related to usb. Is your adapter actually plugged into a cigarette lighter and not a USB port? 
Logged

Offline Zian

  • Member
  • *
  • Posts: 3
Re: Sansa Clip + USB issues
« Reply #6 on: December 14, 2012, 11:51:59 PM »
Quote from: AlexP on November 21, 2012, 03:21:36 PM
If someone works out what the problem is, sure.

What do you mean by that?

I thought that this thread already shows what the problem is, at least to a certain degree.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa Clip + USB issues
« Reply #7 on: December 15, 2012, 01:11:37 AM »
Quote from: Zian on December 14, 2012, 11:51:59 PM
Quote from: AlexP on November 21, 2012, 03:21:36 PM
If someone works out what the problem is, sure.

What do you mean by that?

I thought that this thread already shows what the problem is, at least to a certain degree.

I don't think anyone has a good idea what the problem is.  Or more likely, what the various problems are.
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Sansa Clip + USB issues
« Reply #8 on: December 15, 2012, 06:22:44 PM »
Quote from: Zian on December 14, 2012, 11:51:59 PM
Quote from: AlexP on November 21, 2012, 03:21:36 PM
If someone works out what the problem is, sure.

What do you mean by that?

I thought that this thread already shows what the problem is, at least to a certain degree.

It shows what the symptoms are, not the cause (or solution).
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline whiskers75

  • Member
  • *
  • Posts: 100
  • github.com/whiskers75
    • whiskers75
Re: Sansa Clip + USB issues
« Reply #9 on: January 01, 2013, 03:53:31 AM »
I can report USB glitchiness on my clip+, using Ubuntu 12.10. Plugging it in does not mount a drive, and it seems to disconnect (after looking at /var/log/kern.log) after a few seconds. I have to force-power it every time, so use the OF for USB transfer.
Logged
whiskers75/rockbox - Custom Build  
http://forums.rockbox.org/index.php/topic,42527.0.html
Devices: Sansa Clip+

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Sansa Clip + USB issues
« Reply #10 on: January 02, 2013, 02:53:07 PM »
Yes, we know USB is buggy.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline batman52

  • Member
  • *
  • Posts: 9
Re: Sansa Clip + USB issues
« Reply #11 on: April 26, 2013, 10:17:39 PM »
Quote from: saratoga on November 28, 2012, 07:56:46 PM
Your issue isn't really related to usb. Is your adapter actually plugged into a cigarette lighter and not a USB port?

Yes: it is plugged to the car lighter... I believe it's a power-up sequence issue: should not be related to any USB fw.
Logged

Offline batman52

  • Member
  • *
  • Posts: 9
Re: Sansa Clip + USB issues
« Reply #12 on: April 26, 2013, 10:19:39 PM »
Quote from: AlexP on December 15, 2012, 06:22:44 PM
It shows what the symptoms are, not the cause (or solution).

Well I actually proposed as a solution of adding some delay time before checking for button presses in the bootloader when looking for  fw updates.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa Clip + USB issues
« Reply #13 on: April 27, 2013, 02:31:16 AM »
Quote from: batman52 on April 26, 2013, 10:19:39 PM
Quote from: AlexP on December 15, 2012, 06:22:44 PM
It shows what the symptoms are, not the cause (or solution).

Well I actually proposed as a solution of adding some delay time before checking for button presses in the bootloader when looking for  fw updates.

The thing you're talking about has nothing to do with this thread. 
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansa Clip + USB issues
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.107 seconds with 15 queries.