[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Issues with Debian Lenny on Powerbook G4



On Wed, Apr 23 2008, at 21:25 -0700, Amit Uttamchandani wrote:
> On Wed, 23 Apr 2008 19:22:18 +0200
> Wolfgang Pfeiffer <roto@gmx.net> wrote:
> 
> > Ever having considered to install sid/unstable? Most of the time it
> > works like a charm on ab old titanium here:
> > 
> > ******
> > 
> > processor	: 0
> > cpu		: 7455, altivec supported
> > clock		: 667.000000MHz
> > revision	: 0.2 (pvr 8001 0302)
> > bogomips	: 66.56
> > timebase	: 33331438
> > platform	: PowerMac
> > machine		: PowerBook3,5
> > motherboard	: PowerBook3,5 MacRISC2 MacRISC Power Macintosh
> > detected as	: 80 (PowerBook Titanium IV)
> > pmac flags	: 0000001b
> > L2 cache	: 256K unified
> > pmac-generation	: NewWorld
> > 
> > *****
> > 
> > Graphics hardware:
> > 
> > 0000:00:10.0 VGA compatible controller: ATI Technologies 
> > Inc Radeon RV250 [Mobility FireGL 9000] (rev 01)
> > 
> > *****
> > 

> Hi there,
> 

Hi

> When I installed testing I changed the sources to sid and upgraded them. But I still couldn't get the Xorg issue figured out. The graphics controller I have is:
> 
>  description: VGA compatible controller
>  product: Rage Mobility M3 AGP 2x
>  vendor: ATI Technologies Inc
> 
> It seems that's the major issue. Also how did you get the power
> management to work? I couldn't get the sleep/suspend to ram working
> properly?

I have pbbuttonsd installed ... the config file - i.e. /etc/pbbuttonsd.conf
- is attached as "pbbuttonsd.conf-tibook" - so get the machine to
sleep all I do is pressing the powerbutton of the ti-book. As to the
"Sleepkey" ID 116 in this pbbuttons.conf: I don't know what's the
right one for your computer .... 

Also, I attach xorg.conf that is on that tibook as "xorg.conf.tibook" 

Now, you might even want to try that kernel I'm using: I've uploaded
it quite some time ago to rapidshare:

http://rapidshare.com/files/103023740/linux-image-2.6.25-rc3-g7704a8b-with-ben.s-pmu-patch_2008.03.06_powerpc.deb.html

md5sum for that kernel package on the rapidshare page is 
37732ce4d345bd5b4ef7b74cdc475c16

My apologies for that upload solution, but I don't have another one:
It might be hard to type in the correct code (shown on that image that
rapidshare might display if one wants to download that file ... )
.. don't give up ... :)

The config file for that kernel is on
http://www.geocities.com/wolfgangpfeiffer/config-tibook-2.6.25-rc3-g7704a8b-with-ben.s-pmu-patch.txt

And just in case: I've also attached /etc/modules from the tibook as
"modules-tibook" .. 

Good luck!

Oh, I nearly forgot that:
This kernel above is heavily modularized ... no initrd image .. and
on install it might complain about a missing source directory, that I
have on the machine where I compiled the kernel ... I just ignored
that complaint for the install on the tibook, IIRC ...   

The only problem I remember with this software, is the occasionally
missing trackpad mouse pointer, on X, IIRC ...

Also: I have a mildly fresh (lots from around March 26, IINM) unstable
Debian on that tibook, with this being installed (excerpt):

ii  libglu1-xorg                                          1:7.3+3
ii  xorg                                                  1:7.3+3
ii  xorg-docs                                             1:1.4-2
ii  xserver-xorg                                          1:7.3+10
hi  xserver-xorg-core                                     2:1.4.1~git20080131-2
ii  xserver-xorg-input-all                                1:7.3+10
ii  xserver-xorg-input-evdev                              1:1.2.0-1
ii  xserver-xorg-input-kbd                                1:1.2.2-3
ii  xserver-xorg-input-mouse                              1:1.2.3-2
ii  xserver-xorg-input-synaptics                          0.14.7~git20070706-2
ii  xserver-xorg-input-wacom                              0.7.9.3-2
ii  xserver-xorg-video-all                                1:7.3+10 
ii  xserver-xorg-video-ati                                1:6.8.0-1
ii  xserver-xorg-video-chips                              1:1.1.1-9
ii  xserver-xorg-video-fbdev                              1:0.3.1-4
ii  xserver-xorg-video-glint                              1:1.1.1-8
ii  xserver-xorg-video-imstt                              1:1.1.0-7
ii  xserver-xorg-video-mga                                1:1.4.8.dfsg.1-1
ii  xserver-xorg-video-nv                                 1:2.1.8-1
ii  xserver-xorg-video-s3                                 1:0.5.0-4
ii  xserver-xorg-video-s3virge                            1:1.9.1-7
ii  xserver-xorg-video-savage                             1:2.1.3-5
ii  xserver-xorg-video-sis                                1:0.9.3-6
ii  xserver-xorg-video-sisusb                             1:0.8.1-9
ii  xserver-xorg-video-tdfx                               1:1.3.0-6
ii  xserver-xorg-video-trident                            1:1.2.4-1
ii  xserver-xorg-video-v4l                                0.1.1-6
ii  xserver-xorg-video-vga                                1:4.1.0-8


Best Regards
Wolfgang
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/share/fonts/X11/misc"
#	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"v4l"
	Load	"vbe"
	Load    "evdev"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"macintosh"
	Option		"XkbLayout"	"de"
	Option		"XkbVariant"	"nodeadkeys"
	Option		"XkbOptions"	"lv3:lwin_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"false"
        Option		"ZAxisMapping"		"4 5"
EndSection

#Section "InputDevice"
#	Identifier	"Synaptics Touchpad"
#       Driver          "synaptics"
#        Option          "SendCoreEvents"        "true"
#        Option          "Device"                "/dev/input/mice"
#        Option          "Protocol"              "auto-dev"
#        Option          "LeftEdge"              "0"
#        Option          "RightEdge"             "850"
#        Option          "TopEdge"               "0"
#        Option          "BottomEdge"            "645"
#        Option          "MinSpeed"              "0.4"
#        Option          "MaxSpeed"              "1"
#        Option          "AccelFactor"           "0.02"
#        Option          "FingerLow"             "55"
#        Option          "FingerHigh"            "60"
#        Option          "MaxTapMove"            "20"
#        Option          "MaxTapTime"            "100"
#        Option          "HorizScrollDelta"      "0"
#        Option          "VertScrollDelta"       "30"
#        Option          "SHMConfig"             "on"
#EndSection

Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon R250 Lf [FireGL 9000]"
	Driver		"ati"
        BusID		"PCI:0:16:0"
        Option		"UseFBDev"		"true"
        Option		"AGPSize" "16"
        Option		"AGPMode" "4"
        Option		"EnablePageFlip"
        Option		"DRIReinit"		"true"
#        Option		"BackingStore"		"True
EndSection

Section "Monitor"
	Identifier	"Color LCD"
	DisplaySize     323 216
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon R250 Lf [FireGL 9000]"
	Monitor		"Color LCD"
	DefaultDepth	24
        SubSection "Display"
                Depth           8
                Modes           "1280x854" "1152x768" "1026x684" "900x600" "801x534" "720x480" "642x428"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x854" "1152x768" "1026x684" "900x600" "801x534" "720x480" "642x428"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x854" "1152x768" "1026x684" "900x600" "801x534" "720x480" "642x428"
        EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
#	InputDevice	"Synaptics Touchpad"
EndSection

Section "DRI"
	Mode	0666
EndSection
# Configuration file for PBButtonsd >= Version 0.5
# for complete list of options please see pbbuttonsd.conf man-page

# [SYSTEM]
#userallowed           = "paranoid"	; user who is allowed to use IPC
autorescan            = yes		; automatic rescan of event devices
CmdTimeout            = 10

# [MODULE POWERSAVE]
onAC_policy           = performance	; nochange, performance, custom or powersave
onAC_TimerAction      = none		; none, suspend-to-ram, suspend-to-disk, blankscreen
onAC_CoverAction      = suspend-to-ram
onAC_KeyAction        = suspend-to-ram	; SleepKey
onAC_SuspendTime      = 0		; time in 1/10 seconds
onAC_DimTime          = 1800		; time in 1/10 seconds

onBattery_policy      = powersave
onBattery_TimerAction = suspend-to-ram	; none, suspend-to-ram, suspend-to-disk, blankscreen
onBattery_CoverAction = suspend-to-ram
onBattery_KeyAction   = suspend-to-ram	; SleepKey
onBattery_SuspendTime = 15000		; time in 1/10 seconds
onBattery_DimTime     = 600		; time in 1/10 seconds

SleepKey              = 116
SleepKeyDelay         = 0		; values > 0 may be dangerous, if the power key is used to trigger sleep
BWL_first             = 22		; first battery warnlevel, time in minutes
BWL_second            = 10		; second battery warnlevel, time in minutes
BWL_last              = 3		; last battery warnlevel, time in minutes
Script_PMCS           = "/etc/power/pmcs-pbbuttonsd %s %s %s"
EmergencyAction       = sleep		; action, if battery is critically low
HeartbeatBeep         = no		; beep, if nothing else showed that the computer lives
CPULoad_sleeplock     = yes
CPULoad_min           = 20		; value in percent
CPULoad_period        = 20		; time in seconds
NETLoad_sleeplock     = yes
NETLoad_min           = 4096		; traffic in Bytes/s
NETLoad_period        = 20		; time in seconds
NETLoad_device        = "eth0"

# [MODULE DISPLAY]
#LCD_Brightness        = 8		; initial LCD brightness level
LCD_FadingSpeed       = 5		; 0 = no smooth fading
LCD_AutoAdjust        = yes		; only on Aluminum PowerBooks
LCD_IllumUpKey        = 225
LCD_IllumDownKey      = 224
LCD_Threshold         = 94
LCD_AutoAdjMin_Bat    = 2		; autoadjust parameter
LCD_AutoAdjMax_Bat    = 7
LCD_AutoAdjMin_AC     = 1
LCD_AutoAdjMax_AC     = 15
#KBD_Brightness        = 0		; initial keyboard illumination level
KBD_OnBrightness      = 5		; initial level if KBD on/off key is pressed
KBD_FadingSpeed       = 5		; 0 = no smooth fading
KBD_AutoAdjust        = yes		; only on Aluminum PowerBooks
KBD_IllumUpKey        = 230
KBD_IllumDownKey      = 229
KBD_IllumOnKey        = 228
KBD_Threshold         = 28		; only on Aluminum PowerBooks
dev_FrameBuffer       = "/dev/fb0"
UseFBBlank            = yes
DimFullyDark          = no
CRT_MirrorKey         = 65 + ctrl

# [MODULE MIXER]
SoundSystem           = ALSA		; none, auto, OSS or ALSA
#default:
#Volume                = 50		; initial volume level
Volume                = 50             ; initial volume level
Speakers_muted        = no		; mute after startup?
VolumeUpKey           = 115
VolumeDownKey         = 114
MuteKey               = 113
#OSS_Mixer             = "/dev/mixer"	; settings for OSS
# uncommented as per default:
#OSS_Channels          = "volume, speaker"
ALSA_Card             = "default"	; settings for ALSA
ALSA_Elements         = "Master, 'PC Speaker'"
#MixerInitDelay        = yes
MixerInitDelay        = no
# [MODULE CDROM]
dev_CDROM             = "/dev/cdrom"
EjectCDKey            = 161
EjectCDKeyDelay       = 0

# [MODULE PMAC]
dev_PMU               = "/dev/pmu"
dev_ADB               = "/dev/adb"
TPModeUpKey           = 225 + alt
TPModeDownKey         = 224 + alt
TPMode                = notap
KBDMode               = fkeysfirst
Batlog                = log
NoTapTyping           = yes
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a "#", and everything on the line after them are ignored.

#hci_uart
#hci_usb
#hci_vhci

# mouse, usb:
#usbhid
#ohci-hcd
#psmouse

#
#sungem
#airport
yenta_socket
sg
#i2c-powermac
snd-powermac
apm_emu

Reply to: