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
translations translations
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
| | |-+  [SOLVED] (iPod Mini 2g) ATA error: -82 on latest 20240612 build, not on 3.15
« previous next »
  • Print
Pages: 1 [2]

Author Topic: [SOLVED] (iPod Mini 2g) ATA error: -82 on latest 20240612 build, not on 3.15  (Read 3133 times)

Offline kaaaas

  • Member
  • *
  • Posts: 7
Re: [iPod Mini 2nd gen] ATA error: -82 on latest 20240612 build, not on 3.15
« Reply #15 on: June 14, 2024, 02:14:55 PM »
Power management and Adv power management are shown as enabled in disk info.
Does that still mean its working?
Logged

Offline speachy

  • Administrator
  • Member
  • *
  • Posts: 654
Re: [iPod Mini 2nd gen] ATA error: -82 on latest 20240612 build, not on 3.15
« Reply #16 on: June 14, 2024, 05:24:15 PM »
Quote from: kaaaas on June 14, 2024, 02:14:55 PM
Power management and Adv power management are shown as enabled in disk info.
Does that still mean its working?

In this case, it means it's lying.  :D
Logged

Offline adriaanjelle

  • Member
  • *
  • Posts: 4
Re: [iPod Mini 2nd gen] ATA error: -82 on latest 20240612 build, not on 3.15
« Reply #17 on: June 17, 2024, 01:13:17 PM »
Quote from: speachy on June 14, 2024, 11:06:45 AM
I believe I've found (and fixed) the problem.

The root cause is that some CF cards lie about supporting a particular feature/command (Advanced Power Management) and throw an error when it's issued.

There is a special case in the ATA driver to catch and ignore this, but it was checking against the index of the driver's internal feature table.  When the table was altered as part of the iflash corruption fixes, the offset changed rendering the test incorrect.

...The fix is to check against the command ID instead of the table index.

This will be in tomorrow's (ie 20240615) daily build but if you can't wait that long you can grab the latest dev build (updated after every commit) from https://build.rockbox.org/ instead.

Great to see it's been resolved! Now I can continue with my various battery tests. I'll let you know how it goes! It seems to be working so far.
Logged

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  [SOLVED] (iPod Mini 2g) ATA error: -82 on latest 20240612 build, not on 3.15
 

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

Page created in 0.137 seconds with 21 queries.