Thursday, July 28, 2011

toshiba_acpi on L670-1JN

According to :

http://memebeam.org/toys/ToshibaAcpiDriver

$ modprobe toshiba_acpi
FATAL: Error inserting toshiba_acpi
(.../kernel/drivers/acpi/toshiba_acpi.ko): No such device

means that I do not have the proper toshiba, in my case, here is what I got:

FATAL: Error inserting toshiba_acpi (/lib/modules/3.0.0-1-amd64/kernel/drivers/platform/x86/toshiba_acpi.ko): No such device

However if one dig a little further

$ sudo acpidump -b -t DSDT -o DSDT.aml
$ iasl -d DSDT.aml
$ grep TOS1900 DSDT.dsl
Name (_HID, EisaId ("TOS1900"))
Yay ! this means I should be able to use toshiba_acpi ! TOS1900 is the Toshiba Value Added Package from windows.

ref:
* http://www.lesswatts.org/projects/acpi/overridingDSDT.php

Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]

Finally got it to work, simply:

$ sudo vim modprobe.d/alsa-base.conf

then add:

options snd-hda-intel model=auto
options snd-hda-intel model=toshiba
after a :

$ sudo alsa force-reload

it should show a nice output now:

[ 2759.008573] hda_codec: ALC259: BIOS auto-probing.
[ 2759.009419] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input29
[ 2759.011722] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input30
[ 2759.011949] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input31
[ 2759.012435] HDA Intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 2759.012601] HDA Intel 0000:01:00.1: irq 44 for MSI/MSI-X
[ 2759.012667] HDA Intel 0000:01:00.1: setting latency timer to 64
[ 2759.028207] HDMI status: Pin=3 Presence_Detect=0 ELD_Valid=0
[ 2759.028615] input: HD-Audio Generic HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input32
[ 2899.944868] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.


ref:
* https://help.ubuntu.com/community/HdaIntelSoundHowto

Tuesday, July 26, 2011

TOSHIBA Satellite L670-1JN

After much struggle, I finally found out that toshiba_acpi was meant for older toshiba laptop. It looks like the proper driver for mine is at:

Omnibook

Monday, July 25, 2011

[Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored

[ 0.520383] ACPI: EC: Look up EC in DSDT
[ 0.521053] ACPI Error: No handler for Region [ERAM] (ffff880133320bb8) [EmbeddedControl] (20110413/evregion-373)
[ 0.521057] ACPI Error: Region EmbeddedControl (ID=3) has no handler (20110413/exfldio-292)
[ 0.521064] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.EC0_._REG] (Node ffff880133321ab0), AE_NOT_EXIST (20110413/psparse-536)
[ 0.528310] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[ 0.528817] ACPI: SSDT 00000000bf713a18 00474 (v01 PmRef Cpu0Ist 00003000 INTL 20050624)
[ 0.529221] ACPI: Dynamic OEM Table Load:
[ 0.529223] ACPI: SSDT (null) 00474 (v01 PmRef Cpu0Ist 00003000 INTL 20050624)
[ 0.529395] ACPI: SSDT 00000000bf711018 00891 (v01 PmRef Cpu0Cst 00003001 INTL 20050624)
[ 0.529772] ACPI: Dynamic OEM Table Load:
[ 0.529774] ACPI: SSDT (null) 00891 (v01 PmRef Cpu0Cst 00003001 INTL 20050624)
[ 0.551289] ACPI: SSDT 00000000bf712a98 00303 (v01 PmRef ApIst 00003000 INTL 20050624)
[ 0.551762] ACPI: Dynamic OEM Table Load:
[ 0.551764] ACPI: SSDT (null) 00303 (v01 PmRef ApIst 00003000 INTL 20050624)
[ 0.563101] ACPI: SSDT 00000000bf710d98 00119 (v01 PmRef ApCst 00003000 INTL 20050624)
[ 0.563513] ACPI: Dynamic OEM Table Load:
[ 0.563515] ACPI: SSDT (null) 00119 (v01 PmRef ApCst 00003000 INTL 20050624)
[ 0.595654] ACPI: Interpreter enabled
[ 0.595658] ACPI: (supports S0 S3 S4 S5)
[ 0.595682] ACPI: Using IOAPIC for interrupt routing
[ 0.660178] ACPI: EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62
[ 0.660416] ACPI: No dock devices found.

sudo apt-get install linux-image-3.0.0-1-amd64

*-network
description: Wireless interface
product: RTL8191SEvB Wireless LAN Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:07:00.0
logical name: wlan0
version: 10
serial: 1c:65:9d:ba:25:47
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8192se driverversion=3.0.0-1-amd64 firmware=N/A ip=192.168.0.21 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:17 ioport:2000(size=256) memory:d1100000-d1103fff


ref:
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590280

Thursday, July 14, 2011

Laptop battery charging Laptop battery charging

In GNOME (debian squeeze) when you swap batteries, you get this funny message:
In GNOME (debian squeeze) when you swap batteries, you get this funny message:
Laptop battery charging
Laptop battery charging