From: Scott Bronson <bronson@rinspin.com>
To: linux-kernel@vger.kernel.org
Subject: Conflict between v4l and adi module
Date: Mon, 30 Jul 2001 14:15:41 -0700 [thread overview]
Message-ID: <3B65CE7D.859A37F9@rinspin.com> (raw)
I tracked this conflict down a few days ago. It's 100%
reproducible. Does anyone have any insight, or any ideas
of what I should look at now?
Immediately after booting, if I fire up my BT848-based TV
tuner, quit, then try to open /dev/js0, this happens:
[vesper] ~/joystick$ ./jstest /dev/js0
jstest: No such device
If I don't use v4l before trying to open the joystick, everything
just works as it should. This failure also happens if I grab
frames from my ov511-based webcam or my QuickCam Express instead
of watching TV. That's why I think it's v4l that's the culprit.
After jstest reports the missing /dev/js0, if I rmmod adi and
modprobe it again, the joystick starts working again. And it
continues to work from then on, no matter what I do (watch TV,
capture frames, run, quit, etc).
To summarize, the failure (/dev/js0: No such device) only happens
if I use v4l before opening /dev/js0 after booting the computer.
Once /dev/js0 is successfully opened, it always works from then on.
rmmoding and insmoding adi always resolves the conflict. Rebooting
and then using v4l before opening the joystick always causes it.
One last data point, probably not terribly valuable: if I leave
xawtv and the v4l driver open while I rmmod and insmod adi, then
nothing changes. jstest still reports No such device. To get
things working, I need to close xawtv and THEN reload adi.
Linux kernel 2.4.7, X 4.0.3, on a 700 MHz AMD Athlon system.
The joystick is plugged in to a Hoontech 4DWave sound card
with Alsa drivers. All modules are being loaded at boot by
/etc/modules:
tulip
bttv
# joystick...
joydev
pcigame
analog
adi
Nothing is in the logs.
Any ideas? Uninitialized variable maybe? I'm happy to go
digging through the source, but I'm hoping somebody could
give me some hints to narrow down what I have to look through.
Thanks,
- Scott
next reply other threads:[~2001-07-30 21:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-30 21:15 Scott Bronson [this message]
[not found] <Pine.SOL.4.33.0107310128350.2079-100000@sun3.lrz-muenchen.de>
2001-07-31 16:01 ` Conflict between v4l and adi module Scott Bronson
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=3B65CE7D.859A37F9@rinspin.com \
--to=bronson@rinspin.com \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox