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
| | |-+  S.M.A.R.T. plugin
« previous next »
  • Print
Pages: 1 [2] 3

Author Topic: S.M.A.R.T. plugin  (Read 7561 times)

Offline asyran

  • Member
  • *
  • Posts: 28
Re: S.M.A.R.T. plugin
« Reply #15 on: May 16, 2007, 03:45:57 PM »
i did execute the smart plugin.....i just shows up some unreadable characters...little squares
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: S.M.A.R.T. plugin
« Reply #16 on: May 16, 2007, 03:48:00 PM »
Quote from: asyran on May 16, 2007, 03:45:57 PM
i did execute the smart plugin.....i just shows up some unreadable characters...little squares
That's a good sign :)
It means there is some hexadecimal data returned, and Rockbox is trying to display this as normal text (meaning looking it up in the ASCII/Unicode table etc.)
This means that it doesn't crash Rockbox, which is good!

Updated version is on the way... (http://paste-it.net/t61b7ef)
« Last Edit: May 16, 2007, 03:54:00 PM by mcuelenaere »
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: S.M.A.R.T. plugin
« Reply #17 on: May 16, 2007, 04:12:43 PM »
New version: http://www.verzend.be/v/8273203/1_smart.rock.html
Plz test it...
Logged

Offline asyran

  • Member
  • *
  • Posts: 28
Re: S.M.A.R.T. plugin
« Reply #18 on: May 16, 2007, 04:37:25 PM »
does this thing work?......because if it does my ipod's  :P.
it still shows the same unreadable characters but it also showed a message "you HDD is unhealthy".
what now?is there a way to fix it?
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: S.M.A.R.T. plugin
« Reply #19 on: May 16, 2007, 04:38:52 PM »
Quote from: asyran on May 16, 2007, 04:37:25 PM
does this thing work?......because if it does my ipod's .
it still shows the same unreadable characters but it also showed a message "you HDD is unhealthy".
what now?is there a way to fix it?
I'm just testing, it isn't complete at all :)
Right now, I'm trying to understand the SMART reference etc. If I've figured out a lot of it, I'll update the plugin

BTW, "your HDD is unhealthy": this doesn't mean it is so; the plugin is incomplete so just ignore the message..

current: http://paste-it.net/c4c15d2
« Last Edit: May 16, 2007, 06:01:31 PM by mcuelenaere »
Logged

Offline safetydan

  • Developer
  • Member
  • *
  • Posts: 248
Re: S.M.A.R.T. plugin
« Reply #20 on: May 16, 2007, 07:31:13 PM »
When you're ready, please post this to the patch tracker so it doesn't get lost. Assuming it doesn't damage anyone's drives, I think it'd be pretty nice to have as a plugin.
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: S.M.A.R.T. plugin
« Reply #21 on: May 16, 2007, 09:54:07 PM »
I tried it out on my gigabeat with the same results as the ipod users, just a line of squares and a "HDD Unhealthy" message.
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

Offline X86

  • Member
  • *
  • Posts: 142
Re: S.M.A.R.T. plugin
« Reply #22 on: May 17, 2007, 01:37:35 AM »
have thinked to make a plugin for flash memories?,does the flash memories have this?,I'm bringing ideas.
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: S.M.A.R.T. plugin
« Reply #23 on: May 17, 2007, 05:18:20 PM »
http://paste-it.net/of3d6f3
This is what I've got atm, haven't compild it yet though.
Logged

Offline X86

  • Member
  • *
  • Posts: 142
Re: S.M.A.R.T. plugin
« Reply #24 on: May 17, 2007, 06:24:46 PM »
is it possible to use S.M.A.R.T technology in flash memories?
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: S.M.A.R.T. plugin
« Reply #25 on: May 17, 2007, 06:25:56 PM »
Quote from: mcuelenaere on May 17, 2007, 05:18:20 PM
http://paste-it.net/of3d6f3
This is what I've got atm, haven't compild it yet though.

It doesn't compile, gives a ton of errors. I'm looking forward to testing it out when it does work though.  :)
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

Offline elborak

  • Member
  • *
  • Posts: 177
Re: S.M.A.R.T. plugin
« Reply #26 on: May 17, 2007, 06:33:48 PM »
Quote from: X86 on May 17, 2007, 06:24:46 PM
is it possible to use S.M.A.R.T technology in flash memories?
SMART is for ATA, so no.
Logged

Offline X86

  • Member
  • *
  • Posts: 142
Re: S.M.A.R.T. plugin
« Reply #27 on: May 17, 2007, 06:36:14 PM »
ok thanks for the answer,hmmmm...sorry if I messed up, I was thinking that it might be possible to use in a flash memory,sorry
Logged

Offline mcuelenaere

  • Developer
  • Member
  • *
  • Posts: 392
Re: S.M.A.R.T. plugin
« Reply #28 on: May 18, 2007, 06:08:43 AM »
Quote from: Mad Cow on May 17, 2007, 06:25:56 PM
It doesn't compile, gives a ton of errors.
Yes I know, it isn't still ready; but the main functions should work so it isn't that much work anymore. The only problem is I don't have the time for it really.

Off-topic:
I have a question about the sprintf() function: is there some kind of equivalent in Rockbox or do I have to use snprintf() ? Cause sprintf() is used a lot and I don't want to change them all if there's an easier (and better) solution.
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: S.M.A.R.T. plugin
« Reply #29 on: May 18, 2007, 07:42:17 AM »
Quote from: mcuelenaere on May 18, 2007, 06:08:43 AM
Quote from: Mad Cow on May 17, 2007, 06:25:56 PM
It doesn't compile, gives a ton of errors.
Yes I know, it isn't still ready; but the main functions should work so it isn't that much work anymore. The only problem is I don't have the time for it really.

Off-topic:
I have a question about the sprintf() function: is there some kind of equivalent in Rockbox or do I have to use snprintf() ? Cause sprintf() is used a lot and I don't want to change them all if there's an easier (and better) solution.

If you don't have the time for it, just post it to the patch tracker (flyspray) and interested developers will improve/fix it.
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

  • Print
Pages: 1 [2] 3
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  S.M.A.R.T. plugin
 

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

Page created in 0.106 seconds with 15 queries.