Re: [gentoo-user] Re: Flash Player / Firefox trouble

2011-02-20 Thread Elaine C. Sharpe
In linux.gentoo.user, you wrote:
 On Sat, Feb 19, 2011 at 2:52 PM, Dale rdalek1...@gmail.com wrote:
 Mark Knecht wrote:

 On Sat, Feb 19, 2011 at 1:40 PM, Nikos Chantziarasrea...@arcor.de
  wrote:


 On 02/19/2011 11:08 PM, Elaine C. Sharpe wrote:


 [...]
 I do wish netflix would go with something other than silverlight
 though, running win7 in vbox works but I shouldn't have to do all
 that...


 Doesn't the Moonlight Firefox add-on work?


 What I've read is that moonlight doesn't handle the Netflix DRM
 issues. Does anyone know differently?

 I'm still using a Window VM to watch Netflix.

 - Mark




 I use Firefox and the download manager.  I just download the video and watch
 it with (s)(k)(m)player locally.  That also gives me the option of saving
 them locally and not having to download them again if I want to watch them
 more than once.  I'm sure ATT likes that part.

 So far, I have not had much trouble with doing it this way.  Other than the
 video being lost when changing tabs.  Well, I did have on download that
 failed and only go the first part of the video.  I think my DSL modem did
 its reset thingy.  It does that once a day.

 Dale

 :-)  :-)



 Where are you finding links on Netflix pages that allows you to start
 a movie download? I'm not finding that at all using Firefox. Are you
 digging into page source or something?

 - Mark

Pretty sure he wasn't referring to netflix.
AFAIK no-one has cracked the DRM on silverlight streams 
yet, and microsoft has no plans to update moonlight.
Ironic that the excuse is pirates! -- their restrictive
policy has me downloading things I wouldn't bother with
otherwise, so I suspect the effect is the opposite of
what they intend. Whoever thought, if it's not available
they'll just have to do without was truly not very bright.

-- 
caveat utilitor 
♫ ❤ ♫ ❤ ♫ ❤ ♫ 




Re: [gentoo-user] Anyone get Acer laptop internal microphone working in Gentoo?

2011-02-20 Thread Elaine C. Sharpe
In linux.gentoo.user, you wrote:
 On Sat, Feb 19, 2011 at 11:54:38PM +, Mick wrote

 Ah ... mine have more.  F4 in alsamixer brings up all these Capture 
 devices:
 
 Front Mic  6767
 Mic6767
 Capture8080
 Capture8080
 Digital6161
 Digital
 Input So   Digital Mic  (other options are: Front Mic, Mic)
 Input So   Digital Mic  (other options are: Front Mic, Mic)
 
 There's a microphone on the top of the screen and a jack on the
 front left of the keyboard.

   Another search on Goggle finally found something, but I'm not sure I
 like it.  My card shows up in lspci -v as...

 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
 Subsystem: Acer Incorporated [ALI] Device 0372
 Flags: bus master, slow devsel, latency 64, IRQ 16
 Memory at d040 (64-bit, non-prefetchable) [size=16K]
 Capabilities: [50] Power Management version 2
 Kernel driver in use: HDA Intel

 alsamixer shows...
 Card: HDA ATI SB
 Chip: Realtek ALC272X 

   One solution I've seen involves modprobing the sound driver with a
 parameter.  Problem is I've been using kernel-mode alsa for years and
 I'm an absolute newbie on alsa-driver.  alsa-driver is keyworded
 ~amd64 but I'm desparate enough to try it.  Maybe even desparate enough
 to try the other solution, namely revert to OSS.

   If I want to keyword alsa-driver and install it, I assume that I have
 to remove all kernel support for sound, i.e in make menuconfig...

  Sound card support  ---

   Is that correct?  

I don't think so. One of my machines is a mac mini with the 
intel HDA chipset, and I don't recall right now whether it 
was alsa-driver, alsa-firnmware, or both but I did get it 
working without disabling audio in the kernel.

Also, what should I specify in ALSA_CARDS in
 /etc/make.conf ?


ALSA_CARDS=hda-intel

-- 
caveat utilitor 
♫ ❤ ♫ ❤ ♫ ❤ ♫ 




Re: [gentoo-user] Anyone get Acer laptop internal microphone working in Gentoo?

2011-02-20 Thread Mick
On Sunday 20 February 2011 08:50:48 Elaine C. Sharpe wrote:
 In linux.gentoo.user, you wrote:
  On Sat, Feb 19, 2011 at 11:54:38PM +, Mick wrote
  
  Ah ... mine have more.  F4 in alsamixer brings up all these Capture
  devices:
  
  Front Mic  6767
  Mic6767
  Capture8080
  Capture8080
  Digital6161
  Digital
  Input So   Digital Mic  (other options are: Front Mic, Mic)
  Input So   Digital Mic  (other options are: Front Mic, Mic)
  
  There's a microphone on the top of the screen and a jack on the
  front left of the keyboard.
  
Another search on Goggle finally found something, but I'm not sure I
  
  like it.  My card shows up in lspci -v as...
  
  00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev
  40)
  
  Subsystem: Acer Incorporated [ALI] Device 0372
  Flags: bus master, slow devsel, latency 64, IRQ 16
  Memory at d040 (64-bit, non-prefetchable) [size=16K]
  Capabilities: [50] Power Management version 2
  Kernel driver in use: HDA Intel
  
  alsamixer shows...
  Card: HDA ATI SB
  Chip: Realtek ALC272X
  
One solution I've seen involves modprobing the sound driver with a
  
  parameter.  Problem is I've been using kernel-mode alsa for years and
  I'm an absolute newbie on alsa-driver.  alsa-driver is keyworded
  ~amd64 but I'm desparate enough to try it.  Maybe even desparate enough
  to try the other solution, namely revert to OSS.
  
If I want to keyword alsa-driver and install it, I assume that I have
  
  to remove all kernel support for sound, i.e in make menuconfig...
 
   Sound card support  ---
 
Is that correct?
 
 I don't think so. One of my machines is a mac mini with the
 intel HDA chipset, and I don't recall right now whether it
 was alsa-driver, alsa-firnmware, or both but I did get it
 working without disabling audio in the kernel.
 
 Also, what should I specify in ALSA_CARDS in
 
  /etc/make.conf ?
 
 ALSA_CARDS=hda-intel

Around a couple of years ago my alsa stopped working and was getting some 
errors about not finding the right modules or similar.  Until that moment I 
had it build in the kernel.  I remember raising a bug, only to be told that I 
should rebuild my kernel with alsa drivers as modules, because alsaconf should 
be able to probe them.

Indeed, the Gentoo Alsa Guide still says pretty much the same thing:

Please note that for ease of use, all examples show ALSA built as modules. It 
is advisable to follow the same as it then allows the use of alsaconf which is 
a boon when you want to configure your card.

I've added some options for my alsa modules in /etc/modprobe.d/alsa-base.conf, 
e.g.:

  options snd-hda-intel enable_msi=1

HTH.
-- 
Regards,
Mick


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


[gentoo-user] After updating openldap today slapd won't start

2011-02-20 Thread Dan Johansson
Today after updating openldap from 2.4.23 to 2.4.24, slapd will not start.

# /etc/init.d/slapd start
 * Starting ldap-server ... 

  [ !! ]

and I get the following in the log:

Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: @(#) $OpenLDAP: slapd 2.4.24 (Feb 
20 2011 12:20:51) $
Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: slapd stopped.
Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: connections_destroy: nothing to 
destroy.


If I start it by hand (with debug=1)  it looks like this:
# /usr/lib64/openldap/slapd  -u ldap -g ldap -d1
@(#) $OpenLDAP: slapd 2.4.24 (Feb 20 2011 12:20:51) $

@torsson:/var/tmp/portage/net-nds/openldap-2.4.24/work/openldap-2.4.24/servers/slapd
ldap_pvt_gethostbyname_a: host=torsson, r=0
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: listener initialized ldap:///
daemon_init: 1 listeners opened
ldap_create
slapd init: initiated server.
bdb_back_initialize: initialize BDB backend
bdb_back_initialize: Berkeley DB 4.8.30: (2010-08-05)
hdb_back_initialize: initialize HDB backend
hdb_back_initialize: Berkeley DB 4.8.30: (2010-08-05)
slapd destroy: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.

Here are slapd.conf (without comments):
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/authldap.schema
include /etc/openldap/schema/samba.schema
pidfile /var/run/openldap/slapd.pid
argsfile/var/run/openldap/slapd.args
allow bind_v2
databasehdb
suffix  dc=dmj,dc=nu
checkpoint  32  30 
rootdn  cn=myroot,dc=dmj,dc=nu
rootpw  {SSHA}x
directory   /var/lib/openldap-data
index   objectClass eq


Any suggestion short of reverting to 2.4.23?
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] net-mail/cyrus-imapd-2.3.14-r3: cannot create saslpasswd

2011-02-20 Thread Johannes Geiss
Hi Gentoo-users,

I have a problem. After installing net-mail/cyrus-imapd-2.3.14-r3
portage tells me

You have to add user cyrus to the sasldb2. Do this with:
saslpasswd2 cyrus

But when I try to do this, I get the following error:

Password: [password]
Again (for verification): [same password]
saslpasswd2: generic failure

and the syslog says

Feb 20 14:04:10 polaris saslpasswd2: auxpropfunc error invalid parameter
supplied
Feb 20 14:04:10 polaris saslpasswd2: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: ldapdb
Feb 20 14:04:10 polaris saslpasswd2: sql_select option missing
Feb 20 14:04:10 polaris saslpasswd2: auxpropfunc error no mechanism
available
Feb 20 14:04:10 polaris saslpasswd2: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: sql

What could be wrong?

Thanks for any help
Johannes
-- 

--//--
 //Johannes R. Geiss   Zaurus, Pegasos, Amiga and C64 user
 \\ //  PGP at https://pegasos.dnsalias.org/~jgeiss/pgpkey.txt
--\X/-


[gentoo-user] irritating cron habit

2011-02-20 Thread Philip Webb
I fetch my mail using a user cron job, as recommended for security.
I also start my Internet connection by hand after logging in:
this is to avoid the jam which arises if it is included in the runlevel
but for some reason the physical Net connection isn't functioning,
when Dhcpcd sits there  can't be killed via Control-C.
Usually, this works very well, but occasionally the cron job runs
before the Dhcpcd command has made the necessary connection
-- it depends on when the start-of-minute falls -- ,
which results in a file  ~/dead.letter , which has to be deleted
(the sequence of commands is clear from the Syslog file).

Is there a way to fix this ? -- I could perhaps write a 2-line script
which would run 'dhcpcd eth0 ; /etc/init.d/vixie-cron',
while removing Vixie-cron from the Default runlevel.

Does anyone have useful suggestions ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] monitor acting strangely when gdm starts

2011-02-20 Thread covici
Mick michaelkintz...@gmail.com wrote:

 On Friday 18 February 2011 18:37:43 cov...@ccs.covici.com wrote:
  Mick michaelkintz...@gmail.com wrote:
   On Friday 18 February 2011 10:35:15 cov...@ccs.covici.com wrote:
Hi.  I have a Nvidia GeFORCE 8400 gs and when I am using the text
console and frame buffer (uvesafb) things are OK, but when I start gdm,
the monitor acts as though it was disconnected altogether.  It works
under Windows through a KVM, so I am pretty sure the monitor is OK, but
I don't understand what happens when gdm starts.  I have
Nvidia-drivers-260.19.36 but even some earlier versions I try give the
same result.  Is my card going or what?

Any ideas would be appreciated.
   
   Have you followed this?
   
   http://www.gentoo.org/doc/en/xorg-config.xml
   
   and are you using KMS?
  
  I have not changed the config from working to non-working -- if it will
  help I can post it.  I am not sure what kms is -- I use gnome as the
  desktop.
 
 Have a more considered look at the link I've given.  Check the kernel 
 settings 
 proposed there and take note of the disabling of u/vesa drivers.
I cannot do what the guide says -- I have no Nouveau in staging drivers
or anywhere it seems.   Maybe in newer kernels than the one I am using,
but I want to get this one back to working first.

One thing that I found in  my logs which might help is the following:

Feb 17 22:29:07 ccs kernel: NVRM: Xid (0001:00): 53, CMDre 
0080  0005 0005
Feb 17 22:29:49 ccs last message repeated 7 times

Thanks.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-20 Thread Mick
On Sunday 20 February 2011 00:25:24 Valmor de Almeida wrote:
 On 02/19/2011 06:59 PM, Mick wrote:
 [snip]
 
  On two laptops of mine evdev causes untold confusion with the touchpad
  and second language selection for the keyboard.  I *have* to use the
  synaptics and keyboard input drivers.  I'm also using mouse (because it
  doesn't hurt I guess).
  
  I tried of course to remove them all and leave evdev initially, but it
  all went horribly wrong.  Perhaps evdev will catch up eventually, I just
  hope synaptics and keyboard don't default into being deprecated before
  then.

I think I should at least partly retract some of the above statement - with 
x11-base/xorg-server-1.9.4 I have managed to unmerge x11-drivers/xf86-input-
keyboard and x11-drivers/xf86-input-mouse and evdev seems to still pick up my 
mouse and keyboard.

I had to comment out the following three entries first in my xorg.conf:
#
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
#   InputDeviceMouse0 CorePointer
#   InputDeviceKeyboard0 CoreKeyboard
#   Option AllowEmptyInput off
EndSection
#

and also added appropriate Section InputClass parts for mouse and keyboard 
in my /etc/X11/xorg.conf, but commented out similar parts in 
/usr/share/X11/xorg.conf.d/10-evdev.conf.

 I am using evdev and synaptics only on a thinkpad t201. Without an
 xorg.conf, all works including when I connect an usb mouse. However I am
 trying to configure the touchpad, trackpoint and extended buttons to
 work as left-hand; that is I would like to have the 3 buttons reversed.
 
 I have not been lucky so far. In fact I've read on the web about some
 new (relative to xorg 1.7) syntax for the xorg.conf file. Does anyone
 know about a site with humanly friendly information on how to write a
 modern xorg.conf file? 

Have you had a look at:

http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml

Also, have a read of the InputClass section in man xorg.conf and the files in 
/usr/share/X11/xorg.conf.d/.


 In addition to the devices I mentioned above I am
 also trying to setup an external monitor as a hotplug virtual screen.
 
 For instance, things like this do not work:
 
 
 Section InputClass
 Identifier TouchPad

Change this line to:

Identifier touchpad catchall

Or, you can also try:

Identifier synaptics touchpad catchall

 MatchIsTouchpad on
 Driver synaptics
 #Option SHMConfig on
 Option VertTwoFingerScroll on
 EndSection
 
 In the past I used
 
 Option ButtonMapping 3 2 1

Do you want this to work for your touchpad with the synaptics driver, or do 
you want this to work with any physical buttons on the laptop, or even an 
external (e.g. USB) mouse?

If the former, then have a look at the NOTES at the end of the man synaptics 
page, where it mentions button mapping.

For non tap buttons you can try setting this option in an InputClass section 
in your xorg.conf for an InputClass device mouse:

Section InputClass
Identifier  mouse catchall
Driver  evdev
MatchIsPointer on
MatchDevicePath /dev/input/event*
Option  Protocol auto
Option ButtonMapping 3 2 1
EndSection

 which apparently does not work here. Last but not least, how do I get
 the good old  ctrl-alt-backspace  keybinding to kill X?

You'll need to define this in the InputClass that deals with the keyboard:

Section InputClass
   Identifier  keyboard catchall
   Driver  evdev
   MatchIsKeyboard on
   MatchDevicePath /dev/input/event*
   Option XkbLayout gb
   Option XkbOptions terminate:ctrl_alt_bksp
EndSection

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] monitor acting strangely when gdm starts

2011-02-20 Thread Mick
On Sunday 20 February 2011 14:20:56 cov...@ccs.covici.com wrote:
 Mick michaelkintz...@gmail.com wrote:
  On Friday 18 February 2011 18:37:43 cov...@ccs.covici.com wrote:
   Mick michaelkintz...@gmail.com wrote:
On Friday 18 February 2011 10:35:15 cov...@ccs.covici.com wrote:
 Hi.  I have a Nvidia GeFORCE 8400 gs and when I am using the text
 console and frame buffer (uvesafb) things are OK, but when I start
 gdm, the monitor acts as though it was disconnected altogether. 
 It works under Windows through a KVM, so I am pretty sure the
 monitor is OK, but I don't understand what happens when gdm
 starts.  I have
 Nvidia-drivers-260.19.36 but even some earlier versions I try give
 the same result.  Is my card going or what?
 
 Any ideas would be appreciated.

Have you followed this?

http://www.gentoo.org/doc/en/xorg-config.xml

and are you using KMS?
   
   I have not changed the config from working to non-working -- if it will
   help I can post it.  I am not sure what kms is -- I use gnome as the
   desktop.
  
  Have a more considered look at the link I've given.  Check the kernel
  settings proposed there and take note of the disabling of u/vesa
  drivers.
 
 I cannot do what the guide says -- I have no Nouveau in staging drivers
 or anywhere it seems.   Maybe in newer kernels than the one I am using,
 but I want to get this one back to working first.
 
 One thing that I found in  my logs which might help is the following:
 
 Feb 17 22:29:07 ccs kernel: NVRM: Xid (0001:00): 53, CMDre 
 0080  0005 0005
 Feb 17 22:29:49 ccs last message repeated 7 times

Oh I see.  You've upgraded xorg, but not your kernel ... ?

If this is the case, then downgrade xorg-server back to 1.7 version.

-- 
Regards,
Mick


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


Re: [gentoo-user] irritating cron habit

2011-02-20 Thread Florian Philipp
Am 20.02.2011 15:04, schrieb Philip Webb:
 I fetch my mail using a user cron job, as recommended for security.
 I also start my Internet connection by hand after logging in:
 this is to avoid the jam which arises if it is included in the runlevel
 but for some reason the physical Net connection isn't functioning,
 when Dhcpcd sits there  can't be killed via Control-C.
 Usually, this works very well, but occasionally the cron job runs
 before the Dhcpcd command has made the necessary connection
 -- it depends on when the start-of-minute falls -- ,
 which results in a file  ~/dead.letter , which has to be deleted
 (the sequence of commands is clear from the Syslog file).
 
 Is there a way to fix this ? -- I could perhaps write a 2-line script
 which would run 'dhcpcd eth0 ; /etc/init.d/vixie-cron',
 while removing Vixie-cron from the Default runlevel.
 
 Does anyone have useful suggestions ?
 

When dhcpcd runs, there should be the following files:
/var/run/dhcpcd.pid
/var/run/dhcpcd-eth0.pid

Just change your cron job to look like
test -e /var/run/dhcpcd.pid  fetchmail

You can also do something like parsing the output of `/sbin/ifconfig
eth0` with grep -q to see whether it has an ip address so that your cron
job also works when you configure your address statically.
/sbin/ifconfig eth0 | grep -q '\inet'  fetchmail ...
should do the trick.

Or even more general:
gawk 'BEGIN{found=1} {if(found == 1  $2 ~ /^0+$/  $7 ~ /^0+$/)
found=0} END{exit found}'  /proc/net/route  fetchmail

This looks at the routing table and returns 0 when there is a default
route (destination and mask ) no matter over which interface. No
clue whether this works with IPv6.

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] After updating openldap today slapd won't start

2011-02-20 Thread Dan Johansson
On Sunday 20 February 2011 13.25:31 Dan Johansson wrote:
 Today after updating openldap from 2.4.23 to 2.4.24, slapd will not start.
 
 # /etc/init.d/slapd start
  * Starting ldap-server ...   
   
   [ !! ]
 
 and I get the following in the log:
 
 Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: @(#) $OpenLDAP: slapd 2.4.24 
 (Feb 20 2011 12:20:51) $
 Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: slapd stopped.
 Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: connections_destroy: nothing to 
 destroy.
 
 
 If I start it by hand (with debug=1)  it looks like this:
 # /usr/lib64/openldap/slapd  -u ldap -g ldap -d1
 @(#) $OpenLDAP: slapd 2.4.24 (Feb 20 2011 12:20:51) $
 
 @torsson:/var/tmp/portage/net-nds/openldap-2.4.24/work/openldap-2.4.24/servers/slapd
 ldap_pvt_gethostbyname_a: host=torsson, r=0
 daemon_init: listen on ldap:///
 daemon_init: 1 listeners to open...
 ldap_url_parse_ext(ldap:///)
 daemon: listener initialized ldap:///
 daemon_init: 1 listeners opened
 ldap_create
 slapd init: initiated server.
 bdb_back_initialize: initialize BDB backend
 bdb_back_initialize: Berkeley DB 4.8.30: (2010-08-05)
 hdb_back_initialize: initialize HDB backend
 hdb_back_initialize: Berkeley DB 4.8.30: (2010-08-05)
 slapd destroy: freeing system resources.
 slapd stopped.
 connections_destroy: nothing to destroy.
 
 Here are slapd.conf (without comments):
 include /etc/openldap/schema/core.schema
 include /etc/openldap/schema/cosine.schema
 include /etc/openldap/schema/inetorgperson.schema
 include /etc/openldap/schema/nis.schema
 include /etc/openldap/schema/authldap.schema
 include /etc/openldap/schema/samba.schema
 pidfile /var/run/openldap/slapd.pid
 argsfile/var/run/openldap/slapd.args
 allow bind_v2
 databasehdb
 suffix  dc=dmj,dc=nu
 checkpoint  32  30 
 rootdn  cn=myroot,dc=dmj,dc=nu
 rootpw  {SSHA}x
 directory   /var/lib/openldap-data
 index   objectClass eq
 
 
 Any suggestion short of reverting to 2.4.23?
Don't bother... I found it my self. slaptest reported an error in one of the 
schemas, efter correcting this slapd starts perfectly.

Sorry for the noise,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] flash drive mounting is very slow

2011-02-20 Thread David Relson
Mounting USB devices is very, very slow.  This morning I inserted my
PNY memory stick at 10:18:22 but df didn't show it mounted until 3
minutes later at 10:21:05.

As  background information, in /etc/udev/rules.d/10-local.rules is: 

KERNEL==sd*1, ATTRS{manufacturer}==PNY, SYMLINK+=PNY, 
RUN+=/bin/mount -a

and in /etc/fstab is:

/dev/PNY /mnt/pny vfat rw,nosuid,auto 0 0

The kernel messages in /var/log/messages for this period of time are in
the attached file (to avoid line wrapping by mail clients).

Any thoughts on why it takes so long and how I can speed up
recognition?

Ideas for enabling more messages (from udev, the kernel, etc) to see
what's happening would also be helpful.

TIA,

David

Feb 20 10:18:22 osage kernel: usb 1-4.1: new high speed USB device using 
ehci_hcd and address 25
Feb 20 10:18:22 osage kernel: usb 1-4.1: New USB device found, idVendor=154b, 
idProduct=0016
Feb 20 10:18:22 osage kernel: usb 1-4.1: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
Feb 20 10:18:22 osage kernel: usb 1-4.1: Product: USB 2.0 FD  
Feb 20 10:18:22 osage kernel: usb 1-4.1: Manufacturer: PNY 
Feb 20 10:18:22 osage kernel: usb 1-4.1: SerialNumber: 6E821D1300DE
Feb 20 10:18:22 osage kernel: scsi26 : usb-storage 1-4.1:1.0
Feb 20 10:18:23 osage kernel: scsi 26:0:0:0: Direct-Access PNY  USB 2.0 
FD   PMAP PQ: 0 ANSI: 0 CCS
Feb 20 10:18:23 osage kernel: sd 26:0:0:0: Attached scsi generic sg2 type 0
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] 15663104 512-byte logical 
blocks: (8.01 GB/7.46 GiB)
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Write Protect is off
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Mode Sense: 23 00 00 00
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Assuming drive cache: write 
through
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Assuming drive cache: write 
through
Feb 20 10:18:24 osage kernel: sdc: sdc1
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Assuming drive cache: write 
through
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Attached SCSI removable disk
Feb 20 10:18:38 osage usb_id[16872]: unable to access 
'/devices/pci:00/:00:13.5/usb1/1-4/1-4.1/1-4.1:1.0/host25/target25:0:0/25:0:0:0/block/sdc'

Feb 20 10:20:01 osage cron[17659]: (root) CMD (test -x /usr/sbin/run-crons  
/usr/sbin/run-crons )
Feb 20 10:20:01 osage cron[17660]: (health) CMD 
(/home/health/bin/system_health.py --log --graph  /dev/null 21)
Feb 20 10:25:01 osage cron[18431]: (health) CMD 
(/home/health/bin/system_health.py --log --graph  /dev/null 21)


Re: [gentoo-user] monitor acting strangely when gdm starts

2011-02-20 Thread Alex Schuster
Mick writes:

 On Sunday 20 February 2011 14:20:56 cov...@ccs.covici.com wrote:

 Oh I see.  You've upgraded xorg, but not your kernel ... ?
 
 If this is the case, then downgrade xorg-server back to 1.7 version.

X.org 1.7 has been masked, and will be removed from the portage tree in
four weeks. Sure, you can keep the ebuilds in the local overlay, but I
fear this will lead to trouble eventually.

I will do this for a while, too, but one day I will have to deal with
it. This X stuff is really giving me great trouble. Or maybe I will just
give up and get another graphics card, my on-board Radeon HD3200 does
not seem to be supported well. But then, I am having trouble with X
since I am using Linux, there were only few, short periods of time when
X just worked.

Wonko



[gentoo-user] Re: net-mail/cyrus-imapd-2.3.14-r3: cannot create saslpasswd

2011-02-20 Thread walt

On 02/20/2011 05:22 AM, Johannes Geiss wrote:

Hi Gentoo-users,

I have a problem. After installing net-mail/cyrus-imapd-2.3.14-r3 portage tells 
me

You have to add user cyrus to the sasldb2. Do this with:
saslpasswd2 cyrus

But when I try to do this, I get the following error:

Password: [password]
Again (for verification): [same password]
saslpasswd2: generic failure

and the syslog says

Feb 20 14:04:10 polaris saslpasswd2: auxpropfunc error invalid parameter 
supplied
Feb 20 14:04:10 polaris saslpasswd2: _sasl_plugin_load failed on 
sasl_auxprop_plug_init for plugin: ldapdb
Feb 20 14:04:10 polaris saslpasswd2: sql_select option missing


I'm wondering about that last sql error message.  I notice that the cyrus-sasl
package has USE flags for berkdb, mysql, postgres, and sqlite.  Do you have at
least one of those flags enabled?





[gentoo-user] Re: flash drive mounting is very slow

2011-02-20 Thread walt

On 02/20/2011 07:33 AM, David Relson wrote:

Mounting USB devices is very, very slow.  This morning I inserted my
PNY memory stick at 10:18:22 but df didn't show it mounted until 3
minutes later at 10:21:05.

As  background information, in /etc/udev/rules.d/10-local.rules is:

 KERNEL==sd*1, ATTRS{manufacturer}==PNY, SYMLINK+=PNY, RUN+=/bin/mount 
-a

and in /etc/fstab is:

 /dev/PNY /mnt/pny vfat rw,nosuid,auto 0 0

The kernel messages in /var/log/messages for this period of time are in
the attached file (to avoid line wrapping by mail clients).


Looks like udev is creating the device immediately, as it should.  I'm
pretty fuzzy on how the automounting actually gets done, though.

I've noticed this puzzling situation on my own machines (which auto-mount
correctly, BTW):

 1929 ?Sl 0:04 /usr/libexec/udisks-daemon
 1930 ?S  0:01  \_ udisks-daemon: polling /dev/sdc /dev/sr0 /dev/sdd

And this as well:

 1647 ?S  0:02  \_ hald-addon-storage: polling /dev/sr0 (every 
2 sec)
 1648 ?S  0:00  \_ hald-addon-storage: polling /dev/sdd (every 
2 sec)
 1650 ?S  0:00  \_ hald-addon-storage: polling /dev/sdc (every 
2 sec)

So I have hal and udisks polling the same three removable drives at the same
time, but they don't seem to interfere with each other.

I'm using gnome with automounting enabled, so I'm pretty sure it's gnome that
automounts those three removable drives, possibly with gdu-notification-daemon,
which is part of the gnome-disk-utility package.  A whole lotta guessing going
on here :)




[gentoo-user] Spammassassin: bd path?

2011-02-20 Thread meino . cramer
Hi,

I want to use berkdb for bayes learning.

how can I tell spamd/spamassassin where to look for the bayes database?

Thank you very much for any help in advance!
Best regards
mcc





Re: [gentoo-user] flash drive mounting is very slow

2011-02-20 Thread Dale

David Relson wrote:

Mounting USB devices is very, very slow.  This morning I inserted my
PNY memory stick at 10:18:22 but df didn't show it mounted until 3
minutes later at 10:21:05.

As  background information, in /etc/udev/rules.d/10-local.rules is:

 KERNEL==sd*1, ATTRS{manufacturer}==PNY, SYMLINK+=PNY, RUN+=/bin/mount 
-a

and in /etc/fstab is:

 /dev/PNY /mnt/pny vfat rw,nosuid,auto 0 0

The kernel messages in /var/log/messages for this period of time are in
the attached file (to avoid line wrapping by mail clients).

Any thoughts on why it takes so long and how I can speed up
recognition?

Ideas for enabling more messages (from udev, the kernel, etc) to see
what's happening would also be helpful.

TIA,

David

   


Just out of curiosity, have you tried it with no entry in fstab?  I 
don't have a entry for any of those in my fstab and it mounts in just a 
few seconds.


Just a thought.

Dale

:-)  :-)



Re: [gentoo-user] flash drive mounting is very slow

2011-02-20 Thread Neil Bothwick
On Sun, 20 Feb 2011 10:33:52 -0500, David Relson wrote:

 As  background information, in /etc/udev/rules.d/10-local.rules is: 
 
 KERNEL==sd*1, ATTRS{manufacturer}==PNY, SYMLINK+=PNY,
 RUN+=/bin/mount -a
 
 and in /etc/fstab is:
 
 /dev/PNY /mnt/pny vfat rw,nosuid,auto 0 0

Could the delay be caused by something else is fstab trying to mount
and failing? Try with mount /dev/PNY instead of mount -a.

Even better use pmount /dev/PNY.

Either way, you should run the command with  because udev blocks while
running commands.


-- 
Neil Bothwick

And what else floats.?


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-20 Thread Neil Bothwick
On Sat, 19 Feb 2011 14:48:17 -0500, Valmor de Almeida wrote:

 Thanks for the help. This was less painful than I thought. However it
 exposed a internet connection problem. I am using wicd for wireless and
 wired internet config. This laptop happened to be in a place where no
 wired internet is available. Since I use the wicd-client X config
 utility I was not able to connect to the internet while X was down.
 There is a wicd-cli but the man page is empty. I guess I will have to
 get some info on how to use wicd-cli on an emergency like this.

The man page is empty but wicd-cli --help will shoe that that this is not
what you want. You need wicd-curses, but wicd-client should call that for
you when X is unavailable.

If you have auto-connect enabled for your ESSID, you don't even need
that, wicd will connect as soon as it starts at boot.


-- 
Neil Bothwick

I distinctly remember forgetting that.


signature.asc
Description: PGP signature


[gentoo-user] no emerge of emacs-vcs

2011-02-20 Thread Harry Putnam
I haven't been able to emerge emacs-vcs for a while now.  I know there
was some trouble with renaming of the repo more than once but this
problem today looks different.

Looks like some other kind of change on the repo end.

Is anyone else noticing a problem building emacs-vcs?

