Re: [gentoo-user] xorg-drivers for mouse and keyboard confusion

2011-02-27 Thread Mick
On Saturday 26 February 2011 23:21:32 Jesús J. Guerrero Botella wrote:
 2011/2/26 Mick michaelkintz...@gmail.com:
  On Saturday 26 February 2011 11:26:38 Jesús J. Guerrero Botella wrote:
  You could always grep for INPUT_DEVICES into /etc/portage, user -R for
  recursive search.
  
  Also, make sure there's no other statement for INPUT_DEVICES in
  make.conf after the one you posted above.
  
  Thanks, I checked for duplicate entries in make.conf (there aren't any)
  and nothing is shown under /etc/portage ... what now?
 
 Can you post emerge --info?

Here it is:

# emerge --info
Portage 2.1.9.25 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-
r3, 2.6.36-gentoo-r5 x86_64)
=
System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-
_i7_CPU_Q_720_@_1.60GHz-with-gentoo-1.12.14
Timestamp of tree: Sat, 26 Feb 2011 07:15:01 +
ccache version 2.4 [enabled]
app-shells/bash: 4.1_p9
dev-lang/python: 2.6.6-r1, 3.1.2-r4
dev-util/ccache: 2.4-r9
dev-util/cmake:  2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:   4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:  3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=* -@EULA AdobeFlash-10.1
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=core2 -msse4 -mcx16 -msahf -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/config /usr/share/gnupg/qualified.txt
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d 
/etc/terminfo
CXXFLAGS=-march=core2 -msse4 -mcx16 -msahf -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=assume-digests binpkg-logs ccache distlocks fail-clean fixlafiles 
fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-
features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox
GENTOO_MIRRORS=http://10.10.10.5:1024/ http://gentoo.virginmedia.com/ 
http://gentoo.tiscali.nl/ http://de-mirror.org/distro/gentoo/ 
http://gentoo.mneisen.org/ http://mirror.mdfnet.se/mirror/gentoo 
http://gentoo.wheel.sk/ http://gentoo.mirror.pw.edu.pl/;
LANG=en_GB.UTF-8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
LINGUAS=en_GB en
MAKEOPTS=-j9
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --
compress --force --whole-file --delete --stats --timeout=180 --
exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/var/lib/layman/enlightenment /usr/local/portage
SYNC=rsync://10.10.10.5/gentoo-portage
USE=X a52 aac acl acpi alsa amd64 amr berkdb bluetooth branding bzip2 cairo 
cdda cddb cdparanoia cdr chroot cli consolekit cracklib crypt css cups cxx 
dbus dell dri dts dvd dvdr emboss encode exif faac fam firefox flac fortran 
fts3 gdbm gdu gif gnutls gpm hddtemp hpijs iconv imagemagick ipv6 irda jpeg 
kde lcms ldap libnotify libv4l2 live lm_sensors logrotate mad mikmod mmx 
mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses network-cron new-
hpcups nls nodrm nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf 
perl png policykit ppds pppd python qt3support qt4 quicktime readline redland 
rtmp sdl semantic-desktop session shout smime spell sqlite sse sse2 ssl ssse3 
startup-notification svg sysfs tcpd tiff truetype udev unicode usb v4l2 vaapi 
vorbis wps x264 xcb xml xorg xulrunner xv xvid xvmc zip zlib 
ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x 
ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 
trident usb-audio via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw 
asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa 
lfloat linear meter mmap_emul mulaw multi null plug rate route share shm 
softvol APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon 
authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile 
authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock 
deflate dir disk_cache env expires ext_filter file_cache filter headers 
include info log_config logio mem_cache mime mime_magic negotiation rewrite 
setenvif speling status unique_id userdir usertrack vhost_alias 
CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load memory rrdtool swap 
syslog ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate evermore fv18 
garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle 
oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx 
INPUT_DEVICES=synaptics evdev KERNEL=linux LCD_DEVICES=bayrad cfontz 
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text LINGUAS=en_GB en 
PHP_TARGETS=php5-3 RUBY_TARGETS=ruby18 USERLAND=GNU VIDEO_CARDS=radeon 

Re: [gentoo-user] xorg-drivers for mouse and keyboard confusion

2011-02-27 Thread Mark Knecht
On Sat, Feb 26, 2011 at 12:38 AM, Mick michaelkintz...@gmail.com wrote:
 I have unmerged x11-drivers/xf86-input-mouse and x11-drivers/xf86-input-
 keyboard and also removed mouse and keyboard from my /etc/make.conf, which now
 only contains:

 INPUT_DEVICES=synaptics evdev


 However, portage seems to want to pull in x11-drivers/xf86-input-mouse and
 x11-drivers/xf86-input-keyboard:

