Subject: vald driver and Toshiba Libretto L2
To: None <port-i386@netbsd.org>
From: Curt Sampson <cjs@cynic.net>
List: port-i386
Date: 01/21/2005 19:16:07
I just upgraded my Toshiba Libretto L2 to 2.0, and the vald driver
doesn't seem to be working properly for me. (It used to, back in the
1.6E days.) I've appended a dmesg. The vald does seem to be detected
and configured, but using Fn + F6 and Fn + F7 doesn't change the LCD
brightness, nor does Fn + F8 toggle the fan.

Any ideas?

cjs
-- 
Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.NetBSD.org
      Make up enjoying your city life...produced by BIC CAMERA


NetBSD 2.0_STABLE (ANGELIC-$Revision: 1.1 $) #0: Fri Jan 21 13:41:40 JST 2005
 	cjs@cjs.tabemo.com:/u/netbsd/src-2/sys/arch/i386/compile/ANGELIC
total memory = 366 MB
avail memory = 350 MB
BIOS32 rev. 0 found at 0xfb5bb
PCI BIOS rev. 2.1 found at 0xfcd73
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xf01c0, size 112 bytes (5 entries)
PCI Interrupt Router at 000:07:0 (Acer Labs M1543 PCI-ISA Bridge compatible)
------------------------------------------
   device vendor product pin PIRQ IRQ stage
------------------------------------------
000:04:0 0x5333 0x8c12   A  0x00  11  0    already assigned
000:06:0 0x10b9 0x5451   A  0x07  10  2    fixed up
000:14:0 0x8086 0x1229   A  0x02  10  0    already assigned
000:18:0 0x1179 0x0617   A  0x01  10  2    fixed up
000:20:0 0x10b9 0x5237   A  0x06  10  2    WARNING: preserving irq 7
------------------------------------------
PCI fixup examining 1279:395
PCI fixup examining 1279:396
PCI fixup examining 1279:397
PCI fixup examining 5333:8c12
PCI fixup examining 10b9:5451
PCI fixup examining 10b9:1533
PCI fixup examining 8086:1229
PCI fixup examining 10b9:5229
PCI fixup examining 10b9:7101
PCI fixup examining 1179:617
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 10b9:5237
PCI bus #1 is the last bus
[System BIOS Setting]-----------------------
   device vendor product
   register space address    size
--------------------------------------------
000:00:0 0x1279 0x0395
 	10h mem  0xefd00000 0x00100000
 		[OK]
000:00:1 0x1279 0x0396
 		[OK]
000:00:2 0x1279 0x0397
 		[OK]
000:04:0 0x5333 0x8c12
 	10h mem  0xe0000000 0x08000000
 		[OK]
000:06:0 0x10b9 0x5451
 	10h port 0x00000000 0x00000100
 	14h mem  0x00000000 0x00001000
 		[NG]
000:07:0 0x10b9 0x1533
 		[OK]
000:14:0 0x8086 0x1229
 	10h mem  0xdffff000 0x00001000
 	14h port 0x0000edc0 0x00000040
 	18h mem  0xdfe00000 0x00100000
 		[OK]
000:16:0 0x10b9 0x5229
 	20h port 0x0000edb0 0x00000010
 		[OK]
000:17:0 0x10b9 0x7101
 		[OK]
000:18:0 0x1179 0x0617
 	10h mem  0x00000000 0x00001000
 		[NG]
000:20:0 0x10b9 0x5237
 	10h mem  0xdfdfe000 0x00001000
 		[OK]
--------------------------[  2 devices bogus]
  Physical memory end: 0x16f4c000
  PCI memory mapped I/O space start: 0x17000000
[PCIBIOS fixup stage]-----------------------
   device vendor product
   register space address    size
--------------------------------------------
000:00:0 0x1279 0x0395
 	10h mem  0xefd00000 0x00100000
 		[OK]
000:00:1 0x1279 0x0396
 		[OK]
000:00:2 0x1279 0x0397
 		[OK]
000:04:0 0x5333 0x8c12
 	10h mem  0xe0000000 0x08000000
 		[OK]
000:06:0 0x10b9 0x5451
 	10h port 0x00005800 0x00000100
 	14h mem  0x17000000 0x00001000
 		[OK]
000:07:0 0x10b9 0x1533
 		[OK]
000:14:0 0x8086 0x1229
 	10h mem  0xdffff000 0x00001000
 	14h port 0x0000edc0 0x00000040
 	18h mem  0xdfe00000 0x00100000
 		[OK]
000:16:0 0x10b9 0x5229
 	20h port 0x0000edb0 0x00000010
 		[OK]
000:17:0 0x10b9 0x7101
 		[OK]
000:18:0 0x1179 0x0617
 	10h mem  0x17001000 0x00001000
 		[OK]
000:20:0 0x10b9 0x5237
 	10h mem  0xdfdfe000 0x00001000
 		[OK]
--------------------------[  0 devices bogus]
mainbus0 (root)
  tbxface-0198 [01] AcpiLoadTables        : ACPI Tables successfully acquired
Parsing all Control Methods:.............................................................................................
Table [DSDT](id F004) - 500 Objects with 37 Devices 93 Methods 9 Regions
ACPI Namespace successfully loaded at root 0xc0819420
cpu0 at mainbus0: (uniprocessor)
cpu0: Transmeta Crusoe (586-class), 597.76 MHz, id 0x543
cpu0: Processor revision 1.3.1.3
cpu0: Code Morphing Software Rev: 4.2.5-8-148
cpu0: 20010503 11:00 official release 4.2.5#1
cpu0: LongRun mode: 1  <600MHz 1600mV 100%>
cpu0: features 80893f<FPU,VME,DE,PSE,TSC,MSR,CX8,SEP>
cpu0: features 80893f<CMOV,MMX>
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20040211
acpi0: X/RSDT: OemId <TOSHIB,L1      ,20010130>, AslId <TASM,04010000>
evxfevnt-0175 [02] AcpiEnable            : Transition to ACPI mode successful
evgpeblk-0869 [08] EvCreateGpeBlock      : GPE 00 to 63 [_GPE] 8 regs at 000000000000EE18 on int 9
Completing Region/Field/Buffer/Package initialization:..........................................
Initialized 9/9 Regions 0/0 Fields 15/15 Buffers 18/18 Packages (508 nodes)
Executing all Device _STA and_INI methods:.......................................
39 Devices found containing: 39 _STA, 1 _INI methods
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
acpi_pci_fixup starts:
acpi0: fixing up PCI bus 0 at level 1
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0A03 at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0800 at acpi0 not configured
PNP0C04 at acpi0 not configured
PNP0303 at acpi0 not configured
PNP0F13 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0C02 at acpi0 not configured
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
vald0 at acpi0 (TOS6200): Toshiba VALD
AC adaptor status connected
LCD backlight status on
vald0: get LCD brightness via _BCL
acpi_libright_get: start
_BCL retrun: 7 packages
 	 Full Power Level: 80
 	 on Battery Level: 10
 	 Possible Level:  10 30 50 80 100
LCD bright
 	 acpi_libright_set: Set brightness to 100%
TOS6201 at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
PNP0C0B at acpi0 not configured
PNP0C0B at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Transmeta Corp LongRun Northbridge (rev. 0x01)
Transmeta Corp SDRAM Controller (RAM memory) at pci0 dev 0 function 1 not configured
Transmeta Corp BIOS Scratchpad (RAM memory) at pci0 dev 0 function 2 not configured
vga1 at pci0 dev 4 function 0: S3 Savage/IX+MV (rev. 0x13)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
autri0 at pci0 dev 6 function 0: Acer Labs M5451 AC-Link Controller Audio Device (rev. 0x01)
autri0: interrupting at irq 10
autri0: ac97: Asahi Kasei AK4541/AK4543 codec; headphone, 18 bit DAC, 18 bit ADC, AKM 3D
audio0 at autri0: full duplex, mmap, independent
midi0 at autri0: 4DWAVE MIDI UART
pcib0 at pci0 dev 7 function 0
pcib0: Acer Labs M1543 PCI-ISA Bridge (rev. 0x00)
fxp0 at pci0 dev 14 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:00:39:9d:43:99
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aceride0 at pci0 dev 16 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc3)
aceride0: bus-master DMA support present
aceride0: primary channel wired to compatibility mode
aceride0: primary channel interrupting at irq 14
atabus0 at aceride0 channel 0
aceride0: secondary channel wired to compatibility mode
aceride0: secondary channel ignored (disabled)
Acer Labs M7101 Power Management Controller (miscellaneous bridge) at pci0 dev 17 function 0 not configured
cbb0 at pci0 dev 18 function 0: Toshiba ToPIC100 CardBus-PCI Bridge (rev. 0x32)
ohci0 at pci0 dev 20 function 0: Acer Labs M5237 USB Host Controller (rev. 0x03)
ohci0: interrupting at irq 7
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
isapnp0: no ISA Plug 'n Play devices found
cbb0: interrupting at irq 10
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0
pcmcia0 at cardslot0
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
wd0 at atabus0 drive 0: <TOSHIBA MK1016GAP>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 9590 MB, 19485 cyl, 16 head, 63 sec, 512 bytes/sect x 19640880 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)