Re: [newbie] The Linux virus myth

2004-07-26 Thread donmeliton
On Mon, 2004-07-26 at 04:43, John Wilson wrote:

> Of course you could be missing the point that Microsoft keeps making that 
> Linux itself is a virus. :-)

And so it is! I've been infected! Aaargh! ;)

GermÃn.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] FIXED - ALSA driver not running

2004-07-25 Thread donmeliton
My heartfelt thanks to Frans and Raffaele. The problem is fixed, kinda.
XMMS still refuses to play mp3s or oggs properly, even those ripped by
myself with Grip. Totem plays both, though, so XMMS is going to be
uninstalled pronto. Shame, really, I like it better than Totem, but
there you are.

Totem, however, is still being rubbish with CDs. Not to worry, Grip
plays them beautifully even if that's not its primary function. The
problem with Grip was as easily solved as turning the volume up with
alsamixer. Duh!

AmÃlia Rodrigues singing fados. Ah, mellowness! :)

Thanks guys,
GermÃn.

On Sun, 2004-07-25 at 21:39, Frans Ketelaars wrote:
> On Sunday 25 July 2004 16:57, [EMAIL PROTECTED] wrote:
> > On Thu, 2004-07-22 at 21:09, Raffaele BELARDI wrote:
> > > Try this (as root):
> > >
> > > Edit the /etc/modules.conf and /etc/modprobe.conf (back them up
> > > first) and remove all sound-related stuff (lines containing
> > > 'sound', 'sb', 'synth', 'opl3'). Also remove all sound-related
> > > modules from the kernel with rmmod.
> >
> > Done.
> >
> > > Now try to insmod the snd-ess1688. If it works it will pull in all
> > > the necessary sound core modules.
> >
> > Done, with modprobe.
> >
> > The improvement is tremendous. In XMMS and Totem I can now listen to
> > mp3s, but they still have glitches. As in, they suddenly skip bits or
> > "jump a groove" as if they were vinils. The files are all right, I
> > can play them on Winamp from a Windblows box on my network. Still,
> > it's infinitely better than before, mp3-wise. XMMS is specially bad,
> > Totem seems to do better.
> 
> If your system is old check the CPU load with 'top'. I would also try 
> encoding my own mp3: the mp3's you tried may have errors which Windows 
> had a workaround for.
> 
> > The weirdness doesn't end, though. Not at all! Audio CDs, which Grip
> > played beautifully when I had the mess I had before I uninstalled the
> > OSS modules, are now giving me a hard time. Grip no longer plays them
> > - the timer counts the seconds as if the track was playing, but there
> > is no sound. Since I had to change the output plugin from libOSS.so
> > to libALSA.so in ~/.xmms/config, I thought to do the same for Grip.
> 
> ALSA has OSS emulation, just modprobe snd-pcm-oss and snd-mixer-oss.
> 
> > But there doesn't seem to be an option to change the plugin in
> > ~/.grip.
> 
> On my system grip brings up KsCD as the player. You can use alsamixer to 
> raise the volume of the CD channel. Be sure the channel is unmuted (no 
> 'MM' at the top, toggle with the 'm' key). 
> 
> > And CD playing in Totem is worse than mp3s on XMMS. It seems I have
> > to choose between playing CDs with Grip or mp3s with Totem. :(
> 
> Totem plays using the drive's IDE interface which is CPU intensive. With 
> KsCD digital to analog conversion is done in the CDROM drive and an 
> ananalog signal is send to the soundcard. In modern systems 
> manufacturers often don't install the needed analog cable.
> 
> > >  If it fails with a 'board not found' or
> > > similar error, you might need to enable the board. You do it this
> > > way:
> 
> Note what Raffaele wrote: "If it fails with a 'board not found' or
> > > similar error" :-)
> 
> > > Install the isapnp package, then type
> > > # pnpdump > isapnp.conf
> > > and edit the isapnp.conf file. Read the file to understand what to
> > > do, it is quite well explained (ask if unclear). In short, pnpdump
> > > scans the ISA bus and presents you with a number of possible
> > > configurations for the board, you need to manually select one by
> > > uncommenting the appropriate lines.
> > >
> > > After you are done, run
> > > # isapnp isapnp.conf
> > > you should see messages confirming the board was correctly
> > > configured and enabled. Now try again to insmod snd-ess1688.
> > >
> > > If this works, you'll need to configure the /etc/modprobe.preload
> > > to load the ess-1688 at boot, later on that.
> > >
> > > If some of the steps fail, send the error messages across. I don't
> > > guarantee it works for you, or that it's the easiest way, but
> > > that's how I manage to make the ESS (or the AZT, also an ISA board)
> > > work after every MDK install.
> > >
> > > raffaele
> >
> > OK, I'm going to remove the sound modules again, install isapnp and
> > try with that, I'll let you know how it goes. Thanks for all the
> > info.
> >
> > GermÃn.
> 
> HTH,
> 
> -Frans
> 
> 
> 
> __
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
> Join the Club : http://www.mandrakeclub.com
> 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] ALSA driver not running

2004-07-25 Thread donmeliton
On Thu, 2004-07-22 at 21:09, Raffaele BELARDI wrote:

> Try this (as root):
> 
> Edit the /etc/modules.conf and /etc/modprobe.conf (back them up first) 
> and remove all sound-related stuff (lines containing 'sound', 'sb', 
> 'synth', 'opl3'). Also remove all sound-related modules from the kernel 
> with rmmod.

Done.

> 
> Now try to insmod the snd-ess1688. If it works it will pull in all the 
> necessary sound core modules.

Done, with modprobe.

The improvement is tremendous. In XMMS and Totem I can now listen to
mp3s, but they still have glitches. As in, they suddenly skip bits or
"jump a groove" as if they were vinils. The files are all right, I can
play them on Winamp from a Windblows box on my network. Still, it's
infinitely better than before, mp3-wise. XMMS is specially bad, Totem
seems to do better.

The weirdness doesn't end, though. Not at all! Audio CDs, which Grip
played beautifully when I had the mess I had before I uninstalled the
OSS modules, are now giving me a hard time. Grip no longer plays them -
the timer counts the seconds as if the track was playing, but there is
no sound. Since I had to change the output plugin from libOSS.so to
libALSA.so in ~/.xmms/config, I thought to do the same for Grip. But
there doesn't seem to be an option to change the plugin in ~/.grip.

And CD playing in Totem is worse than mp3s on XMMS. It seems I have to
choose between playing CDs with Grip or mp3s with Totem. :(


>  If it fails with a 'board not found' or 
> similar error, you might need to enable the board. You do it this way:
> 
> Install the isapnp package, then type
> # pnpdump > isapnp.conf
> and edit the isapnp.conf file. Read the file to understand what to do, 
> it is quite well explained (ask if unclear). In short, pnpdump scans the 
> ISA bus and presents you with a number of possible configurations for 
> the board, you need to manually select one by uncommenting the 
> appropriate lines.
> 
> After you are done, run
> # isapnp isapnp.conf
> you should see messages confirming the board was correctly configured 
> and enabled. Now try again to insmod snd-ess1688.
> 
> If this works, you'll need to configure the /etc/modprobe.preload to 
> load the ess-1688 at boot, later on that.
> 
> If some of the steps fail, send the error messages across. I don't 
> guarantee it works for you, or that it's the easiest way, but that's how 
> I manage to make the ESS (or the AZT, also an ISA board) work after 
> every MDK install.
> 
> raffaele

OK, I'm going to remove the sound modules again, install isapnp and try
with that, I'll let you know how it goes. Thanks for all the info.

GermÃn.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] ALSA driver not running

2004-07-21 Thread donmeliton
On Wed, 2004-07-21 at 22:44, Frans Ketelaars wrote:

> > # lsmod
> > Module  Size  Used by
> > ...
> > sound  78956  6 opl3,sb_lib,uart401
> 
> The above says you are using OSS now. You can't use ALSA until the OSS 
> modules are removed.


That sounds like a very good lead. How do I know which modules I should
remove to eliminate OSS? From /proc/modules:

snd-opl3-lib 9984 0 - Live 0xccaf1000
snd-hwdep 8928 1 snd-opl3-lib, Live 0xccaed000
snd-es1688-lib 14224 0 - Live 0xccaca000
snd-pcm 93156 1 snd-es1688-lib, Live 0xccb09000
snd-page-alloc 11972 1 snd-pcm, Live 0xccac6000
snd-timer 24484 2 snd-opl3-lib,snd-pcm, Live 0xccae6000
snd-mpu401-uart 7072 0 - Live 0xccac3000
snd-rawmidi 23616 1 snd-mpu401-uart, Live 0xccadf000
snd-seq-device 8008 2 snd-opl3-lib,snd-rawmidi, Live 0xccac
snd 52484 8 snd-opl3-lib,snd-hwdep,snd-es1688-lib,snd-pcm,snd-timer,
snd-mpu401-uart,snd-rawmidi,snd-seq-device, Live 0xccad1000
opl3 15276 0 - Live 0xccabb000
sb 10372 0 - Live 0xcc9fc000
isofs 33912 0 - Live 0xcca54000
zlib_inflate 22656 1 isofs, Live 0xcca43000
sb_lib 47664 1 sb, Live 0xcca23000
uart401 11364 1 sb_lib, Live 0xcc95a000
sound 78956 6 opl3,sb_lib,uart401, Live 0xcca0e000
soundcore 9248 9 snd,sb_lib,sound, Live 0xcc956000
scsi_mod 114648 4 sg,st,sr_mod,sd_mod, Live 0xcc9da000
autofs4 14656 2 - Live 0xcc91b000
nfsd 173152 8 - Live 0xcc9ae000
... (cut)

I don't see a way to identify which modules are OSS and which are ALSA.
I think the snd-something ones are ALSA, right? So I'm guessing sb_lib,
uart401 and opl3 are OSS. Is this correct? Any others I should also remove?

Thanks,
GermÃn.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] ALSA driver not running

2004-07-21 Thread donmeliton
On Wed, 2004-07-21 at 16:49, Raffaele BELARDI wrote:

> What do you mean by 'cut-up sound'? Low volume sound or no sound at all?

There is sound, as loud as I want it, but in half-second bursts, if you
see what I mean. I.e. the song plays, I can listen to it from start to
finish if I'm feeling masochistic, but it's as if some DJ with a
neuro-motor disease was trying to scratch the record from the back of a
pick-up on a bumpy road, ya know?

> 
> Is it an ISA card? If so, I had to do some manual work to get the 
> drivers loaded the first time.
> 

The card is a sound chip 16 Bit Compaq PremierSound on the motherboard
(I'm on a Compaq Armada 1750 laptop). I have a printout from a German
Suse page (sdb.suse.de/en/sdb/html/laptop_daten_compaq_armada-1750.html)
which says that the soundcard is detected as a "Generic ESS ES1688 base
soundcard or motherboard" and that it is "Supported by ALSA Version
0.4.2. ALSA detects the sound chip as a ESS Audio Drive ES1688". The
laptop quick specs say it is a "Sound Blaster Pro-compatible with 16-bit
stereo Compaq Premier Sound".

All this to say that I don't really know what an ISA card is :\

The required module seems to be there:

#find /lib/modules/2.6.3-7mdk/kernel/ -name *1688*
/lib/modules/2.6.3-7mdk/kernel/sound/isa/es1688
/lib/modules/2.6.3-7mdk/kernel/sound/isa/es1688/snd-es1688-lib.ko.gz
/lib/modules/2.6.3-7mdk/kernel/sound/isa/es1688/snd-es1688.ko.gz

But is it loaded? I don't understand this:

# lsmod
Module  Size  Used by
...
sound  78956  6 opl3,sb_lib,uart401
soundcore   9248  8 sb_lib,sound
...


> I'd have a look at the /var/log/syslog. First check if the board is 
> recognized by the kernel.

I don't see anything which would obviously be the card.


>  Then check the lines where the system tries to 
> start the sound system, see what errors it prints there (just search for 
> 'sound' or 'ALSA' in syslog).

No mention of ALSA in /var/log/syslog. When I search there for "sound" I
get a load of greek-to-me:

# less /var/log/syslog | grep sound
Jul 21 14:27:12 laptop modprobe: FATAL: Module sound-slot-0 not found.
Jul 21 14:29:53 laptop kernel: EIP is at
__crc_sound_open_dma+0x556069/0x55f7f8 [sound]
Jul 21 14:29:53 laptop kernel: 
[__crc_fb_unregister_client+6189798/6829661]
__crc_register_sound_special+0x211cdfd7/0x211ce199 [soundcore]
Jul 21 14:29:53 laptop kernel:  []
__crc_register_sound_special+0x211cdfd7/0x211ce199 [soundcore]
Jul 21 14:55:52 laptop kernel: EIP is at
__crc_sound_open_dma+0x556069/0x55f7f8 [sound]
Jul 21 14:55:52 laptop kernel: 
[__crc_fb_unregister_client+6189798/6829661]
__crc_register_sound_special+0x211cdfd7/0x211ce199 [soundcore]
Jul 21 14:55:52 laptop kernel:  []
__crc_register_sound_special+0x211cdfd7/0x211ce199 [soundcore]
Jul 21 14:57:45 laptop kernel: EIP is at
__crc_sound_open_dma+0x556069/0x55f7f8 [sound]
Jul 21 14:57:45 laptop kernel: 
[__crc_fb_unregister_client+6189798/6829661]
__crc_register_sound_special+0x211cdfd7/0x211ce199 [soundcore]
Jul 21 14:57:45 laptop kernel:  []
__crc_register_sound_special+0x211cdfd7/0x211ce199 [soundcore]

> 
> Do you know which driver was loaded in 9.0. If so, you could try to load 
> it manually with modprobe and see what errors you get.

No, unfortunately I don't, but I suppose the above mentioned es1688
should work, right? But I still don't know why ALSA isn't running, or
how to get it to run, or even if I really need it.

Thanks a lot for helping me.
GermÃn.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] OT: Bordem ;-)

2004-07-19 Thread donmeliton
On Mon, 2004-07-19 at 09:19, Marc Hultquist wrote:
> What does Mandrake actually mean ? Was just thinking about it now and well 
> while apache 2.x compiles I thought I would see what I could find out. Its 
> unfortunately to slow for me to browse the net right now :\
> 
> Anyone care to shed some light on this ?

http://www.botanical.com/botanical/mgmh/m/mandra10.html

GermÃn.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com