Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 37

Thread: New applesmc module for all models - Call for testing

  1. #21
    Join Date
    May 2008
    Beans
    745

    Re: New applesmc module for all models - Call for testing

    Quote Originally Posted by alexmurray View Post
    @henrik - thanks for this, I know we discussed it a while back and I never got the time to look at implementing something like this myself - thanks again for your hard work, will have a look at it in the next few days. Any chance of trying to merge this is 2.6.37?
    Hi Alex,

    Too late for 2.6.37, but we are targeting 2.6.38.

    Cheers!

  2. #22
    Join Date
    Jan 2009
    Beans
    320
    Distro
    Ubuntu Development Release

    Re: New applesmc module for all models - Call for testing

    No worries - at least it should make it into Natty then automatically. Thanks again for your great work Henrik! You're awesome!

  3. #23
    Join Date
    May 2008
    Beans
    9
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: New applesmc module for all models - Call for testing

    dmesg output with macbook pro 5,1

    joe@Grumpey:~$ dmesg | grep applesmc
    [ 13.773658] applesmc: key=295 fan=2 temp=20 acc=1 lux=2 kbd=1
    [ 13.835947] input: applesmc as /devices/platform/applesmc.768/input/input7
    [ 15.012823] applesmc: light sensor data length set to 10
    [ 69.878050] applesmc: F1Mn: write arg fail
    [ 190.612018] applesmc: FS! : read arg fail
    [ 487.344066] applesmc: F1Mn: write arg fail
    [ 894.696215] applesmc: FS! : read arg fail
    [ 965.135513] applesmc: FS! : read arg fail
    [ 1689.313466] applesmc: FS! : read arg fail
    [ 2006.141764] applesmc: F1Mn: write arg fail

  4. #24
    Join Date
    Dec 2005
    Location
    Greece
    Beans
    436

    Red face Re: New applesmc module for all models - Call for testing

    Quote Originally Posted by Grumpey View Post
    dmesg output with macbook pro 5,1
    Code:
    [    3.112336] apple 0003:05AC:8242.0001: hiddev96,hidraw0: USB HID v1.11 Device [Apple Computer, Inc. IR Receiver] on usb-0000:00:04.0-5/input0
    [    3.675403] apple 0003:05AC:0237.0002: input,hidraw1: USB HID v1.11 Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:04.0-6/input0
    [    4.175090] apple 0003:05AC:0237.0003: hidraw2: USB HID v1.11 Device [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:04.0-6/input1
    [   29.071667] applesmc: key=295 fan=2 temp=20 acc=1 lux=2 kbd=1
    [   29.167830] input: applesmc as /devices/platform/applesmc.768/input/input10
    [   36.500320] applesmc: light sensor data length set to 10
    [  799.796756] applesmc: TTF0: read arg fail
    [ 1010.970612] applesmc: F1Mn: write arg fail
    [ 1362.874841] applesmc: FS! : read arg fail
    [ 1377.977371] applesmc: F1Mn: write arg fail
    [ 1724.729971] applesmc: FS! : read arg fail
    [ 1830.266367] applesmc: F1Mn: write arg fail
    [ 2187.048148] applesmc: FS! : read arg fail
    [ 2292.616520] applesmc: FS! : read arg fail
    [ 2297.669956] applesmc: F1Mn: write arg fail
    [ 2533.893095] applesmc: F1Mn: write arg fail
    [ 2569.093167] applesmc: Th2H: read arg fail
    [ 2649.509769] applesmc: FS! : read arg fail
    [ 3272.767878] applesmc: F1Mn: write arg fail
    [ 3408.525557] applesmc: FS! : read arg fail
    [ 3524.132284] applesmc: F1Mn: write arg fail
    [ 3574.467444] applesmc: FS! : read arg fail
    [ 3946.506710] applesmc: TG0F: read arg fail
    [ 5438.595950] applesmc: FS! : read arg fail
    [ 5740.036324] applesmc: F1Mn: write arg fail
    [ 6237.357676] applesmc: FS! : read arg fail
    [ 6473.465025] applesmc: F1Mn: write arg fail
    [ 6719.709573] applesmc: FS! : read arg fail
    [ 6790.067496] applesmc: FS! : read arg fail
    [ 6810.204531] applesmc: FS! : read arg fail
    [ 6875.543699] applesmc: F1Mn: write arg fail
    [ 6971.053833] applesmc: F1Mn: write arg fail
    [ 7167.111631] applesmc: FS! : read arg fail
    [ 7217.397236] applesmc: F1Mn: write arg fail
    [ 7539.029178] applesmc: FS! : read arg fail
    [ 7579.256481] applesmc: FS! : read arg fail
    [ 7624.557263] applesmc: F1Mn: write arg fail
    [ 7674.818481] applesmc: FS! : read arg fail
    [ 8066.750447] applesmc: FS! : read arg fail
    [ 8137.140112] applesmc: FS! : read arg fail
    Also, without the battery, the command
    Code:
    sensors
    reports
    Code:
    TB0T:       +129.0°C                                    
    TB1T:       +129.0°C                                    
    TB2T:       +129.0°C                                    
    TB3T:       +128.0°C
    [...]
    So macfanctld throttles up to max fan speed. Needed to adjust the /etc/macfanctl.conf to low down the fans, i.e. I added
    Code:
    exclude: 1 2 3 4
    Last edited by Nikos.Alexandris; November 22nd, 2010 at 01:23 PM.

  5. #25
    Join Date
    May 2008
    Beans
    745

    Re: New applesmc module for all models - Call for testing

    Hi Nikos,

    Thanks for the report! Did you get similar errors with the old module? It appears the failures are frequent but still random. Does it work sometimes, or failure each time? Did the values of TB0T etc have different values with the old module?

  6. #26
    Join Date
    Dec 2005
    Location
    Greece
    Beans
    436

    Re: New applesmc module for all models - Call for testing

    Hi!

    Did you get similar errors with the old module?
    As far as I remember, never.

    It appears the failures are frequent but still random. Does it work sometimes, or failure each time?
    Till now, as many times as I have checked dmesg I always read lots of read/write arg fail.

    Did the values of TB0T etc have different values with the old module?
    I think yes, i.e., I work mostly with the battery dettached (the last years) and the fans are at full-speed since last week(s).
    
    Cheers

  7. #27
    Join Date
    May 2008
    Beans
    745

    Re: New applesmc module for all models - Call for testing

    Quote Originally Posted by Nikos.Alexandris View Post
    As far as I remember, never.
    Trying to frame this problem further, did you by any chance start using macfanctld at around that time too? What happens (in dmesg) if you perform these commands manually? Unless you already did,
    Code:
    sudo -i
    cd /sys/devices/platform/applesmc.768/
    cat fan2_manual
    cat fan2_min
    echo 4000 > fan2_input
    cat fan2_min
    echo your_default_value > fan2_input
    cat fan2_min
    Thanks!

  8. #28
    Join Date
    Dec 2005
    Location
    Greece
    Beans
    436

    Re: New applesmc module for all models - Call for testing

    Code:
    Till now, as many times as I have checked dmesg I always read lots of read/write arg fail.
    To make this more clear, I mean "till now = since last week(s) with the new applesmc". Sorry for not being precise.

  9. #29
    Join Date
    Dec 2005
    Location
    Greece
    Beans
    436

    Re: New applesmc module for all models - Call for testing

    Quote Originally Posted by kosumi68 View Post
    Trying to frame this problem further, did you by any chance start using macfanctld at around that time too? What happens (in dmesg) if you perform these commands manually? Unless you already did,
    Code:
    sudo -i
    cd /sys/devices/platform/applesmc.768/
    cat fan2_manual
    cat fan2_min
    echo 4000 > fan2_input
    cat fan2_min
    echo your_default_value > fan2_input
    cat fan2_min
    I started using macfanctld in the summer (...dunno when exactly, August?). The thing with the above commands is the following (me thinks):
    Code:
    -r--r--r-- 1 root root 4096 2010-11-22 22:52 fan1_input
    -r--r--r-- 1 root root 4096 2010-11-22 22:52 fan2_input
    Those input files are read-only! Otherwise, the fan2_manual is always 0 and fan2_min changes. Should I change owner permissions?

  10. #30
    Join Date
    May 2008
    Beans
    745

    Re: New applesmc module for all models - Call for testing

    Quote Originally Posted by Nikos.Alexandris View Post
    I started using macfanctld in the summer (...dunno when exactly, August?). The thing with the above commands is the following (me thinks):
    Code:
    -r--r--r-- 1 root root 4096 2010-11-22 22:52 fan1_input
    -r--r--r-- 1 root root 4096 2010-11-22 22:52 fan2_input
    Those input files are read-only! Otherwise, the fan2_manual is always 0 and fan2_min changes. Should I change owner permissions?
    Yes, fanX_manual, fanX_min and fanX_output should all be read-write. This is odd, they should definitely appear as rw, unless you changed them. A
    Code:
    sudo rmmod applesmc; sudo modprobe applesmc
    should yield rw permissions on those files.

Page 3 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •