LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-10-2006, 07:27 PM   #1
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Rep: Reputation: 30
Broken DSDT table


Hey Guys,

My DSDT table is pretty much fcukd, so i decided to try and compile a new one. Got the iasl compiler from intel and downloaded a custom dsdt table from http://acpi.sourceforge.net/dsdt/index.php in the form of MYCUSTOMTABLE.asl.gz. I've gunzipped the file but when i try to compile it with iasl i get the error

Error 4061 - Invalid characters found in file

Anybody got any ideas?? The command i am using is iasl -sa /path/to /HP_Compaq-nx6325-F.04-original.asl

Cheers
Graham x
 
Old 12-14-2006, 05:21 PM   #2
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Try iasl -tc /path/to/file.
 
Old 12-14-2006, 10:19 PM   #3
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Original Poster
Rep: Reputation: 30
Yer i tried that but it didn't work. I think that the version i downloaded is a bit messed up because i tried other versions for other mobos and they compiled fine. I managed to edit the DSDT table and remove the errors though, but i can't work out how to get my bios to load it using mkinitrd. Any suggestions??
Cheers
Graham
 
Old 12-15-2006, 10:46 AM   #4
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Graham,
I don't use an initrd, so I just rolled the new DSDT straight into my kernel. I don't know if you've compiled your own kernel or not, so I'll briefly describe how I did it. If you've never made a custom kernel, make sure you look before you leap.
Code:
$sudo cp /path/to/dsdt.hex /usr/src/linux-2.6.18/include/acpi/dsdt_table.h
$ cd /usr/src/linux
$ su
$ <passwd>
# make xconfig
In the configuration dialog, go to
Code:
Device Drivers -->Generic Driver Options
and DISABLE "Select only drivers that don't need compile-time external firmware" and "Prevent firmware from being built."

Then go to
Code:
Power management options (ACPI, APM) --> ACPI (Advanced Blah Blah Blah) Support
Enable "Include Custom DSDT" and add
Code:
/usr/src/linux-2.6.18/include/acpi/dsdt_table.h
to the "Custom DSDT Table file to include" field.

Save the new configuration, and compile as per usual.
 
Old 12-15-2006, 07:11 PM   #5
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Original Poster
Rep: Reputation: 30
I have compiled my own kernel before but i couldn't get the dsdt table to load in. I didn't do it exactly the way you said so i'll give it a whirl tomorrow. The problem i had with the custom kernel was that i couldn't get an ndiswrapper module to load for it. Any hints???
Cheers graham
 
Old 12-16-2006, 08:12 PM   #6
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Original Poster
Rep: Reputation: 30
I managed to get the DSDT table to load into the kernel as you said. Unfortunately the problems with the ACPI are still there!! Thanks for your help and time Charred. Cheers
Graham
 
Old 12-18-2006, 07:35 PM   #7
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Anytime. I'm glad you got it together, sorry it didn't help your problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dsdt debug edgjerp Linux - Laptop and Netbook 0 10-02-2006 10:14 AM
ACPI, Asus A8N-VM and broken DSDT gloomy Linux - Hardware 10 05-01-2006 03:24 AM
Acer 4501 DSDT cbudden Linux - Laptop and Netbook 7 01-28-2006 01:14 PM
Can't talk to router--broken routing table? (MDK10) Entropius Linux - Networking 3 06-23-2004 11:45 AM
Need Help Fixing DSDT mds00 Linux - Laptop and Netbook 1 12-17-2003 09:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration