Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lot of problems while installing Gentoo on an Ibook G4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
charlax
n00b
n00b


Joined: 14 Apr 2003
Posts: 64
Location: Nantes

PostPosted: Thu Dec 29, 2005 5:08 pm    Post subject: Lot of problems while installing Gentoo on an Ibook G4 Reply with quote

I'm posting from lynx so it's not as easy as I could have wanted. Please appologize for the presentation of this post.
I've recently installed Gentoo on my ibook. There was no particular problem during the installation. But now all seems to rebel against me. Please help !

Maybe you know these problem, I can't search on lynx because it's way too long (no tabs...)
Firstly, pbbutonsd does not seem to read the configuration fil : I've these lines :
onAC_sleep=no
onAC_dim=no
I'm on AC, but the program goes on sleep and dims the screen after a little moment.

Second problem, because you all know that kde compilation is very very very long, I've installed mp3blaster, the only real mp3 player that can be use from command line (at least, it's the only one I found). I try to add some files from my Max Os X partition, and it dies on Segmentation fault. When I add a file from my gentoo partition, it works. No trace in /var/log/messages. Any idea (nothing else when activating debug mode, mpg123 on the same files works) ?

Third problem, xdm + fvwm freezes. I have to hard reboot. The touchpad does not work, I must use a usb mouse. I think it comes from my kernel configuration, but I've used a configuration file found on a site.

Fourth problem, ncurses seems to have a problem. Lynx, the config program for the kernel, alsamixer are hardly usable.

Thanks a lot for your help.
I'm really lost on these problem (although I've been using Gentoo for 3 years, but only on PC)


Last edited by charlax on Fri Dec 30, 2005 4:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Fri Dec 30, 2005 10:32 am    Post subject: Reply with quote

While this doesn't directly help you, w3m is a better console browser as it has formatting and tabbed browsing, as well as gpm console support ;)

Here's my pbbuttonsd.conf:
Code:

# 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            = no      ; automatic rescan of event devices
CmdTimeout            = 4

# [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          = 0              ; 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 = 3000           ; 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

# [MODULE OSSMIXER]
#Volume                = 50     ; initial volume level
Speakers_muted        = no      ; mute after startup?
VolumeUpKey           = 115
VolumeDownKey         = 114
MuteKey               = 113
dev_Mixer             = "/dev/mixer"
MixerInitDelay        = no
MixerChannels         = "volume, speaker"

# [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                = none


AFA mp3blaster, are you root? Because permissions would stop mp3blaster from playing mp3s on your mac partition... although that doesn't explain segfaults. Edit: although, a corrupt ncurses explains a lot!

Have you tried rebuilding ncurses?

What are your make.conf build and architecture flags?


Last edited by stimuli on Fri Dec 30, 2005 11:06 am; edited 2 times in total
Back to top
View user's profile Send private message
charlax
n00b
n00b


Joined: 14 Apr 2003
Posts: 64
Location: Nantes

PostPosted: Fri Dec 30, 2005 10:37 am    Post subject: Reply with quote

There's no more problem with pbbutonsd since my reboot (but it continues to dim the screen after x seconds). I will read your configuration file carefully when I have kde fully running.

Thanks for your help

Here is my make.conf :
Code:

# 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 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"

USE="hal alsa cdr divx4linux dvd dvdread kde opengl oggvorbis qt ssl usb xvid -gnome -oss -pcmcia aac altivec arts bluetooth
cups emacs encode examples ffmpeg mp3 mpeg ogg quicktime win32codecs"
LINGUAS="fr en"


Here is cat /proc/cpuinfo :
Code:

ibook ~ # cat /proc/cpuinfo
processor       : 0
cpu             : 7447A, altivec supported
clock           : 1333MHz
revision        : 0.5 (pvr 8003 0105)
bogomips        : 1330.38
machine         : PowerBook6,7
motherboard     : PowerBook6,7 MacRISC3 Power Macintosh
detected as     : 287 (iBook G4)
pmac flags      : 0000001b
L2 cache        : 512K unified
memory          : 1024MB
pmac-generation : NewWorld


W3m is one hell of a good program, but it dies sometimes with... segmentation fault. It must come from my compilation option. Edit: Or maybe because of the ncurses bug.

What is the command for recompile all the programs ? Should I use the file /var/lib/portage/world ?


Last edited by charlax on Fri Dec 30, 2005 4:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Fri Dec 30, 2005 11:22 am    Post subject: Reply with quote

Code:
CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
is a better option in make.conf

to rebuild the world do an "emerge -uD world"

possible hint: re: pbbuttonsd.conf: change a few "No"s to "0"s

As far as sorting out the trackpad, here's my .config for 2.6 kernels: http://stimuli.ca/linux/files/.config-2.6 (hint: you need adb (Apple Desktop Bus) enabled for the trackpad to work).
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Fri Dec 30, 2005 11:36 am    Post subject: Reply with quote

Well, I just compiled the latest ncurses and there is DEFINATELY some issues with it!! :)
Time to regress a few notches!
Back to top
View user's profile Send private message
charlax
n00b
n00b


Joined: 14 Apr 2003
Posts: 64
Location: Nantes

PostPosted: Fri Dec 30, 2005 11:49 am    Post subject: Reply with quote

Thank you for your help !

I changed my make.conf :
Code:
ibook ~ # 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 -pipe -mcpu=7450 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"

USE="-gnome -pcmia -joystick -matrox cdr bash-completion gpm tetex tiff zlib bzip2 radeon dri mplayer avi flash pbbutonsd flac gimp hal alsa oss arts xmms utf8 nls divx4linux dvd dvdread ogg opengl oggvorbis kde qt usb xvid aac altivec bluetooth cups emacs encode ffmpeg mp3 mpeg quicktime win32codecs"

LINGUAS="fr en de"
VIDEOCARDS="radeon"


I'm going to recompile my kernel with your .config file. I'm also reconfiguring pbbutonsd with another example file found on the internet.

I think all my problems come because I've used some outdated howtos. I'm going to write a little page in order to help intalling Gentoo on a ibook g4 1,3GHz.

I'm making an emerge -uD world, there's only 5 programs to emerge... Is it because I've just made an emerge --sync before that ?

Thank's again for your valuable help.

Edit 1:
emerge -uD world juste finished. It has evidently not made his job (I want all programs to be recompiled). I'm making an emerge -e world

Edit 2:
I've juste reemerged ncurses. It doesn't change anything.


Last edited by charlax on Fri Dec 30, 2005 4:50 pm; edited 2 times in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Dec 30, 2005 2:41 pm    Post subject: Reply with quote

There's a bunch of questions here, I'll answer as many as I can. :)

There's a bug open on the ncurses issue:
https://bugs.gentoo.org/show_bug.cgi?id=107235

On the console, I just use mpg321, I don't need any more complexity than that.

win32codecs does nothing on ppc, we can't use x86 binaries.

The emerge -uD world only having 5 packages is pretty normal, that will upgrade only the packages that have updates, If you switch to an unstable system, you'll get more frequent updates. There really isn't a reason to use -e on a regular basis.

On the newer iBook G4's, there's a new trackpad. You'll need to use a newer kernel and make sure that you've got the AppleTouch driver in your kernel as well as ADB.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
charlax
n00b
n00b


Joined: 14 Apr 2003
Posts: 64
Location: Nantes

PostPosted: Fri Dec 30, 2005 3:14 pm    Post subject: Reply with quote

Thank's again for your help...

1 - For the moment, I also use mpg123or mpg321, but I can't play an entire directory containing subdirectory. I could use a playlist, but ls can't give absolute path. Any workaround ?

2 - From my point of view, I thank that when a Gentoo installation is as broken as mine, I should recompile all the programs in order to resolve all "segmentation faul error". Is the right thing to do ? Should I reinstall my Gentoo ?