Hi Mick,
   I took another look here. It seems that for Virtualbox that
xf86-input-virtualbox is pulling in xf86-input-mouse. Not sure if
that's a bug in the ebuild or whether it's really required. I haven't
spotted any settable flags that seem to effect it. (Haven't looked
very hard.)

   Anyway, I'm using evdev for X, like you, and like you I'm getting
the old mouse driver for apparently other reasons. I'm not getting
keyboard but you should be able to use the commands below to determine
why that's happening on your system.

- Mark

mark@c2stable ~ $ equery depends xf86-input-mouse
[ Searching for packages depending on xf86-input-mouse... ]
x11-base/xorg-drivers-1.9 (input_devices_mouse? x11-drivers/xf86-input-mouse)
x11-drivers/xf86-input-virtualbox-4.0.4 (x11-drivers/xf86-input-mouse)
mark@c2stable ~ $

mark@c2stable ~ $ emerge --tree -pe xorg-drivers | grep mouse
mark@c2stable ~ $ emerge --tree -pe xf86-input-virtualbox | grep mouse
[ebuild   R]  x11-drivers/xf86-input-mouse-1.6.0
---
[nomerge   ] x11-drivers/xf86-input-mouse-1.6.0
mark@c2stable ~ $

mark@c2stable ~ $ emerge --tree -pe xf86-input-virtualbox

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ~] x11-drivers/xf86-input-virtualbox-4.0.4
[nomerge   ] dev-perl/DBD-mysql-4.01.7
[nomerge   ]  virtual/mysql-5.1
[ebuild   R]   dev-db/mysql-5.1.51
[nomerge   ] x11-drivers/xf86-input-virtualbox-4.0.4
[nomerge   ]  dev-util/kbuild-0.1.5-r1
[nomerge   ]   dev-vcs/subversion-1.6.15
[nomerge   ]virtual/jdk-1.6.0
[ebuild   R] dev-java/icedtea6-bin-1.9.7
[nomerge   ] dev-vcs/subversion-1.6.15
[nomerge   ]  kde-base/kdelibs-4.4.5-r2
[nomerge   ]   sys-auth/polkit-kde-0.95.1-r1
[nomerge   ]sys-auth/polkit-qt-0.96.1
[nomerge   ] sys-auth/polkit-0.99-r1
[ebuild   R]  gnome-extra/polkit-gnome-0.99
[ebuild   R]   kde-base/khelpcenter-4.4.5
[nomerge   ] x11-drivers/xf86-input-virtualbox-4.0.4
[nomerge   ]  x11-base/xorg-server-1.9.4
[nomerge   ]   x11-base/xorg-drivers-1.9
[nomerge   ]x11-drivers/nvidia-drivers-270.18
[ebuild   R] media-video/nvidia-settings-260.19.29
[ebuild   R]x11-drivers/xf86-video-fbdev-0.4.2
[ebuild   R]x11-drivers/xf86-input-evdev-2.6.0
[ebuild   R]x11-drivers/xf86-video-vmware-11.0.3
[ebuild   R]x11-drivers/xf86-video-vesa-2.3.0
[nomerge   ] gnome-extra/polkit-gnome-0.99
[nomerge   ]  sys-auth/polkit-0.99-r1
[nomerge   ]   sys-libs/pam-1.1.3
[nomerge   ]sys-auth/pambase-20101024
[ebuild   R] sys-auth/consolekit-0.4.3
[ebuild   R]   sys-auth/polkit-kde-0.95.1-r1
[nomerge   ] media-video/nvidia-settings-260.19.29
[ebuild   R   #]  x11-drivers/nvidia-drivers-270.18
[ebuild   R] dev-util/kbuild-0.1.5-r1
[ebuild   R]  dev-vcs/subversion-1.6.15
[ebuild   R]   kde-base/kwalletd-4.4.5
[ebuild   R]kde-base/kdelibs-4.4.5-r2
[ebuild   R] sys-auth/polkit-qt-0.96.1
[ebuild   R]  sys-auth/polkit-0.99-r1
[nomerge   ] x11-drivers/xf86-input-virtualbox-4.0.4
[ebuild   R]  x11-drivers/xf86-input-mouse-1.6.0
---
SNIP


mark@c2stable ~ $ emerge -pe xf86-input-virtualbox

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R] sys-libs/zlib-1.2.3-r1
[ebuild   R] virtual/libintl-0
SNIP
[ebuild   R] x11-drivers/xf86-video-vesa-2.3.0
[ebuild   R] x11-drivers/xf86-video-vmware-11.0.3
[ebuild   R] x11-drivers/xf86-input-evdev-2.6.0
[ebuild   R] x11-drivers/xf86-video-fbdev-0.4.2
[ebuild   R] x11-drivers/xf86-input-mouse-1.6.0
---
[ebuild   R] sys-auth/polkit-0.99-r1
[ebuild   R] sys-auth/polkit-qt-0.96.1
[ebuild   R] sys-auth/consolekit-0.4.3
[ebuild   R] gnome-extra/polkit-gnome-0.99
[ebuild   R] kde-base/kdelibs-4.4.5-r2
[ebuild   R] sys-auth/polkit-kde-0.95.1-r1
[ebuild   R] kde-base/kwalletd-4.4.5
[ebuild   R] kde-base/khelpcenter-4.4.5
[ebuild   R] dev-vcs/subversion-1.6.15
[ebuild   R] dev-util/kbuild-0.1.5-r1
[ebuild   R   ~] x11-drivers/xf86-input-virtualbox-4.0.4
[ebuild   R   #] x11-drivers/nvidia-drivers-270.18
[ebuild   R] media-video/nvidia-settings-260.19.29
mark@c2stable ~ $



Re: [gentoo-user] xorg-drivers for mouse and keyboard confusion

2011-02-27 Thread Mick
On Sunday 27 February 2011 14:33:55 you wrote:
 On Sat, Feb 26, 2011 at 12:38 AM, Mick michaelkintz...@gmail.com wrote:
  I have unmerged x11-drivers/xf86-input-mouse and x11-drivers/xf86-input-
  keyboard and also removed mouse and keyboard from my /etc/make.conf,
  which now only contains:
  
  INPUT_DEVICES=synaptics evdev
  
  
  However, portage seems to want to pull in x11-drivers/xf86-input-mouse
  and
 
  x11-drivers/xf86-input-keyboard:
 Hi Mick,
I took another look here. It seems that for Virtualbox that
 xf86-input-virtualbox is pulling in xf86-input-mouse. Not sure if
 that's a bug in the ebuild or whether it's really required. I haven't
 spotted any settable flags that seem to effect it. (Haven't looked
 very hard.)

Thanks Mark, I do not have virtualbox on this laptop, so the drivers are not 
being pulled in because of it.


Anyway, I'm using evdev for X, like you, and like you I'm getting
 the old mouse driver for apparently other reasons. I'm not getting
 keyboard but you should be able to use the commands below to determine
 why that's happening on your system.

I checked my world file and the only x11-drivers package I have in there is 
the radeon-ucode firmware package.

Anyway, I just remerged x11-base/xorg-drivers manually (rather than as part of 
updating world) and guess what? !  It does not try to pull in these two 
drivers any more:

# emerge -1aDv xorg-drivers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-base/xorg-drivers-1.9  INPUT_DEVICES=evdev synaptics -
acecad -aiptek -elographics -fpit -joystick -keyboard* -mouse* -penmount -
tslib -virtualbox -vmmouse -void -wacom VIDEO_CARDS=radeon -apm -ark -ast -
chips -cirrus -dummy -epson -fbdev -fglrx (-geode) -glint -i128 (-i740) (-
impact) -intel -mach64 -mga -neomagic (-newport) -nouveau -nv -nvidia -r128 -
rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-
suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident 
-tseng -v4l -vesa -via -virtualbox -vmware (-voodoo) (-xgi%) 0 kB


I guess that 'emerge -uaDv world' takes the current state of x11-base/xorg-
drivers (which in the past had been merged with INPUT_DEVICES containing both 
keyboard and mouse) as a higher priority than the current state of my 
INPUT_DEVICES in /etc/make.conf?

Either way, the solution must be therefore to remerge x11-base/xorg-drivers 
every time the content of INPUT_DEVICES is changed.

Thank you all for your help.  :)
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] xorg-drivers for mouse and keyboard confusion

