MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

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

    Scheduled Pinned Locked Moved Hardware
    13 Posts 4 Posters 6.0k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ChrisC Offline
      Chris
      last edited by Chris

      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,

      J 3 Replies Last reply Reply Quote 1
      • J Offline
        jmartin1009 @Chris
        last edited by

        @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!!

        1 Reply Last reply Reply Quote 0
        • J Offline
          jmartin1009 @Chris
          last edited by

          @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

          1 Reply Last reply Reply Quote 0
          • J Offline
            jmartin1009 @Chris
            last edited by

            @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!

            ChrisC 1 Reply Last reply Reply Quote 0
            • yawnsY Offline
              yawns Moderator
              last edited by

              It is pavucontrol, not pauvcontrol :-)

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                jmartin1009 @yawns
                last edited by

                @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

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @jmartin1009
                  last edited by

                  @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 (.)

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • ChrisC Offline
                    Chris @jmartin1009
                    last edited by

                    @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,

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jmartin1009 @Chris
                      last edited by

                      @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!

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @jmartin1009
                        last edited by sdetweil

                        @jmartin1009 to make a new file, just rename the existing one to something else (asound.conf.save) and then create a new file

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        J 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy