Linux-Misc Digest #147, Volume #28               Mon, 18 Jun 01 18:13:04 EDT

Contents:
  Re: What puts the monitor into power saving (yellow light) mode? (Leonard Evens)
  Re: HP PhotoSmart 215 (Leonard Evens)
  Re: upgrade questions (Leonard Evens)
  Re: remote window manager in RH 7.0 ? ("Brett L. Moore")
  Re: IRQ-conflict (Ricardo da Silva)
  invalid partition table - lilo (Cyber Dog)
  Re: HELP! I just deleted /bin! (Hans)
  Re: What puts the monitor into power saving (yellow light) mode? (Michael Knight)
  Re: Upgrading glibc (Greg Davis)
  Re: Alternate Methods of Creating 1:1 CD Copy?? (Michael Knight)
  removing software (Paul)
  Re: What puts the monitor into power saving (yellow light) mode? 
([EMAIL PROTECTED])
  Re: Can you make your own "Tivo"? (Reuben King)

----------------------------------------------------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: What puts the monitor into power saving (yellow light) mode?
Date: Mon, 18 Jun 2001 15:04:07 -0500

[EMAIL PROTECTED] wrote:
> 
> [EMAIL PROTECTED] (Dances With Crows) writes:
> 
> > On Fri, 15 Jun 2001 21:06:44 -0500, Leonard Evens staggered into the
> > Black Sun and said:
> > >I am running RedHat 7.1 with a Panasonic S70 monitor.  In in gnome I
> > >choose none for screensaver and power saving mode for the monitor for
> > >some number of minutes after the screensaver has started, it goes into
> > >power saving mode.  But if I choose any other screensaver, it doesn't
> > >go into power saving mode.  I don't know whether or not this is
> > >specific to my monitor or some minor gnome bug.   But I am now
> > >curious as to what puts the monitor into power saving mode.
> > >I can't find any program which admits being connected to that.
> >
> > "xset q" should show that DPMS is enabled, and should also show the
> > inactivity time for each mode.  I don't know--could turning on a
> > screensaver be disabling DPMS?  The power-saving mode is a feature of
> > the X-server, and not generally of the screensaver since screensavers
> > are always drawing something on the screen (not saving power).  Take
> > with a grain of salt; I don't use GNOME much.
> 
> I think that xscreensaver has the ability to interact with DPMS.
> Perhaps turning this on is disabling DPMS (as you said, "xset q" would
> confirm this one way or the other).  But I don't know if that's the
> screen saver that Gnome uses.
> 
> --
>                         Eric Backus <[EMAIL PROTECTED]>
>                         http://labejb.lks.agilent.com/
>                         (425) 335-2495

One for fact to consider.  Under RH6.2, it works properly; the
monitor goes into power savings mode whatever screensaver is used.

This may just be a bug in the version of X or gnome that comes
with RH7.1.

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: HP PhotoSmart 215
Date: Mon, 18 Jun 2001 14:55:23 -0500

[EMAIL PROTECTED] wrote:
> 
> >
> > > GPhoto has this camera listed as supported, but how the hell do I get it
> > > to work?  I am thinking that the kernel is not supporting it, I have
> > > driver=none in devices.  I tried dc2xx and the storage, which it seems
> > > where the most likely....but they did not work.  Has anyone had any luck
> > > with this camera?
> >
> > Most newer digital cameras, including the HP 215, have USB interfaces.
> > For those cameras, and using the newer Linux kernels which support
> > USB, gphoto is not necessary.   The images in the flash memory
> > just appear as files on a mounted device.   You may have to fiddle
> > a bit to do this, but you should be able to get it to work.  Study
> > the linux-usb web page www.linux-usb.org.   There is a link there
> > that specifically refers to some Kodak camera which you may find
> > helpful.  I did for my (non-Kodak) camera.
> 
> Here is what I have loaded and the output from devices
> 
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
> P:  Vendor=03f0 ProdID=6202 Rev= 1.00
> S:  Product=HP PhotoSmart 215 Camera
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=02(Bulk) MxPS=   8 Ivl=  0ms
> E:  Ad=02(O) Atr=03(Int.) MxPS=   8 Ivl=  0ms
> E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> 
> Module                  Size  Used by
> dc2xx                   3600   0  (unused)
> usb-storage            43888   0  (unused)
> sd_mod                 10592   0  (unused)
> scsi_mod               85168   1  [usb-storage sd_mod]
> uhci                   19376   0  (unused)
> usbcore                52336   1  [dc2xx usb-storage uhci]
> 
> neither dc2xx nor usb-storage are seeing my camera apperently.  The camera is
> connected properly and if need be I can deliver the dmesg output, but it is
> quite long...
> 
> Don't really have the dough for a memory reader right now, I am sure that
> would be the best way.  I was given this camera for free and was hoping I
> could get it working in Linux.....I like booting windows as rarely as
> possible.

With all those things loaded it may be there as
/dev/sdXn where X may be a or b and n is probably 1.  That was
what my Olympus C3040 smartmedia card (in the camera) was.
-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: upgrade questions
Date: Mon, 18 Jun 2001 14:59:44 -0500

Allan Adler wrote:
> 
> I'm running a Redhat distribution of Linux kernel 2.0.34 on a PC with
> a 586 cpu. The linux partition holds about 2.7 GB, of which about
> 1.1 GB is free. I'd like to upgrade to a recent RedHat distribution
> of Linux kernel 2.4  and I have some questions.
> 
> I don't have a CD ROM and when I get one I would like to get a CDRW,
> which I couldn't use with the present linux kernel anyway. So I'm planning
> to download all the sources for the upgrade. I will be conducting the upgrade
> while running the current Linux.
> 
> Question: Is 1.1 GB enough free space to download the sources to and also
>           install the new Linux?

Almost certainly not unless you play very complicated games.
The default system is something like 1 GB.  If you are upgrading
you won't have room to fit the distribution and then upgrade from
it.

CD drives are pretty cheap right now, and if you get a CDRW
(which is not so cheap), it will almost certainly function as
a CD drive for the purpose of doing the upgrade.
> 
> Assuming the answer it not an unequivocal "yes", then I'm thinking I
> should obtain another disk drive, maybe 30 GB, then install the new
> linux on it and then make the new drive the main disk drive, carrying
> the / partition for the system. The Linux installation HOWTO says how
> to install from DOS but I'm not sure how to proceed when installing from
> another Linux.
> 
> If there is a document that says exactly how to do this, can someone
> please point me to it? Thanks.
> 
> Allan Adler
> [EMAIL PROTECTED]
> 
> ****************************************************************************
> *                                                                          *
> *  Disclaimer: I am a guest and *not* a member of the MIT Artificial       *
> *              Intelligence Lab. My actions and comments do not reflect    *
> *              in any way on MIT. Morever, I am nowhere near the Boston    *
> *              metropolitan area.                                          *
> *                                                                          *
> ****************************************************************************

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: "Brett L. Moore" <[EMAIL PROTECTED]>
Subject: Re: remote window manager in RH 7.0 ?
Date: Mon, 18 Jun 2001 20:18:30 GMT

heh...xdm wasnt running.  works great now!!!!
thanks.

"Tony" <[EMAIL PROTECTED]> wrote in message
news:ql2X6.3598$[EMAIL PROTECTED]...
> Brett L. Moore wrote:
>
> > Hi,
> >
> > I have RH 7.0 installed on a couple of older machines and have figured
out
> > that sending their displays to my Xwin32 server (on my win2k machine) is
a
> > nice way to administrate them.  However, I have no window manager
running,
> > so I can effectively run one X app (all of the apps land in the upper
left
> > corner!).  So is there a way to run the window manager on my Xwin32
> > server?
> >
> > Thanks,
> > Brett
> >
> >
> >
>
> Use DXMCP.
>
> On Redhat, you need to enable it. There are 2 files to edit:
> 1) /etc/X11/xdm/xdm-config
>         comment out the last line - #DisplayManager.requestPort: 0
> 2) /etc/X11/xdm/Xaccess -  look for line #*     #any host can get login
> window
>         either uncomment that line to allow anyone to get a login window
>                 or insert ip addresses of machines that should get login
win
> 3) generally I reboot here, but it isn't necessary - just haven't figured
> out which daemon to restart
>
> On Xwin32:
> 1) create a new XDMCP query session with ip of redhat box
> 2) set window mode to single
> 3) other settings to taste
>
> [ Tony ]
>



------------------------------

From: Ricardo da Silva <[EMAIL PROTECTED]>
Subject: Re: IRQ-conflict
Date: Mon, 18 Jun 2001 13:13:47 -0700


Hi,
a first one trick could be toggle the BIOS PnP support.
The second one, you can use a utility (ether cards 
generally come wiht DOS utitity to manage that stuff) to change your
IRQ.

[]'s ricardo.

Rutger Luitzen van Dijk wrote:
> 
> Hi there,
> 
> I'm using SuSe Linux 7.1 on a P3-800 with 128 mb. I'm using a Davicom
> network card but i have irq-conflict. How can i fix this ? I'm a newbie on
> Linux....
> 
> Thanks,
> 
> Rutger van Dijk

------------------------------

From: Cyber Dog <[EMAIL PROTECTED]>
Subject: invalid partition table - lilo
Date: Mon, 18 Jun 2001 20:30:07 -0000

I used Partition Commander to divide my hard drive between my Windows ME 
system and my Linux Mandrake system.  Originally, the system booted both 
OS's fine from the Partition Commander boot menu.  A couple days ago I 
resized one of the linux partitions.  Now, when I try to use the boot menu, it just 
begins loading the Lilo and freezes.  I can still boot windows fine, and linux still 
boots from the boot disk.  When I enter linux and run Lilo, I get the following 
message:
Added old_linux
Added old1_linux-nonf
Added old2_failsafe
Added old3_windows
Device 0x0300: Invalid partition table, 4th entry
  3D address:     0/0/0 (-1)
  Linear address: 1/0/0 (0)

Somebody please help me get lilo running again.  Its terribly annoying having 
to boot linux from the disk.  Thanks.


--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: [EMAIL PROTECTED] (Hans)
Subject: Re: HELP! I just deleted /bin!
Date: 18 Jun 2001 20:33:38 GMT

well, the good news is that you've also delete 'rm'

Hans

------------------------------

From: [EMAIL PROTECTED] (Michael Knight)
Crossposted-To: comp.os.linux.hardware
Subject: Re: What puts the monitor into power saving (yellow light) mode?
Date: 18 Jun 2001 13:58:57 -0700

[EMAIL PROTECTED] wrote in message 
news:<[EMAIL PROTECTED]>...
> [EMAIL PROTECTED] (Dances With Crows) writes:
> 
> > On Fri, 15 Jun 2001 21:06:44 -0500, Leonard Evens staggered into the
> > Black Sun and said:
> > >I am running RedHat 7.1 with a Panasonic S70 monitor.  In in gnome I
> > >choose none for screensaver and power saving mode for the monitor for
> > >some number of minutes after the screensaver has started, it goes into
> > >power saving mode.  But if I choose any other screensaver, it doesn't
> > >go into power saving mode.  I don't know whether or not this is
> > >specific to my monitor or some minor gnome bug.   But I am now
> > >curious as to what puts the monitor into power saving mode.
> > >I can't find any program which admits being connected to that. 
> > 
> > "xset q" should show that DPMS is enabled, and should also show the
> > inactivity time for each mode.  I don't know--could turning on a
> > screensaver be disabling DPMS?  The power-saving mode is a feature of
> > the X-server, and not generally of the screensaver since screensavers
> > are always drawing something on the screen (not saving power).  Take
> > with a grain of salt; I don't use GNOME much.
> 
> I think that xscreensaver has the ability to interact with DPMS.
> Perhaps turning this on is disabling DPMS (as you said, "xset q" would
> confirm this one way or the other).  But I don't know if that's the
> screen saver that Gnome uses.

I'm running Gnome with some version of the window manager (sawfish?), whatever
came with RedHat 7.0.

Anyway, I run the screensaver that came with the window manager (I believe it
is called "Atlantis") and the monitor goes into DPMS mode even with the
screensaver running.  In fact, the screensaver continues to run after the
monitor goes into power save mode.  Wish someone would fix that, cause the
particular screensaver I run eats a lot of CPU cycles!

But I digress....
Look at your XF86Config file and look at the "Monitors" section.  There should
be a line which says:

Option  "DPMS"

Incidently, the man page for XF86Config is wrong....it claims the keyword should
be "Options" (plural), but this is incorrect, so don't get confused.

At this point, restart X-windows.  Open an xterm and type:

xset +dpms

This should enable power save mode.

Next try:

xset dpms force suspend

This should immediately send a signal to your monitor to power down.  It will,
of course, come right back on if you move the mouse or touch any key.

Give that a shot.....

-Michael

------------------------------

From: Greg Davis <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,alt.os.linux,alt.os.linux.mandrake,comp.os.linux.help,comp.os.linux.setup,comp.os.linux.questions
Subject: Re: Upgrading glibc
Date: Mon, 18 Jun 2001 21:01:17 GMT

Between "make" and "make install"  you want to run "make check", or "make
test".  Those might fail the build even if the "make" completed
sucessfully.  What is your reasoning from going from 2.2.2 to 2.2.3?
Glibc is a tough build, I have attempted many times and have failed for
various reasons.  I wouldn't bother with the upgrade unless you are
running a server of some sort, or you are doing heavy C/C++/Java
programming.

Greg



David Liana wrote:

> I mean if i have the source, and I want to compile and and install it


------------------------------

From: [EMAIL PROTECTED] (Michael Knight)
Crossposted-To: comp.os.linux.hardware
Subject: Re: Alternate Methods of Creating 1:1 CD Copy??
Date: 18 Jun 2001 14:25:11 -0700

[EMAIL PROTECTED] (Rod Smith) wrote in message 
news:<[EMAIL PROTECTED]>...
> In article <[EMAIL PROTECTED]>,
>       [EMAIL PROTECTED] (Michael Knight) writes:
> > Is there any other way to go about creating an exact duplicate of a CD
> > other than using:
> > 
> > dd if=/dev/scd0 of=cdimage
> 
> cat /dev/scd0 > cdimage
> 
> This command should do more-or-less what the dd command does, but if dd
> is giving you troubles, I don't expect cat to fare any better.

Ah....I should have thought of that.  But I tend to agree with that statement
....I'm betting cat won't do it either.

> 
> > For some reason, using dd writes an initial ~1.6MB image and then hangs
> > endlessly.  I have to do a system halt and reboot to get rid of the process.
> > Kill -9 <process ID> does nothing.  I only have this problem with a couple 
> > of CD's, so I'm going to assume the problem does not involve dd.
> 
> My hunch is the CDs are defective or copy-protected. (I hear that some
> games now use copy protection akin to the bad sectors that were popular
> on floppy-based games about 15 years ago.) If so, you won't be able to
> create an EXACT copy, although depending upon your needs, you might be
> able to make a copy that's good enough.
> 

Aha!  I bet you have hit upon the problem.  Ahem...for the sake of arguement
we'll assume that the CD in question happens to be er....defective...and
has some bad sectors.

There must be a way to map out the original disk and spot the defective 
sectors.  Seems like dd has the capability to skip or omit sectors or tracks 
(or maybe blocks?) if you specify that on the command line.....but then again
 I may just be dreaming that up.  Any advice in this department?


I assume dd is trying to read the bad sectors and is getting hung up.  At the
same time, I wonder why I am able to mount the CD as an iso9660 filesystem
and still read it, even with damaged sectors?