2011-02-27 Thread Mike Gilbert
On Sun, Feb 27, 2011 at 9:58 AM, Mick michaelkintz...@gmail.com wrote:
 I guess that 'emerge -uaDv world' takes the current state of x11-base/xorg-
 drivers (which in the past had been merged with INPUT_DEVICES containing both
 keyboard and mouse) as a higher priority than the current state of my
 INPUT_DEVICES in /etc/make.conf?

 Either way, the solution must be therefore to remerge x11-base/xorg-drivers
 every time the content of INPUT_DEVICES is changed.


I suggest adding -N (--newuse) to that command, as in emerge -uaDvN
world. This will take USE flag changes into account when deciding on
packages to (re)install.

Note that INPUT_DEVICES is really just a fancy wrapper around a set of
USE flags.



[gentoo-user] xorg-drivers for mouse and keyboard confusion

2011-02-26 Thread Mick
I have unmerged x11-drivers/xf86-input-mouse and x11-drivers/xf86-input-
keyboard and also removed mouse and keyboard from my /etc/make.conf, which now 
only contains:

INPUT_DEVICES=synaptics evdev


However, portage seems to want to pull in x11-drivers/xf86-input-mouse and 
x11-drivers/xf86-input-keyboard:
==
# emerge -uatDv world

These are the packages that would be merged, in reverse order:

