Hi,

(Sorry for my english.)

I have buy a laptop (HP Pavilion dv7-6090ef) with 2 graphics cards

The result of the command "cat /sys/kernel/debug/vgaswitcheroo/switch" is
Code:
0:DIS: :Pwr:0000:01:00.0
1:IGD:+:Pwr:0000:00:02.0
If i use the command "echo OFF > /sys/kernel/debug/vgaswitcheroo/switch", the result is :
Code:
0:DIS: :Off:0000:01:00.0
1:IGD:+:Pwr:0000:00:02.0
If i use the command "echo DIS > /sys/kernel/debug/vgaswitcheroo/switch", the laptop freeze. The /var/log/messages :
Code:
kernel: [   51.431992] fbcon: Remapping primary device, fb0, to tty 1-63
kernel: [   51.432259] i915: switched off
kernel: [   65.405216] SysRq : Emergency Sync

The kernel : 2.6.38-gentoo-r6 and 2.6.39-gentoo.

I don't understand why the laptop frozen.

Thanks.