Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Macbook Pro
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 14, 15, 16 ... 27, 28, 29  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Thu Aug 24, 2006 12:13 pm    Post subject: Reply with quote

multifinger taps do work using synaptics, though I havn't worked out a really good set of parameters yet, have a patch that changes the geomerty of the 17" touchpad vs the imac but can't url it right now (about to have a baby believe it or not!!!)


. You can see two and three finger taps show up fine with synclient; I configured two finger tap to be right mouse.

single tap on pad would be a preferable right click - left click on button, two finer middle button - three fingers is a very hard combo to manage the pointer with :?

Will
_________________
]8P
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Fri Aug 25, 2006 12:38 pm    Post subject: Reply with quote

I am doing another Gentoo2006 build after my LFS work and wonder if there is another source for the mactel-linux sf patches (specifically for 2.6.17.11) since although the pages load I get an error whenever I try to download and have to try and try again viewing or downloading from the SVN:

I can always get all the way in to:

http://svn.sourceforge.net/viewvc/mactel-linux/trunk/kernel/mactel-patches-2.6.17/acpi-blacklist-fix.patch?view=log

but when I download I get most times:

Code:

An Exception Has Occurred

The root "mactel-linux" is unknown. If you believe the value is correct, then please double-check your configuration.

HTTP Response Status

404 Repository not found

Python Traceback

Traceback (most recent call last):
  File "/usr/local/viewvc-1.0.1.sf-new/lib/viewvc.py", line 3659, in main
    request.run_viewvc()
  File "/usr/local/viewvc-1.0.1.sf-new/lib/viewvc.py", line 285, in run_viewvc
    % self.rootname, "404 Repository not found")
ViewVCException: 404 Repository not found: The root "mactel-linux" is unknown. If you believe the value is correct, then please double-check your configuration.


are others experiencing similar intermittant outages?

anyone have the patch set packaged? I wiped mine when I blew my last partition away.

Will
_________________
]8P
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sun Sep 03, 2006 3:11 am    Post subject: Reply with quote

I have made a portage overlay ebuild of Grub 0.97-r2 with the gateA20 patch included in the ebuild.

It is available here:

http://www.sourcepoint.com.au/macintoo/forum/viewtopic.php?p=38#38

I am sure it is not perfect but it is working for me on my MBP17 and I thought I'd share it.

:)
_________________
]8P
Back to top
View user's profile Send private message
Fenster
Apprentice
Apprentice


Joined: 26 Oct 2004
Posts: 172
Location: Purgatory

PostPosted: Sat Sep 09, 2006 12:45 am    Post subject: Reply with quote

Is it possible to get wireless networking running under the live CD? I need it as there's a severe paucity of free wired network ports in my home, I spent about half an hour experimenting with no results.
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Sep 09, 2006 7:43 am    Post subject: Reply with quote

I only managed to get the atheros wireless going after emerging madwifi-ng and wpa_supplicant. I was bound to the wired lan till after initial install.

I suspect others may have had success though it is not a problematic card. The kernel sees it as ath0 once you modprobe ath_pci...
_________________
]8P
Back to top
View user's profile Send private message
Fenster
Apprentice
Apprentice


Joined: 26 Oct 2004
Posts: 172
Location: Purgatory

PostPosted: Sat Sep 09, 2006 9:11 am    Post subject: Reply with quote

Well feck, I'll keep at it then in that case. As it stands, I have to unplug every other computer in the house to get at an ethernet port.
Back to top
View user's profile Send private message
smitdane
Retired Dev
Retired Dev


Joined: 20 Jul 2006
Posts: 16

PostPosted: Mon Sep 11, 2006 12:58 am    Post subject: Reply with quote

In case anyone else is bothered by the heat...
The mactel config sets the default cpufrequency governor to performance. This means the processor never leaves 2.0Ghz. If you want to save some battery life or just do not like the fact that you could cook an egg on your laptop add :

echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor;
echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor;

to your /etc/conf.d/local.start file.

If your on battery, I have found conservative to be better than ondemand. I wrote a little script to run when Im on battery that looks just like the above with conservative where ondemand is.

Hope this helps someone.
_________________
Dane 'c1pher' Smith
Developer -- QA / crypto / sunrise / x86

"I reject your reality and substitute my own"
Just because you're not paranoid doesn't mean they're not out to get you.
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Mon Sep 11, 2006 7:16 am    Post subject: Reply with quote

Yes, that is great advice, I have been toying with the governors and noticed that on-demand was not enabled on the config I had downloaded. The heat reduction and general performance on conservative on battery made me investigate why performance was always on in ac mode and also that in gnome setting the governor only effected CPU0 - not sure why but in laptop-mode I get scaling on both processors just fine and the heat is quite acceptable.

Your method is a good one - not sure if it would be better to write some rules for cpufreqd though I am not yet familiar with it to do so.
_________________
]8P
Back to top
View user's profile Send private message
smitdane
Retired Dev
Retired Dev


Joined: 20 Jul 2006
Posts: 16

PostPosted: Tue Sep 12, 2006 2:04 am    Post subject: Reply with quote

Another thing. Thanks to Dmvianna for the inspiration.
In your .xmodmap file, set the keycodes for your function keys when you dont have the Fn key down to things like F14 - F22 then you can use xbindkeys to make them do what theyre meant to do like control the backlight, keyboard lights, volume, etc. without actually using the F* interrupt. You can use xev to find the keycodes. Ill list them to save people time though.

this is without the function key depressed...
Key -- key code -- My remap
F1 -- 101 -- F13
F2 -- 212 -- F14
F3 -- 160 -- F15
F4 -- 174 -- F16
F5 -- 176 -- F17
F6 -- Dont use. Its for num-lock
F7 -- 214 -- F18
F8 -- 215 -- F19
F9 -- 216 --F20
F10 -- 217 -- F21
F11 and F12 are normal. Fn doent have to be depressed to use them.
eject -- 204 -- F22

this assumes you have the backlight control program and the keyboard backlight control program. The link for those is here.
I renamed them backlight and keys.

#~/.xbindkeysrc
"backlight -10"
F13

"backlight +10"
F14

"eject"
F22

"keys 0"
F19

"keys 100"
F20

"keys 250"
F21

#mute sound
"amixer set PCM 0"
F15

#decrease volume by 10%
"amixer set PCM 10-"
F16

#increase volume by 10%
"amixer set PCM10+"
F17


Hope people find this useful. Xbindkeys is in portage.
_________________
Dane 'c1pher' Smith
Developer -- QA / crypto / sunrise / x86

"I reject your reality and substitute my own"
Just because you're not paranoid doesn't mean they're not out to get you.
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Tue Sep 12, 2006 9:04 am    Post subject: Reply with quote

that is a very good source - the ubuntu thread. We need a script that correctly handles keyboard backlight up/down rather than 0 or 255.

Definite praise to the most worthy Nicolas Boichat for the macbooktools.

BTW I am getting very distorted sound - sounds scratchy as though the levels are completely screwed... Any ideas?

DVD is working at last but I am having lots of trouble with VCDs on mplayer, gxine and totem -(probably usual multimedia problems).

Other major issue for me is the suspend2/resume2 hangs on X but always works in console, I have fglrx and tried all the module unloading/reloading and using vbtools etc.... further ideas appreciated while I google and rack my underclocked brain.
_________________
]8P
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Thu Sep 14, 2006 3:25 am    Post subject: Reply with quote

I have been building all sorts of different kernel configurations (sticking to 2.6.17.11 for the mo) and using the mactel-linux patch set;

I have had great success with selecting the Pentium4 class of cpu in the kernel but am wondering if this could be causing problems with cpu frequency scaling (seems to be somewhat unpredictable in different power states - may be configuration but I wanted to make sure that selecting P4 as a cpu and the speedstep is classed for Pentium M):



