MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

Can't seem to get PlayStation 3 Eye Camera to work



  • I was wondering if anyone else has had any trouble getting the PS3 eye camera to work and had a fix. It doesn’t work for me and when I use the asoundrc. method it doesn’t let me open alsamixer or use anything to check to make sure it works. I bought one bc I saw people were having success with the microphone array but I just can’t seem to get it to work correctly. All help is appreciated, thank you!



  • Hello,

    Modify your ~ / .asoundrc and /etc/asound.conf files

    sudo nano /etc/asound.conf
    
    sudo nano .asoundrc
    

    with this code:

    # ps3 eye + 3.5mm speaker Raspberry Pi
    ## Suggested by http://julius.sourceforge.jp/forum/viewtopic.php?f=9&t=66
    ## Modified by https://github.com/afzalive
    pcm.jack {
      type hw
      card ALSA
    }
    pcm.array {
      type hw
      card CameraB409241
    }
    pcm.softvol {
      type softvol
      slave.pcm "jack"
      control {
        name Master
        card 0
      }
    }
    pcm.cap {
      type plug
      slave.pcm "array"
      slave.channels 4
      ttable {
        0.0 30.0
        1.1 30.0
      }
    }
    pcm.!default {
        type asym
        playback.pcm "plug:softvol"
        capture.pcm {
          type plug
          slave.pcm "cap"
        }
    }
    ctl.!default {
      type hw
      card 0
    }
    ctl.softvol {
      type hw
      card 0
    }
    

    open a terminal and install pulseaudio:

    sudo apt-get install pulseaudio
    
    sudo apt-get install pavucontrol gstreamer0.10-pulseaudio
    
    

    reboot and in the menu of raspbian you should see a tab allowing you to access the pulseaudio settings (sound and video tabs).

    The PS3 mic will appear in it.

    I hope I have been clear in my indications,

    Regards,



  • @chris oh wow, thank you! I’m not able to try this right now but I will give it a shot tonight, thank you so much!!



  • @chris I’m trying to do it right now but I can’t seem to find a file in etc/ named asound.conf, I can find asound.conf.swp and asound.conf.save, but it says I don’t have permission to rename, edit, or add a new file called asound.conf in the folder so idk what to do about that



  • @chris also when i tried to do the second line of the pulseaudio install, i got

    pi@raspberrypi:~ $ sudo apt-get install pauvcontrol gstreamer0.10-pulseaudio
    Reading package lists... Done
    Building dependency tree        
    Reading state information... Done
    E: Unable to locate package pauvcontrol
    

    what do i do to fix this, thanks!


  • Moderator

    It is pavucontrol, not pauvcontrol 🙂



  • @yawns what about the asound.conf file though? I can’t find it or create a new one to put that code in 😕 but thanks for the help with the pavucontrol haha I didnt notice I read it wrong



  • @jmartin1009 said in Can’t seem to get PlayStation 3 Eye Camera to work:

    asound.conf

    that file is called .asoundrc
    it is typically in the users home folder (/home/pi)… note that that the name starts with a dot (.)



  • @jmartin1009 said in Can’t seem to get PlayStation 3 Eye Camera to work:

    @chris also when i tried to do the second line of the pulseaudio install, i got

    pi@raspberrypi:~ $ sudo apt-get install pauvcontrol gstreamer0.10-pulseaudio
    Reading package lists... Done
    Building dependency tree        
    Reading state information... Done
    E: Unable to locate package pauvcontrol
    

    what do i do to fix this, thanks!

    Hello,

    it is actually pavucontrol and not pauvcontrol as yawms rightly pointed out.

    the .asound.conf file is a hidden file. right-click in the file explorer window and choose to show hidden files. Normally it will appear.

    In any case, if there is no sudo nano command .asound.conf in the terminal will create this file.

    as sdetweil tells you, stick to the point at the beginning of the file.

    Regards,



  • @chris @sdetweil @yawns I was able to edit the asoundrc file, but the .conf file wasn’t showing up as I was looking with the hidden files on, the only asound.conf files I could find were asound.conf.swp and asound.conf.save. I’m also kind of confused about how to save a new file in the terminal if I do the sudo nano method, because I was able to get into etc/ from there but it was only trying to have to overwrite a file, not create a new one, if there is a way to create a new file altogether for asound.conf, then I would like to know how to do that because it’s not appearing in hidden files and when I make the file in the terminal it seems like I can only overwrite. Thank you!


Log in to reply