Lenovo Y450 is a good laptop for everyday usage and I have installed Ubuntu 9.10 and Arch Linux on it. I have not tested the firewire connection, but pretty much everything else works, except for screen brightness control (for which there's a fix if you have the intel graphics card one) and the two dolby buttons (the first two next to on the top right speaker).
This page is just for discussing using Linux on the Lenovo Ideapad Y450. For a general discussion about this laptop you can visit the Lenovo Ideapad Y450 page on LapWik.
The brightness of can be adjusted on Y450s with Intel cards issuing the command: setpci -s 00:02.0 F4.B=“20”
Where the argument, 20 in the example, is in the range 01-FF, with FF being 100% brightness.
Branimir Vasilić has made a script for Ubuntu that manages to change the brightness using the special keys for it on the keyboard, it is available at his website.
Finally, there is a topic on lenovo's forums about Y450 on linux.
logger “ACPI: Triggered with $1/$2” logger “ACPI: Lid Detected as $lid_status action begining…” if [ $X_running > 0 ]; then
logger "ACPI: X seems to be running.. I'll assume it will handle this.."
exit 0
fi
case $lid_status in
"closed")
if [ -n $batt_status -a $batt_status = "discharging" ] ; then
sync
echo disk > /sys/power/state
else
sync
echo mem > /sys/power/state
fi
exit 0
;;
"open")
exit 0
lovewilliam, Saturday 30 of January, 2010 [01:31:55]
try iwlagn driver and wpa_supplicant .And it works on my Y450:-)
rfkill stuck, Thursday 31 of December, 2009 [15:19:42]
Hi, I have one of these and have had incredible problems getting the wireless to work. For whatever reason, no matter what the state of the wireless switch on the case, rfkill says that the wifi is hard blocked. This is frustrating since wireless networking is one of the most important capabilities for a notebook.
Also about half of the multimedia keys at the top don't work (which for the most part is fine, since they just do annoying bullshit). I think that one of them may be responsible for enabling/disabling wifi, but it could be that it just isn't getting caught.
Search
Sister Sites Lination - Blogging site for Linux users LinWik - Linux guides in wiki format
Discussion
Refered to this one
http://axcoto.com/blog/article/tag/siocsifflags-operation-not-possible-due-to-rf-kill
install rfkill to solve ths problem
I have the same problem here. But I found that this code(http://www.spinics.net/lists/linux-acpi/msg29795.html) actually made bluetooth & wifi devices to work on my Y450.
I'm not sure whether I was doing it the right way, but. Having the code included in 2.6.33 kernel source and rebuild the kernel works for me.
Still looking for a simpler solution though :(
here are my acpi auto scripts.. enjoy!!
some bits are stolen from random people.. but works great on my y450
#######################################battery.sh#################################
#!/bin/sh
LCD_AC=8
LCD_BAT=3
# spindown time for HD (man hdparm for valid values)
# I prefer 10 mins for acad and 5 mins for batt
ACAD_HD=120
BATT_HD=60
# battery event handler
last_status=`cat /var/db/acpi.lastpower`
status=`awk '/^state: / { print $2 }' /proc/acpi/ac_adapter/ACAD/state`
echo $status > /var/db/acpi.lastpower
if [ $4 = 00000001 ]; then
else
fi
logger “ACPI: Triggered with $1/$2 $3 $4 $5 $6”
logger “ACPI: AC Status $status detected… was $last_status..”
if [ $ac_plug = “plugged” ] & [ $last_status = “on-line” ]; then
logger "ACPI: False Trigger.. Ignoring.." #We Ignore false plugged in alerts when already plugged in exit 0fi
case $status in
"on-line") logger "Setting HD spindown to $(($ACAD_HD/60)) mins and adjusting brightness" /sbin/hdparm -S $ACAD_HD /dev/sda > /dev/null 2>&1 echo -n $LCD_AC > /sys/class/backlight/acpi_video0/brightness echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor exit 0 ;; "off-line") logger "Setting HD spindown to $(($BATT_HD/60)) minute and adjusting brightness" echo -n $LCD_BAT > /sys/class/backlight/acpi_video0/brightness /sbin/hdparm -S $BATT_HD /dev/sda > /dev/null 2>&1 echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor exit 0 ;; "*") logger "Something weird happened.. $status" exit 1 ;;esac
''``
###################################lidbutton.sh#############################
#!/bin/sh
# Laptop lid closed; shut down gracefully
# (need to implement “standby” mode instead)
# Only shutdown if running on battery; otherwise turn off lcd
# Get radeontool from: http://fdd.com/software/radeon/
lid_status=`awk '/^state:/ { print $2 }' /proc/acpi/button/lid/LID/state`
batt_status=`awk '/^charging state:/ { print $3 }' /proc/acpi/battery/BAT1/state`
X_running=`ps ca | awk '/X/ { print $1 }'`
logger “ACPI: Triggered with $1/$2”
logger “ACPI: Lid Detected as $lid_status action begining…”
if [ $X_running > 0 ]; then
logger "ACPI: X seems to be running.. I'll assume it will handle this.." exit 0fi
case $lid_status in
"closed") if [ -n $batt_status -a $batt_status = "discharging" ] ; then sync echo disk > /sys/power/state else sync echo mem > /sys/power/state fi exit 0 ;; "open") exit 0##############################################################################
############################brightness.sh#####################################
#!/bin/sh
current_brightness=`cat /sys/class/backlight/acpi_video0/brightness`
logger “ACPI: Brightness Adjustment Detected..”
case $3 in
"00000086") echo -n $(($current_brightness++ )) > /sys/class/backlight/acpi_video0/brightness ;; "00000087") echo -n $(($current_brightness-- )) > /sys/class/backlight/acpi_video0/brightness ;;esac
#########################################################################
try iwlagn driver and wpa_supplicant .And it works on my Y450:-)
Hi, I have one of these and have had incredible problems getting the wireless to work. For whatever reason, no matter what the state of the wireless switch on the case, rfkill says that the wifi is hard blocked. This is frustrating since wireless networking is one of the most important capabilities for a notebook.
Also about half of the multimedia keys at the top don't work (which for the most part is fine, since they just do annoying bullshit). I think that one of them may be responsible for enabling/disabling wifi, but it could be that it just isn't getting caught.