All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ivica Bukvic" <ico@fuse.net>
To: 'Takashi Iwai' <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net,
	alsa-user@lists.sourceforge.net, mandrakeexpert@mandrakesoft.com
Subject: RE: [Alsa-devel] Interesting problem with hotplug and Midisport 2x2 on Mdk 9.0
Date: Thu, 27 Feb 2003 13:48:24 -0500	[thread overview]
Message-ID: <000301c2de90$cefded80$aa1f830a@ICO> (raw)
In-Reply-To: <s5h65r5k2uc.wl@alsa2.suse.de>

Actually, now that I have reinstalled the src.rpm package of hotplug
8_26_2002 (from sourceforge), I do get both the 2 midi ports and audio
(crashes still occur). I've now discovered two more interesting issues:

1) Upon booting and installing the midisport 2x2 for the first time
(regardless whether that is at boot time or afterwards), I get 2 midi
ports and everything is ok. If I then disconnect and reconnect it,
everything is still ok, but now I only have 1 midi port. Seems like only
the first time is a charm. This is no biggie, since I've overcome the
major problems, but still may point to some kind of a bug in (I presume)
Alsa.

2) The other rather important observation is that the crash (kernel
oops) occurs, when I omit the /sbin/modprobe -r snd-usb-midi line from
the Jaroslav's script as you have suggested (this has happened several
times and every time I comment it out, the thing crashes with the same
interrupt handler async oops, while the system remains rock solid
regardless of numbers of reconnects when the thing is not commented
out).

It makes me wonder whether that call to remove a module that does not
exist gives the kernel enough time to clean up something usb-related on
its side before invoking the removal of the module, therefore avoiding
the oops (the second line /sbin/modprobe -r snd-usb-audio). It would be
perhaps a good idea to do a small sleep command there and see whether
that would work as well as the above-mentioned removal of the
non-existent module (but I don't know how to put one there since I am
not that good with shell scripts -- any ideas are welcome though).

Still, the issue of reconnect giving you only 1 midi port remains. :-)

Note: mandrake-expert developers, if you need the script and config
e-mailed in order to have Mandrake 9.0 auto-detect alsasound devices and
dynamically load them, please contact me and I'll e-mail them to ya.

Ico




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  reply	other threads:[~2003-02-27 18:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-27 18:00 Interesting problem with hotplug and Midisport 2x2 on Mdk 9.0 Ivica Bukvic
2003-02-27 18:14 ` Takashi Iwai
2003-02-27 18:48   ` Ivica Bukvic [this message]
2003-02-28  5:51   ` Patrick Shirkey
2003-02-28 12:14     ` Takashi Iwai
2003-03-01  5:59       ` Patrick Shirkey
2003-03-01  7:17         ` Patrick Shirkey
2003-03-03 15:32           ` Clemens Ladisch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000301c2de90$cefded80$aa1f830a@ICO' \
    --to=ico@fuse.net \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=alsa-user@lists.sourceforge.net \
    --cc=mandrakeexpert@mandrakesoft.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.