PDA

View Full Version : V3.2-2003-04-28



aay
04-29-2003, 09:32 PM
V3.2-2003-04-28
- The usual bunch of upgrades and updates
- Fixed: 0x1022 0x2020 is a tmscsim SCSI controller
- configure-xawtv update
- knx-alsa update
- knoppix nowheelmouse option for PS/2 mice & touchpads
(default is autodetect)
- knoppix-customize tool by Kester Habermann (also separately available
on the mirrors)
- New: md5sums file with checksums for all files in the uncompressed
section

VxJasonxV
04-30-2003, 08:24 AM
What specifically about the alsa update?
Is there a thread for it anywhere?

Henk Poley
04-30-2003, 07:34 PM
Hmm, you fixed indeed the ALSA error messages on the boot CD, but I now don't have sound when hdinstalled :?

[edit:]ah, wel me being lazy, rickenbacherus pionts me at /etc/init.d/alsa-autoconfig

cut/paste ... klickity klick... yay, works :-)

Hope it sticks after reboot...

matty_x
04-30-2003, 08:55 PM
Yo kids,

Can't you skip that alsa-autoconfig crap and just open up a console and type:

#sndconfig

????

That tool always works for me!

Peace ouuuuut!

Matty-X

Henk Poley
04-30-2003, 09:00 PM
Hope it sticks after reboot...
No it doesn't :-(

Though aRts still thinks ALSA is available I hear nothing, unless I rerun the above command... Should I put it somewhere so it's auto started?

Henk Poley
04-30-2003, 09:03 PM
Nice for you, but it doesn't work for me. It just hangs at the point it's figuring out what (on-board) card I have.

Fabianx
05-02-2003, 03:25 PM
Hope it sticks after reboot...
No it doesn't :-(

Though aRts still thinks ALSA is available I hear nothing, unless I rerun the above command... Should I put it somewhere so it's auto started?

It should stick on reboot.

You just have to umute your mixer :-))

You can do this with: aumix -v 60 -w 60

cu

Fabian

PS: Sorry, I forgot to remark this in last thread.

Fabianx
05-02-2003, 03:26 PM
What specifically about the alsa update?
Is there a thread for it anywhere?

Here comes the changelog:

* Added alsa_snddevices + autostart in alsa_init

* Added alsamixer

* Silenced message: modules.conf is more recent... (Really this time :-))

cu

Fabian (Author of knx-alsa)

stonent
05-03-2003, 01:40 AM
During KDE initialization on the EN version the words are in German. The rest is in english.

hapbt
05-04-2003, 02:40 AM
seems that it only detects my audigy/emu10k1 and not, in addition, my ymfpci card
also had the same issue with alsa not working after hdinstall, will try alsa-autoconfig and sndconfig
be nice if it just installed everything and worked when u did the hd install

Jean Béliveau
05-04-2003, 02:57 AM
If your sound card works with alsa
you can add the line
/etc/init.d/alsa-autoconfig
in the boot script /etc/init.d/bootmisc.sh
And alsa ver will be actived at eaxh boot.

Also i suggest to add in the KNOPPIX/usr/local/bin/knx-hdinstall some lines like the folling:

# add alsa activation to bootmisc.sh
# In the boot script /etc/init.d/bootmisc.sh if you add line
# /etc/init.d/alsa-autoconfig
# Alsa server start at boot and it ok for my kde.
# In the KNOPPIX/usr/local/bin/knx-hdinstall of my personalized KNOPPIX I have add some line like:

if checkbootparam alsa >/dev/null 2>&1; then
ALSA_CARD="$(getbootparam 'alsa' 2>/dev/null)"
[ -n "$ALSA_CARD" ] || ALSA_CARD="autodetect"
else
ALSA_CARD="autodetect"
fi

noalsa=""
checkbootparam noalsa && noalsa='#'
checkbootparam noaudio && noalsa='#'
checkbootparam nosound && noalsa='#'
checkbootparam NOALSA && noalsa='#'
checkbootparam NOAUDIO && noalsa='#'
checkbootparam NOSOUND && noalsa='#'

echo "# Boot parameter for knx-hdinstall add">>$TR/etc/init.d/bootmisc.sh
echo "# "$CMDLINE >>$TR/etc/init.d/bootmisc.sh
echo "# KNOPPIX/usr/local/bin/knx-hdinstall add " >>$TR/etc/init.d/bootmisc.sh
echo "# 2 lignes to start sound server alsa" >>$TR/etc/init.d/bootmisc.sh
echo "# uncomment to start alsa at boot" >>$TR/etc/init.d/bootmisc.sh
echo $noalsa"ALSA_CARD="$ALSA_CARD >>$TR/etc/init.d/bootmisc.sh
echo $noalsa"/etc/init.d/alsa-autoconfig" >>$TR/etc/init.d/bootmisc.sh

# So the script knx-hdinstall add /etc/init.d/alsa-autoconfig
# at the boot script /etc/init.d/bootmisc.sh.
# May be a futur version of knx-hdinstall can
# transmit.some parameters to alsa and
# set USE_ALSA="" if alsa are detected unsafe.
# Also this option can be offer like for the CUPS server./

Stephen
05-04-2003, 03:27 AM
If your sound card works with alsa
you can add the line ....

Nice!

hapbt
05-04-2003, 03:28 AM
hopefully this appears soon in next knoppix iso update!

Fabianx
05-04-2003, 12:33 PM
If your sound card works with alsa
you can add the line
/etc/init.d/alsa-autoconfig
in the boot script /etc/init.d/bootmisc.sh
And alsa ver will be actived at eaxh boot.

Also i suggest to add in the KNOPPIX/usr/local/bin/knx-hdinstall some lines like the folling:

# add alsa activation to bootmisc.sh
# In the boot script /etc/init.d/bootmisc.sh if you add line
# /etc/init.d/alsa-autoconfig
# Alsa server start at boot and it ok for my kde.
# In the KNOPPIX/usr/local/bin/knx-hdinstall of my personalized KNOPPIX I have add some line like:

if checkbootparam alsa >/dev/null 2>&1; then
ALSA_CARD="$(getbootparam 'alsa' 2>/dev/null)"
[ -n "$ALSA_CARD" ] || ALSA_CARD="autodetect"
else
ALSA_CARD="autodetect"
fi

noalsa=""
checkbootparam noalsa && noalsa='#'
checkbootparam noaudio && noalsa='#'
checkbootparam nosound && noalsa='#'
checkbootparam NOALSA && noalsa='#'
checkbootparam NOAUDIO && noalsa='#'
checkbootparam NOSOUND && noalsa='#'

echo "# Boot parameter for knx-hdinstall add">>$TR/etc/init.d/bootmisc.sh
echo "# "$CMDLINE >>$TR/etc/init.d/bootmisc.sh
echo "# KNOPPIX/usr/local/bin/knx-hdinstall add " >>$TR/etc/init.d/bootmisc.sh
echo "# 2 lignes to start sound server alsa" >>$TR/etc/init.d/bootmisc.sh
echo "# uncomment to start alsa at boot" >>$TR/etc/init.d/bootmisc.sh
echo $noalsa"ALSA_CARD="$ALSA_CARD >>$TR/etc/init.d/bootmisc.sh
echo $noalsa"/etc/init.d/alsa-autoconfig" >>$TR/etc/init.d/bootmisc.sh

# So the script knx-hdinstall add /etc/init.d/alsa-autoconfig
# at the boot script /etc/init.d/bootmisc.sh.
# May be a futur version of knx-hdinstall can
# transmit.some parameters to alsa and
# set USE_ALSA="" if alsa are detected unsafe.
# Also this option can be offer like for the CUPS server./

Thats a nice idea, but it is the wrong fix.

You just have to run alsa-autoconfig ONCE after an hd-install. (So you could detect it as well and then chroot to it, and do it once.)

Another possibillity is to cp /etc/modutils/1alsa /etc/modutils/alsa-knx-0.9 or similar to /mnt/target/etc/modutils +

cp /etc/modules.conf /mnt/target/etc/

Though you have to add in both choices to bootmisc.sh:

aumix -w 60 -v 60

cu

Fabian

Jean Béliveau
05-10-2003, 03:37 AM
I have test knx-hdinstall wth the folling uncommented line instead of the line of my late post
on alsa after knx-hdinstall.:

noalsa=""
checkbootparam noalsa && noalsa='# '
checkbootparam noaudio && noalsa='# '
checkbootparam nosound && noalsa='# '

echo "# 2 lignes to start sound server alsa" >>$TR/etc/init.d/bootmisc.sh
echo "# uncomment to start alsa at boot" >>$TR/etc/init.d/bootmisc.sh
echo $noalsa"aumix -w 60 -v 60" >>$TR/etc/init.d/bootmisc.sh

# use Knoppix-generated modutils/1alsa and alsa-0.9-knoppix
cp -af /etc/modutils/1alsa $TR/etc/modutils/1alsa
cp -af /etc/modutils/alsa-0.9-knoppix $TR/etc/modutils/alsa-0.9-knoppix

I was inspired of the folling lignes in knx-hdinstal:

# use Knoppix-generated XF86Config
cp -af /etc/X11/XF86Config $TR/etc/X11/XF86Config
cp -af /etc/X11/XF86Config-4 $TR/etc/X11/XF86Config-4

1alsa and alsa-0.9-knoppix are copied in /etc/modutils/ of the target partition

and "aumix -w 60 -v 60" ais added to bootmis.sh

But sound card not work on reboot on target partition!
So i need more explanation froim fabianx

Fabianx
05-11-2003, 03:53 PM
I have test knx-hdinstall wth the folling uncommented line instead of the line of my late post
on alsa after knx-hdinstall.:

noalsa=""
checkbootparam noalsa && noalsa='# '
checkbootparam noaudio && noalsa='# '
checkbootparam nosound && noalsa='# '

echo "# 2 lignes to start sound server alsa" >>$TR/etc/init.d/bootmisc.sh
echo "# uncomment to start alsa at boot" >>$TR/etc/init.d/bootmisc.sh
echo $noalsa"aumix -w 60 -v 60" >>$TR/etc/init.d/bootmisc.sh

# use Knoppix-generated modutils/1alsa and alsa-0.9-knoppix
cp -af /etc/modutils/1alsa $TR/etc/modutils/1alsa
cp -af /etc/modutils/alsa-0.9-knoppix $TR/etc/modutils/alsa-0.9-knoppix

I was inspired of the folling lignes in knx-hdinstal:

# use Knoppix-generated XF86Config
cp -af /etc/X11/XF86Config $TR/etc/X11/XF86Config
cp -af /etc/X11/XF86Config-4 $TR/etc/X11/XF86Config-4

1alsa and alsa-0.9-knoppix are copied in /etc/modutils/ of the target partition

and "aumix -w 60 -v 60" ais added to bootmis.sh

But sound card not work on reboot on target partition!
So i need more explanation froim fabianx

if checkbootparam alsa
then
echo "# line to unmute the mixer (eso. needed for alsa)" >>$TR/etc/init.d/bootmisc.sh
echo "aumix -w 60 -v 60" >>$TR/etc/init.d/bootmisc.sh
# use Knoppix-generated modutils/1alsa and alsa-0.9-knoppix
cp -af /etc/modutils/1alsa $TR/etc/modutils/1alsa
cp -af /etc/modutils/alsa-0.9-knoppix $TR/etc/modutils/alsa-0.9-knoppix
chroot $TR depmod -a
fi

That should work, or try:

if checkbootparam alsa
then
echo "# line to unmute the mixer (eso. needed for alsa)" >>$TR/etc/init.d/bootmisc.sh
echo "aumix -w 60 -v 60" >>$TR/etc/init.d/bootmisc.sh
chroot $TR /etc/init.d/alsa-autoconfig
fi

cu

Fabianx

SolKarma
06-01-2003, 03:06 AM
Thats a nice idea, but it is the wrong fix.

You just have to run alsa-autoconfig ONCE after an hd-install. (So you could detect it as well and then chroot to it, and do it once.)

Fabian

Presumably, the purpose of using Knoppix as a Linux hard disk installer is to cut through the installation clutter/delay/problems that so many distros seem to have.

The "correct fix" is to take a snapshot of the Knoppix environment as tweaked by a user after detection of hardware and other boot up issues from the live-on-cd execution and then use those exact settings within a on-the-fly, modified knx-hdinstall script.

You might think it's the "wrong fix", but then again, your frame of reference might be off. After all, a battleship can't intimidate a lighthouse into moving out of its path.