Raspberry Pi Adventures

Join me on my fun ride


1 Comment

Configure Raspberry Pi Audio HDMI port and Audio Jack

Hi All,

Kindly refer my guide on installing Audio and Video Player here
Now you have Audio and Video Playback but the audio always comes from HDMI port and you want to have audio from Audio Jack as well.

Note: By default output will be automatic

Enter the following

Raspberry Pi to use the analog output:
sudo amixer cset numid=3 1

Change the value 1 with 0=auto, 1=headphones, 2=hdmi
To suit to your need.

I do not understand what auto exactly mean as with auto i always heard audio only from HDMI jack.

Reference
Getting Sound and Video to Work on Raspberry Pi
Why is my Audio (Sound) Output not working? – Raspberry Pi Beta – Stack Exchange
education – If I plug my headphones into the audio jack, how do I control the volume? – Raspberry Pi Beta – Stack Exchange

Advertisements


Leave a comment

Accessing Network Share on Raspberry Pi

Hi All,

Accessing Network Shares on the Wheezy is very easy

Open up Accessories > FileManager

Type smb://"Network Share Location" in the address box

Enter network share credentials and thats it you have access to all your network shares 🙂


1 Comment

Audio and Video Playback on Raspberry Pi

Hi All,

Followed the following steps and i had media playback on Raspbian “wheezy”

$sudo apt-get update
$sudo apt-get install mplayer mplayer-gui alsa-base alsa-utils pulseaudio mpg123
$sudo reboot

Successfully managed to get some audio playback on command line
$mpg123 /pathtofile/audio.mp3

Modify the pi user to belong to the video group:
$sudo usermod -aG video pi
Logout and login for changes to take effect:
$exit

For Video Playback on Commandline
$mplayer /pathtofile/video.avi

We also now have Mplayer in Sound and Video Section in the GUI

Reference
Getting Sound and Video to Work on Raspberry Pi
Top 10 Linux MP3 Players » Lindesk


1 Comment

WiFi on Rasspberry Pi with ASUS USB N10

Hi All,

I finally received my ASUS USB N10 Wifi Dongle and i first tested it on my Windows desktop if it was working fine ,

it worked great so i decided to give it a try with RPi.

Used OS : 2012-08-16-wheezy-raspbian [Since it already includes the ASUS Driver]

Steps

1. Hooked up the ASUS USB N10 Wifi Dongle to one of the ports on my RPi and rest of the keyboard and other peripherals to USB Hub and booted.

2. After i got the $ prompt

3. Entered lsusb
You should get following on one line.
Bus 001 Device 004: ID 0b05:1786 ASUSTek Computer, Inc. USB-N10 802.11n Network Adapter [Realtek RTL8188SU]

4. Entered lsmod

You should get following on one line.
r8712u 180848 0

5. Now time to Edit the interfaces file.

Traverse to the following path /etc/network and open “interfaces” file in an editor

5.1 Create a Backup of the interfaces file
sudo cp interface interfaces.backup
ls -l

On ls- l you should see the interfaces.backup file will be created.

5.2 Open in file in editor

sudo nano interfaces

5.3 Append the code to the interfaces file without the quotes for ssid and wpa-psk key

allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "your network ssid"
wpa-psk "network passwd"

5.4 Save it using Ctrl+X

6. Reboot your RPi.

7. Now the ASUS USB N10 should be connected to your Router with the specified credentials.

8. Goto your GUI using startx

9. Open any browser and start surfing 🙂

Check screenshot for details 🙂

Photobucket

Hope this helps enjoy Wireless connectivity on your RPi with ASUS USB N10.

References
Raspberry Pi • View topic – ASUS USB-N10 WiFi Adapter
Raspberry Pi • View topic – Automatic setup for RTL8188CUS based wifi adapters
Rasspberry Pi and Hackberry A10 – Where do i buy this ?
Raspberry Pi and the Asus USB-N10 WiFi Dongle » mente abierta

Note: Rpi = Raspberry Pi.


Leave a comment

First Day with Raspberry Pi

Hi Everyone,

Hello from India.

I have just received my Rasspbery Pi and have been waitng for it for a long time.

Ordered it from Kitsnspares for 2750 INR with shipping it cost me around 3000.

Rassberry Pi 1 (3).JPG

I have also recieved my San Disk Ultra 8GB Class 10 SDHC Card

Used win32diskimager-binary.zip to write the 2012-08-16-wheezy-raspbian.zip image to the SDHC Card.

Inserted the card in the RPi attached my Keyboard, Mouse to usb ports , hooked up to my benq hdmi display and done it was up and running.

Well this is sort of my first encounter with the board.