Linux-Hardware Digest #606, Volume #9 Tue, 9 Mar 99 07:14:22 EST
Contents:
Re: Accessing Solaris written tapes (Peter Teuben)
Re: Linux DSL (Michael Hazarian)
Re: xcdroast-0.96e: Error: No /dev/sr-Devices found. (Guy Geens)
Re: Hard Disk Size Problems... (Armin Kaiser)
HOWTO: UPS + Modem, no cable messing (Chuck)
Re: CD RW - Awful simple question (gus)
Re: BEST HW For Linux NoteBook Project (Jason Clifford)
Re: Voodoo Banshee under Linux ? ("dooogh!")
Linux on Fujitsu 420D with KVM switch (Chris Browning)
Re: Tone activated Tel Exchanges (Matt)
Re: Anyone successfully used Addtron ISA NIC? (Mark Napper)
Re: Inputing and outputing bytes to serial port (Viljo Hakala)
Re: Backup software (John Thompson)
Sceptre Monitor (Jason S Hackney)
Re: Modem setup (Colin)
Re: Toshiba CDROM can't read videoCD (Gerrit Hiddink)
----------------------------------------------------------------------------
From: Peter Teuben <[EMAIL PROTECTED]>
Subject: Re: Accessing Solaris written tapes
Date: Sun, 07 Mar 1999 22:27:38 -0500
Jeff Andre wrote:
>
> I'm having problems reading a tar file on a tape written
> on a Solaris system. The tape drive on the Linux system is
> a Archive Python 28454 1ASB 4mm drive. I thought that
> the Solaris writing variable records so I set the 4mm
> drive to the same but that din't help. A tar tape created
> on the Linux system can be read on the Solaris system.
>
> Do anyone know the 'mt' settings for Linux? I appear
> to have lead a sheltered life; I've never tried/had to
> exchange tape between two Unix like systems.
try
mt setblk 0
(assuming you had /dev/tape symlink'd)
- peter
------------------------------
From: Michael Hazarian <[EMAIL PROTECTED]>
Subject: Re: Linux DSL
Date: Tue, 09 Mar 1999 01:32:06 -0800
"Stavros C. Kassinos" wrote:
>
> Is anybody aware whether the DSL hardware used by PacBell for their DSL
> service is compatible with Linux? My main concern is whether the
> Ethernet card they use with their package is one for which Linux has
> drivers. If anybody has experience with this I would appreciate some
> enlightment...
*Any* network card will work with Pacbell's ADSL service. They provide a
Kingston 10/100BT card. I haven't installed that card as I use a Mac
(with it's built-in enet) for my IP router. If you can't find drivers
for the Kingston, then just go out and get a cheap 10BT card that is
supported by available Linux drivers.
Michael Hazarian
------------------------------
From: Guy Geens <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: xcdroast-0.96e: Error: No /dev/sr-Devices found.
Date: Tue, 09 Mar 1999 11:12:19 +0100
The xcdroast distribution contains a script MAKEDEVICES.sh,
which will create a bunch of devices called /dev/sg*
My guess would be that the upgrade deleted these entries.
St�phane Peyrucq wrote:
>
> Pb: Making run xcdroast-0.96e on RedHat 5.2, with kernel 2.2.2
>
> I can mount the cdrom ( device: /dev/sr0 )
> I have an IDE cdrom installed, but it doesn't detect it, and I don't
> know how to mount it (I don't care about it, bat may be it helps to know
> it),
>
> When I run xcdroast, it tells me:
>
> Error: No /dev/sr-Devices found.
> Please create first the devices. Run "./MAKEDEVICES.sh"
> in the xcdroast-0.96e directory.
> I made it, without problem, changes nothing
>
> As written in the readme I did:
> #cat /proc/devices
> Character devices:
> ...
> 21 sg
> ...
------------------------------
From: Armin Kaiser <[EMAIL PROTECTED]>
Subject: Re: Hard Disk Size Problems...
Date: Mon, 8 Mar 1999 16:42:48 GMT
PapaTwika <[EMAIL PROTECTED]> wrote:
> Hi,
> I Just got a new 10.2 fujitsu Hard Drive, but when I try to make a linux
> partition at the end of the disk, it reports -1077 Mb, as if it could not
> support hard disk with more that 8 GB...
> Any Ideas?
Just get the 2.0.36 kernelsources (or patch) and everything works quite good.
Bye
Armin Kaiser
------------------------------
From: [EMAIL PROTECTED] (Chuck)
Subject: HOWTO: UPS + Modem, no cable messing
Date: 09 Mar 1999 10:01:28 GMT
I finally buy a UPS (500 VA) for my Linux system, but it
doesn't have a RS232 PORT (a very cheap model here in Taiwan).
I dig out some old articles and found 2 of them: one was from
[EMAIL PROTECTED] (HUANG.YU-HSIN) and the other one was from
[EMAIL PROTECTED]
Mr. lloyd contributed a modified program to suit his need for his
UPS (need to modify the RS232 cable), while Mr.thhsieh used an old
14400 modem to check power status, after he burned one of his UPS
when testing cable changing.
I adopt their source codes and idea and here is my method: Any UPS
with or without RS232 port, no cable messing.
Hardware:
1.An old 14400 modem, a normal RS232 cable,and the modem power is not
connected to UPS. You don't need to plug in telephone line (^^)
2.UPS (of course ^^)
I assume that you will connect your old modem to COM2 (i.e. /dev/ttyS1)
Software�G
1.Compile the attached source codes with
gcc -o upscheck upscheck.c
Put the executable "upscheck" in /sbin
2.Modify /etc/inittab. If you got a normal Linux setup, you should have
the following lines in /etc/inittab:
# What to do when power fails (shutdown to single user).
# shutdown waiting time could be modified, e.g. +10 for 10 minutes
pf::powerfail:/sbin/shutdown -f +5 "THE POWER IS FAILING"
# If power is back before shutdown, cancel the running shutdown.
pg:0123456:powerokwait:/sbin/shutdown -c "THE POWER IS BACK"
# If power comes back in single user mode, return to multi user mode.
ps:S:powerokwait:/sbin/init 5
If you do modify this file, use
kill -HUP 1
to restart init
Test: You Linux should be connected to UPS now. Turn on your modem
by the modem power switch. Then use
/sbin/upscheck /dev/ttyS1 2 &
to start the daemon program.
Now, turn OFF your modem. You should see warning message
of shutting down in 5 minutes.
Turn modem ON again, You should see the "THE POWER IS BACK" message
and the shutdown is canceled.
Success: If everything goes fine, put the following line in
/etc/rc.d/rc.local :
/sbin/upscheck /dev/ttyS1 2 &
then it will be executed at the next reboot�C
Program:
=================== upscheck.c ==================== begin
/*
* upscheck Check how UPS & computer communicate.
*
* Usage: upscheck <device> <bits to set>
* For example, upscheck /dev/cua4 4 to set bit 3 &
* monitor /dev/cua4.
*
* Author: Harvey J. Stein <[EMAIL PROTECTED]>
* (but really just a minor modification of Miquel van
* Smoorenburg's <[EMAIL PROTECTED]> powerd.c
*
* Version: 1.0 19940802
*
*
*/
#include <sys/types.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <signal.h>
#include <syslog.h>
#include "path.h"
void powerfail(ok)
int ok;
{
int fd;
/* Create an info file for init. */
unlink(PWRSTAT);
if ((fd = open(PWRSTAT, O_CREAT|O_WRONLY, 0644)) >= 0) {
if (ok)
write(fd, "OK\n", 3);
else
write(fd, "FAIL\n", 5);
close(fd);
}
kill(1, SIGPWR);
}
/* This segment was from powerd.c */
/* This was from upscheck in UPS-HOWTO.....................*/
/* Main program. */
int main(int argc, char **argv)
{
int fd;
/* These TIOCM_* parameters are defined in <linux/termios.h>, which */
/* is indirectly included here. */
int dtr_bit = TIOCM_DTR;
int rts_bit = TIOCM_RTS;
int set_bits;
int flags;
int status, oldstat = -1;
int count = 0;
int pc;
int on = 1;
int off = 1;
if (argc < 2) {
fprintf(stderr, "Usage: upscheck <device> <bits-to-set>\n");
exit(1);
}
/* Open monitor device. */
if ((fd = open(argv[1], O_RDWR | O_NDELAY)) < 0) {
fprintf(stderr, "upscheck: %s: %s\n", argv[1], sys_errlist[errno]);
exit(1);}
/* Get the bits to set from the command line. */
sscanf(argv[2], "%d", &set_bits);
while (1) {
/* Set the command line specified bits (& only the command line */
/* specified bits). */
ioctl(fd, TIOCMSET, &set_bits);
/* fprintf(stderr, "Setting %o.\n", set_bits); --remark by lloyd */
sleep(1);
/* ^^^^^^ You chould change it to 10 sec.. or more...*/
/* Get the current line bits */
ioctl(fd, TIOCMGET, &flags);
/* fprintf(stderr, "Flags are %o.\n", flags); --remark by lloyd */
/* Fiddle here by changing TIOCM_CTS to some other TIOCM until */
/* this program detects that the power goes out when you yank */
/* the plug on the UPS. Then you'll know how to modify powerd.c. */
if (flags & TIOCM_CTS)
{
pc = 0 ;
/* fprintf(stderr, "power is up.\n"); --remark by lloyd */
if ( on == 0)
{
on = 1;
off = 1;
powerfail(on);
}
else
{
/* fprintf(stderr, "--------------\n"); --lloyd */
}
}
else
{
pc = pc + 1 ;
/* fprintf(stderr, "power is down.\n"); --lloyd */
on = 0;
if ( off == 1 )
{
powerfail(on);
off = 0;
}
}
}
close(fd);
}
================== upscheck.c ========= end
============ path.h =================== begin
/*
* path.h Paths of files that init and related utilities need.
*
* Version: @(#) paths.h 1.60 15-Jan-1995
*
* Author: Miquel van Smoorenburg, <[EMAIL PROTECTED]>
*
* This file is part of the sysvinit suite,
* Copyright 1991-1995 Miquel van Smoorenburg.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
#define INITLVL "/etc/initrunlvl" /* New runlevel for init */
#define CONSOLE "/dev/console" /* Logical system console */
#define SYSTTY "/dev/systty" /* Physical system console */
#define SYSDEV 0x0400 /* to mknod() the sysdev */
#define SECURETTY "/etc/securetty" /* List of root terminals */
#define SDALLOW "/etc/shutdown.allow" /* Users allowed to shutdown */
#define INITTAB "/etc/inittab" /* Location of inittab */
#define PWRSTAT "/etc/powerstatus" /* SIGPWR reason (OK/BAD) */
#define INIT "/sbin/init" /* Location of init itself. */
#define NOLOGIN "/etc/nologin" /* Stop user logging in. */
#define FASTBOOT "/etc/fastboot" /* Enable fast boot. */
#define SDPID "/etc/shutdownpid" /* PID of shutdown program */
#define IOSAVE "/etc/ioctl.save" /* termios settings for SU */
#define SHELL "/bin/sh" /* Default shell */
#define INITSCRIPT "/etc/initscript" /* Initscript. */
#define HALTSCRIPT "/etc/rc.d/rc.halt" /* Called by "fast" shutdown */
#define REBOOTSCRIPT "/etc/rc.d/rc.reboot" /* Ditto. */
======================= path.h =============== end
------------------------------
From: gus <[EMAIL PROTECTED]>
Subject: Re: CD RW - Awful simple question
Date: Tue, 09 Mar 1999 09:48:39 +0000
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> I wrote:
>
> > >And still there are restrictions. You only get about 500 megs of data
> > >space on a packet CD, and when you delete files, the space used by
> > >them is not reclaimable.
>
> According to Julian Schanze <[EMAIL PROTECTED]>:
>
> > Thats wrong.. Thats the thing with CD -Rs but not with CD-RWs... you can
> > delete CD -RWs.
>
> You can erase the disk and re-record on it, but you cannot reclaim the
> space used by deleted files without erasing and re-formatting the
> entire disk. At least not with a UDF filesystem.
>
> I should caveat this with the fact that I've never actually *used* the
> UDF filesystem -- my knowledge comes merely from what I've read.
>
> -p.
With MS windows Packet writing, this is very true, and I presume the
principle is based on the filesystem rather than the OS, so I would
suggest this is right for Linux too.
gus
------------------------------
From: Jason Clifford <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.portable,uk.comp.os.linux
Subject: Re: BEST HW For Linux NoteBook Project
Date: Tue, 9 Mar 1999 09:48:15 +0000
On 8 Mar 1999, it was written:
> US prices can easily be translated into UK prices: in the UK you can
> buy this machine from MicroWarehouse for exactly $1299 U.S. dollars
> plus any associated shipping charges, duties, customs and tariffs.
OK then if you are so sure of this I challenge you to give the exact price
a person based in the UK would pay if they bought the system today
including shipping to the UK (next day service), import duty and VAT.
Don't forget to include the carriers admin charge for advanced payment of
the VAT and import duties.
Jason Clifford
Definite Linux Systems
http://definite.ukpost.com/
------------------------------
From: "dooogh!" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,fr.comp.os.linux
Subject: Re: Voodoo Banshee under Linux ?
Date: Mon, 8 Mar 1999 23:05:41 -0500
Sorry the correct url http://glide.xxedgexx.com
------------------------------
From: Chris Browning <[EMAIL PROTECTED]>
Crossposted-To: comp.sys.laptops,comp.os.linux.setup,comp.os.linux.misc
Subject: Linux on Fujitsu 420D with KVM switch
Date: Mon, 08 Mar 1999 23:11:20 -0500
Got an old cast-off Fujitsu 420D with a bad LCD. Trying to run Linux w/
XWindows on it through a KVM switch. My BSD box runs XWindows through
the KVM switch w/ no problem. The laptop w/ Linux runs the console
display through the switch no problem, but startx seems to want to run
through the LCD. Anyone got any ideas? I can't figure out how to bypass
the LCD. The laptop BIOS has an option for CRT which I have selected and
that seems to give me the console display but X is no go. Help please!
Thanx!
--
Chris Browning
[EMAIL PROTECTED]
"If you believe in Nothing...
Honey, It believes in you."
------------------------------
From: Matt <[EMAIL PROTECTED]>
Crossposted-To: uk.telecom,comp.os.linux.networking
Subject: Re: Tone activated Tel Exchanges
Date: Tue, 09 Mar 1999 10:07:48 +0000
Graham Shepherd wrote:
> Matt wrote in message <[EMAIL PROTECTED]>...
> > Hi,
> >
> >Could someone mail me with the name of the software or hardware that is
> >used
> >by a telephone then the user is asked to enter a tone to activate a
> >service.
> >
> >ie..
> >
> >ring, ring...
> >Welcome..
> >If you are using a tone telephone press star (*)"
> >Press 1 to acivate service x...
> >
> >Also can this this work under linux or can it activate scripts or code
> >to activate services
> >so that a PC can use them or is it a hardware only activation ?
> >
> >Many thanks
> >
> >Matt
> >
> The autoanswer software is usualy part of the telephone switch software and
> is supplied by the equipment manufacturer. If you're talking about software
> to generate tones after dialling to one of these systems - I hope you're not
> thinking of trying aht I think you are...
>
> GS
And what would that be ?
Matt
------------------------------
From: [EMAIL PROTECTED] (Mark Napper)
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: Anyone successfully used Addtron ISA NIC?
Date: Sat, 06 Mar 1999 12:59:10 GMT
Hi,
On Wed, 17 Feb 1999 02:29:12 GMT, [EMAIL PROTECTED] wrote:
>I'm trying to install RedHat via ftp. The network card I'm using is an ISA
>card made by Addtron, and is supposed to be NE2000 compatible. So when I'm
>going through the installation process, I can't get the card to be
>recognized. It worked fine according to the hardware diagnostic that came on
>the Addtron floppy disk. I've tried a bunch of different I/O's and IRQ's, and
>"autoprobe" as well as "specify". Has anyone had better luck than me with
>this card? What did you do? Thanks,
Is th card a PnP Card? if so you may want to try setting the card in
DOS with its setup/diagnostic program to not use PnP, but to have a
fixed base address and IRQ.
It may not work, but that is what I had to do for my D-Link DE220PCT
PnP to work on install, rather than having to mess around with PNPDUMP
after installation
------------------------------
From: [EMAIL PROTECTED] (Viljo Hakala)
Crossposted-To: comp.os.linux.development.system
Subject: Re: Inputing and outputing bytes to serial port
Date: 9 Mar 1999 08:39:17 GMT
On Tue, 09 Mar 1999 01:53:12 GMT, Ryan Hanks <[EMAIL PROTECTED]> wrote:
>Does any one know of a simple way to send and recieve bytes through the
>serial port? I know it can be done in C, but I would rather be able to do
>it in Perl or some other script. I want to be able to send bytes to and
>recieve info from my TI-92 calculator link (the one from TI). Please Help.
>
perldoc -f open; perldoc -f sysopen; perldoc -f read; perldoc -f write;
perldoc -f sysread; perldoc -f syswrite; man perl.
-vh
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.x
Subject: Re: Backup software
Date: Sun, 07 Mar 1999 21:18:35 -0600
Michael Perry wrote:
>
> On Tue, 02 Mar 1999 05:27:42 GMT, Rick Knight <[EMAIL PROTECTED]> wrote:
> >Can anyone recommend a backup/restore program for Linux (RH 5.2) and
> >X? I have a Seagate STT28000n SCSI Travan tape drive GUI based program
> >to use with it. I've tried Knox's ARKEIA but it seems to buggy and the
> >backup utility that comes with KDE doesn't support my drive.
> >
> >Thanks
> >Rick Knight
> >([EMAIL PROTECTED])
> >
> >
> >
> How about taper? You can find it at rpm sites like Rufus. I used it with
> my Exabyte 8700lt scsi device with no problems. I have also used bru and
> had no real problems.
taper works fine with my Exabyte 2501 SCSI drive and kernel
2.0.32 but I haven't managed to make it work with my
Colorado 5GB IDE drive and kernel 2.2.1 so I've been using
tar instead.
--
-John ([EMAIL PROTECTED])
------------------------------
From: Jason S Hackney <[EMAIL PROTECTED]>
Subject: Sceptre Monitor
Date: Mon, 08 Mar 1999 15:32:14 -0500
Hello all,
Can someone provide me with details on the Sceptre CC-615GL monitor? I
can't seem to find the appropriate V.refresh and H.sync rates for my
tube.
Thanks in advance,
Jason
------------------------------
From: [EMAIL PROTECTED] (Colin)
Subject: Re: Modem setup
Date: Mon, 8 Mar 1999 22:45:54 -0500
STEVENS TRAVIS <[EMAIL PROTECTED]> wrote:
>hello,
>
>i'm running red hat 5.1 whither kernal 2.0.34 or something like that.
>my problem is, Mr linux won't recognize my modem. I've tried isapnp tools
>along with lspci. Doesn't seem to work. Seems the lspci doesn't work.
>Could I have some suggestions. I would really appreciate it.
I hope it's not a PCI modem you're dealing with. If so, there's no chance
that it'll work with Linux.
--
Reply to "cwv [at] idirect (dot) com"
------------------------------
From: Gerrit Hiddink <[EMAIL PROTECTED]>
Subject: Re: Toshiba CDROM can't read videoCD
Date: 9 Mar 1999 09:44:43 GMT
Dave Swegen <[EMAIL PROTECTED]> wrote:
> My suggestion is that you try a newer kernel. It worked for me...
>> I recently bought a notebook. It has a Toshiba XM-1802b CDROM drive,
>> IDE/ATAPI, which works like a charm. Except... it doesn't read the
>> avseq*.dat files on video CD's. I'm getting a whole bunch of hdc
>> device errors (Sense key=0x05 and that kind of stuff).
I forgot to tell, I'm running 2.2.1, I guess that should be new enough.
I could try one of the newer-than-newest kernels, but is this necessary?
Regards, Grit
------------------------------
** 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 (and comp.os.linux.hardware) via:
Internet: [EMAIL PROTECTED]
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-Hardware Digest
******************************