el coniglio, on Feb 9 2011, 05:50 PM, said:
@blackosx
I'm not sure if its a JVM array limitation (prob not) or a limitation of the combobox component, or something else. If you post a text file with your "smc -l" output I can check it out.
Hi el coniglio
Nice job with the app
Oldnapalm was right, in that smc -l returns the same values as I see in the preferences window of SMC Monitor.
$ ./smc -l
#KEY [ui32] 41 (bytes 00 00 01 29)
$Adr [ui32] 0 (bytes 00 00 03 00)
$Num [ui8 ] 1 (bytes 01)
+LKS [flag] (bytes 07)
AL! [ui8 ] 0 (bytes 00)
ALA0 [{ala] (bytes 7a 04 00 34 00 90)
ALA1 [{ala] (bytes 1d c9 00 7a 00 c4)
ALA2 [{ala] (bytes 09 d6 00 ac 01 24)
ALA3 [{ala] (bytes 03 a9 00 f7 01 85)
ALA4 [{ala] (bytes 01 d3 01 3e 04 00)
ALA5 [{ala] (bytes 00 01 00 01 04 00)
ALAT [{alt] (bytes 00 00 00 00)
ALI0 [{ali] (bytes 03 01 01)
ALI1 [{ali] (bytes 00 00 00)
ALRV [ui16] 0 (bytes 00 00)
ALSC [{alc] (bytes 01 92 00 96 00 c8 00 02 00 01 01 5e 14 ea 01 00)
ALSF [fp1f] (bytes 01 48)
ALSL [ui16] 0 (bytes 00 00)
ALT0 [ui16] 0 (bytes 00 00)
ALT1 [ui16] 0 (bytes 00 00)
ALTH [{alr] (bytes 00 00 00 00 00 00 00 00 00 00)
ALV0 [{alv] (bytes 01 00 00 00 00 00)
ALV1 [{alv] (bytes 00 01 00 00 00 00)
AUPO [ui8 ] 0 (bytes 00)
BATP [flag] (bytes 00)
BEMB [flag] (bytes 00)
BNum [ui8 ] 0 (bytes 00)
BSIn [ui8 ] 66 (bytes 42)
CLKT [ui32] 213 (bytes 00 00 fb d5)
CLSD [ui16] 0 (bytes 00 00)
CLWK [ui16] 0 (bytes 00 00)
CRCB [ui32] 166 (bytes a3 da 51 a6)
CRCU [ui32] 114 (bytes 50 d6 c5 72)
DPLM [{lim] (bytes 00 00 00)
EPCA [ui32] 0 (bytes 00 00 70 00)
EPCF [flag] (bytes 01)
EPCI [ui32] 0 (bytes 05 80 07 00)
EPCV [ui16] 1 (bytes 00 01)
EPMA [ch8*] (bytes 00 00 60 80)
EPMI [ui8 ] 0 (bytes 00)
EPUA [ui32] 0 (bytes 00 00 60 00)
So your app is working correctly.
I just wonder why the smc binary is only returning those keys when I know for example that the temperature data can be found in keys beginning with T i.e TCAH, TC0C etc. But then I know those keys from a MacPro3,1, maybe my iMac 11,3 that I'm using right now uses different keys?
Anyway, no problem. I'll test this again tonight on my hack.