Page 14 of 17 FirstFirst ... 41213141516 ... LastLast
Results 131 to 140 of 170

Thread: Ubuntu on MacBookPro7,1

  1. #131
    Join Date
    Jul 2010
    Beans
    3

    Re: Ubuntu on MacBookPro7,1

    These two scripts seem to be an alternative method, since pommed is causing issues for a few people I've talked to.

    A script for the keyboard:
    Code:
    #!/bin/bash
    LIGHTLEVEL=$(cat /sys/class/leds/smc::kbd_backlight/brightness)
    LEVELDIFFERENCE=15
    MAXVALUE=255
    MINVALUE=0
    if [ $LIGHTLEVEL -ge $MINVALUE ] && [ $LIGHTLEVEL -le $MAXVALUE ]
        then
        TOTAL=`expr $MAXVALUE`
        case $1 in
            up)
                TOTAL=`expr $LIGHTLEVEL + $LEVELDIFFERENCE`;;
            down)
                TOTAL=`expr $LIGHTLEVEL - $LEVELDIFFERENCE`;;
        esac
        if [ $TOTAL -ge $MINVALUE ] && [ $TOTAL -le $MAXVALUE ]
            then
            echo $TOTAL > /sys/class/leds/smc::kbd_backlight/brightness
        else
            echo "New value out of range: $TOTAL";
        fi
    else
        echo 'System light level out of min/max range (Hardware might not be matching script)';
    fi
    And a script for the lcd backlight:
    Code:
    #!/bin/bash
    LIGHTLEVEL=$(cat /sys/class/backlight/nvidia_backlight/brightness)
    LEVELDIFFERENCE=400
    MAXVALUE=44000
    MINVALUE=0
    if [ $LIGHTLEVEL -ge $MINVALUE ] && [ $LIGHTLEVEL -le $MAXVALUE ]
        then
        TOTAL=`expr $MAXVALUE`
        case $1 in
            up)
                TOTAL=`expr $LIGHTLEVEL + $LEVELDIFFERENCE`;;
            down)
                TOTAL=`expr $LIGHTLEVEL - $LEVELDIFFERENCE`;;
        esac
        if [ $TOTAL -ge $MINVALUE ] && [ $TOTAL -le $MAXVALUE ]
            then
            echo $TOTAL > /sys/class/backlight/nvidia_backlight/brightness
        else
            echo "New value out of range: $TOTAL";
        fi
    else
        echo 'System light level out of min/max range (Hardware might not be matching script)';
    fi
    Last edited by grantgalitz; July 8th, 2010 at 11:30 PM.

  2. #132
    Join Date
    Jul 2010
    Beans
    3

    Re: Ubuntu on MacBookPro7,1

    Make sure you edit sudoers to allow these scripts to be used as an exception to root.
    Also there are two parameters, up and down, that are passed with the command for use.
    So add a keyboard shortcut for a command like: "sudo lcd_backlight up"
    Passing no parameters changes to values to the maximum lighting allowed in the script.

    Scripts adapted from http://www.mabishu.com/blog/2010/06/...untu-gnulinux/
    Last edited by grantgalitz; July 8th, 2010 at 11:33 PM.

  3. #133
    Join Date
    Sep 2009
    Beans
    4

    Re: Ubuntu on MacBookPro7,1

    In case if anyone is interested...

    Just downloaded Opensuse 11.3 - no problems with booting up from LiveCD, Partitioner can see all drives. Everything is working, except mouse-track pad: pointer moves, but because of multi-touch it is not possible to drag/resize... USB mice works fine.

  4. #134
    Join Date
    Sep 2009
    Beans
    4

    Re: Ubuntu on MacBookPro7,1

    Update on OpenSUSE: can not make wireless work, can not install Nvidia drivers, HDD is slow.

    I may be wrong, but it seems to me, that there are no proper drivers yet for the Macbook Pro 7.1 hardware, except ones for MacOS.

  5. #135
    Join Date
    Feb 2009
    Location
    Enigma
    Beans
    64
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ubuntu on MacBookPro7,1

    Quote Originally Posted by maximus3d View Post
    Update on OpenSUSE: can not make wireless work, can not install Nvidia drivers, HDD is slow.

    I may be wrong, but it seems to me, that there are no proper drivers yet for the Macbook Pro 7.1 hardware, except ones for MacOS.
    Can anyone else verify this?

  6. #136
    Join Date
    Jul 2010
    Beans
    2

    Re: Ubuntu on MacBookPro7,1

    Hi,
    i have MacBookPro7,1 with 2.66 Intel Core 2 Due /4GB 1067 mHz DDR3 /500 GB Seagate 7200 RPM with Mac OS X Snow Leopard Version 10.6.4.
    i install rEFit than make three partition than i restart my mac than i install Windows 7 and it's Ok.
    to install Ubuntu i do everything and i come with one solution, i used external DVD drive when I get to the the part 4 of the installation the one you can't choose the partition for Ubuntu you will not going to see the SATA Drive so i open my macbook pro and remove the HDD then i install other HDD than i running my mac i press alt and i chose the external DVD when it's open first picture of Ubuntu i connect the the SATA HDD (the original on) thru the USB using enclosure case when reach
    the partition selection for Ubuntu now i see it and i continue the instillation until the end.
    now i remove the SATA HDD (the original on) from the enclosure case, then i install it in my macbook pro again now everything ok but i see these error :


    Gave up waiting for root device, Common problems:
    - Boot args (cat /proc/cmdline)
    - Check rootdelay= (did the system wait long enough?)
    - Check root= (did the system wait for the right device?)
    - Missing modules (cat /proc/modules; is /dev)
    ALERT! /dev/disk/by-uuid/4aae0f87-e74b-b500-347319f057c3 does not
    opping to a shell!

    BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    (initramfs) _



    i hope some one can fix these error
    i think because i install Ubuntu to external hard drive and i use it internal .
    Last edited by Logoman500; July 18th, 2010 at 11:29 PM.

  7. #137
    Join Date
    Sep 2009
    Beans
    4

    Re: Ubuntu on MacBookPro7,1

    tried daily build from:
    http://cdimage.ubuntu.com/lucid/daily-live/current/
    works perfectly!

  8. #138
    Join Date
    Jul 2010
    Beans
    2

    Re: Ubuntu on MacBookPro7,1

    Quote Originally Posted by maximus3d View Post
    tried daily build from:
    http://cdimage.ubuntu.com/lucid/daily-live/current/
    works perfectly!
    it's working fine

  9. #139
    Join Date
    Jul 2010
    Beans
    1

    Re: Ubuntu on MacBookPro7,1

    Is someone able to get a resolution > 1440x 900 on a external monitor .. i only get a black screen.

    https://help.ubuntu.com/community/Ma...rnal%20Monitor

  10. #140
    Join Date
    Feb 2009
    Location
    Annapolis, MD
    Beans
    188
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ubuntu on MacBookPro7,1

    Quote Originally Posted by pklat View Post
    ...well apart from flash
    What does that mean? Are you having trouble with flash as well?
    Systems: MacBook Pro 5,5 | MacBook 3,1 | Compaq ML330 G2 | And misc. other desktop systems
    My Blog (tech, politics, life): http://leftofrightrightofleft.wordpress.com
    Annapolis Computer Help IT Consulting ETC...http://www.lighthousesolutions.info

Page 14 of 17 FirstFirst ... 41213141516 ... LastLast

Tags for this Thread

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
  •