Skip to contentSkip to conversation

Power management on Sony C1Vx

DISCUSSION Matthias Bruestle 3 participants 6 messages Feb 25, 2001 – Feb 26, 2001

lore
Share & tools
lore
#0 lore raw

Note as stated in the FAQ: I am not subscribed, so please CC also to me, when answering. (Or else my spies have to do this. :) )

Mahlzeit

I have been told, that I might get help here. I have a Sony VAIO C1Vx. (In my case x=E.) My problem is the power management, i.e. standby and suspend. I was not able to get it working (properly). Is here someone who got it working or knows, that it will not work?

My tries so far:

2.4.2 with APM:

- Fn+Fxx does nothing.
- standby makes the display black, but switches not the backlights off. The only way to go back to normal is by switching to a text console and then back to X.
- suspend is done properly, but to only way to get back to normal is by switching the computer off and then boot again.

2.2.16 with APM:

- Same as above.

2.4.2 with ACPI:

- I have compiled 2.4.2 with ACPI and without APM. acpid is started.
- Fn-Fxx does hang the display and probably computer until a few seconds after pressing a key or mouse button.
- Don't know no other way of going into suspend or standby with ACPI.

2.4.2-ac3 with ACPI:

- Same as above, but Fn-Fxx does nothing.

So do I wasting here my time or is it possible to get standby/suspend working with the C1Vx? Has somebody got it working with APM or ACPI? Some pointers or even a detailed description?

Thanks all

endergone Zwiebeltuete

PS: I have installed Red Hat 7.0 (aka Little Red Ridinghood).

Signature · 1 line
live free or die
#1 lore raw
Quoted 10 lines · Matthias Bruestle

Note as stated in the FAQ: I am not subscribed, so please CC also to me, when answering. (Or else my spies have to do this. :) )

Mahlzeit

I have been told, that I might get help here. I have a Sony VAIO C1Vx. (In my case x=E.) My problem is the power management, i.e. standby and suspend. I was not able to get it working (properly). Is here someone who got it working or knows, that it will not work?

Try Gvaiocontrols for screen brightness (the volume control doesn't work yet).

http://gvaiocontrols.serialhacker.net/

Signature · 2 lines
Drew Bertola  | Send a text message to my pager or cell ... 
              |   http://jpager.com/Drew
#2 lore raw
In reply to Matthias Bruestle
Quoted 2 lines
Quoted 2 lines

Note as stated in the FAQ: I am not subscribed, so please CC also to me, when answering. (Or else my spies have to do this. :) )

Mahlzeit

Quoted 2 lines · Drew Bertola

Try Gvaiocontrols for screen brightness (the volume control doesn't work yet).

That works. There is also the commandline utility setbrightness. This works too, but my problem is standby and suspend.

Thanks

endergone Zwiebeltuete

Signature · 1 line
live free or die
#3 lore raw
In reply to Matthias Bruestle

Note as stated in the FAQ: I am not subscribed, so please CC also to me, when answering. (Or else my spies have to do this. :) )

Mahlzeit

I played a bit around more. /proc/sys/acpi looks good. The disassembled output of FAC{SP} and DSDT o.s.l.t. looks "meaningfull". But I cannot see any events in /proc/sys/acpi/event. (This is with 2.4.2-ac3.)

Thanks

endergone Zwiebeltuete

Signature · 1 line
live free or die
#4 lore raw
In reply to Matthias Bruestle

Hi!

I have a C1VJ.

Quoted 11 lines

Note as stated in the FAQ: I am not subscribed, so please CC also to me, when answering. (Or else my spies have to do this. :) )

Mahlzeit

I have been told, that I might get help here. I have a Sony VAIO C1Vx. (In my case x=E.) My problem is the power management, i.e. standby and suspend. I was not able to get it working (properly). Is here someone who got it working or knows, that it will not work?

Quoted 5 lines

My tries so far:

2.4.2 with APM:

- Fn+Fxx does nothing.

I think ... This <Fn+Fxx> keys controled by SPIC(Sony Programmable I/O Control Device). Download a picturebook application from
http://samba.org/picturebook/
and make it.
and check with this command...

 # capture -j
