NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: skype Failed: "Problem with Audio Plaback"



On Fri, 20 Jun 2008, Jeremy C. Reed wrote:

> (I have one hour to get skype working before a conference call.)

Same story :(

> I installed wip/skype -- skype-1.4.0.118 on NetBSD 4.0 i386.
> 
> Any hints or pointers on the audio setup?
> 
> fstat shows many sound0 open by skype. But it has popup about failed 
> audio.
> 
> FWIW ogg123 using "sun" with /dev/audio works fine to play audio.
> 
> (wip version is latest 1.4 series; official pkgsrc version doesn't exist.)
> 
> Skype is hardcoded to /dev/dsp -- don't see how to change. 
> 
> /emul/linux/dev/dsp symlink to sound which is symlink to sound0 -- all 
> readable and writable. (I have no /dev/dsp.)

Doing a echo123 shows:

 Call failed problem with audio playback

I have:

crw-rw-rw-  1 root  wheel  42, 0 Jun 20 09:54 /emul/linux/dev/sound0
lrwx------  1 root  wheel      6 Jun 20 09:54 /emul/linux/dev/sound -> sound0
lrwxr-xr-x  1 root  wheel      5 Jun 20 09:54 /emul/linux/dev/dsp -> sound

ktrace showed some ioctl errors like:

  2797      1 skype    NAMI  "/emul/linux/dev/dsp"
  2797      1 skype    NAMI  "/emul/linux"
  2797      1 skype    NAMI  "/emul/linux/dev/dsp"
  2797      1 skype    RET   open 19/0x13
  2797      1 skype    CALL  ioctl(0x13,SNDCTL_DSP_CHANNELS,0xbfbfc348)
  2797      1 skype    RET   ioctl 0
  2797      1 skype    CALL  ioctl(0x13,_IOW('P',0xb,0x4),0xbfbfc344)
  2797      1 skype    RET   ioctl 0
  2797      1 skype    CALL  ioctl(0x13,SNDCTL_DSP_SETFMT,0xbfbfc340)
  2797      1 skype    RET   ioctl 0
  2797      1 skype    CALL  ioctl(0x13,SNDCTL_DSP_SPEED,0xbfbfc33c)
  2797      1 skype    RET   ioctl -1 errno -22 Invalid argument
  2797      1 skype    CALL  ioctl(0x13,SNDCTL_DSP_SPEED,0xbfbfc33c)
  2797      1 skype    RET   ioctl -1 errno -22 Invalid argument
  2797      1 skype    CALL  ioctl(0x13,SNDCTL_DSP_SPEED,0xbfbfc33c)
  2797      1 skype    RET   ioctl 0
...
  2797      1 skype    RET   ioctl 0
  2797      1 skype    CALL  ioctl(0x13,SNDCTL_DSP_SPEED,0xbfbfc33c)
  2797      1 skype    RET   ioctl -1 errno -22 Invalid argument
  2797      1 skype    CALL  ioctl(0x13,SNDCTL_DSP_SPEED,0xbfbfc33c)
  2797      1 skype    RET   ioctl -1 errno -22 Invalid argument
  2797      1 skype    CALL  ioctl(0x13,SNDCTL_DSP_SPEED,0xbfbfc33c)
  2797      1 skype    RET   ioctl -1 errno -22 Invalid argument
  2797      1 skype    CALL  ioctl(0x13,SNDCTL_DSP_SPEED,0xbfbfc33c)
  2797      1 skype    RET   ioctl -1 errno -22 Invalid argument
  2797      1 skype    CALL  close(0x13)
  2797      1 skype    RET   close 0

I have no idea if related, but I also did:

$ audioctl -w full_duplex=1 
full_duplex: -> 1
$ audioctl -w fullduplex=1  
fullduplex: -> 1

audioctl says I have:

name=ICH6 AC97
version=0x03
config=auich0

dmesg includes:

auich0 at pci0 dev 30 function 2: i82801FB (ICH6) AC-97 Audio
auich0: interrupting at irq 11
auich0: ac97: SigmaTel STAC9750/51 codec; headphone, 20 bit DAC, 20 bit 
ADC, SigmaTel 3D
auich0: ac97: ext id 605<AC97_22,AMAP,SPDIF,VRA>
auich0: measured ac97 link rate at 47995 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent

The two Cc's are because I saw you emailed about problems with Skype 
too. Anything fixed for you?

Anyone using skype?


Home | Main Index | Thread Index | Old Index