[gentoo-user] Re: who broken?

2003-12-31 Thread Michael Mauch
Mark Knecht wrote:

> Both work fine for me under fluxbox in an xterm:
> 
> bash-2.05b$ who am i
> mark pts/0Dec 31 16:59 (:0.0)  
> bash-2.05b$ who -m
> mark pts/0Dec 31 16:59 (:0.0)  
> bash-2.05b$ 

Ah, good hint.

In an xterm in KDE, it works here, too. With "xterm -ut", "who am i"
doesn't work - so perhaps KDE's konsole can also write into
/var/log/utmp, if we can find the appropriate switch?

Regards...
Michael

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: who broken?

2003-12-31 Thread Michael Mauch
Jorge Almeida wrote:

> The who command is not working. "who am i" or "who -m" returns nothing.

Same here in KDE's konsole, but it works in the Linux console.

> I'm using coreutils 5.0-r5 with gentoo-sources 2.4.22-r2.
> Any idea? (And what else can be broken?)

"whoami" works (although it gives the effective uid, not the real uid;
try after "su" to see the difference).

Regards...
Michael

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: ATI TV out

2003-12-10 Thread Michael Mauch
Helder Rossa wrote:

> ATI MOBILITY Radeon 9000

> # atitvout pal auto
> VBE call failed.
> Maybe this command is not supported by your graphics adapter?
> Did your parameters (if you specified some) really make sense?
> Please try all other available commands before complaining!

I think you should give only one of the commands, not two together.
 
> never detects TVout but when I mess a bit with some configurations I
> have found in the net making a ScreenLayout with to screens then
> atitvout detected LCD (with the -f switch) and TVOut. I didnt use
> atitvout cause I dont want for now do activate or deactivate nothing.

Apparently I used "atitvout -f t" for TVout (PAL) and "atitvout -f l" to
switch back to LCD. "atitvout -f lt" (both together) didn't work with my card.

> so I gess it's a frequency problem or something like that 'cause it
> gives me an B&W garble image.

Yes, maybe, I don't know.

Regards...
Michael

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: ATI TV out

2003-12-09 Thread Michael Mauch
Helder Rossa wrote:

> I have my acer tm800 working with 2.6 kernel. All runs very good.

What's its video chipset?
 
> but I cant put TV out working. It gives me an black & white garble
> image. Maybe some refresh settings are wrong.
> 
> 
> what are the right configurations in XF86Config-4 to work in a PAL tv??

As far as I remember, I used the atitvout utility to change to TV output
on a Rage Mobility M7 (or M6?), and I didn't change XF86Config-4 IIRC.

Regards...
Michael

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: fcrontab' editor

2003-11-12 Thread Michael Mauch
Kurt V. Hindenburg wrote:

> In fcrontab, I notice that the editor variable is over-ruled by the 
> EDITOR variable.

And VISUAL.
 
> % echo $EDITOR
> /bin/nano
> 
> % grep editor /etc/fcron/fcron.conf
> # Location of the default editor for "fcrontab -e"
> editor  =   /usr/bin/vim
> 
> However, when I run 'fcrontab -e' the editor used is nano.
> 
> Of course I can simply change EDITOR, but that is besides the point.

You can change VISUAL or use an alias or a wrapper script () for
fcrontab.

Regards...
Michael

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: MozillaFirebird question

2003-11-09 Thread Michael Mauch
Ernie Schroder wrote:

> This may be a dumb question, but can someone explain why one instance 
> of MozillaFirebird with only one tab open starts 5 processes each 
> using about 25 megs of ram?