then press <Fn+Fxx> keys. May be you can see the press event...
Here is a event data...
 <Fn+ESC>  : event 0x10 0x29  &  event 0x10 0x28
 <Fn+F1>   : event 0x11    ------ same -----
 <Fn+F2>   :       0x12
    :                :    <F3> -> <F11> : 0x13 -> 0x1b
 <Fn+F12>  :       0x1c
 <Fn+"1">  :       0x21
 <Fn+"2">  :       0x22
 <Fn+"B">  :       0x35
 <Fn+"F">  :       0x33
 <Fn+"E">  :       0x32
 <Fn+"S">  :       0x34
 <Fn+"D">  :       0x31
Quoted 3 lines

- standby makes the display black, but switches not the backlights off. The only way to go back to normal is by switching to a text console and then back to X.

Recompile the your Kernel with "Enable console blanking using APM" option. then the backlights off.(only text console)
I checked Kernel 2.2.17,2.2.18 & 2.4.2

Quoted 6 lines

- suspend is done properly, but to only way to get back to normal is by switching the computer off and then boot again.

2.2.16 with APM:

- Same as above.

Same...
but. My case is .... Wake up the CPU-FAN & IDE-LED ???

Quoted 7 lines

2.4.2 with ACPI:

- I have compiled 2.4.2 with ACPI and without APM. acpid is started.
- Fn-Fxx does hang the display and probably computer until a few seconds after pressing a key or mouse button.
- Don't know no other way of going into suspend or standby with ACPI.

Quoted 8 lines

2.4.2-ac3 with ACPI:

- Same as above, but Fn-Fxx does nothing.

So do I wasting here my time or is it possible to get standby/suspend working with the C1Vx? Has somebody got it working with APM or ACPI? Some pointers or even a detailed description?

My VAIO could(can) go into suspend mode....but never wakeup. as same as APM case.

Quoted 15 lines

Thanks all

endergone Zwiebeltuete

PS: I have installed Red Hat 7.0 (aka Little Red Ridinghood).

Signature · 6 lines
live free or die
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

addition....
You can use the internal USB-Memory-Stick device with Kernel 2.2.18 and usb-storage module. and the sound module is ymfpci. take care about ymfpci module... because, some time I get a NOISE!!!
in this case just shutdown(not reboot!).

Thanks
--
Junichi Morita
[email protected]

#5 lore raw
In reply to Matthias Bruestle

Mahlzeit

Quoted 4 lines · Junichi Morita

I think ... This <Fn+Fxx> keys controled by SPIC(Sony Programmable I/O Control Device). Download a picturebook application from
http://samba.org/picturebook/
and make it.

Done.

Quoted 8 lines

and check with this command...

 # capture -j
then press <Fn+Fxx> keys. May be you can see the press event...
Here is a event data...
 <Fn+ESC>  : event 0x10 0x29  &  event 0x10 0x28
 <Fn+F1>   : event 0x11    ------ same -----
 <Fn+F2>   :       0x12
    :                :    <F3> -> <F11> : 0x13 -> 0x1b

Works, but it seams a bit flakey. Sometimes I get 0xXX 0x29 and 0xXX 0x28 and sometimes only 0xXX 0x28. The "jog dial" is even more flakey. This has the third variation of no events at all.

Quoted 6 lines
Quoted 3 lines

- standby makes the display black, but switches not the backlights off. The only way to go back to normal is by switching to a text console and then back to X.

Recompile the your Kernel with "Enable console blanking using APM" option. then the backlights off.(only text console)
I checked Kernel 2.2.17,2.2.18 & 2.4.2

The C1Vx does support as I have now heard in principle no APM, so I would have to use ACPI. If I want to use ACPI I cannot compile in APM, else it tries to use APM. A way to switch of the backlights, which works very reliable, is shuting the notebook. :)

Quoted 2 lines

My VAIO could(can) go into suspend mode....but never wakeup. as same as APM case.

I seams every C1Vx does other things.

Quoted 1 line

You can use the internal USB-Memory-Stick device with Kernel 2.2.18 and usb-storage module.

"modprobe usb-storage" does dectect the floppy, does detect the memory stick (prorietary crap) and hangs then forever. (With 2.4.2 and 2.4.2-ac3)

Quoted 2 lines

and the sound module is ymfpci.
take care about ymfpci module... because, some time I get a NOISE!!!

I had this also, the I installed the ALSA driver and no problems again with it.

Mahlzeit

endergone Zwiebeltuete

Signature · 1 line
live free or die