Re: Experimental ACPI driver.

1999-09-28 Thread Ilya Naumov

$BWT(B , 28 $BSE(B1999, $BwY(B $BNAPISALI(B:

 Apply this patch.

thanks, it works:

ACPI: Found ACPI BIOS data at 0xc00f6c10 (123456, RSDT@7ff3000)
acpi0: 123456 on motherboard
acpi0: ADDR RANGE 7ff3000 d000 (mapped 0xc779c000)
acpi0: ADDR RANGE 7ff 3000 (mapped 0xc77a9000)
acpi0: RSDT have 2 entries
acpi0: RSDT entry0 FACP
acpi0:  FACP found
acpi0:  DSDT found Size=8812 bytes
acpi0:  FACS Found Size=64 bytes
acpi0: RSDT entry1 BOOT
acpi0: at 0xb2 irq 9

so, what does mean? :) 

-- 

sincerely,
ilya naumov (at work)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Experimental ACPI driver.

1999-09-27 Thread Doug Rabson

On Mon, 27 Sep 1999, Mitsuru IWASAKI wrote:

 Hi, Mike.
 # I'm very happy because of your reply :)
 
We wrote experimental ACPI driver for 4.0-CURRENT.
   
   This was just one week work so its functionallity is very very poor :-)
   but I think it is good idea to start with this for developping ACPI
   driver for FreeBSD because it is enough small to understand it.
  
  I'm not sure this is the right way to go about it, although I haven't 
  looked at your code yet.  APCI is a big animal, and I think it's going 
  to take a proper design to get it right.
 
 Indeed.  Also I think that this project cannot be achieved easily by
 only one/two person's efforts.  I believe having this kind of prototype
 makes our discussion easier.  We are going to prepare the materials
 for our further discussion.
 
  The key components would appear to be a full AML parser, an object 
  manager to manage the ACPI namespace, and an AML interpreter to run the 
  AML methods.
 
 Yes, Yes.
 
   If someone already started wriring ACPI devive driver, please let us
   know.  We'd like to merge them and would be happy in collaboration
   with you.
  
  Both Doug Rabson and myself have been tinkering with this, and there's 
  someone that's been looking at an AML parser/interpreter in the last 
  couple of weeks.  At this point in time, the parser and object manager 
  are the most vital components.
 
 Now we got new friends :) Mr. Watanabe is going FreeBSDCon
 (unfortunately I cannot), you can discuss this matter with him.
 I think the time has come to start!
 
 Thank you very much.

I would very much appreciate talking to Mr. Watanebe at FreeBSDCon and
working on the design for a decent ACPI implementation.

--
Doug Rabson Mail:  [EMAIL PROTECTED]
Nonlinear Systems Ltd.  Phone: +44 181 442 9037




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Experimental ACPI driver.

1999-09-26 Thread Mike Smith

 Hi, there.
 
  We wrote experimental ACPI driver for 4.0-CURRENT.
 
 This was just one week work so its functionallity is very very poor :-)
 but I think it is good idea to start with this for developping ACPI
 driver for FreeBSD because it is enough small to understand it.

I'm not sure this is the right way to go about it, although I haven't 
looked at your code yet.  APCI is a big animal, and I think it's going 
to take a proper design to get it right.

The key components would appear to be a full AML parser, an object 
manager to manage the ACPI namespace, and an AML interpreter to run the 
AML methods.

 If someone already started wriring ACPI devive driver, please let us
 know.  We'd like to merge them and would be happy in collaboration
 with you.

Both Doug Rabson and myself have been tinkering with this, and there's 
someone that's been looking at an AML parser/interpreter in the last 
couple of weeks.  At this point in time, the parser and object manager 
are the most vital components.

-- 
\\  The mind's the standard   \\  Mike Smith
\\  of the man.   \\  [EMAIL PROTECTED]
\\-- Joseph Merrick   \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Experimental ACPI driver.

1999-09-26 Thread Takanori Watanabe

In message [EMAIL PROTECTED], Mike Smith wrote:
Both Doug Rabson and myself have been tinkering with this, and there's 
someone that's been looking at an AML parser/interpreter in the last 
couple of weeks.  At this point in time, the parser and object manager 
are the most vital components.

Yes.I think so too.

Takanori Watanabe
a href="http://www.planet.sci.kobe-u.ac.jp/~takawata/key.html"
Public Key/a
Key fingerprint =  2C 51 E2 78 2C E1 C5 2D  0F F1 20 A3 11 3A 62 2A 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Experimental ACPI driver.

1999-09-26 Thread Mitsuru IWASAKI

Hi, Mike.
# I'm very happy because of your reply :)

   We wrote experimental ACPI driver for 4.0-CURRENT.
  
  This was just one week work so its functionallity is very very poor :-)
  but I think it is good idea to start with this for developping ACPI
  driver for FreeBSD because it is enough small to understand it.
 
 I'm not sure this is the right way to go about it, although I haven't 
 looked at your code yet.  APCI is a big animal, and I think it's going 
 to take a proper design to get it right.

Indeed.  Also I think that this project cannot be achieved easily by
only one/two person's efforts.  I believe having this kind of prototype
makes our discussion easier.  We are going to prepare the materials
for our further discussion.

 The key components would appear to be a full AML parser, an object 
 manager to manage the ACPI namespace, and an AML interpreter to run the 
 AML methods.

Yes, Yes.

  If someone already started wriring ACPI devive driver, please let us
  know.  We'd like to merge them and would be happy in collaboration
  with you.
 
 Both Doug Rabson and myself have been tinkering with this, and there's 
 someone that's been looking at an AML parser/interpreter in the last 
 couple of weeks.  At this point in time, the parser and object manager 
 are the most vital components.

Now we got new friends :) Mr. Watanabe is going FreeBSDCon
(unfortunately I cannot), you can discuss this matter with him.
I think the time has come to start!

Thank you very much.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Experimental ACPI driver.

1999-09-24 Thread Mitsuru IWASAKI

Hi, there.

 We wrote experimental ACPI driver for 4.0-CURRENT.

This was just one week work so its functionallity is very very poor :-)
but I think it is good idea to start with this for developping ACPI
driver for FreeBSD because it is enough small to understand it.

If someone already started wriring ACPI devive driver, please let us
know.  We'd like to merge them and would be happy in collaboration
with you.

 If you have question please ask me or [EMAIL PROTECTED] .

BTW, I've just start leaning a week ago, my knowledge is still little
on ACPI :-)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Experimental ACPI driver.

1999-09-23 Thread takawata

Hi,
We wrote experimental ACPI driver for 4.0-CURRENT.
Now it can 
1. Detect signature in so-called BIOS area.
2. Map ACPI reclaim memory and ACPI NVS memory.
3. Detect tables in ACPI memory areas (RSDT FACS DSDT FACP).
4. Catch Powerbutton event and report by dmesg.
5. use character device (temporaly CDEV_MAJOR 210) interface open,close,
mmap (not complete).

The attached file contains 3 file

i386/acpi.c
include/pc/acpi.h
diff

. 
So extract it under ${SRC_BASE}/sys/i386/ then apply 'diff' in the same 
directory.

And add 
controller acpi0
to your configuration then config(8).

If your system supports ACPI, you will get following dmesg
=
ACPI: Found ACPI BIOS data at 0xc00f6fe0 (ABIT  , RSDT@3ff3000)
acpi0: ABIT   on motherboard
acpi0: ADDR RANGE 3ff3000 d000 (mapped 0xc582f000)
acpi0: ADDR RANGE 3ff 3000 (mapped 0xc583c000)
acpi0: RSDT have 2 entries
acpi0: RSDT entry0 FACP
acpi0:  FACP found
acpi0:  DSDT found Size=8166 bytes
acpi0:  FACS Found Size=64 bytes
acpi0: RSDT entry1 BOOT
acpi0: at 0xb2 irq 9
(snip)
ACPI: pm1_status intr CALLED -When you push Power button.
=

If you have question please ask me or [EMAIL PROTECTED] .

Thanks.

Takanori Watanabe
a href="http://www.planet.kobe-u.ac.jp/~takawata/key.html"
Public Key/a
Key fingerprint =  2C 51 E2 78 2C E1 C5 2D  0F F1 20 A3 11 3A 62 2A 


begin 644 acpi_driver.tar.gz
M'XL("*@^ZC``V%CE?9')I=F5R+G1A@#L.VU[VDB2\Q5^19]GDP5;!@D[
M=F+'GF"0'=W9X$4X+SWCU9(`K0B9$$L6F^]NOJKKU`D@YR9['^YX$JO5
M75U=55U=757=LMWA\(?O_%-D^CPD/W`F'+\2L$G8XU#_H3?:.A,'9T?-PX
M/(!R`\`4^C@!R9_;\+P-P\C,V#LA\B\-[^8D5D$!V#?7U+_^I\-\\_VYPK
MC_VI4[B:3T,K'KX-;=@]='=OWAO5KK=-GM;1WM_?W]BAU!_/F[,6..`
M-1HG!XGBLR4-V_E/?V]K+8E@`[EMAIL PROTECTED]''/#=.[;_YLV1=,3V\/O7M7
M9C^RRXDY8O*#_)J9\\B?FI%KF9/)([/=T!Q,G)!%8XYKUX?,7\6N5/W-\=F
M@3^/7,\):X"@S,I[/S9;MQI3'V9.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