These are probably not processes, but "threads" ("light weight
processes"), and they are all taking the same 25 MB.
 
> 10187 ernie 15   0 25064  24m  14m S  0.0  4.9   0:01.93 
> MozillaFirebird
> 10190 ernie 15   0 25064  24m  14m S  0.0  4.9   0:00.00 
> MozillaFirebird
> 10191 ernie 15   0 25064  24m  14m S  0.0  4.9   0:00.01 
> MozillaFirebird
> 10192 ernie 15   0 25064  24m  14m S  0.0  4.9   0:00.00 
> MozillaFirebird
> 10193 ernie 15   0 25064  24m  14m S  0.0  4.9   0:00.00 
> MozillaFirebird
> 
> Is there a way to see what these extra processes are doing other than 
> killing them one by one?

"strace -p 10187" would show what process/thread 10187 is doing.

Regards...
Michael

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: damned usb mouse again

2003-11-03 Thread Michael Mauch
Hall Stevenson wrote:

> On Sat, 2003-11-01 at 13:57, Roberto Padovani wrote:

> > mine is exactly the same, though i think that the problem is somewhat 
> > above X, since
> > 
> > # cat /dev/input/mice
> > 
> > doesn't show any understanig of my mouse movements.
> 
> You're correct. If the kernel doesn't know the mouse exists, don't
> bother with X (yet).

Do you see the mouse with "cat /proc/bus/usb/devices"?
And if you see it there, does it work after you did that?

My Mitsumi USB mouse using the hid module doesn't work until I look at
/proc/bus/usb/devices, so I stuffed that in one of the hotplug scripts.

Regards...
Michael

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Missing /etc/bluetoth/uart

2003-11-02 Thread Michael Mauch
[EMAIL PROTECTED] wrote:

> I just bought a bluetooth-dongle, so i emerged bluez-utils, and
> everything works fine:
> 
> laptop root # hcitool scan
> Scanning ...
> 00:60:57:95:18:56   Tobias 6310i
> Ok. This is my Cell phone. But /etc/init.d/bluetooth won't start,
> because there is no /etc/bluetoth/uart , and i have no clue what to put
> there :-(

I'm using the init script from this thread:


It doesn't need a /etc/bluetooth/uart.

Regards...
Michael

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: hdparm and ide-scsi

2003-10-30 Thread Michael Mauch
Guy Van Sanden wrote:

> That doesn't seem to exist either:
> /dev/ide/host0/bus1/target0/lun0/generic: No such file or directory

Strange. Stewart's hint is probably much better, then. For the record,
I'm booting with hdc=ide-scsi and these kernel settings (2.4.22):

# grep _IDE /usr/src/linux/.config | grep -v "^#"
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDESCSI=m
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_PCI_WIP=y
CONFIG_IDEDMA_AUTO=y
CONFIG_BLK_DEV_IDE_MODES=y

Regards...
Michael

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: OT: grub shenanigans

2003-10-30 Thread Michael Mauch
Roel Schroeven wrote:

> Another possibility would be to use lilo instead of grub and use the 
> technique you described, but I don't know of any Windows dd-equivalent 
> that can write to the MBR.

"lilo -R" seems to be easier:

  -R command line
  This  option  sets  the  default command for the boot loader the
  next time it executes. The boot  loader  will  then  erase  this
  line:  this  is  a  once-only  command.

Somewhere I saw a patch for grub to the same thing, but alas I can't
remember where it was (and trying that from remote seems to be rather
adventurous).



Regards...
Michael

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: hdparm and ide-scsi

2003-10-30 Thread Michael Mauch
Spider wrote:

> Guy Van Sanden <[EMAIL PROTECTED]> wrote:
> 
> > Thanks, that works, and DMA is on.
> > I do want to make some extra settings (irq-unmasking etc), any idea
> > why /dev/hdc does not exist?
> 
> 
> hdc doesn't exist because ide-scsi takes predecense and therefore you
> cannot address the disk as an ide one. 

But hdparm can:

  hdparm -i /dev/ide/host0/bus1/target0/lun0/generic

And if you really want a /dev/hdc, you can either adjust
/etc/devfsd.conf or just use mknod (major/minor 22/0) to create
it.

Regards...
Michael

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: rdiff-backup needs ssh server?

2003-10-27 Thread Michael Mauch
I wrote:

> I just started to use rdiff-backup, but I think it's possible to backup
> to an NFS-mounted directory (of course this needs an NFS server on one
> of the machines, but maybe it's already there).

Better forget this - ssh is more reliable and faster (see
). 

Regards...
Michael

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: rdiff-backup needs ssh server?

2003-10-26 Thread Michael Mauch
Matthias F. Brandstetter wrote:

> > I have a server A and a laptop B and I wish A to backup files of B into
> > some backup dir in A. Does B need to have an ssh server or something
> > similar? I need to start rdiff-backup in B? How, if there's no init file
> > in /etc/init.d? Can someone please explain this to me?
> 
> you can use rdiff-backup from host A to B, or vice versa from B to A; 
> rdiff-backup has to be installed on both sides. if you want to use it via 
> SSH and automate this process (via cron for example), then you have to use 
> PubkeyAuthentication in SSH (look in /etc/ssh/sshd_config), so that you 
> don't have to give password every time.

I just started to use rdiff-backup, but I think it's possible to backup
to an NFS-mounted directory (of course this needs an NFS server on one
of the machines, but maybe it's already there).

Regards...
Michael

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Evolution threaded view

2003-10-16 Thread Michael Mauch
Am Do, 2003-10-16 um 20.02 schrieb Tom Wesley:
> On Thu, 2003-10-16 at 20:57, Spider wrote:
> > 
> > in all Gnome programs this is actually only a matter of opening the
> > menu, selecting the item, and pressing the desired key combination.
> > 
> > //Spider
> 
> I can't get this to work...  Am I meant to just hover the mouse over the
> menu option and hit, say, Ctrl+L?

This is how it worked in Gnome 1, now with Gnome 2 (2.2/2.4) it doesn't
seem to work (even after I enabled
/desktop/gnome/interface/can_change_accels with gconf-editor).

Regards...
Michael


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Tools to monitor SMART status of harddrives

2003-08-14 Thread Michael Mauch
Renat Golubchyk wrote:

> I was going to install some kind of a SMART monitoring daemon. I found two 
> packages in portage: app-admin/ide-smart and sys-apps/smartmontools.
> 
> Is anybody using them? What's the difference?

sys-apps/smartmontools come with more documentation, and they seem to be
maintained.

Regards...
Michael

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: xmodmap problem

2003-08-10 Thread Michael Mauch
Jorge Almeida wrote:

> What is puzzling is that xev agrees with the wanted behavior and not
> with the actual behavior! According to xev, the key with keycode 66
> (the one just under tab and above shift) should work as ModeSwitcher:
> 
> KeyRelease event, serial 27, synthetic NO, window 0x2a1,
> root 0x48, subw 0x0, time 4424081, (71,695), root:(74,724),
> state 0x2, keycode 66 (keysym 0xff7e, Mode_switch), same_screen YES,
> XLookupString gives 0 bytes:  ""
> 
> My .bashrc has a line 
>   xmodmap $HOME/.Xmodmap
> , where .Xmodmap contains:
> (...)
> clear Lock
> keycode 66 = Mode_switch
> (...)
>
> Any idea? 

You do still have a "add modN Mode_switch (0xNN)" line there?

> Or anyone knows of some good documentation about keyboard 
> customizing?



Regards...
Michael

--
[EMAIL PROTECTED] mailing list