Linux-Hardware Digest #102, Volume #10 Mon, 26 Apr 99 08:13:36 EDT
Contents:
Re: Programmers are gods (John Burton)
Re: IBM PS/1 Install (Chris Lester)
Re: Programmers are gods (Andrew Fan)
FS:CHEAP LINUX MACHINES (DeepSpace Technologies)
Re: Automating the works with xawtv and STB TV card (Roland Heggen)
Re: Kernel 2.2.6 - can't print (Jim Zubb)
Re: Can Linux RH5.2 run on PIII? (Christophe Kumsta)
Re: adaptec 2940uw problem (Aaron Kulkis)
Re: Celeron cachable area (Clint Corbin)
Re: Setting up the modem (M. Buchenrieder)
Re: Turtle Beach Fiji setup (Eric Wurbel)
Sound problem... ("G")
Mouse Config with DragonLinux on Packard Bell ("jasperh")
Re: Dell Optiplex 466/Le (**Nick Brown)
Re: Adaptec 2940U/UW DUAL N ("Jeff")
Help with Fujitsu DynaMO 640 SE (Wolfgang Leideck)
MaxiSound Home Studio Pro 64 sound card ("Edison")
Modular sound drivers in 2.0.36 (Wojciech Zabolotny)
PCMCIA Xircom CBE-10/100TX card under Linux - driver available ??? ("Marcus Hammer")
----------------------------------------------------------------------------
From: John Burton <[EMAIL PROTECTED]>
Crossposted-To:
comp.lang.java.advocacy,comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.linux.setup
Subject: Re: Programmers are gods
Date: Tue, 20 Apr 1999 12:41:19 GMT
root wrote:
>
> Leslie Mikesell wrote:
>
> > In article <[EMAIL PROTECTED]>,
> > Chris Costello <[EMAIL PROTECTED]> wrote:
> > >In article <7ffjuv$k85$[EMAIL PROTECTED]>, Leslie Mikesell wrote:
> > >> And by the way, comments really have nothing to do with making
> > >> code understandable and when the code is broken there is no
> > >> reason to trust the comments.
> > >
> > >char achar, bchar, cchar, dchar, echar, fchar, gchar, hchar,
> > > ichar, jchar, kchar;
> > >
> > >int dsiz = M_SIZE;
> > >
> > >int
> > >func(int a, char b, char *c, char **d)
> > >{
> > > if (a == b == *c == (d[0][0]+d[1][a])) {
> > > c = malloc(sizeof(a+b+c+(*d)));
> > >
> > > memccpy(c, *d, kchar, dsiz);
> > >
> > > return strlen(c) + d[0][a] % (a + (b*2));
> > > } else
> > > memcpy(c, *d, dsiz);
> > >
> > > return *d[0][a % 3];
> > >}
> > >
> > > This is broken code, but it's hard to figure out the real
> > >purpose of it. Wouldn't comments help here?
> >
> > Only to the extent that if the code and the comments disagree
> > you can assume that they are probably both wrong. Otherwise
> > if it is the comment that is wrong you will be mislead. Given
> > a limited amount of time, I'd rather see the effort going into
> > making the code understandable. I do find it helpful to put
> > the data into structs and comment the struct declarations though.
>
> All data is valid in the solution of a problem -- if nothing more than
> to tell you the original author was a idiot and not to trust anything
> that they did. No comments means half the information is missing.
> Even if the code does something correctly, how do you know what
> the author intended it to do if they didn't bother to write it down?
>
Ummm...different school of thought...write the code so the algorithm is
understandable *without* comments. Use identifiers & function names that
are concise, yet provide enough information to understand what is going
on. The purpose and function of the code should be immediately apparent
to another programmer. Comment only as much as necessary. Since it is
difficult to grasp what a hunk of code does if it is longer than 1 page,
try to keep functions short.
Compare coding to writing a report... use whitespace to set off
logically organized sections of code and use enough verbage to get your
point across, but not so much that it puts the reader to sleep...
Ideally, you sholdn't need *any* comments in the body of a
function/procedure. You give a 1 sentence prologue which contains a
description of the function (if you need more than one sentence, perhaps
your function is not cohesive enough and needs to be redesigned), a
description of the interface, and a definition of each of the
parameters. Do all of this *before* you write the code. Then write the
code as clearly as possible remembering that in *most* cases, coding
"tricks" are not necessary because the compilers can figure out its own
efficiency "tricks", but clear, understandable coding can save the next
programmer hundreds of hours and thousands of grey or yanked out
hair...;-)
*ALWAYS* code for the *other* programmer, because someday *you* may be
the *other* programmer...
John
------------------------------
From: [EMAIL PROTECTED] (Chris Lester)
Subject: Re: IBM PS/1 Install
Date: 26 Apr 99 08:16:19 GMT
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, Andrew Winterburn wrote:
> I have an old IBM PS/1 486 25sx that I am trying to put the PCPlus Red
> Hat 5.2 Linux Installation on.
How much memory is the machine.
Most modern distrubutions require >8Mb to install, even if they will run
with less.
I have a PS/1 happly running SuSE 5.3, but I have 32Mb.
30pin simms are pretty cheep these days. 16Mb will allow the install to
run and run X (if a little slowly). If you don't want to do this, install
the harddrive in another machine with more memory and do the install then
swap the drive back into the PS/1.
--
Cheers
Chris Lester
Work: [EMAIL PROTECTED] RL: [EMAIL PROTECTED]
------------------------------
From: Andrew Fan <[EMAIL PROTECTED]>
Crossposted-To:
comp.lang.java.advocacy,comp.os.linux.advocacy,comp.os.ms-windows.advocacy
Subject: Re: Programmers are gods
Date: Mon, 26 Apr 1999 10:23:00 +0800
The problem with ISO9000 (and other quality assurance systems) is
that it assumes everybody's ability are equal and can work at 100%
efficiency all the time.
I think the main idea of ISO* is that they make people think that
you can simply replace a person because their work/methods are
documented enough to allow someone else to pick it up. In real
life that's not true.
Also, who decides the quality of the documents? Peers? I once
had to review a design document and after I read it, I just couldn't
believe it was written by a "professional".
Personally I believe programmers are artists, just like musicians.
Their creations reflect their mood and personality.
Andrew :)
------------------------------
Subject: FS:CHEAP LINUX MACHINES
From: [EMAIL PROTECTED] (DeepSpace Technologies)
Date: Tue, 20 Apr 1999 12:21:42 GMT
We still have about 12 Digital P60s available. They make great Linux boxes.
Specs are below
Model 780WW
Digital P60 Mid tower
60mhz Pentium
32mb of Parity Ram
SCSI on board with SCSI 2 port
Extra SCSI 1 card
Intel ethernet card
Microsoft 16bit sound card
2mb video card
floppy drive
Price $100 each
We accept VISA, MC and AMEX
DeepSpace Technologies, LLC
7311 Grove Rd.
Suite A-1
Frederick, MD 21701
301-663-3033
301-620-9634(fax)
"http://www.deepspacetech.com/"
------------------------------
From: Roland Heggen <[EMAIL PROTECTED]>
Subject: Re: Automating the works with xawtv and STB TV card
Date: Mon, 26 Apr 1999 11:39:30 +0200
hi,
instead of updating your kernel modules, you should copy the new
compiled modules (i guess videodev, tuner, msp3400 and bttv) into
/lib/modules/KERNEL#/misc. to insert those modules into the kernel
at boot time i put lines like
insmod videodev
insmod tuner
insmod msp3400
insmod bttv
in my /sbin/init.d/boot.local file. you probably have to change and/or
add some parameters.
next you have to add the path containing your xawtv to your PATH. you
can
do that in your ~/.profile or ~/.bashrc (or whatever shell you use).
now you can open a terminal and just type xawtv and enjoy watching...
alternatively you can create a desktop icon to startup xawtv ...
good luck
--
-roland-
Roland Heggen
mailto:[EMAIL PROTECTED]
Lehrstuhl fuer Technische Thermodynamik
Rhein.-Westf. Techn. Hochschule Aachen
52056 Aachen, Germany
-- The day Microsoft makes something that doesn't suck is
probably the day they start making vacuum cleaners. --
------------------------------
From: Jim Zubb <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.2.6 - can't print
Date: Mon, 26 Apr 1999 03:19:00 +0000
"Tom K." wrote:
>
> I did compile parport into my kernel. I know that hardware is ok (have
> windows on the same machine, as well as old 2.0x Linux kernel where
> printing works fine).
Try changing the mode of the port.
Can you write directly to the device?
cat <file> > /dev/lp0 (or whatever lp yours is on)
As root. If so, might be a problem with lpd.
Otherwise I am tapped.
--
Jim Zubb
[EMAIL PROTECTED]
------------------------------
From: Christophe Kumsta <[EMAIL PROTECTED]>
Subject: Re: Can Linux RH5.2 run on PIII?
Date: Mon, 26 Apr 1999 09:52:18 +0000
I don't know where is the pb ... :(
(too many causes , where and when does the error appear ?? )
But I use a Dual-PIII with RH5.2 without any pb.
(Linux simply recognize it as a Pentium with new ID )
leetc wrote:
>
> I have installed RH5.2 on a PIII and it gave me an error on my floppy"
> controller not found". I have re-installed the OS again but still the same
> problem. Where can I get the correct Floppy controller? Can I do a
> workaround? Pls help?
-- KUMSTA Christophe
-- <[EMAIL PROTECTED]>
-- real-time system developper
-- RT-Linux (Use the source luke)
------------------------------
From: Aaron Kulkis <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: adaptec 2940uw problem
Date: Mon, 26 Apr 1999 09:55:48 GMT
Mike Lewis wrote:
>
> So far I've tried the 2.0.36 and 2.2.3 kernels but it still doesn't detect it.
> I've also tried just taking the CD writer off but that doesn't make any
> difference either. I'm booting off of a linux filesystem. I also forgot to
> mention that this is an 2940UW "Pro". Does that mean anything or is it just
> some marketing thing?
According to adaptec's web page (http://www.adaptec.com/) there is a
small difference between the 2940UW and the 2940UW Pro.
On the 2940UW, you can use put cables on any 2 of the 3 connectors:
68-pin external
68-pin internal
50-pin internal
On the 2940UW PRO, you can use all three simultaneously.
>
> Thanks,
>
> Mike
>
> M Sweger wrote:
>
> > Mike Lewis ([EMAIL PROTECTED]) wrote:
> > : I'm having a problem getting linux to detect my Adaptec 2940uw.
> > : Basically what happens is at boot up the scsi detect utility located on
> > : the card tells me that it found my cd writer (Spressa cdu948s) at scsi
> > : id 6. It then says "SCSI bios not installed!" , which is ok since I
> > : don't have a hard drive connected to it. Then linux starts and doesn't
> > : detect the card. I've compiled generic scsi support and the aic7xxx
> > : driver into the kernel but nothing seems to work. Any help would be
> > : appreciated.
> >
> > What happens if you remove the CD writer hardware and all? Does it work then?
> > Are you booting UMSDOS or Linux native filesystem. What linux kernel version?
--
Aaron R. Kulkis
Unix Systems Engineer
ICQ # 3056642
------------------------------
From: [EMAIL PROTECTED] (Clint Corbin)
Subject: Re: Celeron cachable area
Date: Mon, 26 Apr 1999 02:55:54 GMT
In article <[EMAIL PROTECTED]>, Matthias Schmidt
<[EMAIL PROTECTED]> wrote:
>Hi!
>
>does anybody know how much memory can be cached with the Celeron A CPU?
>(mainboard with BX chipset)
>
>Thanks in advance,
>Matthias
>
All of the current PII,PIII, and Celerons support up to 4Gig cachable. Not
really a problem these days......
------------------------------
Crossposted-To: comp.os.linux.setup
From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: Setting up the modem
Date: Mon, 26 Apr 1999 07:29:02 GMT
[Non-existant col.questions removed, F'Up set]
"Ramtin Mahboubian" <[EMAIL PROTECTED]> writes:
[Compaq 56K-DF modem not working]
>hi,
>I have same problem and I think its the plug and play modem that are not
>fully suported by linux yet.
No. The modem is question is a 100% WinModem and absolutely unuseable
outside of a MS Windows operating system. You have been screwed.
Michael
Please, add your text below the cited one. There's not much sense in
having to go down to the original text first, just to find out what you're
commenting on.
--
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't munge your address.
------------------------------
From: Eric Wurbel <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Turtle Beach Fiji setup
Date: Mon, 26 Apr 1999 12:45:49 +0200
Well, until now I was struggling in order to get my Roland SCC1 working
with
linux.
I own a Turtlebeach Multisound (classic). I'll have a try an tell you !
Eric
[EMAIL PROTECTED] wrote:
>
> I'm running the 2.2.6 kernel, on a PII@350 MHz, with 128 MB SDRAM.
>
> I'm trying to put the Turtle Beach Fiji Card to work, I
> followed the instructions on the modular sound driver docs
> and on the README file at the top of the shar Multisound.
>
> After loading the modules with:
>
> modprobe soundcore
> insmod msnd
> insmod msnd_pinnacle cfg=0x260 io=0x290 irq=10 mem=0xd0000
>
> The kernel log message is:
>
> msnd_pinnacle: Turtle Beach MultiSound (Pinnacle/Fiji) Linux Driver Version
> 0.8.3.1, Copyright (C) 1998 Andrew Veliath
> msnd_pinnacle: Non-PnP mode: configuring at port 0x260
> msnd_pinnacle: 131072 byte audio FIFOs (x2)
> msnd_pinnacle: Fiji revision C, Xilinx version 1.4, I/O 0x290-0x297, IRQ 10,
> memory mapped to 0xc00d0000-0xc00d7fff
> msnd_pinnacle: DSP reset
> msnd_pinnacle: DSP firmware uploaded
>
> There is no /proc/sound. The cat /dev/sndtat is not supported.
> From what I can make of the docs, there is only support for /dev/dsp,
> not for /dev/audio. Now with the lastest version of the driver
> there is also midi support.
>
> Trying:
>
> cat endoftheworld > /dev/dsp
>
> it hangs and when interrupted gives the following kernel log
> message:
>
> msnd_pinnacle: Starting write for c50734a0
> msnd: Enabling IRQ
> msnd: Disabling IRQ
> msnd_pinnacle: Stopping write for c50734a0
>
> No sound is produced whatsoever.
>
> I would appreciate if someone could give me a few pointers on
> what is really happening, and suggest a possible solution.
>
> Thank you,
>
> Antonio Almeida
>
> "Do not complain of the mean and the petty, for regardless of what you
> have been told the mean and the petty are everywhere in control." - Goethe
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
--
le dernier h�bergeur gratuit (sans pub obligatoire...) frapp� ==>
http://altern.org
Eric Wurbel
Laboratoire d'Informatique de Marseille CMI - Universite de Provence
39 rue Joliot Curie, 13453 - MARSEILLE Cedex 13 - FRANCE
phone : +33 (0)4 91 11 36 19 fax : +33 (0)4 91 11 36 02
------------------------------
From: "G" <[EMAIL PROTECTED]>
Subject: Sound problem...
Date: 21 Apr 1999 11:00:27 GMT
Help,,, I have a SB 16 card that keeps locking the machine when
playing MP3 files. It doesn't do this when playing from the CDrom.
Can anybody help ??
Thanks
G.
Please reply in person if possible..
------------------------------
From: "jasperh" <[EMAIL PROTECTED]>
Subject: Mouse Config with DragonLinux on Packard Bell
Date: Fri, 23 Apr 1999 08:56:05 +0200
Hi,
Has anyone succeeded in setting up a mouse with DragonLinux on a Packard
Bell pc??
The mouse is a PB wheel mouse, with a DIN 6-pin connection.
I have tried ps2, psaux, and gpmdata, and various others, without success.
When I start X, it comes up with the pointer, but it cannot be moved.
Many thanks!!
------------------------------
From: **Nick Brown <[EMAIL PROTECTED]>
Subject: Re: Dell Optiplex 466/Le
Date: Mon, 26 Apr 1999 12:44:20 +0200
Reply-To: [EMAIL PROTECTED]
How far does it get in the boot ? We have a load of Optiplex PCs here
(from early 1998) and they work fine. What's your h/w config ?
Jeff Poretsky wrote:
> Has anyone goten this machine to boot linux? I cannot get it to do so.
--
===============================================================
Nick Brown, Strasbourg, France (Nick(dot)Brown(at)coe(dot)fr)
Protect yourself against Word 95/97 viruses, free - check out
http://www.geocities.com/NapaValley/Vineyard/1446/atlas-t.html
===============================================================
------------------------------
From: "Jeff" <[EMAIL PROTECTED]>
Subject: Re: Adaptec 2940U/UW DUAL N
Date: Mon, 26 Apr 1999 03:54:36 -0700
Well I solved my own issue sort of. I cheated. I upgraded my kernel from
2.0.36-3 to 2.2.6 all is much better now.
All devices detected by linux upon boot confirmed by dmesg and catting out
/proc/devices
I know I should have spent more time to figure out how to get it working
with the 2.0.36 kernel, but...
jeff
Jeff <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> I have this card from adaptec a 2949 U/UW Dual.
>
> This card has two controllers integrated in one chip enabling the use of
all
> three ports, the 50pin internal 68 pin internal and the 50pin highdensity
> external connector. The card is great it offers you the speed of a UW
card
> but with the convenience have being able to use all connectors, plus that
> fact I got one with the 50pin external connector means that I need to
> adapter to convert from 68 to 50 for my scanner and external disk tower
and
> burner.
>
> The card uses two IRQ's and one base address. The internal and external
> bus for each "half" of the card is the same. Supposedly Adaptec is
supposed
> to be able to share IRQ's but apparently my card does not know this...
> anyway IRQ's are not a problem. This box is a DNS and Samba server no
need
> for sound, lp ports etc... So plenty of free IRQ's
>
> All my devices are recognized by the card and BIOS during boot up,
internal
> and external. However, linux (RH 5.2_2.0.36-3) only detects what it is
> calling Wide Channel A, and nothing more. A cat of /proc/scsi/aic7xxx/x
> file shows that only one IRQ is being detected or basically only half the
> card.
> Dmesg is stating something about auto-termination detected make sure your
> setting s are correct by setting them up in the controller BIOS. I have
> done this I have changed from Auto to low/on high/on , low/off high/on
etc.
> I still get the same results.
>
> My question is how do I install this then to appear as though I have to
> separate instances of the card? With of coarse each instance being
assigned
> the proper resources.
>
> I hate to chuck this controller and I am sure I can get it to work I just
> need some hints...
>
> Thanks
>
> jeff
>
> --
> No fancy remarks to make me appear smarter than I am.
>
>
------------------------------
From: Wolfgang Leideck <[EMAIL PROTECTED]>
Subject: Help with Fujitsu DynaMO 640 SE
Date: 26 Apr 1999 09:18:37 +0200
Hello.
We have Suse 6.1 with kernel 2.2.5 running. Now we want use our MO drive with
with 640MB medias. The kernel should support this but it doesn't work for us.
If we mount the device we got the error message that the device could not mount,
because of wrong superblock, to many mounts, etc.
After we create a new filesystem with mke2fs -b 2048 we could mount the media, but we
couldn't write on it because no space left on device.
The logfile shows us following:
...
Apr 22 14:47:58 argoth kernel: scsidisk I/O error: dev 08:21, sector 4948344
Apr 22 14:47:58 argoth kernel: SCSI disk error : host 0 channel 0 id 3 lun 0 ret
urn code = 28000002
Apr 22 14:47:58 argoth kernel: extra data not valid Current error sd08:21: sense
key Illegal Request
Apr 22 14:47:58 argoth kernel: Additional sense indicates Logical block address
out of range
Apr 22 14:47:58 argoth kernel: scsidisk I/O error: dev 08:21, sector 4948228
Apr 22 14:47:58 argoth kernel: SCSI disk error : host 0 channel 0 id 3 lun 0 ret
urn code = 28000002
Apr 22 14:47:58 argoth kernel: extra data not valid Current error sd08:21: sense
key Illegal Request
...
Is there any patch for that problem? For kernel 2.0.36 the patches works but
now?
Thanks for your help
Wolfgang
--
Wolfgang Leideck * University of Mannheim * Dep. PI III
D7,27 * Raum 409 * D 68161 Mannheim
Fon: +49 621 292 8815 * Fax: +49 621 292 8818
Email: [EMAIL PROTECTED]
------------------------------
From: "Edison" <[EMAIL PROTECTED]>
Subject: MaxiSound Home Studio Pro 64 sound card
Date: Mon, 26 Apr 1999 07:26:14 -0400
Anyone have any success getting this sound card to work? I'm using Redhat
5.2
-Walter
[EMAIL PROTECTED]
------------------------------
From: Wojciech Zabolotny <[EMAIL PROTECTED]>
Subject: Modular sound drivers in 2.0.36
Date: Mon, 26 Apr 1999 13:27:10 +0200
Hi All!
I would like to use the modular sound drivers (like in 2.2.x) to get
better support for my soundcard, but wouldn't like to stay with my
good old 2.0.36 kernel. Is it possible?
TIA
Wojtek Zabolotny
[EMAIL PROTECTED]
PS. Cc the answer to my e-mail please
------------------------------
From: "Marcus Hammer" <[EMAIL PROTECTED]>
Subject: PCMCIA Xircom CBE-10/100TX card under Linux - driver available ???
Date: Mon, 26 Apr 1999 13:26:48 +0200
Hi is there a PCMCIA driver for the Xircom CBE-10/100TX Cardbus available???
cu MC
[EMAIL PROTECTED]
------------------------------
** 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
******************************