> (Oh, you can probably kill the hung dd process in some way that's less
> drastic than shutting down the computer. Try "kill -9 {pid}", where
> "{pid}" is the process ID number of dd.
> 

Actually, in my original post, buried somewhere in the text, I mention that
a kill -9 doesn't work...The first reply seems to have cut that portion of
my post from their kind reply.  Anyway, its enormously irritating.  I have
been having to go to another virtual console, login as root, and halt the
system.  Of course it complains that it can't unmount /dev/scd0 and can't
kill the dd process.  Grrr....

> > I was thinking of maybe mounting the CD and doing a
> > 
> > cp -a /mnt/cdrom /tmp/foo
> > cd /tmp/foo
> > mkisofs -r -J -o /tmp/cdimage ./*
> > cdrecord -v speed=2 device=0,0,0 /tmp/cdimage
> 
> This should work for some types of CD-ROMs. In fact, you can omit the
> cp command; just cd directly to /mnt/cdrom and create the image from
> there. The trouble is that this won't be an EXACT copy. Even if you
> added mkisofs parameters to duplicate the disc label, the exact file
> layout would be different and there might be subtle file-naming
> differences (particularly if this is a Windows disc). If the disc is
> copy-protected, this might or might not copy the files correctly, but
> chances are the program wouldn't work because it wouldn't see the copy
> protection scheme on the copy. I've seen discs that use duplicate
> filename entries (essentially hard links), and this approach may create
> an image that's too large to be burned on a duplicate.

I have verified that my approach above doesn't work.  I don't believe the
failure is due to file naming differences since the cp -a should preserve
permissions and links.  The disk gets mounted using the RockRidge extensions
and I write the blank disk with those extensions enabled.

Again, I believe you have hit upon the problem....the program starts as if 
everything was normal, but then reports an error....probably because it
can't find those "defective" sectors.

I don't believe the image will be too large, since that problem doesn't turn
up using cp or mkisofs.  Very interesting......surely someone out there can
give me shove in the right direction for the next step....

-Michael

------------------------------

From: [EMAIL PROTECTED] (Paul)
Subject: removing software
Date: 18 Jun 2001 14:37:14 -0700

I install most of my apps thourhg downloading and compiling the *.tar.gz
files.  When I got upgrade a particular app or just to remove it...what
is the best way to remove everything that was installed?

thanks,

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: What puts the monitor into power saving (yellow light) mode?
Crossposted-To: comp.os.linux.hardware
Date: Mon, 18 Jun 2001 21:51:14 GMT

Are you guys running Gnome v1.4 (Ximian)? I think there is a bug with the
screen savers not having DPMS to work. Another user and I noticed this "bug".
I submitted a bug report to Gnome:

http://bugzilla.gnome.org/show_bug.cgi?id=56160

Please let me know if you guys noticed this too. :)


>> > >I am running RedHat 7.1 with a Panasonic S70 monitor.  In in gnome I
>> > >choose none for screensaver and power saving mode for the monitor for
>> > >some number of minutes after the screensaver has started, it goes into
>> > >power saving mode.  But if I choose any other screensaver, it doesn't
>> > >go into power saving mode.  I don't know whether or not this is
>> > >specific to my monitor or some minor gnome bug.   But I am now
>> > >curious as to what puts the monitor into power saving mode.
>> > >I can't find any program which admits being connected to that.
>> >
>> > "xset q" should show that DPMS is enabled, and should also show the
>> > inactivity time for each mode.  I don't know--could turning on a
>> > screensaver be disabling DPMS?  The power-saving mode is a feature of
>> > the X-server, and not generally of the screensaver since screensavers
>> > are always drawing something on the screen (not saving power).  Take
>> > with a grain of salt; I don't use GNOME much.
>> 
>> I think that xscreensaver has the ability to interact with DPMS.
>> Perhaps turning this on is disabling DPMS (as you said, "xset q" would
>> confirm this one way or the other).  But I don't know if that's the
>> screen saver that Gnome uses.
>> 
>> --
>>                         Eric Backus <[EMAIL PROTECTED]>
>>                         http://labejb.lks.agilent.com/
>>                         (425) 335-2495

> One for fact to consider.  Under RH6.2, it works properly; the
> monitor goes into power savings mode whatever screensaver is used.

> This may just be a bug in the version of X or gnome that comes
> with RH7.1.
-- 
"I have to sit up with a sick ant." --unknown
--
  If you are replying to Ant's news post by e-mail, then please kindly
       remove ANT in the e-mail addresses listed below. Note the CaSe!
======================================================================
  /\___/\
 / /\ /\ \         E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED],
| |.   .| |                            or [EMAIL PROTECTED]
   \ _ /                     The Ant Farm: http://antfarm.home.dhs.org
    ( )   ICQ UIN: 2223658. Resume: http://apu.edu/~philpi/resume.html

------------------------------

From: Reuben King <[EMAIL PROTECTED]>
Subject: Re: Can you make your own "Tivo"?
Date: Mon, 18 Jun 2001 14:52:26 -0700

William Burrow <[EMAIL PROTECTED]> wrote:
> On Sun, 17 Jun 2001 01:21:34 -0400 in comp.os.linux.misc,
> Glitch <[EMAIL PROTECTED]> wrote:
> >> So Tivo runs Linux... Surely there is a way to make your own home-brewed
> >> Tivo machine, isn't there?  I suppose the most important part would be
> >> the software -- any GPL Tivo-like software out there for KDE or Gnome?
> >> 
> >> I really want a Tivo but I don't have the $$$ and I have a spare Pentium
> >> II box and several 17 gig hard drives..
> 
> I think, depending on the screen size you choose, screen captures run at
> about a gig a minute (without compression).  Hope you have lots of hard
> drives.

I have one of those FastTrak IDE RAID cards and 3 18 gig drives (striped 
array).  Should be sufficient, dontcha think?

> >The biggest problem is finding an app that captures video thru a tv
> >tuner card.  I have an ATI AIW card and the way GATOS captures video with
> >it is horrendously stupid and awkward so i never do it.  It does however
> >work fine in Windows (usually, but at least it goes directly to AVI
> >format, not so in linux..i get  a YUV File for some damn awkward reason).
> 
> Sheesh, if you have a btNNN based card, you can use something like
> xawtv.  Captures to .avi.  Unfortunately, something in my machine
> cannot keep up (not sure if it is the CPU, disk or both).
> 
> Perhaps somebody needs to design a decent capture board with hardware
> compression on it.  Hmm, sounds like an O2.  Decent sound quality and
> digital cable capable would also be interesting, but I digress.

What does the TiVo use?  Proprietary sh*t I presume?

Thanks,
-RK


------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list by posting to comp.os.linux.misc.

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to