Re: vga-out + lcd together

2005-03-07 Thread Andreas Tille
On Sat, 5 Mar 2005, sime wrote:
The multi-head options are different with each video card.  You can try
doing a "man drivername" where drivername is the name of the X11 driver
you are using.  For me, man radeon shows me the dual head options that I
needed to manually add to the X config file.
My bad, it's actually a nvidia chipset. I managed to get in touch with a 
fellow Toshiba owner, Ulrich Hertlein[1], who also had a nvidia chipset. He 
spewed out his xorg.conf and I stole the following lines which now does the 
trick.

Option "ConnectedMonitor" "DFP,CRT"
Option "TwinView" "true"
Option "TwinViewOrientation"  "clone"
Option "MetaModes""1024x768,1024x768"
Option "SecondMonitorHorizSync"   "31.5-90"
Option "SecondMonitorVertRefresh" "60"
The secrect I believe is the BIOS option which is lightly documented in any 
Linux Laptop howto/faq, which is something that Ulrich discovered.
While the idea of "multi-head" configuration is clear I think we have
hera e different problem: I do not really use multi-head in the sense of
displaying different things on different (=internal and external) monitor
but just displaying the very same content on both screen - just the "normal"
Laptop behaviour for doing presentations.  This worked on all my previous
Laptops without any spcial configuration of X.
Yesterday I observed another interesting effect: When I switched the display
to the external monitor (=beamer, just now verified by using a CRT monitor)
I get an ugly scrambled line on top of the screen (about 50 pixels high) while
the bottom of the screen is hidden.  Even when switching back to the internal
monitor this ugly line remains.  If I switch to text mode als is fine and
restarting X (while I have switched to the external monitor) helps to get rid
of this scrambled line = the screen looks normal.  But if I now switch back
to the internal Line the ugly line occures once more while switching now
back to the CRT does does not remove it any more.
Resume:
   1. I'm missing the "both monitors" option.
   2. Switching from one monitor to the other causes syncronisation
  problems which remains even when switching bakc to the previousely
  fine monitor.
   3. Restarting X solves the synchronisation problem (until you switch
  to the other monitor again.
Hardware:
   Fujitsu-Siemens E-Series Lifebook
   $ lspci -v
   ...
:00:02.0 VGA compatible controller: Intel Corp. 82852/855GM Integrated 
Graphics Device
 (rev 02) (prog-if 00 [VGA])
Subsystem: Fujitsu Limited.: Unknown device 120e
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at d800 (32-bit, prefetchable) [size=128M]
Memory at d000 (32-bit, non-prefetchable) [size=512K]
I/O ports at 1800 [size=8]
Capabilities: 
:00:02.1 Display controller: Intel Corp. 82852/855GM Integrated Graphics 
Device (rev 0
2)
Subsystem: Fujitsu Limited.: Unknown device 120e
Flags: fast devsel
Memory at e000 (32-bit, prefetchable) [size=128M]
Memory at d008 (32-bit, non-prefetchable) [size=512K]
Capabilities: 
   ...
X-Configuration:
/etc/X11/XF86Config-4
Section "Monitor"
Identifier  "Standardbildschirm"
HorizSync   30-60
VertRefresh 50-75
Option  "DPMS"
EndSection
Section "Screen"
Identifier  "Default Screen"
Device  "Standardgrafikkarte"
Monitor "Standardbildschirm"
DefaultDepth24
SubSection "Display"
Depth   1
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   4
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   8
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   15
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   16
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   24
Modes   "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Any hints
Andreas.
--
http://fam-tille.de
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: vga-out + lcd together

2005-03-07 Thread sime
Andreas Tille wrote:
On Sat, 5 Mar 2005, sime wrote:
The multi-head options are different with each video card.  You can try
doing a "man drivername" where drivername is the name of the X11 driver
you are using.  For me, man radeon shows me the dual head options that I
needed to manually add to the X config file.

My bad, it's actually a nvidia chipset. I managed to get in touch with 
a fellow Toshiba owner, Ulrich Hertlein[1], who also had a nvidia 
chipset. He spewed out his xorg.conf and I stole the following lines 
which now does the trick.

Option "ConnectedMonitor" "DFP,CRT"
Option "TwinView" "true"
Option "TwinViewOrientation"  "clone"
Option "MetaModes""1024x768,1024x768"
Option "SecondMonitorHorizSync"   "31.5-90"
Option "SecondMonitorVertRefresh" "60"
The secrect I believe is the BIOS option which is lightly documented 
in any Linux Laptop howto/faq, which is something that Ulrich discovered.
While the idea of "multi-head" configuration is clear I think we have
hera e different problem: I do not really use multi-head in the sense of
displaying different things on different (=internal and external) monitor
but just displaying the very same content on both screen - just the 
"normal"
Laptop behaviour for doing presentations.  This worked on all my previous
Laptops without any spcial configuration of X.
I'm sorry that my email isn't clear, but I am to having the same thing 
appear on my LCD and CRT/Projector. Which is what the following line in 
XF86Config-4 provides:

Option "TwinViewOrientation"  "clone"
"clone" means show the same thing on both screens. It has other options, 
like RightOf etc.

-sime
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


logrotate stopped working ?

2005-03-07 Thread Provost, Stephane








Hello everyone,

 

I'm puzzled here. Logrotate stopped working and I don't
know why. If I force the process, such as "logrotate -f /etc/logrotate.d/apache"
, it's fine and dandy. Should logrotate be called from within cron jobs ?
aka should there be a "logrotate" entry in the cron.weekly
directory ?

 

What am I missing here ?... TIA !

 

--Stéphane

 

 








Re: logrotate stopped working ?

2005-03-07 Thread Ian Greenhoe
Actually, there should be an entry in cron.daily:
/etc/cron.daily/logrotate

Mine looks like this:
--- begin 755 /etc/cron.daily/logrotate
#!/bin/sh

test -x /usr/sbin/logrotate || exit 0
/usr/sbin/logrotate /etc/logrotate.conf
--- end 755 /etc/cron.daily/logrotate

More likely, tho, you've got something foobar'd in /etc/logrotate.conf
-- try running the logrotate command from /etc/cron.daily/logrotate
manually and see what happens.

HTH,
-Ian

On Mon, 2005-03-07 at 11:59 -0800, Provost, Stephane wrote:
> Hello everyone,
> 
>  
> 
> I'm puzzled here. Logrotate stopped working and I don't know why. If I
> force the process, such as "logrotate -f /etc/logrotate.d/apache" ,
> it's fine and dandy. Should logrotate be called from within cron
> jobs ? aka should there be a "logrotate" entry in the cron.weekly
> directory ?
> 
>  
> 
> What am I missing here ?... TIA !
> 
>  
> 
> --StÃphane
> 
>  
> 
>  
> 
> 



RE: logrotate stopped working ?

2005-03-07 Thread Provost, Stephane
Thanks Ian,

It gave me:

error: error accessing /var/log/squid: No such file or directory
error: squid:4 glob failed for /var/log/squid/*.log
Exit 1

I found out I had a 'squid' file in logrotate.d directoty. Silly me !

Thanks a lot for your help !

--Stéphane


-Original Message-
From: Ian Greenhoe [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 07, 2005 12:14 PM
To: Provost, Stephane
Cc: 'debian-laptop@lists.debian.org'
Subject: Re: logrotate stopped working ?

Actually, there should be an entry in cron.daily:
/etc/cron.daily/logrotate

Mine looks like this:
--- begin 755 /etc/cron.daily/logrotate
#!/bin/sh

test -x /usr/sbin/logrotate || exit 0
/usr/sbin/logrotate /etc/logrotate.conf
--- end 755 /etc/cron.daily/logrotate

More likely, tho, you've got something foobar'd in /etc/logrotate.conf
-- try running the logrotate command from /etc/cron.daily/logrotate
manually and see what happens.

HTH,
-Ian

On Mon, 2005-03-07 at 11:59 -0800, Provost, Stephane wrote:
> Hello everyone,
> 
>  
> 
> I'm puzzled here. Logrotate stopped working and I don't know why. If I
> force the process, such as "logrotate -f /etc/logrotate.d/apache" ,
> it's fine and dandy. Should logrotate be called from within cron
> jobs ? aka should there be a "logrotate" entry in the cron.weekly
> directory ?
> 
>  
> 
> What am I missing here ?... TIA !
> 
>  
> 
> --Stéphane
> 
>  
> 
>  
> 
> 



logrotate stopped working ?

2005-03-07 Thread briand
> "Provost," == Provost, Stephane <[EMAIL PROTECTED]> writes:


  Provost,> Hello everyone, I'm puzzled here. Logrotate stopped
  Provost,> working and I don't know why. If I force the process, such
  Provost,> as "logrotate -f /etc/logrotate.d/apache" , it's fine and
  Provost,> dandy. Should logrotate be called from within cron jobs ?
  Provost,> aka should there be a "logrotate" entry in the cron.weekly
  Provost,> directory ?

 

  Provost,> What am I missing here ?... TIA !

There should be a logrotate in the cron.daily directory !

Brian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



apt-get problem

2005-03-07 Thread Ben
Hi All,
Hopefully someone can help me with this...
I have an old(er) laptop that I use as a router, I recently ran an
apt-get upgrade on the laptop from stable to testing which returned the
following error:
Preconfiguring packages ...
(Reading database ... 115430 files and directories currently installed.)
Preparing to replace kdelibs-data 4:3.1.5-1 (using
.../kdelibs-data_4%3a3.3.2-1_all.deb) ...
Unpacking replacement kdelibs-data ...
Replacing files in old package kcontrol ...
Replacing files in old package koffice-data ...
dpkg: error processing
/var/cache/apt/archives/kdelibs-data_4%3a3.3.2-1_all.deb (--unpack):
 trying to overwrite
`/usr/share/mimelnk/application/vnd.sun.xml.calc.desktop', which is also
in package openoffice-de-en
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/kdelibs-data_4%3a3.3.2-1_all.deb
I have attempted to use --fix-missing & -f to no avail, I have attempted
to remove everything to do with kde & openoffice (being a router I don't
use either of these) and get the error:
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  kaddressbook: Depends: libkcal2 (>= 4:3.3.1) but it is not going to
be installed
Depends: libkdepim1 (>= 4:3.3.1) but it is not going to
be installed
  kalarm: Depends: libkcal2 (>= 4:3.3.1) but it is not going to be
installed
  Depends: libkdepim1 (>= 4:3.3.1) but it is not going to be
installed
  kandy: Depends: libkdepim1 (>= 4:3.3.1) but it is not going to be
installed
  kdelibs4: Depends: kdelibs-data (>= 4:3.3.0) but 4:3.1.5-1 is to be
installed
  korganizer: Depends: libkcal2 (>= 4:3.3.1) but it is not going to be
installed
  Depends: libkdepim1 (>= 4:3.3.1) but it is not going to
be installed
  Depends: libkgantt0 (>= 4:3.3.1) but it is not going to
be installed
  Depends: libkpimexchange1 (>= 4:3.3.1) but it is not
going to be installed
  Depends: libkpimidentities1 (>= 4:3.3.1) but it is not
going to be installed
  kpilot: Depends: libkcal2 (>= 4:3.3.1) but it is not going to be
installed
  ksync: Depends: libkcal2 (>= 4:3.3.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
how on earth do I get around this? I seem to now be at the position that
I can no longer install or remove anything via apt, which is getting
very frustrating...
any suggestions
Ben
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: apt-get problem

2005-03-07 Thread Ian Greenhoe
Things to try:

1)  Run aptitude.  Tell it to uninstall kdeoffice and openoffice.
2)  If you don't have aptitude installed, try forcing an upgrade of
openoffice.  (apt-get install openoffice-de-en), and then do your
regular upgrade.
3)  If neither of those works for you, you can tell apt to "hold"
kdelibs-data (you'll need to check the man page on how to do that.)

It sounds like you should probably use something like aptitude and clean
out the extraneous stuff that you have installed.  Remember the second
rule of systems security:  If it isn't there, it can't compromise your
system.  (The first being, of course, "Keep It Simple, Sysadmin"*)

-Ian

* Yes, that is a more polite version of the traditional expansion of
that.  Why do you ask?

On Tue, 2005-03-08 at 10:25 +1000, Ben wrote:
> Hi All,
> 
> Hopefully someone can help me with this...
> 
> I have an old(er) laptop that I use as a router, I recently ran an
> apt-get upgrade on the laptop from stable to testing which returned the
> following error:
> 
> Preconfiguring packages ...
> (Reading database ... 115430 files and directories currently installed.)
> Preparing to replace kdelibs-data 4:3.1.5-1 (using
> .../kdelibs-data_4%3a3.3.2-1_all.deb) ...
> Unpacking replacement kdelibs-data ...
> Replacing files in old package kcontrol ...
> Replacing files in old package koffice-data ...
> dpkg: error processing
> /var/cache/apt/archives/kdelibs-data_4%3a3.3.2-1_all.deb (--unpack):
>   trying to overwrite
> `/usr/share/mimelnk/application/vnd.sun.xml.calc.desktop', which is also
> in package openoffice-de-en
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Errors were encountered while processing:
>   /var/cache/apt/archives/kdelibs-data_4%3a3.3.2-1_all.deb
> 
> 
> I have attempted to use --fix-missing & -f to no avail, I have attempted
> to remove everything to do with kde & openoffice (being a router I don't
> use either of these) and get the error:
> 
> You might want to run `apt-get -f install' to correct these:
> The following packages have unmet dependencies:
>kaddressbook: Depends: libkcal2 (>= 4:3.3.1) but it is not going to
> be installed
>  Depends: libkdepim1 (>= 4:3.3.1) but it is not going to
> be installed
>kalarm: Depends: libkcal2 (>= 4:3.3.1) but it is not going to be
> installed
>Depends: libkdepim1 (>= 4:3.3.1) but it is not going to be
> installed
>kandy: Depends: libkdepim1 (>= 4:3.3.1) but it is not going to be
> installed
>kdelibs4: Depends: kdelibs-data (>= 4:3.3.0) but 4:3.1.5-1 is to be
> installed
>korganizer: Depends: libkcal2 (>= 4:3.3.1) but it is not going to be
> installed
>Depends: libkdepim1 (>= 4:3.3.1) but it is not going to
> be installed
>Depends: libkgantt0 (>= 4:3.3.1) but it is not going to
> be installed
>Depends: libkpimexchange1 (>= 4:3.3.1) but it is not
> going to be installed
>Depends: libkpimidentities1 (>= 4:3.3.1) but it is not
> going to be installed
>kpilot: Depends: libkcal2 (>= 4:3.3.1) but it is not going to be
> installed
>ksync: Depends: libkcal2 (>= 4:3.3.1) but it is not going to be installed
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
> specify a solution).
> 
> how on earth do I get around this? I seem to now be at the position that
> I can no longer install or remove anything via apt, which is getting
> very frustrating...
> 
> any suggestions
> 
> Ben
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get problem

2005-03-07 Thread Anders Ellenshøj Andersen
On Tuesday 08 March 2005 01:25, Ben wrote:
>   trying to overwrite
> `/usr/share/mimelnk/application/vnd.sun.xml.calc.desktop', which is also
> in package openoffice-de-en

As a last resort, you may have to delete this file manually.

First check out what other files exist in the directory, use this information 
to make an estimate of whether the file is needed.

It is possibly a good idea to do a backup of the directory, before you delete 
anything.

Anders

-- 
 - Debian/Unstable - KDE 3.3.2 - KMail 1.7.2 -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Dell 700m SD card reader, possible to make it work? TI PCI7420/PCI7620 controller.

2005-03-07 Thread Benedek Frank
Hi. 

I have a Dell 700m with a built in SD card controller, that is I think 
connected to the PCMCIA in some way. I never used it before, but I would like 
to now, as I have SD cards now. 

lspci outputs the following with using 2.6.9 kernel

:02:04.3 Unknown mass storage controller: Texas Instruments 
PCI7420/PCI7620 Dual Socket CardBus and Smart Card Cont. w/ 1394a-2000 OHCI 
Two-Port  PHY/Link-Layer Cont. an

Anybody knows how to get this baby to work?

Thanks

Bence


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get problem

2005-03-07 Thread Ian Greenhoe
Nope.  Won't work -- I've tried that before.  Apt is actually checking
its database, not the filesystem.

-Ian

On Tue, 2005-03-08 at 07:15 +0100, Anders EllenshÃj Andersen wrote:
> On Tuesday 08 March 2005 01:25, Ben wrote:
> >   trying to overwrite
> > `/usr/share/mimelnk/application/vnd.sun.xml.calc.desktop', which is also
> > in package openoffice-de-en
> 
> As a last resort, you may have to delete this file manually.
> 
> First check out what other files exist in the directory, use this information 
> to make an estimate of whether the file is needed.
> 
> It is possibly a good idea to do a backup of the directory, before you delete 
> anything.
> 
> Anders
> 
> -- 
>  - Debian/Unstable - KDE 3.3.2 - KMail 1.7.2 -
> 
>