Oh, and in the meantime, untill I get this straightened out, I've
forgotten how to tell gentoo that I will supply emacs-vcs. It used to
be done is one or another `pakage*' file.  Anyway, how would I tell
the OS that I will supply any emacs-vcs?

Emerge failure below:

From emerge -v emacs-vcs:
 Emerging (1 of 1) app-editors/emacs-vcs-24.0.-r1
 * Package:app-editors/emacs-vcs-24.0.-r1
 * Repository: gentoo
 * Maintainer: em...@gentoo.org
 * USE:X Xaw3d dbus elibc_glibc gif gpm gtk gzip-el jpeg kernel_linux 
motif png svg tiff toolkit-scroll-bars userland_GNU x86 xpm
 * FEATURES:   sandbox
 cfg-update-1.8.2-r1: Checksum index is up-to-date ...
 * bzr.eclass uses branches instead of checkouts now.
 * Therefore, you may remove the old bzr checkout:
 * rm -rf /anex/portage/distfiles/bzr-src/emacs-trunk
 Unpacking source...
 * bzr pull start --
 *repository: bzr://bzr.savannah.gnu.org/emacs/trunk
bzr: ERROR: Not a branch: 
/anex/portage/distfiles/bzr-src/emacs/trunk/.bzr/branch/.
 * ERROR: app-editors/emacs-vcs-24.0.-r1 failed:
 *   bzr.eclass: can't pull from bzr://bzr.savannah.gnu.org/emacs/trunk
 * 
 * Call stack:
* ebuild.sh, line   56:  Called src_unpack
 *   environment, line 3784:  Called bzr_src_unpack
 *   environment, line  794:  Called bzr_fetch
 *   environment, line  768:  Called bzr_update 
'bzr://bzr.savannah.gnu.org/emacs/trunk' 
'/anex/portage/distfiles/bzr-src/emacs/trunk'
 *   environment, line  811:  Called die
 * The specific snippet of code:
 *   ${EBZR_UPDATE_CMD} ${EBZR_OPTIONS} ${repo_uri} || die ${EBZR}: 
can't pull from ${repo_uri};

 [...]




Re: [gentoo-user] flash drive mounting is very slow

2011-02-20 Thread Mick
On Sunday 20 February 2011 17:44:58 Neil Bothwick wrote:
 On Sun, 20 Feb 2011 10:33:52 -0500, David Relson wrote:
  As  background information, in /etc/udev/rules.d/10-local.rules is:
  KERNEL==sd*1, ATTRS{manufacturer}==PNY, SYMLINK+=PNY,
  
  RUN+=/bin/mount -a
  
  and in /etc/fstab is:
  /dev/PNY /mnt/pny vfat rw,nosuid,auto 0 0
 
 Could the delay be caused by something else is fstab trying to mount
 and failing? Try with mount /dev/PNY instead of mount -a.
 
 Even better use pmount /dev/PNY.
 
 Either way, you should run the command with  because udev blocks while
 running commands.

To state the obvious ... have you tried it on a different USB port, a 
different PC and finally a different OS?

I've had a USB stick failing recently and there was a mechanical (contact) 
problem.  So a process of elimination would at least do away with physical 
level problems and indirectly confirm if there is something wrong with your 
system.
-- 
Regards,
Mick


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


Re: [gentoo-user] irritating cron habit

2011-02-20 Thread Philip Webb
110220 Florian Philipp wrote:
 Am 20.02.2011 15:04, schrieb Philip Webb:
 I fetch my mail using a user cron job, as recommended for security.
 Usually, this works very well, but occasionally the cron job runs
 before the Dhcpcd command has made the necessary connection
 which results in a file  ~/dead.letter , which has to be deleted
 Is there a way to fix this ? -- I could perhaps write a 2-line script
 which would run 'dhcpcd eth0 ; /etc/init.d/vixie-cron',
 while removing Vixie-cron from the Default runlevel.
 When dhcpcd runs, there should be the following files:
   /var/run/dhcpcd.pid   -- not this one
   /var/run/dhcpcd-eth0.pid  -- yes
 Just change your cron job to look like
 'test -e /var/run/dhcpcd.pid  fetchmail'

That's by far the simplest  it still fetches the mail,
so we'll see if it also avoids the occasional internal spam msgs.
Thanks for all the suggestions, which I will add to my Linux notes.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] monitor acting strangely when gdm starts

2011-02-20 Thread covici
Alex Schuster wo...@wonkology.org wrote:

 Mick writes:
 
  On Sunday 20 February 2011 14:20:56 cov...@ccs.covici.com wrote:
 
  Oh I see.  You've upgraded xorg, but not your kernel ... ?
  
  If this is the case, then downgrade xorg-server back to 1.7 version.
 
 X.org 1.7 has been masked, and will be removed from the portage tree in
 four weeks. Sure, you can keep the ebuilds in the local overlay, but I
 fear this will lead to trouble eventually.
 
 I will do this for a while, too, but one day I will have to deal with
 it. This X stuff is really giving me great trouble. Or maybe I will just
 give up and get another graphics card, my on-board Radeon HD3200 does
 not seem to be supported well. But then, I am having trouble with X
 since I am using Linux, there were only few, short periods of time when
 X just worked.
Well, I could not even downgrade to 1.7 -- when I did and started gdm, I
lost my keyboard -- I had to login from somewhere else and do chvt to
get out.  Maybe this was because of hal or something, not sure.  I have
in my backups an ebuild for 1.9.2.902 which seems to work in preliminary
testing whereas 1.9.4 did not work at all with this kernel.

X stuff is sure quirky.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] monitor acting strangely when gdm starts

2011-02-20 Thread Mick
On Sunday 20 February 2011 19:44:53 cov...@ccs.covici.com wrote:
 Alex Schuster wo...@wonkology.org wrote:
  Mick writes:
   On Sunday 20 February 2011 14:20:56 cov...@ccs.covici.com wrote:
   
   Oh I see.  You've upgraded xorg, but not your kernel ... ?
   
   If this is the case, then downgrade xorg-server back to 1.7 version.
  
  X.org 1.7 has been masked, and will be removed from the portage tree in
  four weeks. Sure, you can keep the ebuilds in the local overlay, but I
  fear this will lead to trouble eventually.
  
  I will do this for a while, too, but one day I will have to deal with
  it. This X stuff is really giving me great trouble. Or maybe I will just
  give up and get another graphics card, my on-board Radeon HD3200 does
  not seem to be supported well. But then, I am having trouble with X
  since I am using Linux, there were only few, short periods of time when
  X just worked.
 
 Well, I could not even downgrade to 1.7 -- when I did and started gdm, I
 lost my keyboard -- I had to login from somewhere else and do chvt to
 get out.  Maybe this was because of hal or something, not sure.  I have
 in my backups an ebuild for 1.9.2.902 which seems to work in preliminary
 testing whereas 1.9.4 did not work at all with this kernel.
 
 X stuff is sure quirky.

Yes, especially between versions!  ;-)

To get your keyboard/mouse back with version 1.7 you may need to set up those 
pesky .fdi files and of course you will need to make sure that hal is running.
-- 
Regards,
Mick


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


[gentoo-user] ipv6 privacy random addresses

2011-02-20 Thread 7v5w7go9ub0o
Have activated the privacy extensions on a dual stack (native) ipv6
configuration. A random local address is generated for each boot (for
eth0). I'd like to be able to change it within a session.

ip -6 address flush dev eth0; followed by /etc/init.d/net.eth0 restart;
will generate a new random address (global temporary dynamic) - but
one time only.

So the question becomes, how could I do this repeatedly within a session?

(ISTM there is a variable somewhere that limits the number of
regenerations allowed - perhaps that could be tweaked? Alternatively,
perhaps I could configure the /etc/conf.d/net script to assign a local
ipv6 net address using random numbers generated within the net script?
I'm a newbie, and would appreciate any corrections, flames and
especially examples)

TIA




Re: [gentoo-user] monitor acting strangely when gdm starts

2011-02-20 Thread Volker Armin Hemmann
On Friday 18 February 2011 05:35:15 cov...@ccs.covici.com wrote:
 Hi.  I have a Nvidia GeFORCE 8400 gs and when I am using the text
 console and frame buffer (uvesafb) things are OK, but when I start gdm,
 the monitor acts as though it was disconnected altogether.  It works
 under Windows through a KVM, so I am pretty sure the monitor is OK, but
 I don't understand what happens when gdm starts.  I have
 Nvidia-drivers-260.19.36 but even some earlier versions I try give the
 same result.  Is my card going or what?
 
 Any ideas would be appreciated.

Xorg.0.log would be very helpfull.




Re: [gentoo-user] flash drive mounting is very slow

2011-02-20 Thread William Kenworthy
usb verbose debug in the kernel? - check dmesg.  Mine are always slow
to mount if this is on.

BillK



On Sun, 2011-02-20 at 10:33 -0500, David Relson wrote:
 Mounting USB devices is very, very slow.  This morning I inserted my
 PNY memory stick at 10:18:22 but df didn't show it mounted until 3
 minutes later at 10:21:05.
 
 As  background information, in /etc/udev/rules.d/10-local.rules is: 
 
 KERNEL==sd*1, ATTRS{manufacturer}==PNY, SYMLINK+=PNY, 
 RUN+=/bin/mount -a
 
 and in /etc/fstab is:
 
 /dev/PNY /mnt/pny vfat rw,nosuid,auto 0 0
 
 The kernel messages in /var/log/messages for this period of time are in
 the attached file (to avoid line wrapping by mail clients).
 
 Any thoughts on why it takes so long and how I can speed up
 recognition?
 
 Ideas for enabling more messages (from udev, the kernel, etc) to see
 what's happening would also be helpful.
 
 TIA,
 
 David
 

-- 
William Kenworthy bi...@iinet.net.au
Home in Perth!




[gentoo-user] Re: monitor acting strangely when gdm starts

2011-02-20 Thread walt

On 02/20/2011 11:44 AM, cov...@ccs.covici.com wrote:


Well, I could not even downgrade to 1.7 -- when I did and started gdm, I
lost my keyboard --


Whenever you install a new (up or down) Xorg server version you must also
rebuild *all* of the X device drivers e.g. mouse, keyboard, evdev, xf86-
video-whatever, synaptics, etc.

This is not obvious, so it's a very common problem.




Re: [gentoo-user] Re: monitor acting strangely when gdm starts

2011-02-20 Thread Dale

walt wrote:

On 02/20/2011 11:44 AM, cov...@ccs.covici.com wrote:


Well, I could not even downgrade to 1.7 -- when I did and started gdm, I
lost my keyboard --


Whenever you install a new (up or down) Xorg server version you must also
rebuild *all* of the X device drivers e.g. mouse, keyboard, evdev, xf86-
video-whatever, synaptics, etc.

This is not obvious, so it's a very common problem.





I saved this when someone posted it.  I think it was in one of the news 
thingys too.


rebuild input drivers after xorg upgrade
emerge -1a $(qlist -I -C x11-drivers/)

That may help.

Dale

:-)  :-)



Re: [gentoo-user] Anyone get Acer laptop internal microphone working in Gentoo?

2011-02-20 Thread Walter Dnes
On Sun, Feb 20, 2011 at 12:09:27PM +, Mick wrote
 Indeed, the Gentoo Alsa Guide still says pretty much the same thing:
 
 Please note that for ease of use, all examples show ALSA built as
 modules. It is advisable to follow the same as it then allows the
 use of alsaconf which is a boon when you want to configure your card.
 
 I've added some options for my alsa modules in
 /etc/modprobe.d/alsa-base.conf, e.g.:
 
   options snd-hda-intel enable_msi=1

  This is exasperating.  After re-building alsa sound support as kernel
modules, rather than built into the kernel, I see some improvement.
When I blow into the internal mic I hear it from the laptop speakers.
With mic-boost turned up, I can hear myself echoing when I talk into the
internal mic or into an external mic.  Turn up the boost high enough,
and the external mic generates a mean high-ptched feedback squeal,
unless I also plug in headphones.

  So the hardware is working now, *BUT I STILL CAN'T RECORD THE BLEEPING
THING*.  When I try ffmpeg -f oss -i /dev/dsp audio.wav it thinks it's
recording, but the output file is only hiss.   Ditto for the command
ffmpeg -f alsa -i plughw:0,0 audio.wav.

  I notice that I have a file named /etc/modprobe.d/alsa.conf but no
alsa-base.conf file.  Should I rename it?

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-20 Thread Valmor de Almeida
On 02/20/2011 12:53 PM, Neil Bothwick wrote:
 On Sat, 19 Feb 2011 14:48:17 -0500, Valmor de Almeida wrote:
 
 Thanks for the help. This was less painful than I thought. However it
 exposed a internet connection problem. I am using wicd for wireless and
 wired internet config. This laptop happened to be in a place where no
 wired internet is available. Since I use the wicd-client X config
 utility I was not able to connect to the internet while X was down.
 There is a wicd-cli but the man page is empty. I guess I will have to
 get some info on how to use wicd-cli on an emergency like this.
 
 The man page is empty but wicd-cli --help will shoe that that this is not
 what you want. You need wicd-curses, but wicd-client should call that for
 you when X is unavailable.
 
 If you have auto-connect enabled for your ESSID, you don't even need
 that, wicd will connect as soon as it starts at boot.
 
 
Indeed, wicd-curses does the job.

Thanks,

--
Valmor



Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-20 Thread Valmor de Almeida
On 02/20/2011 10:03 AM, Mick wrote:
[snip]
 
 Have you had a look at:
 
 http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml

Yes. Got some info there.

 
 Also, have a read of the InputClass section in man xorg.conf and the files in 
 /usr/share/X11/xorg.conf.d/.

This was helpful.
 
 
[snip]

 In the past I used

 Option ButtonMapping 3 2 1
 
 Do you want this to work for your touchpad with the synaptics driver, or do 
 you want this to work with any physical buttons on the laptop, or even an 
 external (e.g. USB) mouse?

The latter.

 
 If the former, then have a look at the NOTES at the end of the man synaptics 
 page, where it mentions button mapping.

man pages (evdev and xorg.conf) were really helpful.

 
 For non tap buttons you can try setting this option in an InputClass section 
 in your xorg.conf for an InputClass device mouse:
 
 Section InputClass
 Identifier  mouse catchall
 Driver  evdev
 MatchIsPointer on
 MatchDevicePath /dev/input/event*
 Option  Protocol auto
 Option ButtonMapping 3 2 1
 EndSection

I tried the above for the Identifier evdev pointer catchall in the
xorg.conf file and both the usb mouse and trackpoint get their buttons
inverted as desired. However the touchpad buttons do not get inverted. I
am using xorg.conf.d/ with the synaptics file: 10-synaptics.conf

Section InputClass
 Identifier synaptics touchpad catchall
 Driver synaptics
 Option Protocol auto-dev
 Option HorizEdgeScroll true
 Option VertEdgeScroll true
 Option AutoServerLayout on
EndSection

which apparently needs to be read before the keyboard conf: 30-keyboard.conf

Section InputClass
 Identifier evdev keyboard catchall
 MatchIsKeyboard on
 MatchDevicePath /dev/input/event*
 Driver evdev
 Option XkbOptions terminate:ctrl_alt_bksp
 Option AutoSeverLayout on
EndSection

otherwise my keyboard keybindings do not work. I have also tried the
pointer InputClass outside the xorg.conf file, that is, inside the
xorg.conf.d/ directory. As long as the 10-synaptics.conf file is read
first, the keyboard config works so do the usb mouse and trackpoint
(with inverted buttons). However so far I have not been able to get the
touchpad buttons to be inverted.

This is a minor thing I can deal with later.

Thanks,

--
Valmor



 
 which apparently does not work here. Last but not least, how do I get
 the good old  ctrl-alt-backspace  keybinding to kill X?
 
 You'll need to define this in the InputClass that deals with the keyboard:
 
 Section InputClass
Identifier  keyboard catchall
Driver  evdev
MatchIsKeyboard on
MatchDevicePath /dev/input/event*
Option XkbLayout gb
Option XkbOptions terminate:ctrl_alt_bksp
 EndSection
 
 HTH.




Re: [gentoo-user] flash drive mounting is very slow

2011-02-20 Thread David Relson
On Sun, 20 Feb 2011 18:03:24 +
Mick wrote:

 On Sunday 20 February 2011 17:44:58 Neil Bothwick wrote:
  On Sun, 20 Feb 2011 10:33:52 -0500, David Relson wrote:
   As  background information, in /etc/udev/rules.d/10-local.rules
   is: KERNEL==sd*1, ATTRS{manufacturer}==PNY, SYMLINK+=PNY,
   
   RUN+=/bin/mount -a
   
   and in /etc/fstab is:
   /dev/PNY /mnt/pny vfat rw,nosuid,auto 0 0
  
  Could the delay be caused by something else is fstab trying to mount
  and failing? Try with mount /dev/PNY instead of mount -a.
  
  Even better use pmount /dev/PNY.
  
  Either way, you should run the command with  because udev blocks
  while running commands.
 
 To state the obvious ... have you tried it on a different USB port, a 
 different PC and finally a different OS?
 
 I've had a USB stick failing recently and there was a mechanical
 (contact) problem.  So a process of elimination would at least do
 away with physical level problems and indirectly confirm if there is
 something wrong with your system.
 -- 
 Regards,
 Mick

The PNY stick mentioned runs very nicely on a machine at work.  The
environment there is Ubuntu (as guest OS) running in VMWare on
WinXP (as host OS).  Automounting works very nicely.

The slowness is true of several USB sticks. 



[gentoo-user] Radeon HD 4350 benchmark

2011-02-20 Thread James
Ok,

so I have this card in pretty much equal AMD64 systems:
ATI Technologies Inc RV710 [Radeon HD 4350].

One system is running ATI drivers and the video game
I use to test performance is bzflag; it runs just fine.

The second system had an ATI X1900 card but was replace
with an identical card as the system above (HD 4350).
I followed the gentoo guides on this migration from ATI
to Radeon driver, but could have muck things up.
BZflag runs so slow it get's about every frame. glxgears
has a score of 80 with the radeon driver and a kms
kernel.

When booting (drm RV710) microcode takes about a full minute
to load. Strangely long, but it boots and kde is fine. I turned
off nepomuk services. Both systems use hal, if that makes
any difference...

eselect mesa list
64bit i915 (Intel 915, 945)
64bit i965 (Intel 965, G/Q3x, G/Q4x)
64bit r300 (Radeon R300-R500)
  [1]   classic *
  [2]   gallium
64bit r600 (Radeon R600-R700, Evergreen)
  [1]   classic *
  [2]   gallium
64bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
32bit i915 (Intel 915, 945)
  [1]   classic *
  [2]   gallium
32bit i965 (Intel 965, G/Q3x, G/Q4x)
  [1]   classic *
  [2]   gallium
32bit r300 (Radeon R300-R500)
  [1]   classic
  [2]   gallium *
32bit r600 (Radeon R600-R700, Evergreen)
  [1]   classic *
  [2]   gallium
32bit sw (Software renderer)
  [1]   classic
  [2]   gallium *


There is not xorg.conf file being used, so maybe
I need a minimal xorg.conf to get 3D acceleration
working?

Any benchmarks that run under both drivers that the 
sytems both have 2G or ram on dual processor; one
is 2.4GHz the other is 2.2GHz otherwise identical.

I think I munge up the /lib/radeon part of setting up
the kernel (kms) for loading the microcode, but, I cannot
seem to fine a url or thread where instructions are
for that (even though I did find it over a week ago
in another thread).

In the kernel, under the Generic section, I have:
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=radeon
CONFIG_EXTRA_FIRMWARE_DIR=/lib/firmware

Correct?

Ideas?


James




Re: [gentoo-user] flash drive mounting is very slow

2011-02-20 Thread David Relson
On Sun, 20 Feb 2011 17:44:58 +
Neil Bothwick wrote:

 On Sun, 20 Feb 2011 10:33:52 -0500, David Relson wrote:
 
  As  background information, in /etc/udev/rules.d/10-local.rules is: 
  
  KERNEL==sd*1, ATTRS{manufacturer}==PNY, SYMLINK+=PNY,
  RUN+=/bin/mount -a
  
  and in /etc/fstab is:
  
  /dev/PNY /mnt/pny vfat rw,nosuid,auto 0 0
 
 Could the delay be caused by something else is fstab trying to mount
 and failing? Try with mount /dev/PNY instead of mount -a.
 
 Even better use pmount /dev/PNY.
 
 Either way, you should run the command with  because udev blocks
 while running commands.

You're suggesting that the RUN clause be

   RUN+=pmount /dev/PNY 

right?




[gentoo-user] Re: Radeon HD 4350 benchmark

2011-02-20 Thread James
James wireless at tampabay.rr.com writes:


 In the kernel, under the Generic section, I first tried:
 CONFIG_FW_LOADER=y
 CONFIG_FIRMWARE_IN_KERNEL=y
 CONFIG_EXTRA_FIRMWARE=radeon
 CONFIG_EXTRA_FIRMWARE_DIR=/lib/firmware

Ok so dmeg says that drm failed. I edited the .config
file, using vi, to:
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=R700_rlc.bin
CONFIG_EXTRA_FIRMWARE_DIR=/lib/firmware/radeon

Rebuilt the kernel (make  make modules_install)
and rebooted the latest kernel.

Now I get this error message in dmesg:

[drm] Loading RV710 Microcode
r600_cp: Failed to load firmware radeon/R700_rlc.bin
[drm:rv770_startup] *ERROR* Failed to load firmware!
radeon :01:00.0: disabling GPU acceleration

so it's definitely a firmware loading malfunction.

Any guidance is appreciated.






[gentoo-user] ramdisk for lm_sensors and gimps

2011-02-20 Thread Andrey Vul
Does the current minimal install cd have a ramdisk driver so that i
can extract the stage3 tarball to it and emerge lm_sensors and gimps
onto it?
I want to make sure my OCed system won't cause bad compiles so I'm
going to gimps aka prime95 it for 48h :)
DDR1066's timings are a bit high at 200;1:2.66, so I'm going 960 MHz
to have both higher speed and less lag.
Sadly, POST starts to have issues at FSB=250MHz, so I've toned it down
to 230 MHz.
It's still above 200 MHz, so I want to be sure that both CPU and RAM are safe.

Also, if k10temp isn' t included on the cd, to which kernel version
should I compile it as a module*, or need I remaster with modified
kernel?

* and insert into the iso as /misc/k10temp.ko and insmod it as needed
--

001100 Andrey m05hbear Vul
010010
00 andrey at moshbear dot net
11 andrey dot vul at gmail
101101 4163039923
110011



Re: [gentoo-user] irritating cron habit : solved

2011-02-20 Thread Philip Webb
110220 Philip Webb wrote:
 110220 Florian Philipp wrote:
 Just change your cron job to look like
 'test -e /var/run/dhcpcd.pid  fetchmail'
 That's by far the simplest  it still fetches the mail,
 so we'll see if it also avoids the occasional internal spam msgs.

Indeed it does: I tried delaying starting the I/net connection
 there is no 'dead.letter' file.  Thanks again.

PS the file is  /var/run/dhcpcd-eth0.pid , not as above.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Anyone get Acer laptop internal microphone working in Gentoo?

2011-02-20 Thread Mick
On Monday 21 February 2011 01:33:22 Walter Dnes wrote:
 On Sun, Feb 20, 2011 at 12:09:27PM +, Mick wrote
 
  Indeed, the Gentoo Alsa Guide still says pretty much the same thing:
  
  Please note that for ease of use, all examples show ALSA built as
  modules. It is advisable to follow the same as it then allows the
  use of alsaconf which is a boon when you want to configure your card.
  
  I've added some options for my alsa modules in
  
  /etc/modprobe.d/alsa-base.conf, e.g.:
options snd-hda-intel enable_msi=1
 
   This is exasperating.  After re-building alsa sound support as kernel
 modules, rather than built into the kernel, I see some improvement.
 When I blow into the internal mic I hear it from the laptop speakers.
 With mic-boost turned up, I can hear myself echoing when I talk into the
 internal mic or into an external mic.  Turn up the boost high enough,
 and the external mic generates a mean high-ptched feedback squeal,
 unless I also plug in headphones.
 
   So the hardware is working now, *BUT I STILL CAN'T RECORD THE BLEEPING
 THING*.  When I try ffmpeg -f oss -i /dev/dsp audio.wav it thinks it's
 recording, but the output file is only hiss.   Ditto for the command
 ffmpeg -f alsa -i plughw:0,0 audio.wav.
 
   I notice that I have a file named /etc/modprobe.d/alsa.conf but no
 alsa-base.conf file.  Should I rename it?

No, just create your alsa-base.conf and add the desired options in there.

From what you're saying the microphone works now - not sure why it won't 
record ... I'm not the best man to advise on recording because I have never 
tried it.
-- 
Regards,
Mick


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