lisa(4): accelerometer on HP 2133

2009-08-12 Thread Constantine A. Murenin
Hi, 

I'm looking for test reports of the lisa(4) driver.  Based on the dmesgs
I have found so far, it is expected to work on all HP 2133 Mini-Note PCs.

Also, I'm looking for dmesgs for HP 2140, and perhaps other HP laptops that 
feature HP 3D DriveGuard.  (It's not yet known if lisa(4) would support 2140.)
Please send the `dmesg`, `sysctl hw` and `acpidump` as text/plain to c...@.
If you can include dmesg before and after the patch, such that we can 
see the actual iic dump, so the better.

As always, your dmesgs in general are very welcome in dm...@openbsd.org, 
which forms a vital part of our quality assurance and development process.  
Please include the `sysctl hw` output, too -- we like to see the sensors. :)
Take note that if noone would have sent any dmesgs for HP 2133, then 
there wouldn't be a lisa(4) driver today, so thanks to everyone who 
contributed to the archives!

Anyhow, if you have iic0: addr 0x1d 0f=3b in your dmesg, followed by 
the rest of the iic dump, then the lisa(4) driver is expected to work, 
after you enable it in GENERIC:


Index: arch/amd64/conf/GENERIC
===
RCS file: /share/OpenBSD/cvs/src/sys/arch/amd64/conf/GENERIC,v
retrieving revision 1.270
diff -u -d -p -4 -r1.270 GENERIC
--- arch/amd64/conf/GENERIC 23 Jul 2009 03:58:22 -  1.270
+++ arch/amd64/conf/GENERIC 12 Aug 2009 15:09:47 -
@@ -120,8 +120,9 @@ admcts* at iic? # Analog Devices ADM10
 admtmp*at iic? # Analog Devices ADM1030
 admtt* at iic? # Analog Devices ADM1031
 adt*   at iic? # Analog Devices ADT7460
 andl*  at iic? # Andigilog aSC7611
+lisa*  at iic? # STMicroelectronics LIS331DL motion sensor
 lm*at iic? # National Semiconductor LM78/79
 lmenv* at iic? # National Semiconductor LM87
 lmtemp*at iic? # National Semiconductor LM75/LM77
 lmn*   at iic? # National Semiconductor LM93
Index: arch/i386/conf/GENERIC
===
RCS file: /share/OpenBSD/cvs/src/sys/arch/i386/conf/GENERIC,v
retrieving revision 1.667
diff -u -d -p -4 -r1.667 GENERIC
--- arch/i386/conf/GENERIC  23 Jul 2009 03:58:22 -  1.667
+++ arch/i386/conf/GENERIC  12 Aug 2009 15:09:47 -
@@ -161,8 +161,9 @@ admcts* at iic? # Analog 
Devices ADM1
 admtm* at iic? # Analog Devices ADM1025
 admtmp*at iic? # Analog Devices ADM1030
 admtt* at iic? # Analog Devices ADM1031
 adt*   at iic? # Analog Devices ADT7460
+lisa*  at iic? # STMicroelectronics LIS331DL motion
 lm*at iic? # National Semiconductor LM78/79
 lmenv* at iic? # National Semiconductor LM87
 lmtemp*at iic? # National Semiconductor 
LM75/LM77
 lmn*   at iic? # National Semiconductor LM93


You can see how the sensors change with 
systat sensors 1
or 
sh -c while(true)do sysctl -n hw.sensors.lisa0|xargs;sleep 1;done
.  Please send the latter test, too. :)

Cheers,
Constantine.



Re: lisa(4): accelerometer on HP 2133

2009-08-12 Thread Jonathan Gray
On Wed, Aug 12, 2009 at 11:26:24AM -0600, Constantine A. Murenin wrote:
 Hi, 
 
 I'm looking for test reports of the lisa(4) driver.  Based on the dmesgs
 I have found so far, it is expected to work on all HP 2133 Mini-Note PCs.
 
 Also, I'm looking for dmesgs for HP 2140, and perhaps other HP laptops that 
 feature HP 3D DriveGuard.  (It's not yet known if lisa(4) would support 2140.)
 Please send the `dmesg`, `sysctl hw` and `acpidump` as text/plain to c...@.
 If you can include dmesg before and after the patch, such that we can 
 see the actual iic dump, so the better.

The 2140 hides the i2c controller so it won't work there.