Code:
 CONFIG_X86_SPEEDSTEP_CENTRINO:                                          │
  │                                                                         │
  │ This adds the CPUFreq driver for Enhanced SpeedStep enabled             │
  │ mobile CPUs.  This means Intel Pentium M (Centrino) CPUs. However,      │
  │ you also need to say Y to "Use ACPI tables to decode..." below          │
  │ [which might imply enabling ACPI] if you want to use this driver        │
  │ on non-Banias CPUs.                                                     │
  │                                                                         │
  │ For details, take a look at <file:Documentation/cpu-freq/>.             │
  │                                                                         │
  │ If in doubt, say N.                                                     │
  │                                                                         │
  │ Symbol: X86_SPEEDSTEP_CENTRINO [=y]                                     │
  │ Prompt: Intel Enhanced SpeedStep                                        │
  │   Defined at arch/i386/kernel/cpu/cpufreq/Kconfig:107                   │
  │   Depends on: !X86_VOYAGER && CPU_FREQ                                  │
  │   Location:                                                             │
  │     -> Power management options (ACPI, APM)                             │
  │       -> CPU Frequency scaling                                          │
  │         -> CPU Frequency scaling (CPU_FREQ [=y])                        │
  │   Selects: CPU_FREQ_TABLE && X86_SPEEDSTEP_CENTRINO_TABLE     


Not sure what other type cpu freq configuration I need since I don't fully understand the implications of the motherboard chipsets...

I am having trouble rebuilding my kernels and system dependent modules for Pentium M and wonder if it is going to be necessary.
_________________
]8P
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Thu Sep 14, 2006 10:10 am    Post subject: Reply with quote

Pentium M has worked well though I am not sure if it is indeed the best choice - I have read elsewhere (here I think) that the flags that the yonah accepts makes it suitable for Pentium 4...

anywho

the cpufreq probs I was having have been solved by more carefully tuning the configuration.

Will
_________________
]8P
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 485
Location: Paris, France

PostPosted: Fri Sep 15, 2006 8:02 am    Post subject: Reply with quote

I am considering the macbook pro. I have been reading startdotstar forums with great interest, and it seems the support of the machine is not bad.

What about the whinning problems ? Have they been solved ?
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Fri Sep 15, 2006 11:08 am    Post subject: Reply with quote

I do not get any whine on my Macbook Pro 17 when I run cpu freq scaling - I can detect it in silent rooms on the OS X environment when scaling kicks in and scales the cores down. It is hardly noticable even then.

Heat was the biggest problem and I invested in a laptop cooling tray (three fans that suck) and now that I have cpufreqd properly configured the heat is not a problem.

All in all this still feels like frontier hardware to me (coming from the thinkpad which is totally sorted) but I am loving the challenge and the support is indeed out there.
_________________
]8P
Back to top
View user's profile Send private message
kaiRy
n00b
n00b


Joined: 22 Jul 2006
Posts: 14

PostPosted: Fri Sep 15, 2006 4:54 pm    Post subject: Reply with quote

Can someone make a step by step Howto to have a macbook pro fully installed ? With wifi, bluetooth, etc ..
Since the one I found on the web isn't very clear and complete for me.
Back to top
View user's profile Send private message
smitdane
Retired Dev
Retired Dev


Joined: 20 Jul 2006
Posts: 16

PostPosted: Fri Sep 15, 2006 11:34 pm    Post subject: Reply with quote

Stardotstar, I have been considering putting up a new Macbook Pro wiki. I've started writing it, but it is not yet on the web. When I put up what I have, Ill post, and you can add in what you know.
_________________
Dane 'c1pher' Smith
Developer -- QA / crypto / sunrise / x86

"I reject your reality and substitute my own"
Just because you're not paranoid doesn't mean they're not out to get you.


Last edited by smitdane on Sat Sep 16, 2006 12:23 am; edited 1 time in total
Back to top
View user's profile Send private message
smitdane
Retired Dev
Retired Dev


Joined: 20 Jul 2006
Posts: 16

PostPosted: Sat Sep 16, 2006 12:21 am    Post subject: Reply with quote

Stardotstar, are you using pentium-m or pentium4 for your make.conf / kernel config. I have been with pentium-m since I started and am curious.
_________________
Dane 'c1pher' Smith
Developer -- QA / crypto / sunrise / x86

"I reject your reality and substitute my own"
Just because you're not paranoid doesn't mean they're not out to get you.
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Sat Sep 16, 2006 12:27 am    Post subject: Reply with quote

Bluetooth headset working here. Yay!
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Sep 16, 2006 5:13 am    Post subject: Reply with quote

I wiki would be great - especially if linked to a reasonably populated forum - perhaps we could cross link and put resources on your wiki and host discussions on the forum I have setup? I would be very happy to contribute what I have gone through.

I am now running Pentuim M having just reconfigured from Pentium 4 which I was using from the start because of the flags that the yonah accepts and the reading I did in this topic and elsewhere (including the gentoo descriptions of processors)

http://gentoo-wiki.com/Safe_Cflags#Intel_Core_Solo.2FDuo_.28Yonah.29 wrote:

Intel Core Solo/Duo (Yonah)

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc pni monitor vmx est tm2 xtpr

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

Bear in mind that all Core Duo are dual-core CPUs so make sure that you use MAKEOPTS="-j3" in your make.conf. This doesn't affect the code but might reduce compile times.


This is because, although yonah is not a true P4 it has the flags that characterise the P4/Prescott architecture:

http://gentoo-wiki.com/Safe_Cflags#Pentium_4_.28Prescott.29_.28Intel.29 wrote:

Pentium 4 (Prescott) (Intel)

vendor_id : GenuineIntel
cpu family : 15
model : 3 or 4
model name : Intel(R) Pentium(R) 4 CPU XXXGHz -or- Mobile Intel(R) Pentium(R) 4 CPU XXXGHz -or- Intel(R) Celeron(R) CPU XXXGHz

you can verify the chip is a Prescott by looking for pni in the flags section of /proc/cpuinfo. this indicates support for SSE3. In 2004, Intel started branding processors with the Prescott core as Intel Celeron D.

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"


Code:

spitfire laptop-mode # cat /proc/cpuinfo | grep pni
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc pni monitor vmx est tm2 xtpr
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc pni monitor vmx est tm2 xtpr


So I compiled my 2.6.17.11 kernel from the kernel.org sources (patched from mactel-linux) with Pentium4/Prescott march:

Code:

spitfire laptop-mode # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
USE="oss aac aalib avi cdparanoia png -dlloader dri madwifi nptl nptlonly 3dfx X acpi alsa bash-completion bluetooth bonobo bzip2 divx4linux dv encode cdr crypt cups dbus drj dvd dvdr dvdread esd fbcon flac jpeg lame live mad mjpeg ogg  ffmpeg firefox ftp gnome gpm gstreamer gtk gtk2 hal imagemagick java lm_sensors mmx mp3 mpeg ncurses pda pdf perl php ppds real vcd vidix vorbis win32codecs xmms xv quicktime readline samba spell sse2 truetype vca wifi xine xinerama"
ACCEPT_KEYWORDS="~x86"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo"
PORTDIR_OVERLAY="/usr/local/portage"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="radeon fglrx vesa"


and therefore used P4 as the kernel arch.

