Linux-Misc Digest #380, Volume #18 Mon, 28 Dec 98 06:13:08 EST
Contents:
Re: Disk Quota Mysterious Users (James Bourne)
Flash RAM (Rudhuwan Abu Bakar)
Re: What is the CDs for ([EMAIL PROTECTED])
Re: BIG PROBLEM WITH PPP SOLVED (HANGUP AFTER LOGGING IN) (FusionGyro)
Re: kernel does not recognize /dev/sda1 as a block device (Brien Sullivan)
Re: Time Synch (Dave Edick)
Re: A crazy idea (FTP install via null modem?) (Mike)
ESS sound cards ("Jacek M. Holeczek")
Re: Anti-Linux FUD (Matthias Warkus)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (James Bourne)
Subject: Re: Disk Quota Mysterious Users
Date: 28 Dec 1998 08:06:27 GMT
Reply-To: [EMAIL PROTECTED]
On Mon, 28 Dec 1998 00:23:07 +0800, Lim Chuan Wee did say with great verbosity:
:Hi,
:
:I have just enable the disk quota system in Linux. When I do a repquota
:-a, a list of users with their disk usage is display.
:
:I notice that there are a few unknown users listed in the report. The
:users name are like 1046,7000,7824,8482, etc mostly all numbers.
:
:Does anyone know what or who these users are?? And is the disk usage
:reported by repquota really accurate and what is the error margin of
:it??
These are uid's that are not mapped to usernames (ie, no /etc/passwd entry).
Try doing find / -nouser &> /foo
Then edit /foo and you'll find the specific files causing the problem.
Regards,
Jim
:
:Thanks.
--
--
James Bourne | Email: [EMAIL PROTECTED]
Affinity Systems Inc. | WWW: http://www.affinity-systems.ab.ca
Everything Unix | Linux: The choice of a GNU generation
======================================================================
Unix System Administration, System programming, Network Administration
------------------------------
From: [EMAIL PROTECTED] (Rudhuwan Abu Bakar)
Subject: Flash RAM
Date: 28 Dec 1998 08:14:31 GMT
hello
where can I find info on Flash RAM( card??) especially that work with
LINUX.
Pls help.
regards
duan
------------------------------
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Crossposted-To:
comp.os.linux.setup,linux.redhat.misc,hk.comp.os.linux,tw.bbs.comp.linux
Subject: Re: What is the CDs for
Date: Mon, 28 Dec 1998 08:14:19 GMT
Ehonda wrote:
> Dear friends,
>
> I got Redhat 5.1 with 3 CDs and i use one CD to install
> the system.What are the other 2 CDs for and how to use it to
>
> install to the system ?
> Kindly please advise step by step.
> Any help is highly appreciated.
>
> Thanks
WOULD IT BE THAT HARD TO LOOK AT THE DOCUMENTATION THAT CAME WITH THE CDS?
OR EVEN LOOK AT WHATS ON THE CDS?
IIRC, One cd contains source for the whole system and another contains
demos and "non-free" third-party software.
------------------------------
From: FusionGyro <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.setup,comp.protocols.ppp
Subject: Re: BIG PROBLEM WITH PPP SOLVED (HANGUP AFTER LOGGING IN)
Date: Mon, 28 Dec 1998 01:19:10 -0700
Sergei Gerasenko wrote:
>
> To everybody who read my previous message with the subject "Am I stupid or
> am I stupid" and who experienced the same program. it's 2 a.m. right now and
> I finally connected to my ISP. Thrilled? O.K., I still don't know why I
> couldn't connect with the scrips, but I downloaded a program called WVdial
> from http://worldvisions.ca/wvdial/ and wow!!! it worked. The program is
> very simple to use and doesn't seem to do anything fancy, but it works. So,
> try it. I wonder what command line the program issued. Best of luck.
> P.S. I still want my scripts to work, 'cause otherwise I don't have the
> sweet taste of victory.
> Sergei
Thanks for the info! I've been struggling with PPP on my box for about
two weeks now to no avail. I haven't tried this, but it looks good, and
I haven't seen anything about it on www.linuxapps.com.
Of course, I want my scripts to work also!
A friend of mine told me that on his girlfriends computer, he was able
to setup diald and pppd so that to establish a connection, all he had to
do was ping something and it would dial up and connect. A whole lot
better than Win98, to say the least! Does anyone know about this on
comp.os.linux.setup? Information would be very appreciated!!
Again, thank you!
FusionGyro
------------------------------
From: [EMAIL PROTECTED] (Brien Sullivan)
Subject: Re: kernel does not recognize /dev/sda1 as a block device
Date: 28 Dec 1998 07:20:54 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 27 Dec 1998 16:37:16 GMT, Boris Statnikov <[EMAIL PROTECTED]> wrote:
>I have no solution for your problem :( But I do have a similar problem: I
>can't mount my CDROM in the same fashion. Did anyone tell you anything that
>might help me too?
>[EMAIL PROTECTED] wrote:
>> I've a problem loading up a zip drive,
>> it's worked before but now It's all gone horribly wrong.
>> I'd had some problem rebuilding the kernel as the
>> build of modules went wrong due to /lib/modules/preferred
>> not being linked by rc.sysint properly ( now fixed by a upgrade
>> of 'initscripts' ).
>> So now when I try to load the ppa.o module
>> $modprobe ppa.o
>> PPA: unable to initialise controller at 0x378, error 2
>> scsi : 0 hosts.
>> /lib/modules/2.0.34/scsi/ppa.o: init_module: Device or resource busy
>> and even trying a
>> $mount /dev/sda1 /mnt/zip
>> mount: the kernel does not recognize /dev/sda1 as a block device
>> (maybe `insmod driver'?)
>> How do I even find out the reason why, I've used the modprobe -l to see what
>> devices on
>> Major 8(SCSI?) are and there aren't the modules to load.
>> Any help or pointers where to look appreciated.
>> Using Redhat 5.1....
FWIW, I compiled support for a new Backpack cdrom into
2.1.132 on Slackware 3.5, and after some struggles, with
the same errors noted above, can mount it:
$mount ... /dev/pcd0 /mnt/cdrom.
/etc/fstab looks like this:
/dev/pcd0 /mnt/cdrom iso9660 defaults,noauto,user,ro
--
0-
-Brien-
{[EMAIL PROTECTED]}
------------------------------
From: [EMAIL PROTECTED] (Dave Edick)
Crossposted-To: comp.os.linux.networking
Subject: Re: Time Synch
Date: Mon, 28 Dec 1998 00:02:27 GMT
I never had understood why so many people bother with NTP clients. Do
you really need millisecond precision? rdate is included with almost
all Linux and Unix distributions and works fine as long as you don't
need sub-second accuracy. It also generates a lot less network
traffic than NTP.
On 27 Dec 1998 10:35:09 -0800, Gary Momarison <[EMAIL PROTECTED]>
wrote:
David Steuber <[EMAIL PROTECTED]> writes:
> I am looking for a little utility that I can run from cron to set the
> time on my Linux machine by connecting to port 13 or 37 on a standard
> time server on the east coast of the USA.
I found "chronyd" to be easy to set up and use. It queries Internet
time
servers when you go online and then occasionally as needed. It
computes
adjustments to clock drift, etc.
There is some related info on clock subjects in Gary's Encyclopedia at
http://www.aa.net/~swear/pedia/clock.html
--
/Dave Edick/ dosadi at ricochet dot net
or remove the hates.spam part from the header
------------------------------
From: Mike <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: A crazy idea (FTP install via null modem?)
Date: Mon, 28 Dec 1998 09:50:46 +0000
Wildman, the Cuberstalker wrote:
>
> On Sat, 26 Dec 1998 21:37:42 GMT, Equinox
> <[EMAIL PROTECTED]> wrote:
> >A null modem connection is a direct connection between the serial
> >ports of two computers. It requires a specially-wired serial cable
> >(usually referred to as a "null-modem cable"). I think you're
> >right... a serial connection would be rather slow. It would probably
> >be better to stick to parallel (for PLIP) or Ethernet connections.
>
> Well, a null-modem connection is as fast as the machines involved can
> handle, so it isn't speed that would be an issue. The lack of TCP/IP on
> which to run the FTP would be the problem.
>
> --
> Wildman, the Cuberstalker
> Thank you, Microsoft, and please get out of the way.
> Fight spam - http://www.cauce.org/
> DO NOT SPAM THIS ADDRESS
The speed limit is the port speed. Most computer serial ports can't go
past 115200bps, or twice that of a 56k modem. Sloooo
--
Mike
"What, me worry?" -A.Newman-
Error: REALITY.SYS corrupted! Reboot Universe <Y/n>
------------------------------
From: "Jacek M. Holeczek" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: ESS sound cards
Date: Mon, 28 Dec 1998 10:56:42 +0100
Hi,
Below you can find some of my old mails concerning ESS sound cards.
I am sending them because quite a lot of people found them very useful ( I
get mails from them from time to time ).
Hope this helps,
Jacek.
========== Forwarded message ==========
Date: Thu, 8 Jan 1998 11:36:25 +0100
From: "Jacek M. Holeczek" <[EMAIL PROTECTED]>
Newsgroups: comp.os.linux.hardware, comp.os.linux.misc
Subject: ESS ES1868, ES1869 sound cards howto ( 2nd approach )
Hi again,
Recently I've seen some people asking how to configure the ESS ES1868 and
ES1869 sound cards. As I had the same problem ( just have bought one ) I
spent some time to get it working. Here is how. I use the RedHat 4.2 with
2.0.32 kernel ( appropriate RPMs : kernel-headers-2.0.32-1.i386.rpm,
kernel-source-2.0.32-1.i386.rpm were taken from RedHat's Update directory
"ftp://ftp.redhat.com/pub/redhat/updates/4.2/i386/", see also this URL
"http://www.redhat.com/support/docs/rhl/intel/kernel-upgrade-intel.html"
to learn how to upgrade your kernel ). This kernel source contains a very
old sound module, so I additionally "upgraded" the sound module using
ossfree38s6-linux20x.tar.gz with instructions from ossfree38s-linux20x.README.
Both files were taken from "ftp://ftp.4front-tech.com/ossfree/" ( see
"http://www.4front-tech.com/ossfree/" for details ). The rest of the system
remains unchanged.
My card is based upon ESS AudioDrive ES1869F - see http://www.esstech.com/
and AdMOS QS1000 + AdMOS QS1001A - these two chips are WaveTable chips,
the second one is ( most probably ) 1MB ROM with "waves" ( don't know the WWW
page ).
The ES1869F ( sometimes called ESS4 ) is supposed to provide :
- ESFM music synthesizer ( OPL3 superset ), ESPCM compression
- 16 bit stereo wave ADC and DAC
- 16 bit stereo music DAC
- MPU-401 ( most probably UART only, not the FULL ??? )
- dual game port
- CD-ROM IDE interface
- hardware master volume control
- 2 * serial port interface to external DSP & wavetable synthesizer
- I^2S Zoom Video interface
- DMA with FIFO
- 3 stereo inputs
- 1 mono input ( microphone )
- 2 DMA channels for full duplex operation for simultanous record
and play
- integrated 3-D audio effects ( "Spatializer" 3-D )
The QS1000 + AdMOS QS1001A are supposed to provide :
- Creative Labs WaveBlaster
- Standard General MIDI
The ES1868 ( sometimes called ESS3 ) does not have 3-D audio effects built-in,
but you may have an additional small chip on your sound card which provides it.
Also, many cheap cards do not have the WaveTable built-in, in this case you
should have a special "plug" on your card to connect the "WaveBlaster"
daughter board.
Thus I think I should have in Linux :
- SB/Pro ( + 16bit native ESS mode )
- OPL3 FM
- MPU401 MIDI UART
- through UART401 I should see my WaveTable ( ??? )
The sound driver for ESS based chips in embedded in the SB ( SoundBlaster )
sound driver ( it was designed for OLD ES688 and ES1688 chips ).
Now let's look at the hardware.
What I have learned from Win95, DOS, pnpdump is ( ES1868, ES1869 are PnP ) :
- Control Interface IO: 0x0800-0x0807
- Audio : IO:0x0220-0x022F,0x0388-0x038B
IRQ:5
DMA0:1
DMA1:3
MPU401:0x330-0x331
- Game port IO:0x201-0x201
- IDE CD-ROM IO:0x168-0x16F, 0x036E-0x036F
IRQ:9
All these values seem to be configured by my BIOS, so I don't have to do it
myself using isapnp utils ( OLD ESS chips were NOT PnP - they were configured
by a special DOS utility ESSCFG.EXE and sometimes also by on-board jumpers ).
Note above that the "audio" part of the card has only ONE IRQ foreseen. This
is important, as the current ESS sound driver requires that the card has TWO
interrupts - one of them dedicated to the MPU401 UART. From what I see above
I can learn that either the UART401 does NOT use an interrupt at all, or
( and this seems to be right ) it SHARES the interrupt with the SB/Pro part
of the sound card. It seems for me that OLD ESS cards, based upon ES1688,
had TWO separate interrupts. This is a significant change which leads to
the situation that the UART401 part of the driver does NOT work any more
with these NEW chips ( ES1868, ES1869 ).
Note also that the card has TWO DMA channels assigned. They are BOTH 8bit
however, used for "full duplex operation for simultaneous record and play".
Some SB cards ( SB/16 ) also have two DMA channels, but one of them is 8bit,
and the other one 16bit. As a result the current ESS sound driver does not
provide ( as far as I know, of course ) the "full duplex operation" ( again
- OLD ESS chips did NOT have it at all ).
If you need to configure your card using isapnp utils I enclose here two
example files ( note that the ES1868 based card did NOT have the IDE
CD-ROM port - this port was configured by on-board jumpers ).
================================= ES1868 BEGINs here ==================
# $Id: pnpdump.c,v 1.10 1997/07/14 22:30:47 fox Exp $
#
# For latest information on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# (DEBUG)
(READPORT 0x0203)
(ISOLATE)
(IDENTIFY *)
# Card 1: (serial identifier 27 ff ff ff ff 68 18 73 16)
# ESS1868 Serial No -1 [checksum 27]
# Version 1.0, Vendor version 1.0
# ANSI string -->ESS ES1868 Plug and Play AudioDrive<--
#
# Logical device id ESS0000 is the "Control Interface"
#
(CONFIGURE ESS1868/-1 (LD 0
(IO 0 (BASE 0x0800))
(ACT Y)
))
#
# Logical device id ESS1868 is the "Audio"
#
(CONFIGURE ESS1868/-1 (LD 1
# SB/Pro part
(DMA 0 (CHANNEL 1))
(DMA 1 (CHANNEL 0))
(INT 0 (IRQ 5 (MODE +E)))
(IO 0 (BASE 0x0220))
# OPL3 part
(IO 1 (BASE 0x0388))
# UART401 part ( uses probably also the "INT 0" above )
(IO 2 (BASE 0x0330))
(ACT Y)
))
#
# Logical device id ESS0001 is the "Game port"
#
(CONFIGURE ESS1868/-1 (LD 2
(IO 0 (BASE 0x0201))
(ACT Y)
))
# End tag... Checksum 0x00 (OK)
# Returns all cards to the "Wait for Key" state
(WAITFORKEY)
================================= ES1868 ENDs here ====================
================================= ES1869 BEGINs here ==================
# $Id: pnpdump.c,v 1.10 1997/07/14 22:30:47 fox Exp $
#
# For latest information on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# (DEBUG)
(READPORT 0x0203)
(ISOLATE)
(IDENTIFY *)
# Card 1: (serial identifier be ff ff ff ff 69 18 73 16)
# ESS1869 Serial No -1 [checksum be]
# Version 1.0, Vendor version 1.0
# ANSI string -->ESS ES1869 Plug and Play AudioDrive<--
#
# Logical device id ESS0006 is the "Control Interface"
#
(CONFIGURE ESS1869/-1 (LD 0
(IO 0 (BASE 0x0800))
(ACT Y)
))
#
# Logical device id ESS1869 is the "Audio"
#
(CONFIGURE ESS1869/-1 (LD 1
# SB/Pro part
(DMA 0 (CHANNEL 1))
(DMA 1 (CHANNEL 3))
(INT 0 (IRQ 5 (MODE +E)))
(IO 0 (BASE 0x0220))
# OPL3 part
(IO 1 (BASE 0x0388))
# UART401 part ( uses probably also the "INT 0" above )
(IO 2 (BASE 0x0330))
(ACT Y)
))
#
# Logical device id ESS0001 is the "Game Port" part
#
(CONFIGURE ESS1869/-1 (LD 2
(IO 0 (BASE 0x0201))
(ACT Y)
))
#
# Logical device id ESS0002 is the "IDE CD-ROM" part
#
(CONFIGURE ESS1869/-1 (LD 3
(INT 0 (IRQ 9 (MODE +E)))
(IO 0 (BASE 0x0168))
(IO 1 (BASE 0x036e))
(ACT Y)
))
# End tag... Checksum 0x00 (OK)
# Returns all cards to the "Wait for Key" state
(WAITFORKEY)
================================= ES1869 ENDs here ====================
Now we can configure the sound driver.
The sound's "make config" part looks like ( we build it as a module ) :
===============================================================================
*
* Sound
*
Sound card support (CONFIG_SOUND) [N/y/m/?] m
make[1]: Entering directory `/usr/src/linux-2.0.32/drivers/sound'
gcc -I/usr/src/linux-2.0.32/include -o configure configure.c
*********************************************************
* Readme.cards (this directory) contains some card *
* specific instructions. *
* See http://www.4front-tech.com/ossfree for most up *
* to date info. *
* (European mirror http://personal.eunet.fi/pp/voxware) *
* *
* DON'T USE PROGRAMS FROM snd-util PACKAGE EARLIER THAN *
* snd-util-3.5 WITH THIS SOUND DRIVER VERSION. *
*********************************************************
make[2]: Entering directory `/usr/src/linux-2.0.32/drivers/sound'
Compiling Sound Driver v 3.8s5 for Linux
make[2]: Leaving directory `/usr/src/linux-2.0.32/drivers/sound'
Configuring Sound Support
Old configuration exists in `/etc/soundconf'. Use it [Y/n/?] n
ProAudioSpectrum 16 support [N/y/?] n
100% Sound Blaster compatibles (SB16/32/64, ESS, Jazz16) support [N/y/?] y
Gravis Ultrasound support [N/y/?] n
MPU-401 support (NOT for SB16) [N/y/?] n
PSS (ECHO-ADI2111) support [N/y/?] n
Microsoft Sound System support [N/y/?] n
Ensoniq SoundScape support [N/y/?] n
MediaTrix AudioTrix Pro support [N/y/?] n
Support for OPTi MAD16 and/or Mozart based cards [N/y/?] n
Support for Crystal CS4232 based (PnP) cards [N/y/?] n
Support for Turtle Beach Wave Front (Maui, Tropez) synthesizers [N/y/?] n
Yamaha OPL3-SA1 audio controller [N/y/?] n
SoftOSS software wave table engine [N/y/?] n
FM synthesizer (YM3812/OPL-3) support [Y/n/?] y
Support for the SG NX Pro mixer [N/y/?] n
Support for the MV Jazz16 (ProSonic etc.) [N/y/?] n
Do you have a Logitech SoundMan Games [N/y/?] n
I/O base for SB
Possible values are: Check from manual of the card
The default value is 220
Enter the value: 220
I/O base for SB set to 220.
Sound Blaster IRQ
Possible values are: Check from manual of the card
The default value is 7
Enter the value: 5
Sound Blaster IRQ set to 5.
Sound Blaster DMA
Possible values are: 0, 1 or 3
The default value is 1
Enter the value: 1
Sound Blaster DMA set to 1.
Sound Blaster 16 bit DMA (SB16, Jazz16, SMW)
Possible values are: 5, 6 or 7 (use 1 for 8 bit cards)
The default value is 5
Enter the value: 3
Sound Blaster 16 bit DMA (SB16, Jazz16, SMW) set to 3.
MPU401 I/O base of SB16, Jazz16 and ES1688
Possible values are: Check from manual of the card
The default value is 330
Enter the value: 330
MPU401 I/O base of SB16, Jazz16 and ES1688 set to 330.
MPU401 IRQ is only required with Jazz16, SM Wave and ESS1688.
Enter -1 to the following question if you have something else such as SB16/32.
SB MPU401 IRQ (Jazz16, SM Wave and ES1688)
Possible values are: Check from manual of the card
(-1 disables this feature)
The default value is -1
Enter the value: -1
The sound driver is now configured.
Save copy of this configuration to `/etc/soundconf' [Y/n/?] y
make[1]: Leaving directory `/usr/src/linux-2.0.32/drivers/sound'
Additional low level drivers (CONFIG_LOWLEVEL_SOUND) [N/y/?] n
===============================================================================
Of course, all these "magic" values for "I/O base", "IRQ", "DMA" must be equal
to how your sound card is set. Then the /etc/soundconf looks like this :
===============================================================================
/* Generated by configure. Don't edit!!!! */
/* Making changes to this file is not as simple as it may look. */
/* If you change the CONFIG_ settings in local.h you */
/* _have_ to edit .defines too. */
#undef CONFIG_PAS
#define CONFIG_SB
#undef CONFIG_ADLIB
#undef CONFIG_GUS
#undef CONFIG_MPU401
#undef CONFIG_UART6850
#undef CONFIG_PSS
#undef CONFIG_GUS16
#undef CONFIG_GUSMAX
#undef CONFIG_MSS
#undef CONFIG_SSCAPE
#undef CONFIG_TRIX
#undef CONFIG_MAD16
#undef CONFIG_CS4232
#undef CONFIG_MAUI
#undef CONFIG_SPNP
#undef CONFIG_OPL3SA1
#undef CONFIG_SOFTOSS
#undef CONFIG_UNUSED1
#undef CONFIG_UNUSED2
#undef CONFIG_AEDSP16
#undef CONFIG_UNUSED3
#undef CONFIG_UNUSED4
#undef CONFIG_UNUSED5
#define CONFIG_YM3812
#undef CONFIG_MPU_EMU
#undef CONFIG_AD1848
#define CONFIG_SBDSP
#define CONFIG_UART401
#undef CONFIG_GUSHW
#undef CONFIG_SSCAPEHW
#define CONFIG_SEQUENCER
#define CONFIG_AUDIO
#define CONFIG_MIDI
#define SBC_BASE 0x220
#define SBC_IRQ 5
#define SBC_DMA 1
#define SB_DMA2 3
#define SB_MPU_BASE 0x330
#define SELECTED_SOUND_OPTIONS 0x02000002
===============================================================================
Note here that you could copy this file as /etc/soundconf, modify hardware
related values ( SBC_BASE, ..., SB_MPU_BASE ) and answer "y" to :
...
Old configuration exists in `/etc/soundconf'. Use it [Y/n/?] y
...
during kernel configuration and this should do the job.
Then, after you install the new kernel and modules, you can :
===============================================================================
[...]$ ls -al /lib/modules/2.0.32/misc/
...
-rw-r--r-- 1 root root 141991 Jan 7 16:21 sound.o
...
[...]$ cat /dev/sndstat
OSS/Free3.8s5-971223 (Wed Jan 7 15:58:26 MET 1998 root,
Linux localhost.localdomain 2.0.32 #1 Thu Dec 25 17:33:15 MET 1997 i586 unknown)Load
type: Driver loaded as a module.
Kernel: Linux localhost.localdomain 2.0.32 #1 Wed Jan 7 16:12:23 MET 1998 i586
Config options: 2000002
Installed drivers:
Type 1: OPL-2/OPL-3 FM
Type 26: MPU-401 (UART)
Type 2: Sound Blaster
Type 29: Sound Blaster PnP
Type 7: SB MPU-401
Card config:
Sound Blaster at 0x220 irq 5 drq 1,3
(SB MPU-401 at 0x330 irq 5 drq 0)
OPL-2/OPL-3 FM at 0x388 drq 0
Audio devices:
0: ESS ES1688 AudioDrive (rev 11) (3.1)
Synth devices:
0: Yamaha OPL-3
Midi devices:
Timers:
0: System clock
Mixers:
0: Sound Blaster
===============================================================================
Note here that the sound.o driver is always AUTOMATICALLY loaded by the kernel
as soon as it is needed. You do NOT need to "insmod" it manually.
Note also that there are NO MIDI DEVICES - as I already mentioned, the ess-midi
part is broken for NEW ESS chips, so we won't get it ( that also means that we
can forget the wavetable ). For OLD ES1688 chip you should see "ESS ES1688"
Midi device.
So we can test it :
- "cat something.au > /dev/audio" works
- "cat something.wav > /dev/dsp" works
- "dd bs=8k count=4 < /dev/audio > sample.au" works
- "xmixer" - on principle works, but it cannot deal with
"loudness", "3-D effect on/off", "mute" - in these
cases I think that the mixer part of the driver does
not detect that my ESS card has these possibilities
and then does not provide them to the application
- "xplaycd" - on principle works, but I have a small problem with
"loading/unloading" CDs - there is a button to open
the "door" and unload the CD, and that works, but
the same "button" should be used to close the "door"
and load the CD, and it does it, but a moment later
it opens the "door" again - this might be a bug in
xplaycd ( don't know )
- "playmidi something.mid" and "playmidi -f something.mid" - work
NOTE - WE PLAY THIS MIDI FILE THROUGH OPL3 NOT UART401
IT DOES NOT REQUIRE/USE UART401 AT ALL
Now, what is missing ( does not work at all ) :
- "full duplex operation" - second DMA channel unused
- UART401
- WaveTable
And that was it.
Have fun,
Jacek.
P.S. For those of you who have enough knowledge to "dig" in it ...
Why the ESS_MIDI is broken for NEW ESS chips ? Have a look into
sb_common.c into the probe_sbmpu function's part for MDL_ESS :
if (hw_config->irq < 3 || hw_config->irq == devc->irq)
hw_config->irq = -devc->irq;
This is the SHARED interrupt possibility. Then the ess_midi_init
function is called ( with NEGATIVE hw_config->irq ), but inside :
switch (hw_config->irq)
{
case 9:
tmp = 0x4;
break;
case 5:
tmp = 0x5;
break;
case 7:
tmp = 0x6;
break;
case 10:
tmp = 0x7;
break;
default:
return 0;
}
it is NOT foreseen that there is a shared interrupt possible.
As a result the UART401 is NOT INITIALIZED AT ALL ( "return 0;" ).
Have fun, Jacek.
========== Forwarded message ==========
Date: Tue, 1 Sep 1998 08:45:47 +000 (MET)
From: Jacek M. Holeczek <[EMAIL PROTECTED]>
To: Alessandro Orsaria <[EMAIL PROTECTED]>
Subject: ESS ES1868, ES1869 sound cards howto ( 2 )
Hi,
The 1688 is configured by software and/or by jumpers. You need to have a
look at your card ( and into the manual of your card ). If you see jumpers
there, you should set OSS/Free settings to values which correspond to
these jumpers. Additionally, your 1688 may be configured by software and
you should download the ESSCFG.EXE program which is also able to "dump"
the settings of your card ( it's a DOS utility ). You may already have
this utility on a diskette or CD which came with your sound card, but if
you don't have it, you can download it from :
http://www.esstech.com/Technical/drivers/downloadable/drivers/driver.htm
Of course, both : "jumper settings" and "software settings" ( from the
ESSCFG.EXE ) should be EQUAL.
Finally, some known problems are in :
http://www.4front-tech.com/ossfree/problems.html
Note also that my mail was about 1868/1869, so not everything there is
also true for 1688. Expecially, I think, you cannot simply take my
/etc/soundconf, place it in /etc/ and say "Y" when "make config" asks
about it. You should rather say "N" here and go through all questions
( the problem is related to SB MPU401 IRQ, which I set to -1 and you should
set it to the value used by your sound card - in this case there will be
additional line(s) in /etc/soundconf which is not present when it's -1 ).
You might also like to have a look at :
http://www.netspace.net.au/~bmiller/linux/ess1868.html
http://slf.gweep.net/~sfoskett/hardware/audiodrive.html
http://www.geocities.com/SiliconValley/Horizon/1339/mysystem.html#ESS
Informations provided on these sites are sometimes not very accurate, but
they may be helpfull for you.
Jacek.
------------------------------
From: [EMAIL PROTECTED] (Matthias Warkus)
Crossposted-To: comp.os.linux.x,uk.comp.os.linux
Subject: Re: Anti-Linux FUD
Date: Mon, 28 Dec 1998 02:08:45 +0100
Reply-To: [EMAIL PROTECTED]
It was the 28 Dec 1998 00:13:52 GMT, Mengmeng Zhang...
..and <[EMAIL PROTECTED]> wrote:
> Richard Robinson ([EMAIL PROTECTED]) wrote:
>
> [snip]
>
> : You can keep track, of course. 'tar -t' will tell you what's going
> : to happen. 'make install' is the one that makes me nervous about losing
> : track. If I really want to know, I 'touch' a file before doing it, and
> : 'find / -newer <touched-file>' straight afterwards.
>
> Why not just do a "make -n install"? Then, you can see exactly what is going
> to happen. Of course, somebody could just hide it in a binary executable
> that installs things, but that wouldn't be a very good way of distributing
> packages in the first place. Most packages I've seen uses the standard
> "install" command to install things, so it should be pretty easy to see where
> things are going.
Simple trick #2:
Do the "make install" as a regular user. Every file that is "installed" in
this test run will generate a "Permission denied" error.
The problem is having stuff installed in world-write directories, but none
of the install directories should be world-write anyway.
mawa
--
Matthias Warkus | [EMAIL PROTECTED] | Dyson Spheres for sale!
My Geek Code is no longer in my .signature. It's available on e-mail request.
It's sad to live in a world where knowing how to program your VCR actually
lowers your social status...
------------------------------
** 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.misc) 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-Misc Digest
******************************