1SPICCTRL(1) General Commands Manual SPICCTRL(1)
2
3
4
6 SPICCTRL - Sony Vaio SPIC control program
7
9 spicctrl [-a|-b NUM|-B|-c|-C|-l NUM|-L|-p|-r|-R|-s|-S]
10
12 spicctrl is utility that can use the Sony Programmable I/O Control
13 device (SPIC), which is part of Sony Vaio's, to do a few simple things.
14
15 Currently, it can only be used to control the brightness on the LCD
16 backlight or print out the battery charge information. The amount of
17 brightness of the LCD is given as a number ranging from 0 (most dim) to
18 255 (most bright).
19
21 -a, --getacstatus
22 Get AC adaptor status (plugged in or not).
23
24 -b, --setbrightness=NUM
25 Set lcd screen brightness.
26
27 -B, --getbrightness
28 Get lcd screen brightness.
29
30 -c, --getbat1capacity
31 Get the first battery full capacity.
32
33 -C, --getbat2capacity
34 Get the second battery full capacity.
35
36 -l, --setbluetoothpower=NUM
37 Set the bluetooth device power state (0=off, 1=on).
38
39 -L, --getbluetoothpower
40 Get the bluetooth device power state (0=off, 1=on).
41
42 -p, --powerstatus
43 Prints out a battery summary line.
44
45 -r, --getbat1remaining
46 Get the first battery remaining capacity.
47
48 -R, --getbat2remaining
49 Get the second battery remaining capacity.
50
51 -s, --getbat1status
52 Get the first battery status (present or not).
53
54 -S, --getbat2status
55 Get the second battery status (present or not).
56
57 -f, --setfanstatus=NUM
58 Set fan speed (0=off, other values progressively increase the
59 speed of the fan - note that there are only about 6 speed levels
60 that map to the 8 bits)
61
62 -F, --getfanstatus
63 Get fan speed (0 should be OFF) -T, --gettempstatus Get tempera‐
64 ture (Degree C) - useful under APM when there is no way to get
65 the temperature otherwise
66
68 /dev/sonypi
69 sonypi interface device file. You must be able to write to the
70 file to use this program.
71
73 spicctrl was written by Stelian Pop <stelian@popies.net>, and this man
74 page was written by Joey Hess <joey@kitenet.net>.
75
76
77
78 11 December 2001 SPICCTRL(1)