Calculating dependencies

...
[nomerge  ] x11-base/xorg-server-1.9.4  USE=ipv6 nptl udev xorg -dmx -doc 
-kdrive -minimal -static-libs -tslib  [0]
[nomerge  ]  x11-base/xorg-drivers-1.9  INPUT_DEVICES=evdev keyboard 
mouse synaptics -acecad -aiptek -elographics -fpit -joystick -penmount -tslib 
-virtualbox -vmmouse -void -wacom VIDEO_CARDS=radeon -apm -ark -ast -chips -
cirrus -dummy -epson -fbdev -fglrx (-geode) -glint -i128 (-i740) (-impact) -
intel -mach64 -mga -neomagic (-newport) -nouveau -nv -nvidia -r128 -rendition 
-s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-
suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -
v4l -vesa -via -virtualbox -vmware (-voodoo) (-xgi)  [0]
[ebuild  N]   x11-drivers/xf86-input-keyboard-1.5.0  0 kB [0]
[ebuild  N]   x11-drivers/xf86-input-mouse-1.6.0  0 kB [0]
==

As you can see above portage still shows keyboard and mouse as INPUT_DEVICES.   
 
Are these defined anywhere else other than make.conf?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] xorg-drivers for mouse and keyboard confusion

2011-02-26 Thread Jesús J . Guerrero Botella
You could always grep for INPUT_DEVICES into /etc/portage, user -R for
recursive search.

Also, make sure there's no other statement for INPUT_DEVICES in
make.conf after the one you posted above.

-- 
Jesús Guerrero Botella



Re: [gentoo-user] xorg-drivers for mouse and keyboard confusion

2011-02-26 Thread Mick
On Saturday 26 February 2011 11:26:38 Jesús J. Guerrero Botella wrote:
 You could always grep for INPUT_DEVICES into /etc/portage, user -R for
 recursive search.
 
 Also, make sure there's no other statement for INPUT_DEVICES in
 make.conf after the one you posted above.

Thanks, I checked for duplicate entries in make.conf (there aren't any) and 
nothing is shown under /etc/portage ... what now?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] xorg-drivers for mouse and keyboard confusion

2011-02-26 Thread Mark Knecht
On Sat, Feb 26, 2011 at 7:04 AM, Mick michaelkintz...@gmail.com wrote:
 On Saturday 26 February 2011 11:26:38 Jesús J. Guerrero Botella wrote:
 You could always grep for INPUT_DEVICES into /etc/portage, user -R for
 recursive search.

 Also, make sure there's no other statement for INPUT_DEVICES in
 make.conf after the one you posted above.

 Thanks, I checked for duplicate entries in make.conf (there aren't any) and
 nothing is shown under /etc/portage ... what now?
 --
 Regards,
 Mick


Did you double check /var/lib/portage/world to make sure they aren't
(somehow) still in there?

I don't know if you use modules-rebuild but if so have you removed
them from the list of things that you rebuild when you make a new
kernel?

If you let the system re-emerge them, make sure you're -DuN @world
clean, then emerge -C them, use --depclean to get everything out, I
bet they'll be gone.

Very strange...

Good luck,
Mark



Re: [gentoo-user] xorg-drivers for mouse and keyboard confusion

2011-02-26 Thread Jesús J . Guerrero Botella
2011/2/26 Mick michaelkintz...@gmail.com:
 On Saturday 26 February 2011 11:26:38 Jesús J. Guerrero Botella wrote:
 You could always grep for INPUT_DEVICES into /etc/portage, user -R for
 recursive search.

 Also, make sure there's no other statement for INPUT_DEVICES in
 make.conf after the one you posted above.

 Thanks, I checked for duplicate entries in make.conf (there aren't any) and
 nothing is shown under /etc/portage ... what now?

Can you post emerge --info?


-- 
Jesús Guerrero Botella