I only changed to Pentium M when I was fiddling with the speedstep settings (it was a simple configuration setup bad on my behalf so I didn't really need to do it...) and that said - I cannot tell the difference. The processors are running well and in ON DEMAND governor settings no heat problems at all and great battery life.

The only really mandatory thing that I am having tropuble with at the moment is the resume2 when I suspend2 from X (system hangs on black screen starting X) and requires a forceful reboot - I have not solved this although there is lots of mention of this symptom when googling suspend2 troubleshooting.

I began toying with swsup but havn;t got far there either. One of the complications here is that we are using swap files and not partitions to suspend to - so I am using the filewriter which I am not too familiar with...

I havn't played with bluetooth yet and am still not satisfied with the sound - My sound is slightly distorted and only runs under headphone mode in the mixer so I have stuffed something up there somehow...

BTW I did a fairly careful audit of my gentoo build on my forum for macintoo:
http://www.sourcepoint.com.au/macintoo/forum/viewtopic.php?t=25
It may help some - certainly would be happy to contribute to a wiki and encourage a place where dedicated mactel discussions can be held...


Will
_________________
]8P
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Sep 16, 2006 7:55 am    Post subject: Reply with quote

Who here has success with either suspend2 or swsus/s2ram - I am going mad trying to get either to work.

I used to rely heavily on suspend2 and have it patched into my 2.6.17.11 kernel and although I can get it to suspend to a filewriter it only works from the console (must be an ati thing)

I have started playing with suspend and s2ram but they fail every which way.

I can get the mac to go to sleep - screen off and the light on the lid-open button pulsing; but I can't wake it up at all - I have tried lots of combinations of:

boot with and without FB Console to init=/bin/bash + mount /sys + mount /proc then:
s2ram -f -a 1 (2 or 3)

all cause the machine to go black and sleep light pulses but no key combo or mouse will wake it up (correct I assume) and closing and opening the lid or touching the Power Button turns it OFF completely. Pressing Power again brings the machine back to a normal boot.

Admitedly I am not familiar with the setup of this version of suspend and spent some time trying to configure the suspend to disk/both without success - not sure the initrd was even properly working.

I would like to discuss approaches and configurations for this feature if possible.

Will
_________________
]8P
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Sat Sep 16, 2006 9:05 am    Post subject: Reply with quote

stardotstar wrote:
Who here has success with either suspend2 or swsus/s2ram - I am going mad trying to get either to work.


Did you try:
Code:
# echo "mem" > /sys/power/state
I don't know why, someone deleted it from the Macbook Wiki. Why can't they respect people who are luckier than average? :roll:
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Sep 16, 2006 10:51 am    Post subject: Reply with quote

Hi and thanks for that tip, i did see that method somewhere but never tried it until just now after you posted it...

Same kind of result here for me... The machine goes to sleep and the lid button light pulses but there is no waking it.

hitting the power button shuts it off immediately and then it has to be turned on by holding down the power button for several seconds (almost like a forced off press and hold) then it booted through a normal grub and boot sequence but on trying to start my X session the Xserver was refusing requests and I had to reboot again before X would work. It must have had a lock file somewhere that I couldn't see. It simply initialised the root window with the X cursor and sat there doing nothing - back on console 1 I could see repetitive X server not responding or not taking requests messages...

Will
_________________
]8P
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Sat Sep 16, 2006 10:56 am    Post subject: Reply with quote

stardotstar wrote:
The machine goes to sleep and the lid button light pulses but there is no waking it.


For me, it wakes up with a powerbutton press, or even by reopening the lid. Can't be more functional!

You might want to check other information about my config at the wiki, I have updated it under "success stories". :wink:
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Sep 16, 2006 12:05 pm    Post subject: Reply with quote

Thanks for that = must be something I have stuffed up somewhere :-)

BTW your patch is 404?



I turned my hand to BT just now and got the basics configured and successfully pushed an image from my Nokia to the Mac.
_________________
]8P
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Sat Sep 16, 2006 12:13 pm    Post subject: Reply with quote

stardotstar wrote:
BTW your patch is 404?

No idea. I got it from a post in the other macbook thread.
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3 ... 14, 15, 16 ... 27, 28, 29  Next
Page 15 of 29

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum