View previous topic :: View next topic |
Author |
Message |
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Sun Sep 17, 2006 7:10 am Post subject: |
|
|
Great! I have got suspend2/resume2 working perfectly. Details in the suspend thread on macintoo forums. Had to go right back to the beginning and work on the module loading/unloading and the page count for the ati card.
UPDATE:
when I say "perfectly" well - now that I have got the synaptics to survive it would be true to say "almost perfectly" because I have noticed a very curious thing:
I am able to hibernate and resume multiple times and all seems to be working fine but the cpufreqd reports both cores at "performance" on resume...
This is odd because I have no rules currently that demand performance (the heat thingo )
I suspected it was because the cpufreqd needed restarting on resume - this had the effect of making CPU0 resume operation in OnDemand but CPU1 remains at Performance.
So I'm not really sure why this is happening and its not really that big a deal I guess (except for the heat and wasted power)
Incidently it seems not be be taking notice of ac/batt events either...
Hmmm - any ideas?
cpufrequtils has no effect even though when i start /restart it I get:
Code: |
spitfire init.d # ./cpufrequtils restart
* Disabling performance cpufreq governor on CPU0 ... [ ok ]
* Disabling performance cpufreq governor on CPU1 ... [ ok ]
* Enabling ondemand cpufreq governor on CPU0 ... [ ok ]
* Enabling ondemand cpufreq governor on CPU1 ... [ ok ]
spitfire init.d # cat /etc/conf.d/cpufrequtils
# /etc/conf.d/cpufrequtils: config file for /etc/init.d/cpufrequtils
# Which governor to use. Must be one of the governors listed in:
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
#
GOVERNOR="ondemand"
|
I think cpufreqd and cpufrequtils are not meant to be run together? I dio not start it in my rc-update (only cpufreqd)
Code: |
spitfire init.d # rc-update -s
acpid | battery default
alsasound | boot
atieventsd | battery default
bluetooth | default
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
cpufreqd | battery default
dbus | battery default
gpm | battery default
hald | boot
hostname | boot
hotplug | default
keymaps | boot
laptop_mode | battery default
local | battery default nonetwork
localmount | boot
modules | boot
net.lo | boot
ntp-client | battery default
rmnologin | boot
samba | battery default
syndaemon | battery default
syslog-ng | battery default
urandom | boot
vixie-cron | battery default
|
gnome seems to ignore all this and is reporting OnDemand on 0 and Performance on 1... _________________ ]8P |
|
Back to top |
|
|
vibrokatana Guru
Joined: 09 Feb 2006 Posts: 328 Location: o0o0oo
|
Posted: Mon Sep 18, 2006 6:24 pm Post subject: |
|
|
I just use the govenor controller in e17, the one in gnome also works. For the lid closed, I had to uncommend something in the acpid sh script
Code: |
case "$action" in
power)
/sbin/init 0
;;
# if your laptop doesnt turn on/off the display via hardware
# switch and instead just generates an acpi event, you can force
# X to turn off the display via dpms. note you will have to run
# 'xhost +local:0' so root can access the X DISPLAY.
#lid)
#xset dpms force off
#;;
*) log_unhandled $* ;;
esac
;;
|
the cpufreq govenor doesnt seem to catch the acpi events even tho they are there...
and I think it is a bug with the code as my /proc/cpuinfo shows both cores running at the right speed. _________________ My Systems - "I suggest the whole thing be coded in whitespace. Henceforth the code will be obscure and functional at the same time." |
|
Back to top |
|
|
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Thu Sep 21, 2006 10:00 pm Post subject: |
|
|
Hi VK - where is this acpid script? I started grepping but ran out of memory - started at /* haha... _________________ ]8P |
|
Back to top |
|
|
vibrokatana Guru
Joined: 09 Feb 2006 Posts: 328 Location: o0o0oo
|
Posted: Thu Sep 21, 2006 10:08 pm Post subject: |
|
|
stardotstar wrote: | Hi VK - where is this acpid script? I started grepping but ran out of memory - started at /* haha... |
/etc/acpi/default.sh
it is called in the /etc/inid.d/acpid script, init scripts are always fun to look at and learn how they do things _________________ My Systems - "I suggest the whole thing be coded in whitespace. Henceforth the code will be obscure and functional at the same time." |
|
Back to top |
|
|
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Sat Sep 23, 2006 1:35 am Post subject: |
|
|
Thanks VK - that has got me started, but I am stuck.
Despite adding xhost +local:0 to my Gnome session startup and also trying xhost + as local user and root and trying to make the screen blanking happen explicitly with the lm_lid.sh client rule, I always get the cannot open display:
Code: |
[Sat Sep 23 11:29:02 2006] executing action "/etc/acpi/actions/lm_lid.sh button/lid LID0 00000080 0000000c"
[Sat Sep 23 11:29:02 2006] BEGIN HANDLER MESSAGES
Laptop Mode Tools 1.31
On battery power: Activating, because ENABLE_LAPTOP_MODE_ON_BATTERY is set.
On ACPI and not on AC -- checking minimum battery charge.
Checking info and state for /proc/acpi/battery/BAT0.
Remaining charge: 49500
Design capacity: 63000
Laptop mode Checking if desired state is different from current state.
enabled, active [unchanged].
xset: unable to open display "0:0"
[Sat Sep 23 11:29:08 2006] END HANDLER MESSAGES
[Sat Sep 23 11:29:08 2006] action exited with status 1
[Sat Sep 23 11:29:08 2006] completed event "button/lid LID0 00000080 0000000c"
|
xset: unable to open display "0:0"
despite:
Code: |
stardotstar@spitfire /etc/init.d $ xhost +local:0
non-network local connections being added to access control list
stardotstar@spitfire /etc/init.d $ xhost +
access control disabled, clients can connect from any host
stardotstar@spitfire /etc/init.d $ su
Password:
spitfire init.d # vi /etc/acpi/actions/lm_lid.sh
spitfire init.d # ./acpid restart [ ok ]
* Stopping acpid ... [ ok ]
* Starting acpid ... [ ok ]
spitfire init.d # ./cpufreqd restart
* Starting CPU Frequency Daemon ... [ !! ]
spitfire init.d # ./cpufrequtils restart
* Enabling ondemand cpufreq governor on CPU0 ... [ ok ]
* Enabling ondemand cpufreq governor on CPU1 ... [ ok ]
spitfire init.d # xhost +
access control disabled, clients can connect from any host
spitfire init.d #
|
this is the section you mentioned:
Code: |
# if your laptop doesnt turn on/off the display via hardware
# switch and instead just generates an acpi event, you can force
# X to turn off the display via dpms. note you will have to run
# 'xhost +local:0' so root can access the X DISPLAY.
lid)
xset dpms force off
;;
|
and my # if your laptop doesnt turn on/off the display via hardware
# switch and instead just generates an acpi event, you can force
# X to turn off the display via dpms. note you will have to run
# 'xhost +local:0' so root can access the X DISPLAY.
lid)
xset dpms force off
;;
explicit rule:
Code: |
spitfire init.d # cat /etc/acpi/actions/lm_lid.sh
#!/bin/bash
test -f /usr/sbin/laptop_mode || exit 0
# lid button pressed/released event handler
/usr/sbin/laptop_mode auto
xset -display 0:0 dpms force off
|
I have tried this with xset using -display local:0 and without the display option.
I also have dpms enabled in my Xorg.conf and manually calling xset dpms force off works properly.
Any ideas what I am doing wrong? _________________ ]8P |
|
Back to top |
|
|
vibrokatana Guru
Joined: 09 Feb 2006 Posts: 328 Location: o0o0oo
|
Posted: Sat Sep 23, 2006 1:46 am Post subject: |
|
|
unfotunately that command(xhost +local:0) has to be run on each boot after the X session is up. I have an init script that kicks in after X. _________________ My Systems - "I suggest the whole thing be coded in whitespace. Henceforth the code will be obscure and functional at the same time." |
|
Back to top |
|
|
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Sat Sep 23, 2006 1:49 am Post subject: |
|
|
so, shouldn't it be working after I manually call it from a terminal (as user or root?) or does that not apply globally enough? _________________ ]8P |
|
Back to top |
|
|
vibrokatana Guru
Joined: 09 Feb 2006 Posts: 328 Location: o0o0oo
|
Posted: Sat Sep 23, 2006 1:53 am Post subject: |
|
|
if you have acpid with the lines uncommented, and run that command as root, then it should work.
I keep my dpms set to 2 minutes anyway, because the acpid needs to be restarted occasionally for some reason.
when watching a movie or game just type $ xset -dpms to turn off the dpms function (as user) and $ xset +dpms to turn it back on
I am still trying to work out why it doesnt like it, maybe I will write a shell script to run on boot. _________________ My Systems - "I suggest the whole thing be coded in whitespace. Henceforth the code will be obscure and functional at the same time." |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Sat Sep 23, 2006 2:11 am Post subject: |
|
|
vibrokatana wrote: | if you have acpid with the lines uncommented, and run that command as root, then it should work. | No dice here either, my screen keeps on after I close the lid. DPMS is working as the settings in xorg.conf tell it to, and acpid too, as I can suspend to RAM using the power button. _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Sat Sep 23, 2006 2:14 am Post subject: |
|
|
I can get
Code: |
stardotstar@spitfire /etc/init.d $ xset dpms force off
|
to work as user and root and the screen blanks immediately so I don't know why I can't kick it in after manually executing xhost + (as user or root_) _________________ ]8P |
|
Back to top |
|
|
vibrokatana Guru
Joined: 09 Feb 2006 Posts: 328 Location: o0o0oo
|
Posted: Sat Sep 23, 2006 2:36 am Post subject: |
|
|
stardotstar wrote: | I can get
Code: |
stardotstar@spitfire /etc/init.d $ xset dpms force off
|
to work as user and root and the screen blanks immediately so I don't know why I can't kick it in after manually executing xhost + (as user or root_) |
that is what that command is supposed to do
the problem is that root doesnt have access to the screen by default _________________ My Systems - "I suggest the whole thing be coded in whitespace. Henceforth the code will be obscure and functional at the same time." |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Sat Sep 23, 2006 2:39 am Post subject: |
|
|
vibrokatana wrote: | stardotstar wrote: | I can get
Code: |
stardotstar@spitfire /etc/init.d $ xset dpms force off
|
to work as user and root and the screen blanks immediately so I don't know why I can't kick it in after manually executing xhost + (as user or root_) |
that is what that command is supposed to do
the problem is that root doesnt have access to the screen by default |
Well, I can do it as root after xhost +local:0, but acpid still can't. _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
vibrokatana Guru
Joined: 09 Feb 2006 Posts: 328 Location: o0o0oo
|
Posted: Sat Sep 23, 2006 2:43 am Post subject: |
|
|
dmvianna wrote: | vibrokatana wrote: | stardotstar wrote: | I can get
Code: |
stardotstar@spitfire /etc/init.d $ xset dpms force off
|
to work as user and root and the screen blanks immediately so I don't know why I can't kick it in after manually executing xhost + (as user or root_) |
that is what that command is supposed to do
the problem is that root doesnt have access to the screen by default |
Well, I can do it as root after xhost +local:0, but acpid still can't. |
try restarting acpid, it likes to go nuts every once in awhile _________________ My Systems - "I suggest the whole thing be coded in whitespace. Henceforth the code will be obscure and functional at the same time." |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Sat Sep 23, 2006 2:52 am Post subject: |
|
|
vibrokatana wrote: | try restarting acpid, it likes to go nuts every once in awhile |
Nay. _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Sat Sep 23, 2006 3:40 pm Post subject: |
|
|
hmmm ditto _________________ ]8P |
|
Back to top |
|
|
vibrokatana Guru
Joined: 09 Feb 2006 Posts: 328 Location: o0o0oo
|
Posted: Mon Sep 25, 2006 6:59 pm Post subject: |
|
|
weird I will look into some stuff when I get back later on tonight _________________ My Systems - "I suggest the whole thing be coded in whitespace. Henceforth the code will be obscure and functional at the same time." |
|
Back to top |
|
|
aariel n00b
Joined: 19 Apr 2006 Posts: 28
|
|
Back to top |
|
|
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Wed Oct 18, 2006 6:10 am Post subject: |
|
|
Hi all, can anyone confirm that they are able to do wpa-psk associations with the atheros/madwifi/wpa_supp setup.
I am having the devil of a time getting reliable associations with my wifi - it always works fine at home but two networks at work will not hold and require very wierd steps to associate (stop initscript/manually call wpa_supp in foreground/kill wpa_supp/restart initscript and association happens but will fail periodically - frustrating)
Code: |
stardotstar@spitfire ~ $ cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=2
update_config=1
network={
ssid="Casper"
bssid=00:13:46:4c:43:0c
psk="##########"
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP WEP104 WEP40
auth_alg=OPEN
}
network={
ssid="skink"
key_mgmt=NONE
wep_key0="#####"
disabled=1
}
network={
ssid="sentinel"
bssid=00:14:bf:e3:ec:84
key_mgmt=NONE
auth_alg=OPEN
wep_key0=##########
disabled=1
}
|
Code: |
stardotstar@spitfire ~ $ cat /etc/conf.d/net
config_eth0=( "dhcp" )
# Prefer wpa_supplicant over wireless-tools
#preup() {
# if [[ ${IFACE} == "ath0" ]] ; then
# Some atheros cards need an extra up
# NOTE: the card is upped a few times anyway, so this *should* be redundant# interface_up "${IFACE}"
# Maybe give it time to settle
# sleep 2
# fi
#}
modules_eth0=( "ifconfig" )
modules_ath0=( "wpa_supplicant" )
modules_ath0=( "!iwconfig" )
wpa_supplicant_ath0="-Dmadwifi -dd -Kt -c/etc/wpa_supplicant.conf"
wpa_timeout_ath0=120
config_skink=( "dhcp" )
#config_ath0=( "192.168.0.166 netmask 255.255.255.0" )
#routes_ath0=( "default gw 192.168.0.1" )
#dns_servers_ath0=( "61.9.211.33" "61.9.211.1" )
#dns_search_ath0=( "BigPond" )
#config_ath0=( "dhcp" )
#config_Casper=( "dhcp" )
config_Casper=( "192.168.0.210 netmask 255.255.255.0" )
routes_Casper=( "default gw 192.168.0.1" )
dns_servers_Casper=( "172.27.9.230" )
dns_search_Casper=( "ca.canon.com.au" )
config_sentinel=( "192.168.100.244 netmask 255.255.255.0" )
routes_sentinel=( "default gw 192.168.100.1" )
dns_servers_sentinel=( "61.9.211.33" "61.9.211.1" )
dns_search_sentinel=( "BigPond" )
fallback_eth0=( "192.168.0.200 netmask 255.255.255.0" )
fallback_route_eth0=( "default va 192.168.0.1" )
dhcpcd_eth0="-t 20"
dhcpcd_ath0="-t 60"
|
Code: |
stardotstar@spitfire ~ $ lsmod
Module Size Used by
speedstep_centrino 4048 1
cpuid 2948 0
microcode 5328 0
msr 3460 0
aoe 19104 0
cryptoloop 2560 0
pktcdvd 24256 0
bcm203x 4484 0
bfusb 9988 0
firmware_class 7040 2 bcm203x,bfusb
bpa10x 9348 0
hci_uart 12664 0
hci_usb 12180 3
hci_vhci 5248 0
ide_disk 13184 0
sbp2 18312 0
sk98lin 142432 0
skge 30992 0
ieee80211_crypt_ccmp 6272 0
ieee80211softmac 19712 0
ieee80211 26184 1 ieee80211softmac
ieee80211_crypt_tkip 9088 0
ieee80211_crypt_wep 3712 0
ieee80211_crypt 3200 4 ieee80211_crypt_ccmp,ieee80211,ieee80211_crypt_tkip,ieee80211_crypt_wep
arc4 1408 0
ati_agp 6540 0
wlan_acl 3456 0
wlan_ccmp 6912 0
wlan_scan_ap 4224 0
wlan_wep 5504 0
wlan_tkip 11008 0
wlan_xauth 896 0
snd_rtctimer 1804 0
cpufreq_conservative 5000 0
cpufreq_ondemand 5268 2
cpufreq_performance 1024 0
cpufreq_powersave 1024 0
binfmt_aout 6284 0
binfmt_misc 9352 1
rfcomm 30228 2
l2cap 19584 5 rfcomm
bluetooth 36708 13 bfusb,bpa10x,hci_uart,hci_usb,hci_vhci,rfcomm,l2cap
snd_seq_oss 25472 0
snd_seq_midi_event 4224 1 snd_seq_oss
snd_seq 38352 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 5132 2 snd_seq_oss,snd_seq
snd_pcm_oss 31136 0
snd_mixer_oss 14336 1 snd_pcm_oss
fglrx 351340 8
agpgart 20428 2 ati_agp,fglrx
ide_cd 33824 0
cdrom 31136 2 pktcdvd,ide_cd
appleir 4352 0
usbhid 30980 0
eth1394 15620 0
piix 7940 0 [permanent]
wlan_scan_sta 11008 1
snd_hda_intel 13204 1
snd_hda_codec 112000 1 snd_hda_intel
snd_pcm 53380 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 16644 3 snd_rtctimer,snd_seq,snd_pcm
appletouch 6912 0
snd 35428 11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
generic 3204 0 [permanent]
ath_pci 78496 0
ohci1394 29488 0
ath_rate_sample 10880 1 ath_pci
ieee1394 266712 3 sbp2,eth1394,ohci1394
shpchp 31912 0
soundcore 5728 1 snd
ide_core 95132 4 ide_disk,ide_cd,piix,generic
wlan 156764 10 wlan_acl,wlan_ccmp,wlan_scan_ap,wlan_wep,wlan_tkip,wlan_xauth,wlan_scan_sta,ath_pci,ath_rate_sample
ath_hal 176208 3 ath_pci,ath_rate_sample
snd_page_alloc 6536 2 snd_hda_intel,snd_pcm
|
I have tried lots of wpa-psk setups and none work at all. Association never happens.
the manual high verbosity output is this:
Code: |
spitfire stardotstar # wpa_supplicant -dw -c/etc/wpa_supplicant.conf -Dmadwifi -iath0 -dddd
Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver 'madwifi' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='0' (DEPRECATED)
ap_scan=2
update_config=1
Line: 6 - start of a new network block
ssid - hexdump_ascii(len=6):
43 61 73 70 65 72 Casper
BSSID - hexdump(len=6): 00 13 46 4c 43 0c
PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
key_mgmt: 0x2
pairwise: 0x8
group: 0xe
auth_alg: 0x1
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line: 16 - start of a new network block
ssid - hexdump_ascii(len=5):
73 6b 69 6e 6b skink
key_mgmt: 0x4
wep_key0 - hexdump(len=5): [REMOVED]
disabled=1 (0x1)
Line: 23 - start of a new network block
ssid - hexdump_ascii(len=8):
73 65 6e 74 69 6e 65 6c sentinel
BSSID - hexdump(len=6): 00 14 bf e3 ec 84
key_mgmt: 0x4
auth_alg: 0x1
wep_key0 - hexdump(len=5): [REMOVED]
disabled=1 (0x1)
Priority group 0
id=0 ssid='Casper'
id=1 ssid='skink'
id=2 ssid='sentinel'
Initializing interface (2) 'ath0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=20 WE(source)=13 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:16:cb:be:72:d3
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_del_key: keyidx=1
wpa_driver_madwifi_del_key: keyidx=2
wpa_driver_madwifi_del_key: keyidx=3
wpa_driver_madwifi_set_countermeasures: enabled=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
ctrl_interface_group=0
Added interface ath0
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
Wireless event: cmd=0x8b06 len=8
Ignore event for foreign ifindex 3
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'Casper'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
Overriding auth_alg selection: 0x1
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 14 pairwise 8 key_mgmt 2 proto 2
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00 00 0f ac 02 00 00
No keys have been configured - skip key clearing
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_madwifi_associate
Setting authentication timeout: 60 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=15
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 933 bytes of scan results (4 BSSes)
Scan results: 4
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
wpa_supplicant_scan: Reached end of scan list - go back to beginning
Setting scan request: 0 sec 0 usec
Trying to associate with SSID 'Casper'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
Overriding auth_alg selection: 0x1
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 14 pairwise 8 key_mgmt 2 proto 2
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00 00 0f ac 02 00 00
No keys have been configured - skip key clearing
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_madwifi_associate
Setting authentication timeout: 60 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=15
|
_________________ ]8P |
|
Back to top |
|
|
vibrokatana Guru
Joined: 09 Feb 2006 Posts: 328 Location: o0o0oo
|
Posted: Wed Oct 18, 2006 6:16 am Post subject: |
|
|
I have issues connecting to several hotspots on campus, it seems that anything <60 qual doesnt connect. Those are open networks (but require login via web) _________________ My Systems - "I suggest the whole thing be coded in whitespace. Henceforth the code will be obscure and functional at the same time." |
|
Back to top |
|
|
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Thu Oct 19, 2006 3:21 am Post subject: |
|
|
OK I got it.
The eapol_version=2 and scan_ssid=1 had to be set for the two problematic network blocks - I am not sure if this is associated with the card features/capabilities or the APs in question!
_________________ ]8P |
|
Back to top |
|
|
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Sat Oct 21, 2006 6:38 am Post subject: |
|
|
My latest updates from portage (including heaps of Gnome stuff) has made backlight off on lid a reality for me. Couldn't get it sorted since last posted in this thread.
That is good news. In fact lots of stuff is better with the new ebuilds - not just from a MBP pov either. _________________ ]8P |
|
Back to top |
|
|
genmich Apprentice
Joined: 03 Apr 2003 Posts: 196
|
Posted: Sun Oct 22, 2006 12:40 pm Post subject: |
|
|
Hi,
i've received my MBP this week and successfully installed gentoo. Everything I need a the moment is running (don't tried bluetooth, wifi yet and going to try suspend later on). But I have an interesting graphic problem. If I look the the code-boxes in this forum I see some little dots, when I look at the screen from the top. Its hard to descripe, I hope the picture helps:
http://img143.imageshack.us/img143/1201/screenty9.jpg
fglrxinfo:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon X1600 Generic
OpenGL version string: 2.0.6065 (8.29.6)
glxgears
451 frames in 5.0 seconds = 90.198 FPS
352 frames in 5.0 seconds = 70.253 FPS
468 frames in 5.0 seconds = 93.405 FPS
383 frames in 5.0 seconds = 76.435 FPS
Oh, and is it possible to switch the FN key with the left ctrl? xev has no output for the fn key. |
|
Back to top |
|
|
dmvianna l33t
Joined: 22 Mar 2004 Posts: 742 Location: Down Underland
|
Posted: Mon Oct 23, 2006 1:40 am Post subject: |
|
|
miga wrote: | Oh, and is it possible to switch the FN key with the left ctrl? xev has no output for the fn key. |
xev is not supposed to detect the Fn key. If yours does not work, well, there are kernel patches around which solve the problem. Look in the other MB forum and in the Gentoo Wiki. _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
Back to top |
|
|
vibrokatana Guru
Joined: 09 Feb 2006 Posts: 328 Location: o0o0oo
|
Posted: Mon Oct 23, 2006 1:43 am Post subject: |
|
|
By default the function key modifies the existing keys. Removing the fn key patch may change that, but then you may end up remapping everything. _________________ My Systems - "I suggest the whole thing be coded in whitespace. Henceforth the code will be obscure and functional at the same time." |
|
Back to top |
|
|
_droop_ l33t
Joined: 30 May 2004 Posts: 957
|
Posted: Tue Oct 24, 2006 9:37 am Post subject: |
|
|
Hi,
I have a question but I was not able to find a proper answer :
Is there someone that uses a mackbook in single boot (only gentoo installed, no use of mac os (bootcamp) to install gentoo) ?
Is it difficult to do that ?
(In fact, I am interested in a mac mini but hardware looks very close).
Thanks in advance. |
|
Back to top |
|
|
|