Programming :: Find Sound Device - To Work On An Embedded Board ?
Feb 1, 2010
I'm trying to get sound to work on an embedded board. The boot says ALSA is present and sound chip is present. So I try to open the device with:
The hardware manufacturer assures me the device is hw:0,0 so I set device to:
This gives me:
So I'm presuming the advice that I use hw:0,0 must be wrong? So I need to find a way of working out what the device id is. I've tried default, no effect, then tried the command asoundconf list, which returns an error. I'm using a min linux build on an embedded system (busybox) so is there a way to find my sound device.
I am running Virtual Box Ubuntu Linux 2.6. Connected to my PC is an embedded board running debian 2.6.32. I have ip forwarding on at my virtual box. From my embedded board I can successfully ping www.google.com. I want to download and install some packages but when I try apt-get I get the following: I've flailed away at this for most of the day
I'm looking for doing AOE (Ata over ethernet) inexpensively with single board computers, like Routerboard stuff, but is there anything with sata plugs. Hopefully I can get each board for hopefully around $50, but a little more would be ok. Non-x86 is fine, Debian is as good as Ubuntu.
I'm trying to run a shell script on a kern board (av1100) that shows some text output on the attached screen. The big problem is that the screen goes to blank in like 2 minutes.I'd just like to have the script showing it's output while the thing is on.Isn't there a command to stop the screen from going to blank?p.s. there is no bash available, just #!/bin/sh
I have suse 11.4 installed and I wish to replace the on-board sound chip with an add-on sound card. The following are available at my local shop but they cannot advise whether any will work on Linux Suse 11.4.
Anyone know which of these cards will work on Suse 11.4?
Sound Blaster X-Fi Titanium HD Sound Blaster X-Fi Xtreme Audio Asus Xonar DS
I was just given a computer from a coworker and installed the latest Slackware version on it. I then installed Gnome Slackbuild and installed the Nvidia driver.I've run alsaconf and it seems to run fine without any errors and unmuted all the channels in alsamixer.
I am using kernel 2.6.29 on my embedded device, and enabled config option Support for tracing block io actions after compiling kernel making its zImage (for porting to device) the folder block compiled all files of blktrace and created .o files.... After porting zImage to my embedded device when i try to run blktrace on it, it give me response "blktrace : not found" Any body have an idea? how to trace any embedded device using blktrace?
I am to drop Linux onto an ARM9 NAS board to make it more useful than just a network attached storage device.
I know about U-Boot and I can install Debian Linux by booting the system via TFTP, and I can install Linux easily... if I have an internet connection.
My question is, how can I install Debian WITHOUT the use of an internet connection. I am looking into downloading the armel flavour of Debain and using that as a source, but I have no idea on how to install it onto an embedded system as it has no CD/DVD drive. It only has an ethernet port, 2 USB-2.0 ports and a serial UART port.
I want to make a bootable USB drive with a Embedded Linux Image. The Embedded Linux Configuration tool has given me the vmlinux(image) and the menu.lst. I have done the following Steps; # fdisk /dev/sdb Then I got some option I deleted the old partition and made new one and selected the primary partition. then formatted the partition in ext2.
I have a usb to serial converter which i plug in to Ubuntu Natty.I see that on every reboot this seems to come up as a different device name, say ttyUSB0, ttyUSB3 etc.I want to write a simple shell script to get the name of the device in a shellscript.
Forgive my newness, but here goes. I installed CentOS 5.5 on a Dell with a Soundblaster card. The soundcard config utility recognizes the device as: Vendor: Creative Labs Model: CA0106 SoundBlaster Module: snd-ca0106 I am able to play the default sound in the utility, however, I get no sound when I select the device in Skype as Default Device CA0106. Is there a permission somewhere I am missing, because I noticed when I try to play an internet radio stream using Shockwave Flash, I also have no audio.
I am developing a device that will run Linux as its operating system.The device is a small form factor X86 device with a flash drive exposed as a SATA-device. So it is not very dissimilar from any other PC running Linux.For several good reasons I am building my own "distribution", instead of using an existing one.What confuses me is how mount/umount of the root file system is handled.I boot my kernel with the commandline "root=/dev/sda1 rw" which works fine. But everytime I do poweroff or reboot Busybox complained about no /etc/fstab, so I decided to build one.Should I have an entry for my root file system? It seems like this is shadowed by the rootfs anyway. I.e. if I have the fstab entry "/dev/sda1 / ext2 1 1" mount still reports rootfs on / type rootfs (rw)/dev/root on / type ext2 (rw,relatime,errors=continue)My questions are:Do I need to worry? Will the drive be correctly unmounted by the kernel on poweroff/reboot?If I want to perform file system checking on boot, can I do that without resorting to an initrd?
I recently bought a new nettop and installed Ubuntu 10.10 Desktop. Unfortunately the on-board wlan is kind of crap so I bought a USB Wireless stick and since that stick has a pretty recent chipset ndis was needed to get the USB stick to work as wlan1.
The issue is I want to disable the on-board wlan (wlan0). The BIOS does not offer that option so it needs to be done in the OS I guess. My question is what is the best way of doing so? I've read something about blacklisting or editing 10-wlan.rules but I am unsure what the best place is and what to put there.
This the output of ifconfig:
Quote:
eth0 Link encap:Ethernet HWaddr 00:01:2e:2b:a7:b0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
I'm working on a project to have our company logo image display on the screen during bootup. Our platform is an embedded Linux device running on a custom configured linux kernel 2.6.38.2. Our development distro is Ubuntu 10.04. I am currently trying to get fbsplash to work on our device with no luck so far.
I have detected some problems when I try to record sound in my Kubuntu 10.04 system.
The problem is that the "default" device for audio recording does not work but I have to select another device to do so. I always selected the "default" device for audio recoding but currently I have to select hw:0,2 device.
Another odd thing is that different programs show me different device. For example, Audacity shows me that I have the following audio recording devices:
- HDA Intel: ALC888 Digital (hw:0,1) - HDA Intel: ALC888 Analog (hw:0,2) - spdif - default
The only one that works is hw:0,2.
But arecord shows me (when I execute "arecord -L") the following:
Finally, in KDE system preferences for audio I get that I have 2 different audio devices for audio recording:
- HDA Intel (ALC888 Analog): it is said that it will try first x-phonon (CARD=0, DEV=0) and, if the latter does not work, it will try plughw (CARD=0, DEV=0)
- HDA Intel (ALC888 Digital): it is said that it will try first x-phonon (CARD=0, DEV=1) and, if the latter does not work, it will try plughw (CARD=0, DEV=1)
Where is the hw:0,2? and how can I set the alsa system to use hw:0,2 as the default device for audio recording?
All of that would not be a problem but I also have an ubuntu 9.04 installed on a virtual machine (by using virtualbox) and audio recording doesn't work there. I suppose that it is becase of the virtual sound card is using default devices for playing and recording audio.
I must say that audio playback works fine in both host and guest systems. It is just audio recording.
I am trying to switch from the video device built into the mother board, to a card i just put into my machine. I'm using gnome and don't know where to start. I shouldn't need new drivers (based on a possible misunderstanding) because I am going from a nvidia 6100 to a 8600. I have looked in various places like the control center but haven't had any luck. I just started using linux and have very little experience in the terminal. Issues with the current card are stopping me in my learning process.
I have a Toshiba laptop and Toshiba netbook (both Intel chipsets). Laptop - Squeeze install gave me the 2.6.32 kernel and sound only worked thru headphones but not the speakers. Later on, I compiled kernel 2.6.36.1 (and just imported .config from original kernel) and sound WORKED perfectly. I had a few other errors ("address space collision" / PM error) so recently I compiled kernel 2.6.38, which solved other hardware issues but sound is back to original problem (works thru headphones but not thru speakers). I even installed the "backports" kernel (2.6.38.4) and it didn't make a difference.
Netbook - Did exact same things as above but no matter what, the sound never worked on it... same issue (sound in headphones.. no sound in speakers) So, how do I "reverse-engineer" the laptop working sound install with kernel 3.6.36.1 and make it work with later kernel (nothing... and I've tried about 30+ thread suggestions makes the sound cards work properly.. other than kernel 2.6.36.1)
My sound is otherwise working fine, but for some reason i'm not getting any sound when running java applets. This issue is very important to me, i would -really- like to get the sound back on this applet.it's a java runtime environment applet, running in embedded in firefox. Somehow, the systems isn't detecting it as a application outputting sound.
i tried uninstalling the sound manager application via synaptic, selected the 'completely remove' option, and wound up uninstalling essentially the entire OS last weekend. i'd like to not repeat that mishap, as i lost all my data.
Originally, the embedded flash video played just fine on Ubuntu 9.10 by Adobe Reader 9.0. However, when the same video was replayed on an upgraded Ubuntu 10.10, the video part was fine fine while the audio couldn't be heard. Anyone encountered the same problem? Anyway to fix it?
I have a Phenom II X4 955 box running 8G RAM. Now I'm planning building a Phenom II X6 box running 16G RAM. But the 4G module/stick is very expensive, not easy to find. However most mobo can take max 4 sticks. I can't find mobo board on market except server taking 8 sticks.
I have recently built a HTPC with a GA-G41m Combo and it has worked well with Ubuntu 10.04, however last week some time the on board network stopped working. I have tried different routers and different cables, but the network light wont come on. What Can I doo?
Recently, I created a device sc0 through device mapper. The divice could be found in /dev/mapper/sc0. My problem is that the device doesn't exist in /dev/partitions which will block my following test.BTW, I found dm-0 in /dev/partitions. Is it the same as /dev/mapper/sc0? But the device /dev/dm-0 doesn't exist!
I installed Fedora 14 on a Toshiba Satellite L650-18X laptop. The on board speakers work fine but when I try to connect external headphones, the sound still comes from the on board speakers and not from the connected headphones. Also the microphone jack doesn't work.
As I searched the web for possible solutions I think the problem is related to the Alsa sound driver. I kindly ask if someone with experience could share details regarding the Alsa configuration for this particular sound driver in Fedora 14 in order to solve this issue.
For users whom wish to install the wireless driver on the Toshiba Satellite L650-18X, Broadcom offers great information on it's official site
HTML Code: [url]
Here are the steps the user needs to perform in a terminal window in order to install the wireless driver :
Using xsel I pass a selection into a variable. I then check that the variable includes an embedded newline to be sure that the selection returned by xsel is complete. If the selection content preceding the newline is just a single word, the check fails to detect the newline, thus
For those that use Virtualbox on their slackware host and have a windows (xp) guest running. I have tried various settings for sound (Alsa, PulseAudio), the AC97 drivers are installed in the Windows xp guest os, but there is no sound and there is an unknown audio device (in the windows device manager). If I remove the AC97 drivers and use the soundblaster16 drivers in the Vbox settings there is no unknown sound device, but there's still no sound. why I can't get sound working?
I need to cross-compile some libs for using in a ARM11 board running Linux (at this time, 2.6.28, but I'll try update it... and for costs reason, maybe it turns on a ARM9 board). The libs are libfprint, libusb-1.0 (that is a requirement of libfprint), libSDL (and some of its extensions) and maybe libsqlite3. How I can make this, with the development files in the host machine (an Ubuntu 10.04 32bits machine) and the runtime files at the host ARM11 Board.