Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Keyboard layout and model on a 2007 macbook pro

  1. #1

    Default Keyboard layout and model on a 2007 macbook pro

    I've installed Tumbleweed on my old 2007 macbook pro and everything seems to be working ok except for the keyboard.
    It seems to be impossible to change the layout and model in the GUI.
    I had to set through setxkbmap to make it work properly.
    However this workaround isn't optimal as I can't switch that easily between model and layout.
    Anybody got a clue about that strange behavior ?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    25,000
    Blog Entries
    15

    Default Re: Keyboard layout and model on a 2007 macbook pro

    Quote Originally Posted by jkrafft View Post
    I've installed Tumbleweed on my old 2007 macbook pro and everything seems to be working ok except for the keyboard.
    It seems to be impossible to change the layout and model in the GUI.
    I had to set through setxkbmap to make it work properly.
    However this workaround isn't optimal as I can't switch that easily between model and layout.
    Anybody got a clue about that strange behavior ?
    Hi and welcome to the Forum
    Can you confirm what desktop environment (eg KDE, GNOME, XFCE etc) your using and also are you running Xorg or Wayland?

    Code:
    echo $XDG_SESSION_TYPE
    If running one of Xorg or Wayland, have you tried the other?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Keyboard layout and model on a 2007 macbook pro

    Where are my manners ?!
    Hi !
    Thanks for your answer.
    So here it is, I'm on KDE and XDG_SESSION_TYPE says x11
    Following your suggestion, I've tried wayland and it seems to do the trick.
    I can now get a icon switch from one layout to another.
    However wayland seems to be unstable on my configuration.
    I had messages saying that KDE has crash and I did have a freeze.
    So, wayland seems to be out of the viable options.
    At least now I know the issue is x11 related...
    I'll dig into it but if anybody has any clues...

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    25,000
    Blog Entries
    15

    Default Re: Keyboard layout and model on a 2007 macbook pro

    Quote Originally Posted by jkrafft View Post
    Where are my manners ?!
    Hi !
    Thanks for your answer.
    So here it is, I'm on KDE and XDG_SESSION_TYPE says x11
    Following your suggestion, I've tried wayland and it seems to do the trick.
    I can now get a icon switch from one layout to another.
    However wayland seems to be unstable on my configuration.
    I had messages saying that KDE has crash and I did have a freeze.
    So, wayland seems to be out of the viable options.
    At least now I know the issue is x11 related...
    I'll dig into it but if anybody has any clues...
    Hi
    It's probably the old intel card and page flips, there is finally a fix on the way (2+ year bug), but if you add the following grub boot option;

    Code:
    video=SVIDEO-1:d
    That hopefully will improve the experience on Wayland.

    I have a macbook3,1 (late 2007), but I run x11 and GNOME
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Default Re: Keyboard layout and model on a 2007 macbook pro

    Thanks, Interesting !
    That might explain many things.
    I ended up installing tumbleweed because, despite installing Leap without any major problems, after updating and rebooting, the display was acting up.
    Giving a lot of flickering, blacked out secondary display. Might have switch to wayland at some point.
    I don't really want to scrap my current install, so I'll stay with tumbleweed and make some tests with the grub option and see how it works.
    Just for the record and in case anyone might have the same idea of using a 10+ macbook.
    openSUSE works great on my 2007 macbook pro with an SSD and 4G or RAM, booting in about 30s.
    Gnome, KDE and XFCE are all giving a very good user experience. It's even hard to tell the computer is so old because, using the system, firing up Firefox, Libreoffice, Digikam and making a pretty heavy use of the all thing turned out a be very fluid.
    All the mac hardware seems to be correctly detected out of the box (wifi, backlight, keyboard light, sound, webcam). openSUSE was one of the very few linux distro to pull that off.
    I'll update once I've done the tests.
    Just to know, may I ask why you're running x11 on your macbook and is there a real benefit switching to wayland (besides having the correct keyboard layout) ?

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    25,000
    Blog Entries
    15

    Default Re: Keyboard layout and model on a 2007 macbook pro

    Quote Originally Posted by jkrafft View Post
    Thanks, Interesting !
    That might explain many things.
    I ended up installing tumbleweed because, despite installing Leap without any major problems, after updating and rebooting, the display was acting up.
    Giving a lot of flickering, blacked out secondary display. Might have switch to wayland at some point.
    I don't really want to scrap my current install, so I'll stay with tumbleweed and make some tests with the grub option and see how it works.
    Just for the record and in case anyone might have the same idea of using a 10+ macbook.
    openSUSE works great on my 2007 macbook pro with an SSD and 4G or RAM, booting in about 30s.
    Gnome, KDE and XFCE are all giving a very good user experience. It's even hard to tell the computer is so old because, using the system, firing up Firefox, Libreoffice, Digikam and making a pretty heavy use of the all thing turned out a be very fluid.
    All the mac hardware seems to be correctly detected out of the box (wifi, backlight, keyboard light, sound, webcam). openSUSE was one of the very few linux distro to pull that off.
    I'll update once I've done the tests.
    Just to know, may I ask why you're running x11 on your macbook and is there a real benefit switching to wayland (besides having the correct keyboard layout) ?
    Hi
    In Leap there is a kernel work around so in theory not needed... The reason I run x11 is that I use synergy (no wayland support) to bounce around multiple machines with same keyboard mouse

    I also have a package called mbpfan so you can set the fan speeds....
    https://software.opensuse.org/packag...ch_term=mbpfan
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7

    Default Re: Keyboard layout and model on a 2007 macbook pro

    Quote Originally Posted by malcolmlewis View Post
    Hi
    I also have a package called mbpfan so you can set the fan speeds....
    https://software.opensuse.org/packag...ch_term=mbpfan
    It seems that the fans are correctly managed so I'm not changing anything on that front at least for now.

    I've made some test, so, on the plus side the option does help on the flickering side, however, it does partially freezes.
    gKrellm is still running, but except its window, no click works anywhere.
    And apparently, last freeze did break something.
    Boot sequence stops mid-air with the rolling tumbleweed logo freezing.

    Seems I'm back to square one. I'll stick with x11 and the setxkbmap workaround. Making a little script to switch to a pc model shouldn't be a problem.
    That is, once i'll have imported my backup.

    Unless you have some other ideas...

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    25,000
    Blog Entries
    15

    Default Re: Keyboard layout and model on a 2007 macbook pro

    Quote Originally Posted by jkrafft View Post
    It seems that the fans are correctly managed so I'm not changing anything on that front at least for now.

    I've made some test, so, on the plus side the option does help on the flickering side, however, it does partially freezes.
    gKrellm is still running, but except its window, no click works anywhere.
    And apparently, last freeze did break something.
    Boot sequence stops mid-air with the rolling tumbleweed logo freezing.

    Seems I'm back to square one. I'll stick with x11 and the setxkbmap workaround. Making a little script to switch to a pc model shouldn't be a problem.
    That is, once i'll have imported my backup.

    Unless you have some other ideas...
    Hi
    What filesystem are you running, btrfs? If so, could try a different i/o scheduler, I use the following kernel boot option;
    Code:
    scsi_mod.use_blk_mq=1
    This switches to block multi-queue, there have been some issues on large file transfers and ext4 and scheduler set to none, but the fix is in the next kernel. Your scheduler will change to mq-deadline since your running a SSD automatically as it's all supported in Tumbleweed.

    Code:
    cat /sys/block/sda/queue/scheduler
    [mq-deadline] kyber bfq none
    This should sort out the freezes....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9

    Default Re: Keyboard layout and model on a 2007 macbook pro

    Well, it's been a fun night. Haven't had that much fun since trying to install Kheops linux in the 90'.
    So, pretty much everything blew up, including my backup.
    I had the idea that the good old dd/gz disk backup was a pretty solid solution for a full system backup, but apparently not.
    It took aproximatly forever to tell me that the disk was full, eventhough it was an image of the very same disk. Of course, I tested it, just in case there's been some major problem and tons of bad sectors, but nothing.
    So, as my install didn't have much datas and tweaks, I took on to make a clean install of Tumbleweed.
    Fun fact: it seems that the tumbleweed DVD freezes when it boots on a computer with a broken install on it.
    I used a rescue CD to wipe the disk and finally boot with the tumblweed DVD.
    So for now, I'm going to cool my jets on having the keyboard layout working and wayland and stick with x11 and setxkbmap.
    I'll also try not to sneeze to hard near this thing because it seems to be a bit touchy. I'm pretty sure (and hope) it's related to the outdated hardware, but still.

    All I need to figure out now is how to make a full system backup that actually works...

    Thanks for your help.

  10. #10

    Default Re: Keyboard layout and model on a 2007 macbook pro

    Hi
    Since you took some time to look into the problem, I figured I could try all the available solutions.
    So, I made a clean install of TW and tried the option :
    scsi_mod.use_blk_mq=1

    It did help with the freezes on wayland, but, KDE is still very unstable and crash and restart every now and then.
    Also, the option seems to break something on the power management because, the mac won't go to sleep when I close the laptop.
    So I reverted back to x11, and everything seems to be working OK.

    Thx for your help.

Page 1 of 2 12 LastLast

Posting Permissions

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