3 - Does the 2.6.14-gentoo-r5 kernel include the touchpad driver ? There is such an option in the .config file, so I guess it's the case.
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Sat Dec 31, 2005 3:16 am    Post subject: Reply with quote

that's not you entire make.conf, is it? I assume you abridged it for online purposes?
There should be a sample make.conf.example you use as a base, and then use mirrorconfig and uflag to set your mirrors for rsync and ftp and userflags. My compile options are the default ones for G4 74XX processors greater than the 7400, aka original G4.

I use this script to find all my MP3s on my mac partition (/mnt/MacOSX) and alias them into a local folder. I usually then "mp3blaster mp3s/*"
Code:
 find /mnt/MacOSX/Users/rupert/Music/iTunes/iTunes\ Music/ -name '*.mp3' -exec ln -s {} /root/mp3s/ ';'
Back to top
View user's profile Send private message
charlax
n00b
n00b


Joined: 14 Apr 2003
Posts: 64
Location: Nantes

PostPosted: Sat Dec 31, 2005 10:19 am    Post subject: Reply with quote

Thank's again.

Yes, it does is my entire make.conf :oops: Does it matter ?

Thank you for your script (and sorry for my poor english...).
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Mon Jan 02, 2006 8:50 am    Post subject: Reply with quote

Take the /etc/make.conf.example and copy it. Tweak the copy (add your use flags, uncomment the ppc 7450 gcc flags, and maybe emerge mirrorconf (I think that's what it's called) and run it to set up geographically close gentoo mirror servers.

The make.conf you have is super-barebones.
Back to top
View user's profile Send private message
charlax
n00b
n00b


Joined: 14 Apr 2003
Posts: 64
Location: Nantes

PostPosted: Sat Jan 14, 2006 10:37 am    Post subject: Reply with quote

Okay thanks.

Now I'm posting from Firefox... That's a good beginning. But I have another questions :

1 - After 20 seconds of inactivity, pbbutonsd dims the screen, even if I'm connected to AC. According to my configuration, it should dim the screen only when I'm on battery. It seems to be the same problem here : https://forums.gentoo.org/viewtopic-t-298511-highlight-pbbutonsd.html
Code:
ca@ibook ~ $ zcat /proc/config.gz | grep -i evdev
CONFIG_INPUT_EVDEV=y


Here is my pbbutonsd.conf :
Code:
# configfile for pbbuttonsd >= version 0.5
# for options see man pbbuttonsd.conf

#userallowed            = paranoid
#autorescan             = no

# [MODULE POWERSAVE]
onAC_sleep              = no
onAC_dim                = no
#onAC_coversleep         = no
onAC_Tsleep             = 0 ; 11000
onAC_Tdim               = 0 ; 600
onAC_Thdoff             = 0
onBattery_sleep         = yes
onBattery_dim           = yes
#onBattery_coversleep    = yes
onBattery_Tsleep        = 3000  ; time in 1/10s
onBattery_Tdim          = 600   ; time in 1/10s
onBattery_Thdoff        = 12     ; time in multiple of 5 second intervals
SleepKey                = 116
SleepKeyDelay           = 0     ; values > 0 may be dangerous, if the power key is used to trigger sleep
BWL_First               = 21     ; 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_BatCritical     = "/sbin/shutdown -h now"
#Script_ProfChanged     = ""
Script_HDSetup          = "/sbin/hdparm -p -S %d /dev/hda"
CPULoad_sleeplock       = yes
CPULoad_min             = 20      ; value in percent
CPULoad_period          = 20      ; time in seconds
NETLoad_sleeplock       = yes
NETLoad_min             = 4096    ; trafic in Bytes/s
NETLoad_period          = 20      ; time in seconds
NETLoad_device          = eth0
EmergencyAction         = sleep   ; Action, if battery is critically low
HeartbeatBeep           = yes

# [MODULE DISPLAY]
#Brightness             = 12      ; initial brightness level
BrightnessupKey         = 225
BrightnessdownKey       = 224
dev_framebuffer         = "/dev/fb0"
UseFBBlank              = yes
FadingSpeed             = 3       ; dimming smoothly
DimFullyDark            = no

# [MODULE OSSMIXER]
dev_mixer               = "/dev/mixer"
mixerchannels           = "volume, speaker"
volume                  = 50       ; initial volume level
speakers_muted          = no       ; mute after startup?
volumeupkey             = 115
volumedownkey           = 114
mutekey                 = 113
mixerinitdelay          = no

# [MODULE CDROM]
dev_cdrom               = "/dev/cdroms/cdrom0"
ejectcdkey              = 161
ejectcdkeydelay         = 0

# [MODULE PMAC]
dev_pmu                 = "/dev/pmu"
dev_adb                 = "/dev/adb"
tpmodeupkey             = 225 + alt
tpmodedownkey           = 224 + alt
tpmode                  = notap
kbdmode                 = fkeysfirst
replace_pmud    = yes


Changing the first "no" to "0" does not change anything.

Here is my xorg.conf :
Code:
Section "ServerLayout"
        Identifier     "Simple Layout"
        Screen      0  "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option "MergeFB" "On"
EndSection

Section "Files"
        RgbPath         "/usr/lib/X11/rgb"
#       ModulePath      "/usr/X11R6/lib/modules"
        FontPath        "/usr/share/fonts/TTF"
        FontPath        "/usr/share/fonts/misc/"
#       FontPath        "/usr/share/fonts/Speedo/"
        FontPath        "/usr/share/fonts/Type1/"
#       FontPath        "/usr/share/fonts/CID/"
        FontPath        "/usr/share/fonts/75dpi/"
        FontPath        "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
#       Load  "extmod"
        Subsection "extmod"
                Option "omit xfree86-dga"
        EndSubsection
#       Load  "dri"
        Load  "dbe"
#       Load  "record"
#       Load  "xtrap"
#       Load  "glx"
#       Load  "speedo"
        Load  "type1"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
#       Option      "CoreKeyboard"
#       Option      "XkbRules" "xorg"
        #Option      "XkbModel" "macintosh"
        Option      "XkbModel" "ibook"
        Option      "XkbLayout" "fr"
        Option      "XkbOption" "lv3:lwin_switch"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "Protocol"        "IMPS/2"
        Option          "ZAxisMapping"    "4 5"
        Option  "Device"        "/dev/input/mice"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        #HorizSync       30-70
        #VertRefresh     50-160
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon 9200 Mobility"
#       Option      "UseFBDev"
#       Option      "AGPMode" "4"
        Option      "EnablePageFlip" "On"
        Option      "LVDSProbePLL"  "true"
#       ChipID      0x514d
#       Option      "CloneMode" "1024x768"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24

        SubSection "Display"
                Depth 8
                Modes   "1024x768" "640x480" "800x600"
        EndSubSection

        SubSection "Display"
                Depth 15
                Modes   "1024x768" "640x480" "800x600"
        EndSubSection


        SubSection "Display"
                Depth 16
                Modes   "1024x768" "640x480" "800x600"
        EndSubSection

        SubSection "Display"
                Depth 24
                Modes   "1024x768" "640x480" "800x600"
        EndSubSection
EndSection

#Section "DRI"
#       Mode 0666
#EndSection



2 - Xorg now works. I've tested some xorg.conf files that have crashed. And I can't understand why. I've put some fies that I have tested here : http://d3in.homelinux.org/~ca/files/linux/xorg_ibook_gentoo/ With these files, X11 crash with no warning or error.

Do you think I should write a bug report (to x11) ?

3 - What driver do you use for the apple touchpad ? I've CONFIG_USB_APPLETOUCH=y ; and it works fine under Xorg, but I would like to have the two finger scrolling and the right button emulation like under MacOs (Apple + tap).

4 - What is your limit_adjust and your specified_fan_speed for adt746x ?

5 - Why the default font config in KDE is so ugly ?

Thx again.
And happy new year !
Back to top
View user's profile Send private message
Fugee47
Apprentice
Apprentice


Joined: 25 Nov 2004
Posts: 196
Location: Germany

PostPosted: Sat Jan 14, 2006 12:39 pm    Post subject: Reply with quote

your xorg.conf seems to be ok, here is my pbbuttons.conf:

# 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 = no ; automatic rescan of event devices
CmdTimeout = 4

# [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 = 0 ; 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 = 3000 ; 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 = OSS ; none, auto, OSS or ALSA
#Volume = 50 ; initial volume level
Speakers_muted = no ; mute after startup?
VolumeUpKey = 115
VolumeDownKey = 114
MuteKey = 113
OSS_Mixer = "/dev/mixer" ; settings for OSS
OSS_Channels = "pcm, speaker"
ALSA_Card = "default" ; settings for ALSA
ALSA_Elements = "PCM"
MixerInitDelay = no

# [MODULE CDROM]
dev_CDROM = "/dev/cdroms/cdrom0"
EjectCDKey = 161
EjectCDKeyDelay = 0

# [MODULE PMAC]
dev_PMU = "/dev/pmu"
dev_ADB = "/dev/adb"
TPModeUpKey = 225 + alt
TPModeDownKey = 224 + alt
#TPMode = drag
TPMode = notap
KBDMode = fkeysfirst
Batlog = none
NoTapTyping = no


fan-speed-managment:
this is the entry from my modules.autoload/kernel-2.6:

therm_adt746x fan_speed=32 limit_adjust=6
Back to top
View user's profile Send private message
charlax
n00b
n00b


Joined: 14 Apr 2003
Posts: 64
Location: Nantes

PostPosted: Sat Jan 14, 2006 1:36 pm    Post subject: Reply with quote

Thank you. Now pbbuttonsd works fine. I think I made an error :oops: -> I named the configuration file pbbutonsd.conf, instead of pbbuttonsd.conf But I'm not sure because I hadn't tested before.

Concerning the problem with ncurses, it seems to be a bug, because it works fine in a Konsole.
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Sat Jan 14, 2006 1:37 pm    Post subject: Reply with quote

If you use the synaptics driver you can have pad scrolling and right button emulation. It works a little different though; to scroll you drag on the right side of the pad, and to right click either tap a corner of the pad or tap with three fingers.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
charlax
n00b
n00b


Joined: 14 Apr 2003
Posts: 64
Location: Nantes

PostPosted: Sat Jan 14, 2006 1:44 pm    Post subject: Reply with quote

ecatmur wrote:
If you use the synaptics driver you can have pad scrolling and right button emulation. It works a little different though; to scroll you drag on the right side of the pad, and to right click either tap a corner of the pad or tap with three fingers.


That's what I thank.

Do you think it would be possible in the future that someone implements this function ?
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Sat Jan 14, 2006 1:52 pm    Post subject: Reply with quote

I'm not sure. The problem is it'd need a driver to handle both the keyboard and touchpad; currently they're handled by different drivers from the hardware up to X.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
charlax
n00b
n00b


Joined: 14 Apr 2003
Posts: 64
Location: Nantes

PostPosted: Sat Jan 14, 2006 2:21 pm    Post subject: Reply with quote

And for the two-fingers scrolling ?

I'm now using synaptics. Works fine. Can anyone share his xorg.conf with the part concerning synaptics ?
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 838
Location: England, Wakefield

PostPosted: Thu Jul 20, 2006 1:27 am    Post subject: Reply with quote

I use this config for synaptics...

Code:
Section "InputDevice"
        Identifier      "Mouse0"
        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          "0.02"
        Option          "FingerLow"     "55"
        Option          "FingerHigh"    "60"
        Option          "MaxTapMove"    "20"
        Option          "ZAxisMapping" "4 5 6 7"
        Option          "MaxTapTime"    "100"
        Option          "HorizScrollDelta"      "0"
        Option          "VertScrollDelta"       "30"
        Option          "SHMConfig"             "on"
EndSection


one finger scrolling im afraid

:)
_________________
Main:
Kernel: 4.19.57 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
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