Skip to contentSkip to conversation

: Details about known bug "Capture doesn't work"

ALSA - driver 0001183 [email protected] 1 participant 1 message Jun 15, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1183>
======================================================================

Reported By:                Jochen
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Issue ID:                   1183
Category:                   PCI - es1968
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             
======================================================================
Date Submitted:             06-11-2005 20:34 CEST
Last Modified:              06-15-2005 14:42 CEST

======================================================================
Summary: Details about known bug "Capture doesn't work"
Description:
I'm experiencing the problem with es1968 not supporting capture described in various places. This bug keeps me from using skype: the second it tries to read from the OSS compatibility device it receives and EINVAL

using the old OSS maestro driver works thou.

apparently this is the known bug "capture doesn't work"

I'd like to ask for a little more information on this bug, and whether it's possible to contribute here.
======================================================================

----------------------------------------------------------------------
Jochen - 06-13-05 15:53
----------------------------------------------------------------------
Skype just tells me

read error, res = -1, handle = 28

handle 28 is the fd of /dev/dsp, here some excerpts from strace

[pid  4552] open("/dev/dsp", O_RDWR)    = 28
[pid  4552] ioctl(28, SNDCTL_DSP_GETCAPS, 0xb7a90d2c) = 0
[pid  4552] fcntl64(28, F_GETFL)        = 0x2 (flags O_RDWR)
[pid  4552] fcntl64(28, F_SETFL, O_RDWR) = 0
[pid  4552] ioctl(28, SNDCTL_DSP_SETFRAGMENT, 0x86f83e8) = 0
[pid  4552] ioctl(28, SNDCTL_DSP_STEREO, 0x86f83ec) = 0
[pid  4552] ioctl(28, SNDCTL_DSP_SETFMT or SOUND_PCM_READ_BITS, 0x86f83f0)

= 0
[pid 4552] ioctl(28, SNDCTL_DSP_SPEED or SOUND_PCM_READ_RATE, 0x86f8404) = 0
[pid 4552] ioctl(28, SNDCTL_DSP_GETOSPACE, 0xb7a90d30) = 0 [pid 4552] clone(Process 4559 attached
...
[pid 4559] read(28, 0xb790e060, 960) = -1 EINVAL (Invalid argument) [pid 4559] fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
[pid 4559] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e12000
[pid 4559] write(1, "read error, res = -1 , handle = "..., 35) = 35

all previous accesses to fd 28 are of type write() (and result in various sounds)

----------------------------------------------------------------------
tiwai - 06-15-05 14:42
----------------------------------------------------------------------
Compile ALSA drivers with debug option and see the kernel message whether any relevant message appears.

Issue History
Date Modified Username Field Change
======================================================================

06-11-05 20:34 Jochen         New Issue                                    
06-13-05 13:07 tiwai          Note Added: 0005007                          
06-13-05 15:53 Jochen         Note Added: 0005011                          
06-15-05 14:42 tiwai          Note Added: 0005028                          

======================================================================

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click