April 28, 2017, 09:08:32 am
News:
Pages: [1]
Print
Author Topic: Migrating to Gentoo  (Read 9241 times)
cyrus
Jr. Member
**
Posts: 74


View Profile
« on: April 03, 2009, 04:08:01 pm »

So I have been working (in the little spare time I have) to install Gentoo on the Link. I am pretty much complete (will release an image once done) except for one thing.

Audio. It works fine under mplayer but not XBMC. XBMC complains that it is unable to initialize the PCM device.

ERROR: Unable to open audio mixer
ERROR: Initialize - pcm_open_lconf, alsa error: -2 - No such file or directory

I have been trying to compare the setup on the Ubuntu OS to what I have.

Here is a listing of the sound cards from the Ubuntu OS:

root@link:/dev/snd# ls -al
total 0
drwxr-xr-x   2 root root      240 2009-04-03 13:02 .
drwxr-xr-x  16 root root    14280 2009-04-03 13:02 ..
crw-rw----+  1 root audio 116,  8 2009-04-03 13:02 controlC0
crw-rw----+  1 root audio 116, 10 2009-04-03 13:02 controlC1
crw-rw----+  1 root audio 116,  7 2009-04-03 13:02 pcmC0D0c
crw-rw----+  1 root audio 116,  6 2009-04-03 13:02 pcmC0D0p
crw-rw----+  1 root audio 116,  5 2009-04-03 13:02 pcmC0D1p
crw-rw----+  1 root audio 116,  4 2009-04-03 13:02 pcmC0D2c
lrwxrwxrwx   1 root root       17 2009-04-03 13:02 pcmC1D0p -> /dev/snd/pcmC1D3p
crw-rw----+  1 root audio 116,  9 2009-04-03 13:02 pcmC1D3p
crw-rw----+  1 root audio 116,  3 2009-04-03 13:02 seq
crw-rw----+  1 root audio 116,  2 2009-04-03 13:02 timer
root@link:/dev/snd#

Under Gentoo I have the exact same, except for the soft link from pcmC1D3p (card 1, device 3 - which is the PMC HD ATI HDMI). I have tried to manually create this but it is lost at each reboot. I assume this link is being setup by udev somehow but haven't been able to figure out where. (Did the Neuros guys setup any Udev rules?).

Basically what it comes down to is ALSA doesnt' think the HDMI sound card has a PCM device (if I run alsamixer it doesn't list that as a control - whereas on Ubuntu setup it does).

Any ideas? I am pretty confident I have all the necessary modules loaded as I compared those to what is under the Ubuntu setup. Plus:

root@link:/proc/asound/card1/pcm3p# cat info
card: 1
device: 3
subdevice: 0
stream: PLAYBACK
id: ATI HDMI
name: ATI HDMI
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
root@link:/proc/asound/card1/pcm3p#

Shows that the PCM device for the ATI HDMI card is recognized by the kernel.

Any help would be appreciated.
Logged
cyrus
Jr. Member
**
Posts: 74


View Profile
« Reply #1 on: April 04, 2009, 08:56:30 pm »

I managed to fix this, problem is I don't know how.

I upgraded to Alsa utilities 1.0.19. Rebooted and it still didn't work.

Then I added some parameters to snd-hda-install in modprobe.conf, rebooted and still did not work.

I then added the link in the /dev/snd like is done in rc.local on the Link Ubuntu OS, rebooted and still didn't work.

Then, after I shut down and turned the system back on it was working.
Logged
JoeBorn
Neuros Audio Team
Administrator
Hero Member
*****
Posts: 1376



View Profile WWW
« Reply #2 on: April 13, 2009, 11:21:06 pm »

I cross posted this to the mailing list.  Amazingly, few of the Neuros "devs" read the forums, and few of the super users read the mailing list, so I'll try to cross polinate where I can.  mailing list thread on gentoo audio
Logged

jborn (at) neurostechnology.com
#neuros on freenode.net
cyrus
Jr. Member
**
Posts: 74


View Profile
« Reply #3 on: April 14, 2009, 12:31:18 pm »

Still trying to put together an image I can release so others can test this out on the USB flash drive.

Have a quick question:

When you guys setup your Flash image, did you specify any unique options to mkfs.ext2? Say for block and inode size? I am having an issue putting together this image due to running out of inodes.

Thanks
Logged
cyrus
Jr. Member
**
Posts: 74


View Profile
« Reply #4 on: April 15, 2009, 12:00:17 am »

Ok. I got my image ready. Going to release it tomorrow through a torrent.

Still needs some work, mainly related to the initrd image. Right now it sucks. Not very portable. Any help on this would be appreciated.
Logged
srobertson
Administrator
Newbie
*****
Posts: 4


View Profile
« Reply #5 on: April 16, 2009, 12:10:37 pm »

Hey Cyrus, I've tested Gentoo on the link and I'm pretty familiar with it, as well as how to get Gentoo to perform well with a flash-based root device. I'm happy to help, just let me know what I can do.
Logged
cyrus
Jr. Member
**
Posts: 74


View Profile
« Reply #6 on: April 16, 2009, 09:12:33 pm »

Hey Cyrus, I've tested Gentoo on the link and I'm pretty familiar with it, as well as how to get Gentoo to perform well with a flash-based root device. I'm happy to help, just let me know what I can do.

srobertson:

Help would be much appreciated.

I have signed up on neuros.tv but can't seem to access the XMPP server. When I try to sign on it says "Not Authorized". If the Neuros guys can fix that we can chat that way.
Logged
ChadV
Administrator
Hero Member
*****
Posts: 1611


View Profile WWW
« Reply #7 on: April 16, 2009, 11:07:49 pm »

You need to be on the beta site, dev.neuros.tv  I'm on crack and have no clue what I'm talking about.  Tongue

app.neuros.tv is the "stable" branch, which has XMPP.
« Last Edit: April 17, 2009, 10:51:28 am by ChadV » Logged
JoeBorn
Neuros Audio Team
Administrator
Hero Member
*****
Posts: 1376



View Profile WWW
« Reply #8 on: April 21, 2009, 12:35:35 am »

I have signed up on neuros.tv but can't seem to access the XMPP server. When I try to sign on it says "Not Authorized". If the Neuros guys can fix that we can chat that way.

Did you get this working?  Was it simply as ChadV said that you were on dev.neuros.tv when you registered?
Logged

jborn (at) neurostechnology.com
#neuros on freenode.net
cyrus
Jr. Member
**
Posts: 74


View Profile
« Reply #9 on: April 21, 2009, 11:30:59 am »

I have signed up on neuros.tv but can't seem to access the XMPP server. When I try to sign on it says "Not Authorized". If the Neuros guys can fix that we can chat that way.

Did you get this working?  Was it simply as ChadV said that you were on dev.neuros.tv when you registered?

Ya, I got this working. I actually saw you signed on yesterday.
Logged
JoeBorn
Neuros Audio Team
Administrator
Hero Member
*****
Posts: 1376



View Profile WWW
« Reply #10 on: May 29, 2009, 11:37:17 pm »

yeah, I use this all the time, sending home videos to the grandparents and such.  I use it for xfering large files all the time, its about the easiest way to do it IMHO.
Logged

jborn (at) neurostechnology.com
#neuros on freenode.net
cyrus
Jr. Member
**
Posts: 74


View Profile
« Reply #11 on: June 23, 2009, 09:40:06 pm »

I have kind of left this thread for dead. I continue to use Gentoo on my Link as I like the benefits it provides me in terms of customizing.

Has anyone else experimented with Gentoo?
Logged
flatcurve
Global Moderator
Jr. Member
*****
Posts: 96


View Profile
« Reply #12 on: June 24, 2009, 11:55:51 am »

I'd love to give it a try. Where can I get the image?
Logged
deanjhon530
Newbie
*
Posts: 1


View Profile
« Reply #13 on: May 18, 2013, 02:37:45 am »

I recent decided to switch from Gentoo to Funtoo, you know, just for fun. Breaking my systems without downtime is what I consider a good weekend night activity, whiskey included of course......





_________
deanjhon530
Logged
Pages: [1]
Print
Jump to: