Re: [Bug 136469] Re: toshiba p100 series dsdt acpi error no sound, works with acpi turned off.
By the way, zen-sources (based on kernel 2.6.24-rc3) doesn't need the fix to make the sound works on toshiba p100. You just compile it and sound works! http://forums.gentoo.org/viewtopic-t-616535-highlight-zen.html http://repo.or.cz/w/linux-2.6/zen-sources.git I use it since a week and everything is working well (using Arch linux). Le Tuesday 27 November 2007 11:43:41 Brint E. Kriebel, vous avez écrit : The instructions I originally wrote up for the workaround were pretty sketchy. loliverouge actually wrote up this really nice step-by-step piece on pulling down the files from my server and installing the custom kernel that I compiled. From what I've been seeing on this thread, it has been working fairly well for everyone. I just hope they roll a fix into the official kernel so I don't have to fight with the restricted- modules again. :-) I did things a little differently than loliverouge's step 2 and followed the steps I found somewhere else to rebuild my own DSDT file, but from what I have seen - finding information on fixing the DSDT file isn't too bad. - step 1 : download http://fragglenet.com/tools/toshiba_dsdt_kernel_fix.2.6.22-14_2007111300.ta r.gz - step 2 : fix dsdt for nvidia temperature (http://ql.homelinux.net/wiki/doku.php?id=ubuntu-7.04:dsdt#le_ventilateur_d e_la_gc_nvidia) - step 3 : open Terminal and enter this commands : * tar xvf toshiba_dsdt_kernel_fix.2.6.22-14_2007111300.tar.gz * cd toshiba_dsdt_kernel_fix.2.6.22-14_2007111300/ * dpkg -i *.deb - step 4 : reboot BTW - thanks for the steps loliverouge! Much nicer than my original ramblings after fighting with the kernel and module compiles for a few hours ;-) -Brint -- Dany Martineau Enseignant mathématiques École Le Harfang CSSMI -- toshiba p100 series dsdt acpi error no sound, works with acpi turned off. https://bugs.launchpad.net/bugs/136469 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 136469] Re: toshiba p100 series dsdt acpi error no sound, works with acpi turned off.
If you use the linuxant driver, try the generic package with source. It simply works with any kernel. You'll find it here: http://www.linuxant.com/drivers/hsf/full/downloads.php Take the one in DPKG format. Uninstall the other one before using the generic one. Folow the instructions and reboot. It worked for me when i was using ubuntu with generic kernel in the past. You also asked about recent distribution that works out of the box for the toshiba P100. Mandriva 2008 and Opensuse 10.3 works very well as they use kernel 2.6.22, so there is sound!. Modem also works with those distro. I tried both and found them as easy as ubuntu to use. Opensuse takes a long time to install, but mandriva is pretty straigtfoward to install. Good luck! Le Thursday 15 November 2007 01:58:39 nathanlanham, vous avez écrit : well here is what happened. I installed the packages and rebooted without a dsdt fix. My modem would not work. when i ran hsfconfig it said that the driver does not support custom kernels and i would have to buy a new driver. so i guess im without wound for now :( if it comes to internet or sounds i will go for internet. also i dont know but when i installed the packages and rebooted linux found no sound cardsis this normal without the dsdt? if you guys have an ideas please let me know. I think th hsf driver looks for the kernel name (so it wants to see 2.6.2214-generic) and the hsfconfig showed something like 2.6.22.14-dsdt.fixsomething. i dont know hwat to do. Does anyone know a disrto that will work out of the box with the sound? thanks a lot for all the helpyou guys are awesome. -- Dany Martineau Enseignant mathématiques École Le Harfang CSSMI -- toshiba p100 series dsdt acpi error no sound, works with acpi turned off. https://bugs.launchpad.net/bugs/136469 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 136469] Re: toshiba p100 series dsdt acpi error no sound, works with acpi turned off.
The problem is with kernel 2.6.22. There were a modification in drivers/acpi/ec.c that makes all kernel 2.6.22 useless with toshiba P100 notebooks. Ubuntu 7.10 backported patches from 2.6.23 in their 2.6.22 kernel. From now, one of the solution modify kernel sources. I just wrote to the main kernel developer who did the modification in drivers/acpi/ec.c that make problem exist. I just hope there will be a solution for kernel 2.6.24, because the problem is still there in 2.6.24 rc2. Currently, i can't help ubuntu users to create some deb packages because i don't use ubuntu. I would say that compiling the sources with the proposed modification and compiling restricted drivers works, but this is not for novices. -- toshiba p100 series dsdt acpi error no sound, works with acpi turned off. https://bugs.launchpad.net/bugs/136469 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 136469] Re: toshiba p100 series dsdt acpi error no sound, works with acpi turned off.
To RobA: I'm not even using ubuntu, but mandriva 2008.0. I wanted to share my discovery as i did use ubuntu sometimes and found people in community very helpful. As i'm using vanilla kernel with kamikaze patches (http://forums.gentoo.org/viewtopic-t-608387.html), i can send you my config file in attachment. ** Attachment added: kernel config for kernel 2.6.23 with kamikaze patches. http://launchpadlibrarian.net/10284847/config-2.6.23-kamikaze5 -- toshiba p100 series dsdt acpi error no sound, works with acpi turned off. https://bugs.launchpad.net/bugs/136469 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 136469] Re: toshiba p100 series dsdt acpi error no sound, works with acpi turned off.
I made my toshiba p100 (PSPA3C-MA502C) works with 2.6.23.1 vanilla kernel. I now have sound like before. I just edited linux-2.6.23.1/drivers/acpi/ec.c and remove theses lines (from line 879 to 892): if (ACPI_SUCCESS(status)) { printk(KERN_INFO PREFIX EC description table is found, configuring boot EC\n\n); boot_ec-command_addr = ecdt_ptr-control.address; boot_ec-data_addr = ecdt_ptr-data.address; boot_ec-gpe = ecdt_ptr-gpe; boot_ec-handle = ACPI_ROOT_OBJECT; } else { printk(KERN_DEBUG PREFIX Look up EC in DSDT\n); status = acpi_get_devices(ec_device_ids[0].id, ec_parse_device, boot_ec, NULL); /* Check that acpi_get_devices actually find something */ if (ACPI_FAILURE(status) || !boot_ec-handle) goto error; } I did make xconfig and added my custom dsdt file and compiled the kernel et voilà! My laptop now runs 2.6.23.1 kernel and have sound like it has with previous kernel. My graphic card vent is running well (46 C idle and 65 C when playing opengl games). I use bios V 4.00. I'm pretty sure that is possible to modify ubuntu's gusty kernel to make it work without going back to 2.6.22's kernel. I know it's a dirty hack, but it will probably lead to a proper solution! I'm not a developer, only a linux user that uses it since 1999 without running windows in parallel! -- toshiba p100 series dsdt acpi error no sound, works with acpi turned off. https://bugs.launchpad.net/bugs/136469 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 136469] Re: toshiba p100 series dsdt acpi error no sound, works with acpi turned off.
To ZdadrDeM: I did add a custom DSDT because my GPU's temperature is higher without it, even with Mandriva 2008.0. Don't forget that the point is to make the sound of the toshiba P100 works with kernel 2.6.23. Sound is working without custom DSDT, but i don't want to overheat my laptop... -- toshiba p100 series dsdt acpi error no sound, works with acpi turned off. https://bugs.launchpad.net/bugs/136469 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 136469] Re: toshiba p100 series dsdt acpi error no sound, works with acpi turned off.
This bug must be reported to kernels devs, because it affects kernel 2.6.23, so basically, every person who wants to install this kernel will face this bug and if it's not corrected, it will be in 2.6.24!! The dirty hack proposed might make something else work wrong. The lines erased were destined to correct the battery status on some asus notebook, so someone (i repeat, i'm no developer) have to find a proper solution for everyone! To Luis: It's my pleasure to help! Even if i don't use ubuntu right now, i might use it later or recommend to a friend. I like to test distros when i got the time to do it! -- toshiba p100 series dsdt acpi error no sound, works with acpi turned off. https://bugs.launchpad.net/bugs/136469 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 136469] Re: toshiba p100 series dsdt acpi error no sound, works with acpi turned off.
I think i may have some answers about this bug. I own a toshiba P100, so i know about the problem and custom DSDT. Last summer, i was using Arch Linux and when kernel 2.6.22 was out for Arch, i installed it on my laptop and lost sound, even if my DSDT file was ok. I decided to check on patched applied by arch devs on their kernel to find out that acpi-asus-m6-battery-fix.patch was the cause of all this (http://bugs.archlinux.org/task/7598#comment17914). I recompiled the 2.6.22 kernel without this patch and magically, the sound on my laptop was working again with my custom DSDT file. Last week, i've decided to try Gusty. Before trying it, i found out about this bug so i decided to investigate on it. I downloaded patch-2.6.23.bz2 from kernel.org to find out that that the some of the modifications that were in acpi-asus-m6-battery-fix.patch were in kernel 2.6.23. Here's acpi-asus-m6-battery-fix.patch If ECDT is not found, look up EC in DSDT. -begins here --- From: Alexey Starikovskiy [EMAIL PROTECTED] --- drivers/acpi/ec.c | 29 - 1 files changed, 16 insertions(+), 13 deletions(-) diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 82f496c..5cae633 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -801,8 +801,8 @@ ec_parse_device(acpi_handle handle, u32 Level, void *context, void **retval) ec-handle = handle; - ACPI_DEBUG_PRINT((ACPI_DB_INFO, GPE=0x%02lx, ports=0x%2lx, 0x%2lx, - ec-gpe, ec-command_addr, ec-data_addr)); + printk(KERN_INFO PREFIX GPE=0x%02lx, ports=0x%2lx, 0x%2lx\n, + ec-gpe, ec-command_addr, ec-data_addr); return AE_CTRL_TERMINATE; } @@ -819,19 +819,22 @@ int __init acpi_ec_ecdt_probe(void) /* * Generate a boot ec context */ - status = acpi_get_table(ACPI_SIG_ECDT, 1, (struct acpi_table_header **)ecdt_ptr); - if (ACPI_FAILURE(status)) - goto error; - - ACPI_DEBUG_PRINT((ACPI_DB_INFO, Found ECDT)); - - boot_ec-command_addr = ecdt_ptr-control.address; - boot_ec-data_addr = ecdt_ptr-data.address; - boot_ec-gpe = ecdt_ptr-gpe; - boot_ec-handle = ACPI_ROOT_OBJECT; - + if (ACPI_SUCCESS(status)) { + printk(KERN_INFO PREFIX Found ECDT\n); + boot_ec-command_addr = ecdt_ptr-control.address; + boot_ec-data_addr = ecdt_ptr-data.address; + boot_ec-gpe = ecdt_ptr-gpe; + boot_ec-handle = ACPI_ROOT_OBJECT; + } else { + printk(KERN_DEBUG PREFIX Look up EC in DSDT\n); + status = acpi_get_devices(ACPI_EC_HID, ec_parse_device, + boot_ec, NULL); + if (ACPI_FAILURE(status)) + goto error; + } + ret = ec_install_handlers(boot_ec); if (!ret) { first_ec = boot_ec; -ends here --- Here's what's been changed in drivers/acpi/ec.c in kernel 2.6.23 -begins here --- @@ -819,18 +874,22 @@ int __init acpi_ec_ecdt_probe(void) /* * Generate a boot ec context */ - status = acpi_get_table(ACPI_SIG_ECDT, 1, (struct acpi_table_header **)ecdt_ptr); - if (ACPI_FAILURE(status)) - goto error; - - ACPI_DEBUG_PRINT((ACPI_DB_INFO, Found ECDT)); - - boot_ec-command_addr = ecdt_ptr-control.address; - boot_ec-data_addr = ecdt_ptr-data.address; - boot_ec-gpe = ecdt_ptr-gpe; - boot_ec-handle = ACPI_ROOT_OBJECT; + if (ACPI_SUCCESS(status)) { + printk(KERN_INFO PREFIX EC description table is found, configuring boot EC\n\n); + boot_ec-command_addr = ecdt_ptr-control.address; + boot_ec-data_addr = ecdt_ptr-data.address; + boot_ec-gpe = ecdt_ptr-gpe; + boot_ec-handle = ACPI_ROOT_OBJECT; + } else { + printk(KERN_DEBUG PREFIX Look up EC in DSDT\n); + status = acpi_get_devices(ec_device_ids[0].id, ec_parse_device, + boot_ec, NULL); + /* Check that acpi_get_devices actually find something */ + if (ACPI_FAILURE(status) || !boot_ec-handle) + goto error; + } ret = ec_install_handlers(boot_ec); if (!ret) { -ends here --- My laptop is my only production machine, so i currently uses mandriva 2008 and have some works to do on it for the next days. Maybe, i'll try later to install gusty and look into the