Menu

kb2kskype no longer starts

Help
2010-10-21
2013-04-30
  • i need help now

    i need help now - 2010-10-21

    List of changes leading up to error:

    1) I upgraded to Ubuntu 10.10
    2) I noticed another program (that requires OSS) no longer works.  I install OSS 4 (the only thing that gets it working again.)
    3) I now try to start kb2kskype
    4) I now get the following error in the terminal and it just keeps flooding:

    QFile::atEnd: File is not open
    QFile::getch: File not open
    QFile::atEnd: File is not open
    QFile::getch: File not open
    QFile::atEnd: File is not open
    QFile::getch: File not open
    QFile::atEnd: File is not open
    QFile::getch: File not open
    QFile::atEnd: File is not open
    QFile::getch: File not open
    QFile::atEnd: File is not open
    QFile::getch: File not open
    QFile::atEnd: File is not open
    QFile::getch: File not open
    QFile::atEnd: File is not open

    and on and on and on.

    5) How do I solve this?

    Skype and kb2kskype require Pulseaudio.

    I have another program the requires OSS4

    Uninstalling either Pulseaudio or OSS4 is NOT an option.

     
  • Simon_6162

    Simon_6162 - 2010-10-21

    Well the good news is that kb2kskype doesn't interact with oss or pulseaudio, so it shouldn't make any difference which one you use.

    I guess the main question is which file is it trying to read that it can't. The two that sprint to mind are
    ~/.kb2bskye
    and
    /proc/asound/cards
    can you check they both exist and you can read them as the user running kb2kskype.

     
  • i need help now

    i need help now - 2010-10-21

    ~/.kb2kskype exists
    but /proc/asound/cards doesn't

    sound works fine in other apps on this system.

    what should I do next?

     
  • Simon_6162

    Simon_6162 - 2010-10-21

    Three options,
    1. http://tldp.org/HOWTO/Alsa-sound-6.html says "Please note that /proc/asound/ will only exist after you inserted the first ALSA module" so you could try somthing like
    modprobe snd
    Which will neeed to be done ever time you boot up, either add it to /etc/rc.local or to the usbb2k init script. You may need to install some alsa stuff in ubuntu for this to work.

    2. make the file each time the machine boots  by putting the following in /etc/rc.local
    echo "" >> /proc/asound/cards

    3. If you are building it from source you could comment out
    lines 178 to 184 from "skypeapidlg.cpp" and add the line
    cardNumber = 0;
    That will stop the volume controls working (but they don't work anyway now skype uses pulseaudio!) That is the cause of the error, I should have checked the files opening works instead of assuming it does.

    Let me know how you get on.
    Simon

     
  • i need help now

    i need help now - 2010-10-22

    It runs now!

    However, it still doesn't work.

    There's no sound.

    It seems Pulseaudio ignores the usb device and doesn't report that it is here.  It used to detect it when running Ubuntu 10.04 but no longer in 10.10.

    Here's some tests I've ran if it helps:

    $ cat /proc/asound/cards
    -- no soundcards --

    _$ ossinfo
    Version info: OSS 4.2 (b 2003/201007311944) (0x00040100) GPL
    Platform: Linux/x86_64 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC 2010 (xjdeng-desktop)

    Number of audio devices: 8
    Number of audio engines: 12
    Number of MIDI devices: 1
    Number of mixer devices: 2

    Device objects
    0: osscore0 OSS core services
    1: oss_sblive0 SB Audigy2 interrupts=62925 (62925)
    2: oss_usb0 USB audio core services
    3: usb6993b001-0 USB sound device
    4: usb6993b001-1 USB sound device
    5: usb6993b001-2 USB sound device

    MIDI devices (/dev/midi*)
    0: Audigy UART (MIDI port 1 of device object 1)

    Mixer devices
    0: SB Audigy2 (STAC9750) (Mixer 0 of device object 1)
    1: USB sound device (Mixer 0 of device object 3)

    Audio devices
    SB Audigy2 main                   /dev/oss/oss_sblive0/pcm0  (device index 0)
    SB Audigy2 front out              /dev/oss/oss_sblive0/pcm1  (device index 1)
    SB Audigy2 side out               /dev/oss/oss_sblive0/pcm2  (device index 2)
    SB Audigy2 center/lfe out         /dev/oss/oss_sblive0/pcm3  (device index 3)
    SB Audigy2 raw S/PDIF (output only)  /dev/oss/oss_sblive0/pcm4  (device index 4)
    SB Audigy2 5.1 output device      /dev/oss/oss_sblive0/pcm5  (device index 5)
    USB sound device rec              /dev/oss/usb6993b001-1/pcmin0  (device index 6)
    USB sound device play             /dev/oss/usb6993b001-2/pcm0  (device index 7)

    Nodes
      /dev/dsp -> /dev/oss/oss_sblive0/pcm0
      /dev/dsp_in -> /dev/oss/oss_sblive0/pcm0
      /dev/dsp_out -> /dev/oss/oss_sblive0/pcm0
      /dev/dsp_ac3 -> /dev/oss/oss_sblive0/pcm0
      /dev/dsp_mmap -> /dev/oss/oss_sblive0/pcm0
      /dev/dsp_multich -> /dev/oss/oss_sblive0/pcm5
    _

     
  • Simon_6162

    Simon_6162 - 2010-11-01

    Sorry for not replying sooner,

    I can't find any real reason for your sound card to not be working for you. All I can say is that its not a kb2kskype problem kb2kskype only handles the control side of the box it doesn't do the sound card side, that is still handled via alsa or pulse audio. You may have more luck on a usb audio forum.

    If you still have alsa check the kernel usb audio driver is loaded
    modprobe snd_usb_audio
    You may need to restart pulse audio for it to see this, check what is in /proc/asound/cards

    I have these modules loaded if its any help, although I don't use pulse audio.
    #lsmod | grep snd | cut -d " " -f1
    snd_usb_audio
    snd_usb_lib
    snd_rawmidi
    snd_hwdep
    snd_intel8x0
    snd_ac97_codec
    ac97_bus
    snd_seq_dummy
    snd_seq_oss
    snd_seq_midi_event
    snd_seq
    snd_seq_device
    snd_pcm_oss
    snd_mixer_oss
    snd_pcm
    snd_timer
    snd
    soundcore
    snd_page_alloc

     

Log in to post a comment.