Re: [gentoo-user] kacpid eating alot of cpu

2009-03-31 Thread Johan Blåbäck

Michael Higgins wrote:

On Mon, 30 Mar 2009 10:57:11 +0200
Johan Blåbäck johan.bluecr...@gmail.com wrote:


Is acpi suppose to act like this?


No. But you probably really knew that. ;-)


Can I fix it?


I had to update to latest kernels, as bug patch for kacpid hogging CPU with 
certain laptops and certain configurations is in 2.6.28, finally. (Happens 
consistently when returning from sleep or when switching out the extra battery 
for the DVD. I think Dell and some HP machines are/were affected.)

IDK if this will help *you*, but if it smells similar... might be worth 
checking into.

Cheers,




I tried a newer kernel (gentoo-sources-2.6.28-r4), but its still there. 
kacpid eats ~4% of the cpu as soon as I have booted.


Since you say that the similar problem are model-dependent, I might have 
the solution. I've got a Zepto and on this one nothing works, they 
didn't give me a tv-card, the wrong DVD, touchpad doesn't work, etc. 
etc.. So if this is a design problem, I'm not suprised.


Thanks for the help so far anyway. Anyone with some other idea?

--
For security reasons, all text in this mail is double-rot13 encrypted.



[gentoo-user] kacpid eating alot of cpu

2009-03-30 Thread Johan Blåbäck
Hi.

My laptop is in great need of cpu frequency scaling and sleep (it
overheats in 10 minutes of compiling otherwise and sounds like a train
when I'm sleeping), and as it seems on every how to I have found; acpi
is the way it suppose to be.
However acpi isn't so nice, since this is what happens (top)

 85:08.20  firefox
 22:31.57   X
 309:53.76 kacpid

after three days of use (notice the 309h of cpu-time). And in powertop,

15.7% (  inf)   interrupt : acpi

acpi takes quite alot of power. And for some reason, sometimes kacpid
takes ~80% for many minutes at a time and if I run powertop during
that period acpi is responsible for ~90%.

I thought that acpi was suppose to help with power waste and stuff
like that. On a forum I read that HAL is the thing one should use and
acpi is going obsolete. However, that doesn't help so much since it
seems as HAL depends on a lot of acpi options in the kernel, which are
the ones wasting the cpu and power.

So my questions are:
Is acpi suppose to act like this?
Can I fix it?
If not, whats the proper way to migrate to HAL?
Does HAL have cpufreq-tools?

Any help appreciated.

/Blå

-- 

For security reasons, all text in this mail is double-rot13 encrypted.



Re: [gentoo-user] Usernames in ssh attacks

2009-03-19 Thread Johan Blåbäck
I've always had usernames when it comes to sshd's log entries in
auth.log, like the following:

time hostname sshd[5926]: error: PAM: Authentication failure for
username from ip-adress


On 3/19/09, Paul Hartman paul.hartman+gen...@gmail.com wrote:
 In my ssh logs this morning I noticed a couple login attempts with
 usenames on them... I've never seen that before. It is usually just an
 IP address.

 Mar 18 20:19:48 [sshd] refused connect from
 postmas...@dns.cablecentro.net.co
 Mar 18 23:42:44 [sshd] refused connect from 211.116.136.107
 Mar 18 23:44:44 [sshd] refused connect from
 [u2fsdgvkx19g32yzvkmsqkl+mouwitiloicy4iq9oq...@211.116.136.107
 Mar 19 02:41:09 [sshd] refused connect from 221.194.128.66

 weird... maybe the bad guys are up to something new.




-- 

For security reasons, all text in this mail is double-rot13 encrypted.



Re: [gentoo-user] Segfaulting cryptsetup in init

2009-02-10 Thread Johan Blåbäck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mike Kazantsev wrote:
 On Mon, 09 Feb 2009 19:50:04 +0100
 Johan Blåbäck johan.bluecr...@gmail.com wrote:
 
 I had noticed this problem w/ my laptop where some usbdevices dont show
 up until a few seconds later than when the init is running. So I added a
 'sleep 10' to the init, and what I got was

 - - 10 s sleep
 - - during these I get a messege: sda: sda1 sda2 (this is the bootable
 usb-key)
 - - cryptsetup segfaults
 - - ls -l /dev/sd* gives 'ls: /dev/sd*: No such file or directory'
 - - ls -l DEv/hd* gives '/dev/hda1'

 How is this possible? Shouldn't it show sda, sda1 and sda2 together with
 hda and hda1? Why are these missing?
 
 Why should it? Do you have full-fledged udev on initrd?
 I've always created them by hand with mknod or just copied from a
 working system - you know which ones you'll need, anyway.
 
 And I've had segfaults with usb hdd too, as I recall, but if you put
 cryptsetup in a 'while true' loop it'll prompt for passphrase / mount
 device as soon as it'll be detected.
 

True. I forgot that I just created the hda1 node. I figured it out
anyway. What I was missing was some IDE options in the kernel. Thanks
for the help all.

- --
For security reasons, all text in this mail is double-rot13 encrypted.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmROPgACgkQ82oqndqg+437rACcCq0Usa21m4Cmndpp1b7+xPki
MKMAniVr+1GS5ZTCa9JqrvHja8O4xxV1
=OrNi
-END PGP SIGNATURE-



[gentoo-user] Segfaulting cryptsetup in init

2009-02-09 Thread Johan Blåbäck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi,

I'm setting up this old computer of mine and why not encrypt it. I have
done this on several computers before, but never have I gotten these
kind of errors.

When booting, cryptsetup segfaults. I can find no obvious reason why, I
have tried to recompile cryptsetup using different arch, but still the
same. It is build statically, USE=-dynamic is set and ldd just says no
dynamic executable. But when trying to debug I copied the cryptsetup,
that is not working in the init, to a usb-device and tried to decrypt my
disk using a livecd, and this went fine.

So to summarize:
init - cryptsetup segfaults
in livecd env - cryptsetup ok
in gentoo system - cryptsetup ok

the other programs in the init seems to run as they should; busybox and lvm.

Any ideas on how to continue debugging or is there someone with the answer?

- --
For security reasons, all text in this mail is double-rot13 encrypted.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmP67wACgkQ82oqndqg+400+gCgzLWM4mTtKWKUT3mTiE2mFHAz
pWAAn3PR5SNCg3s9HHNGCSMjFjB13PIz
=3nqB
-END PGP SIGNATURE-



Re: [gentoo-user] Segfaulting cryptsetup in init

2009-02-09 Thread Johan Blåbäck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mike Kazantsev wrote:
 On Mon, 09 Feb 2009 09:39:24 +0100
 Johan Blåbäck johan.bluecr...@gmail.com wrote:
 
 I'm setting up this old computer of mine and why not encrypt it. I have
 done this on several computers before, but never have I gotten these
 kind of errors.
 
 You'll get segfault if you're trying to do something like luksOpen on a
 non-existing device.
 
 At least that was the reason for me, once, when I've tried to
 luksOpen /dev/sda2 instead of /dev/sda3, or something like that.
 
 Had it figured out by putting strace to initrd and running strace
 cryptsetup luksOpen ... instead of just cryptsetup - gave me something
 like open('/dev/sdaX', ...) = -1 ENXIO (No such device or address), so
 I had to double-check and found the mistake to be that trivial.
 

This was actually one of the first things I checked. Just forgot to
mention it. I solved it by adding a 'ls -l /dev' in the init, and there
I found out that /dev/sda1 was named /dev/hda1. But I still got the problem.

 Forgot to compile the Crypto Algorithms in the kernel instead of as
 modules? Since lvm runs, the lvm is obviously no module.

 HTH
 Sebastian

I'm quite sure that I have compiled in all of the algorithms I'm using.
But I will add some more just to be sure. Recompiling my kernel as I write.

Thanks to both of you.

- --
For security reasons, all text in this mail is double-rot13 encrypted.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmQZVsACgkQ82oqndqg+41n6QCdGcoLnojw13UD40GlXkaZc6QX
dEkAni6+N/rU0MECoii2q/a7btNj1aRa
=QSRA
-END PGP SIGNATURE-



Re: [gentoo-user] Segfaulting cryptsetup in init

2009-02-09 Thread Johan Blåbäck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Johan Blåbäck wrote:
 hi,
 
 I'm setting up this old computer of mine and why not encrypt it. I have
 done this on several computers before, but never have I gotten these
 kind of errors.
 
 When booting, cryptsetup segfaults. I can find no obvious reason why, I
 have tried to recompile cryptsetup using different arch, but still the
 same. It is build statically, USE=-dynamic is set and ldd just says no
 dynamic executable. But when trying to debug I copied the cryptsetup,
 that is not working in the init, to a usb-device and tried to decrypt my
 disk using a livecd, and this went fine.
 
 So to summarize:
 init - cryptsetup segfaults
 in livecd env - cryptsetup ok
 in gentoo system - cryptsetup ok
 
 the other programs in the init seems to run as they should; busybox and lvm.
 
 Any ideas on how to continue debugging or is there someone with the answer?
 


hi again,

Still got a segfault :-/
The things I have tried more is to recompile cryptsetup and used that
for init, but no change. Compiled in all crypto algorithms, no change.
I'm not that good with all the options in the kernel. If anyone know of
which kernel options that could affect cryptsetup in this way?

Any ideas anyone?
(thx for the help sofar)

- --
For security reasons, all text in this mail is double-rot13 encrypted.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmQcsQACgkQ82oqndqg+41kEACeLswROSAIfg4ZCY1kqurrTvQi
pQsAnj5zixPj0Qbf+jzq5rRDSyPdEnNg
=J7gU
-END PGP SIGNATURE-



Re: [gentoo-user] Segfaulting cryptsetup in init

2009-02-09 Thread Johan Blåbäck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Johan Blåbäck wrote:
 Johan Blåbäck wrote:
 hi,
 
 I'm setting up this old computer of mine and why not encrypt it. I have
 done this on several computers before, but never have I gotten these
 kind of errors.
 
 When booting, cryptsetup segfaults. I can find no obvious reason why, I
 have tried to recompile cryptsetup using different arch, but still the
 same. It is build statically, USE=-dynamic is set and ldd just says no
 dynamic executable. But when trying to debug I copied the cryptsetup,
 that is not working in the init, to a usb-device and tried to decrypt my
 disk using a livecd, and this went fine.
 
 So to summarize:
 init - cryptsetup segfaults
 in livecd env - cryptsetup ok
 in gentoo system - cryptsetup ok
 
 the other programs in the init seems to run as they should; busybox and lvm.
 
 Any ideas on how to continue debugging or is there someone with the answer?
 
 
 
 hi again,
 
 Still got a segfault :-/
 The things I have tried more is to recompile cryptsetup and used that
 for init, but no change. Compiled in all crypto algorithms, no change.
 I'm not that good with all the options in the kernel. If anyone know of
 which kernel options that could affect cryptsetup in this way?
 
 Any ideas anyone?
 (thx for the help sofar)
 

I had noticed this problem w/ my laptop where some usbdevices dont show
up until a few seconds later than when the init is running. So I added a
'sleep 10' to the init, and what I got was

- - 10 s sleep
- - during these I get a messege: sda: sda1 sda2 (this is the bootable
usb-key)
- - cryptsetup segfaults
- - ls -l /dev/sd* gives 'ls: /dev/sd*: No such file or directory'
- - ls -l DEv/hd* gives '/dev/hda1'

How is this possible? Shouldn't it show sda, sda1 and sda2 together with
hda and hda1? Why are these missing?


- --
For security reasons, all text in this mail is double-rot13 encrypted.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmQetwACgkQ82oqndqg+41aSwCgl7CAh0MXlWEogo2dnA9BSkr1
sTAAnR9Ppheav4nbGxBonWB6nzs80KEg
=Szmp
-END PGP SIGNATURE-



Re: [gentoo-user] Synaptics touchpad mistaken(?) for Logitech Wheel Mouse

2008-03-14 Thread Johan Blåbäck
On Wed, Mar 12, 2008 at 6:14 PM, Liviu Andronic [EMAIL PROTECTED] wrote:
 Hello Iain and Johan,


  On 3/12/08, Iain Buchanan [EMAIL PROTECTED] wrote:
   ok.  Are you sure it's a synaptics touchpad?  Otherwise I'm out of
ideas, sorry...

  I didn't want to hijack the thread, so I waited till this moment. I
  can report a similar problem on my laptop.

  The symptoms are pretty much the same as those described by Johan.
  However, in my case the Touchpad worked fine (for example, sliding the
  finger on the far-right side correctly translated into scrolling). It
  was  (more or less) after I used a couple of times my Logitech USB
  Mouse that the Touchpad defaulted to basic mouse functionality (two
  buttons and mouse pointer movement).

  At that time I was convinced it was a coldplugging problem. When I
  found some more free time, and after having survived an emerge
  world, I switched to a (completely) dynamic udev. Still, this did not
  solve the problem. Then I was blocked. Following the Wiki Howtos for
  configuring the Touchpad did not help much, either.

  How do you think that I could verify that this is a coldplug/udev
  problem? Could this be the problem, at all? What information that
  would help you help me pin-point the problem could I post?

I know nothing about this (udev), so any outside input to this
discussion would be good.



  Thanks,
  Liviu


 --
  gentoo-user@lists.gentoo.org mailing list





-- 

For security reasons, all text in this mail is double-rot13 encrypted.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Synaptics touchpad mistaken(?) for Logitech Wheel Mouse

2008-03-12 Thread Johan Blåbäck
On Wed, Mar 12, 2008 at 7:59 AM, Iain Buchanan [EMAIL PROTECTED] wrote:

  On Mon, 2008-03-10 at 21:16 +0100, Johan Blåbäck wrote:
   On Mon, Mar 10, 2008 at 12:24 PM, Johan Blåbäck
   [EMAIL PROTECTED] wrote:
On Mon, Mar 10, 2008 at 12:53 AM, Iain Buchanan [EMAIL PROTECTED] 
 wrote:
 

  I don't think your /proc/bus/input/devices looks quite right - are you
   sure this isn't a pointer stick or something?  What's the complete 
 file
   look like?
   
 I'm not familar with the term pointer stick.

  a pointer stick is a stupid little button-like think in the middle of
  your keyboard (usually at the intersection of the g, b, and h keys).
  You push it in a direction, and the mouse starts moving in that
  direction.  They were popular before touchpads were standard.  Anyway,
  if you don't have one, then good!


Nope, don't have one of those.


   This is my complete /proc/bus/input/devices:

  ok.  Are you sure it's a synaptics touchpad?  Otherwise I'm out of
  ideas, sorry...


Yes, I'm sure. When booting a Ubuntu Live = 7.04 I get a synaptics
touchpad, detectable and all.

  --

 Iain Buchanan iaindb at netspace dot net dot au

  The attacker must vanquish; the defender need only survive.

  --


 gentoo-user@lists.gentoo.org mailing list





-- 

For security reasons, all text in this mail is double-rot13 encrypted.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Synaptics touchpad mistaken(?) for Logitech Wheel Mouse

2008-03-10 Thread Johan Blåbäck
On Mon, Mar 10, 2008 at 12:53 AM, Iain Buchanan [EMAIL PROTECTED] wrote:

  On Fri, 2008-03-07 at 17:13 +0100, Johan Blåbäck wrote:

 I suspect you need these options in your kernel:

  [snip]


   Thanks for the reply, but I got all of those:

  [snip]

  hm.  Do you have INPUT_DEVICES=... synaptics in /etc/make.conf?


Yes, just as the gentoo-wiki says:

INPUT_DEVICES=evdev keyboard mouse synaptics

  I don't think your /proc/bus/input/devices looks quite right - are you
  sure this isn't a pointer stick or something?  What's the complete file
  look like?


I'm not familar with the term pointer stick. I'm not at my computer
right now, but I'm sure that that is my touchpad... to about ~90%. If
I have an USB-mouse plugged in, I can see that mouse and my touchpad
(ImPS2 Logitech wheel mouse). When I unplug my USB-mouse I see my
touchpad(?) (ImPS2 Logitech wheel mouse) and... my touchpad(?)
(Generic PS/2 mouse). I can get you the whole output when I come home.

I found a thread on ubuntuforums with people having the same problem.
But ubuntu have PS2MOUSE as module, and one solution is to reload that
module in, for example gdm. Which I see as a hack that I rather not
do, but I'll try it. If ou are interested for the problem I'll get the
forum thread URL later.


  --

 Iain Buchanan iaindb at netspace dot net dot au

  I told my kids, Someday, you'll have kids of your own.  One of them said,
  So will you.
 -- Rodney Dangerfield

  --


 gentoo-user@lists.gentoo.org mailing list





-- 

For security reasons, all text in this mail is double-rot13 encrypted.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Synaptics touchpad mistaken(?) for Logitech Wheel Mouse

2008-03-10 Thread Johan Blåbäck
On Mon, Mar 10, 2008 at 12:24 PM, Johan Blåbäck
[EMAIL PROTECTED] wrote:
 On Mon, Mar 10, 2008 at 12:53 AM, Iain Buchanan [EMAIL PROTECTED] wrote:
  
On Fri, 2008-03-07 at 17:13 +0100, Johan Blåbäck wrote:
  
   I suspect you need these options in your kernel:
  
[snip]
  
  
 Thanks for the reply, but I got all of those:
  
[snip]
  
hm.  Do you have INPUT_DEVICES=... synaptics in /etc/make.conf?
  

  Yes, just as the gentoo-wiki says:

  INPUT_DEVICES=evdev keyboard mouse synaptics


I don't think your /proc/bus/input/devices looks quite right - are you
sure this isn't a pointer stick or something?  What's the complete file
look like?
  

  I'm not familar with the term pointer stick. I'm not at my computer
  right now, but I'm sure that that is my touchpad... to about ~90%. If
  I have an USB-mouse plugged in, I can see that mouse and my touchpad
  (ImPS2 Logitech wheel mouse). When I unplug my USB-mouse I see my
  touchpad(?) (ImPS2 Logitech wheel mouse) and... my touchpad(?)
  (Generic PS/2 mouse). I can get you the whole output when I come home.


This is my complete /proc/bus/input/devices:

$ cat /proc/bus/input/devices
I: Bus=0019 Vendor= Product=0002 Version=
N: Name=Power Button (FF)
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/virtual/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=3
B: KEY=10 0 0 0

I: Bus=0019 Vendor= Product=0005 Version=
N: Name=Lid Switch
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/virtual/input/input1
U: Uniq=
H: Handlers=event1
B: EV=21
B: SW=1

I: Bus=0019 Vendor= Product=0001 Version=
N: Name=Power Button (CM)
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/virtual/input/input2
U: Uniq=
H: Handlers=kbd event2
B: EV=3
B: KEY=10 0 0 0

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name=AT Translated Set 2 keyboard
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input3
U: Uniq=
H: Handlers=kbd event3
B: EV=120013
B: KEY=4 200 3803078 f800d001 fedf ffef  fffe
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=09da Product=000a Version=0110
N: Name=A4Tech PS/2+USB Mouse
P: Phys=usb-:00:1d.0-1/input0
S: Sysfs=/devices/pci:00/:00:1d.0/usb2/2-1/2-1:1.0/input/input4
U: Uniq=
H: Handlers=mouse0 event4
B: EV=7
B: KEY=ff 0 0 0 0 0 0 0 0
B: REL=303

I: Bus=0011 Vendor=0002 Product=0005 Version=0063
N: Name=ImPS/2 Logitech Wheel Mouse
P: Phys=isa0060/serio4/input0
S: Sysfs=/devices/platform/i8042/serio4/input/input6
U: Uniq=
H: Handlers=mouse1 event5
B: EV=7
B: KEY=7 0 0 0 0 0 0 0 0
B: REL=103

  I found a thread on ubuntuforums with people having the same problem.
  But ubuntu have PS2MOUSE as module, and one solution is to reload that
  module in, for example gdm. Which I see as a hack that I rather not
  do, but I'll try it. If ou are interested for the problem I'll get the
  forum thread URL later.


This did not work...

Another thing that is different from my problem from the ubuntu
problem (which I can't recreate) is that they get a synaptics device
when running `tpconfig -i`, which I do not.


--

 
   Iain Buchanan iaindb at netspace dot net dot au
  
I told my kids, Someday, you'll have kids of your own.  One of them 
 said,
So will you.
   -- Rodney Dangerfield
  
--
  
  
   gentoo-user@lists.gentoo.org mailing list
  
  



  --
  


 For security reasons, all text in this mail is double-rot13 encrypted.




-- 

For security reasons, all text in this mail is double-rot13 encrypted.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Synaptics touchpad mistaken(?) for Logitech Wheel Mouse

2008-03-07 Thread Johan Blåbäck
On Fri, Mar 7, 2008 at 1:26 AM, Iain Buchanan [EMAIL PROTECTED] wrote:

  On Thu, 2008-03-06 at 13:16 +0100, Johan Blåbäck wrote:
   Hi.
  
   Recently I got tired of my touchpad being too sensitive, and I decided
   to try the synaptics-how-to on the gentoo-wiki. However, when starting
   X I get:

  [snip]


   TouchPad no synaptics event device found (checked 17 nodes)

  [snip]


   So what I suggest could be the problem is that I got my kernel wrong,
   since it seem to emulate Logitech instead of synaptics. But I don't
   know if that is the problem, or how I fix it. (I have all the kernel
   options that the gentoo-wiki synaptics-how-to recommends.)
  
   Thanks for any suggestions!

  I suspect you need these options in your kernel:
  Device Drivers
   Input Device Support
   Event Interface (CONFIG_INPUT_EVDEV=y)

  I also have:
  ..
   Mice
PS/2 Mouse
  and all the sub-options compiled in:
  CONFIG_INPUT_MOUSE=y
  CONFIG_MOUSE_PS2=y
  CONFIG_MOUSE_PS2_ALPS=y
  CONFIG_MOUSE_PS2_LOGIPS2PP=y
  CONFIG_MOUSE_PS2_SYNAPTICS=y
  CONFIG_MOUSE_PS2_LIFEBOOK=y
  CONFIG_MOUSE_PS2_TRACKPOINT=y



Thanks for the reply, but I got all of those:

hostname linux # cat .config | grep CONFIG_MOUSE_PS2
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_TOUCHKIT is not set

hostname linux # cat .config | grep CONFIG_INPUT_EVDEV
CONFIG_INPUT_EVDEV=y

hostname linux # cat .config | grep CONFIG_INPUT_MOUSE
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_MOUSE=y



   For security reasons, all text in this mail is double-rot13 encrypted.

  that's nice to know.  Just so this email is accepted by your security
  policy, I double-rot13'd the reply.  Note that your comments are now
  quadruple-rot13'd, but I think you should be able to decrypt them
  without too much hassle.


Wow, the encryption on this thing now! NSA might get confused.


  HTH,
  --
  Iain Buchanan iaindb at netspace dot net dot au

  MSDOS didn't get as bad as it is overnight -- it took over ten years
  of careful development.
  (By [EMAIL PROTECTED])

  --
  gentoo-user@lists.gentoo.org mailing list





-- 

For security reasons, all text in this mail is double-rot13 encrypted.
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Synaptics touchpad mistaken(?) for Logitech Wheel Mouse

2008-03-06 Thread Johan Blåbäck
Hi.

Recently I got tired of my touchpad being too sensitive, and I decided
to try the synaptics-how-to on the gentoo-wiki. However, when starting
X I get:

[---]
(==) Log file: /var/log/Xorg.1.0.log, Time: Thu Mar  6 13:09:00 2008
(==) Using config file: /etc/X11/xorg.conf
(II) Module already built-in
(EE) NVIDIA(1): Unable to find available Display Devices for screen 1.
TouchPad no synaptics event device found (checked 17 nodes)
Query no Synaptics: 6003C8
(EE) TouchPad no synaptics touchpad detected and no repeater device
(EE) TouchPad Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device TouchPad
[---]

(And the touchpad gets turned off.)
The no synaptics touchpad detected-part gave me a hint to take a
look at /proc/bus/input/devices, and what I find is... strange:

[---]
I: Bus=0011 Vendor=0002 Product=0005 Version=0063
N: Name=ImPS/2 Logitech Wheel Mouse
P: Phys=isa0060/serio4/input0
S: Sysfs=/devices/platform/i8042/serio4/input/input4
U: Uniq=
H: Handlers=mouse0 event4
B: EV=7
B: KEY=7 0 0 0 0 0 0 0 0
B: REL=103
[---]

I don't know much about this, but that does not seem to be a touchpad
(I'm very sure it's not my (usb) mouse).

For some time I lost hope of ever getting it to work. But then I
accidentally boot a ubuntu Live, and then my touchpad worked without
any problem. I compared the xorg.conf's (mine and ubuntu-live) and
they are the same.

So what I suggest could be the problem is that I got my kernel wrong,
since it seem to emulate Logitech instead of synaptics. But I don't
know if that is the problem, or how I fix it. (I have all the kernel
options that the gentoo-wiki synaptics-how-to recommends.)

Thanks for any suggestions!

-- 

For security reasons, all text in this mail is double-rot13 encrypted.
-- 
gentoo-user@lists.gentoo.org mailing list