Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anyone have a Shuttle SN95G5?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Sat Jun 04, 2005 3:38 pm    Post subject: Reply with quote

What's the difference between the two BIOS versions released on 5/24? Once again, thanks a bunch for all the help, makes my life a lot easier :D.
Back to top
View user's profile Send private message
VValdo
Guru
Guru


Joined: 08 Jan 2005
Posts: 395

PostPosted: Sat Jun 04, 2005 6:37 pm    Post subject: Reply with quote

Ian wrote:
What's the difference between the two BIOS versions released on 5/24? Once again, thanks a bunch for all the help, makes my life a lot easier :D.


I'm guessing you're looking at two versions for different motherboard revisions.. There's the 1.x and 2.x versions. There is recently a 3.x that came out and is shipping now. You'll also see them referred to as v1, v2, and v3 (or v1.1, v1.2, v1.3, etc.)

To know which you have, you can either figure it out from the version of the BIOS you're currently running (and see which it's used w/) OR look at the motherboard itself, and you should see the number written somewher in the corner.. Can't remember where, but it's not hard to find.

FWIW, I have one of the very last 1.3s that came out..

W
Back to top
View user's profile Send private message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Fri Jun 24, 2005 12:43 am    Post subject: Reply with quote

Sorry to drag this thread back up, but does anyone happen to know if there's a BIOS setting to make sure it boots without a keyboard, mouse, and monitor? As mentioned before, I'm using it for a MythTV box, and I just moved it to my den, where it has a remote control and a TV (through an S-Video cable on the video card). I tried booting blind with a keyboard, didn't seem to want to boot at all. Plugged a monitor in to see what was going on, of course, it worked perfectly fine :-\.
Back to top
View user's profile Send private message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Fri Jun 24, 2005 4:02 am    Post subject: Reply with quote

I spoke too soon, I think. Seems to be fine booting using the TV as a monitor, still not sure about the lack of a keyboard, but I think I found the BIOS option.

Now the only problem is a lack of digital (optical) sound, but oh well, I'll work on that tomorrow night.
Back to top
View user's profile Send private message
VValdo
Guru
Guru


Joined: 08 Jan 2005
Posts: 395

PostPosted: Tue Jul 26, 2005 7:18 am    Post subject: Reply with quote

I just wanted to make this thread complete with some new SN95G5 news....

1. As of a few days ago, there is a new BIOS. The only new thing I've noticed is a splash screen. And ut2004 seems to be getting crappy framerates, but I don't know if that's related to the bios update or what. I updated using the method described above in an early post in this thread (making a freedos bootable CD) and it worked no problem.

2. Having problem with ALSA? If you've done an update w/ALSA in the last month or so, you may have notice stuttering sound or even no sound.

The solution? Take the .asoundrc I posted above and change the following two lines. (According to info found elsewhere on this forum)

Change

Code:
pcm.dmix {

to
Code:
pcm.dmixer {

and
Code:
pcm.dsnoop

to
Code:
pcm.dsnooper {


3. Check /dev/dsp* and /dev/mixer* and /dev/audio* and make sure that all files are owned by root:audio and have permissions set as follows:

Code:
 $ ls -la  /dev/dsp* /dev/mixer* /dev/sound/*
lrwxrwxrwx  1 root audio      9 Jul 25 13:30 /dev/dsp -> sound/dsp
lrwxrwxrwx  1 root audio     10 Jul 25 13:30 /dev/dsp1 -> sound/dsp1
crw-rw----  1 root audio 14, 35 Jan  3  2005 /dev/dsp2
crw-rw----  1 root audio 14, 51 Jan  3  2005 /dev/dsp3
lrwxrwxrwx  1 root audio     11 Jul 25 13:30 /dev/mixer -> sound/mixer
lrwxrwxrwx  1 root audio     12 Jul 25 13:30 /dev/mixer1 -> sound/mixer1
crw-rw----  1 root audio 14, 32 Jan  3  2005 /dev/mixer2
crw-rw----  1 root audio 14, 48 Jan  3  2005 /dev/mixer3
crw-rw----  1 root audio 14, 12 Jul 25 13:30 /dev/sound/adsp
crw-rw----  1 root audio 14,  4 Jul 25 13:30 /dev/sound/audio
crw-rw----  1 root audio 14, 20 Jul 25 13:30 /dev/sound/audio1
crw-rw----  1 root audio 14,  3 Jul 25 13:30 /dev/sound/dsp
crw-rw----  1 root audio 14, 19 Jul 25 13:30 /dev/sound/dsp1
crw-rw----  1 root audio 14,  0 Jul 25 13:30 /dev/sound/mixer
crw-rw----  1 root audio 14, 16 Jul 25 13:30 /dev/sound/mixer1


Hope this helps someone. Doing the above restored ALSA performance as well as returned ALSA to the Volume Control tool in GNOME.

W
Back to top
View user's profile Send private message
jtopping
n00b
n00b


Joined: 03 Mar 2005
Posts: 15

PostPosted: Thu Jul 28, 2005 4:49 pm    Post subject: Reply with quote

why the change from the pcm device dmix to dmixER?
_________________
Jonathan W Topping
Back to top
View user's profile Send private message
VValdo
Guru
Guru


Joined: 08 Jan 2005
Posts: 395

PostPosted: Thu Jul 28, 2005 9:09 pm    Post subject: Reply with quote

jtopping wrote:
why the change from the pcm device dmix to dmixER?


Apparently a change in ALSA made it so that if you named the device "dmix" or "dsnoop" it would get confused, so you have to change it to something else. Try it, it works :)

W
Back to top
View user's profile Send private message
jtopping
n00b
n00b


Joined: 03 Mar 2005
Posts: 15

PostPosted: Thu Jul 28, 2005 9:20 pm    Post subject: Reply with quote

VValdo wrote:
jtopping wrote:
why the change from the pcm device dmix to dmixER?


Apparently a change in ALSA made it so that if you named the device "dmix" or "dsnoop" it would get confused, so you have to change it to something else. Try it, it works :)

W


hmm i have a sn95g5 and using your config seems to be the only way i've gotten dmix to work(i think its the dmixER thing) but the thing is...the audio quality is not crap through xmms, using the alsa plugin....any suggestions?
_________________
Jonathan W Topping
Back to top
View user's profile Send private message
fatboyjim
Apprentice
Apprentice


Joined: 12 Jul 2004
Posts: 227
Location: UK

PostPosted: Sat Jul 30, 2005 12:01 am    Post subject: Reply with quote

Well I'm trying and failing to setup dmix here, everything else seems to work

Using .asound file supplied above (well i've called it /etc/asound.conf, should that matter?)

I was trying to use the guide on the gentoo wiki
http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix

But it failed at this point
alsaplayer -o alsa -d plug:dmix some.mp3

Which gives this output
ALSA lib pcm_dmix.c:802:(snd_pcm_dmix_open) unable to open slave
snd_pcm_open: Device or resource busy (plug:dmix)
Failed to initialize plugin!
Failed to register plugin: /usr/lib64/alsaplayer/output/libalsa_out.so
Failed to load output plugin "alsa". Trying defaults.
ALSA lib pcm_dmix.c:802:(snd_pcm_dmix_open) unable to open slave
snd_pcm_open: Device or resource busy (plug:dmix)
Failed to initialize plugin!
/usr/lib64/alsaplayer/output/libalsa_out.so failed to load
NOTE: THIS IS THE NULL PLUGIN. YOU WILL NOT HEAR SOUND!!

Sound does work, but just various mixes of more than one application together don't
(eg, if I've got amaroK playing, i don't get aMSN sounds. however, if I've got amaroK playing I CAN get sound from an AVI in KMplayer)

Any ideas? Hoping it's something simple!

Jim
_________________
-----------------------
fatboyjim
Gentoo/AMD64 Arch Tester (Inactive)
Back to top
View user's profile Send private message
VValdo
Guru
Guru


Joined: 08 Jan 2005
Posts: 395

PostPosted: Sat Jul 30, 2005 3:04 am    Post subject: Reply with quote

The .asoundrc file should go in your home (~) directory...

again, here is mine:

Code:
# Set default sound card
# Useful so that all settings can be changed to a different card here.
pcm.snd_card {
     type hw
     card 0
}

# Allow mixing of multiple output streams to this device
pcm.dmixer {
     type dmix
     ipc_key 1024
     slave.pcm "snd_card"
     slave {
          # This stuff provides some fixes for latency issues.
          # buffer_size should be set for your audio chipset.
          period_time 0
          period_size 1024
          buffer_size 8192
     }

     bindings {
          0 0
          1 1
     }
}

# Allow reading from the default device.
# Also known as record or capture.
pcm.dsnooper {
     type dsnoop
     ipc_key 2048
     slave.pcm "snd_card"

## Possible artsd full duplex fix:
#     slave {
#          period_time 0
#          period_size 1024
#          buffer_size 8192
#     }

     bindings {
          0 0
          1 1
     }
}

# This is what we want as our default device
# a fully duplex (read/write) audio device.
pcm.duplex {
     type asym
     playback.pcm "dmix"
     capture.pcm "dsnoop"
}

###################
# CONVERSION PLUG #
###################
# Setting the default pcm device allows the conversion
# rate to be selected on the fly.
# duplex mode allows any alsa enabled app to read/write
# to the dmix plug (Fixes a problem with wine).
pcm.!default {
     type plug
     slave.pcm "duplex"
}

# Apparently this is wrong (breaks mplayer for me opening the device)
#ctl.!default {
#     type plug
#     slave.pcm "snd_card"
#}

########
# AOSS #
########
# OSS dsp0 device
pcm.dsp0 {
     type plug
     slave.pcm "duplex"
}

# OSS control for dsp0 (needed?...this might not be useful)
ctl.dsp0 {
     type plug
     slave.pcm "snd_card"
}

# OSS control for dsp0 (default old OSS is mixer0)
ctl.mixer0 {
     type plug
     slave.pcm "snd_card"
}


This setup allows both regular sound via the speakers + my logitech usb headset to work..

I'm wondering if setting up a page on the wiki w/SN95g5 issues would be helpful. Cuz i have a whole bunch of little tweaks I've done (including how to set fancontrol and other stuff) that might be useful to people...

W
fatboyjim wrote:
Well I'm trying and failing to setup dmix here, everything else seems to work

Using .asound file supplied above (well i've called it /etc/asound.conf, should that matter?)

I was trying to use the guide on the gentoo wiki
http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix

But it failed at this point
alsaplayer -o alsa -d plug:dmix some.mp3

Which gives this output
ALSA lib pcm_dmix.c:802:(snd_pcm_dmix_open) unable to open slave
snd_pcm_open: Device or resource busy (plug:dmix)
Failed to initialize plugin!
Failed to register plugin: /usr/lib64/alsaplayer/output/libalsa_out.so
Failed to load output plugin "alsa". Trying defaults.
ALSA lib pcm_dmix.c:802:(snd_pcm_dmix_open) unable to open slave
snd_pcm_open: Device or resource busy (plug:dmix)
Failed to initialize plugin!
/usr/lib64/alsaplayer/output/libalsa_out.so failed to load
NOTE: THIS IS THE NULL PLUGIN. YOU WILL NOT HEAR SOUND!!

Sound does work, but just various mixes of more than one application together don't
(eg, if I've got amaroK playing, i don't get aMSN sounds. however, if I've got amaroK playing I CAN get sound from an AVI in KMplayer)

Any ideas? Hoping it's something simple!

Jim
Back to top
View user's profile Send private message
fatboyjim
Apprentice
Apprentice


Joined: 12 Jul 2004
Posts: 227
Location: UK

PostPosted: Tue Aug 16, 2005 8:04 pm    Post subject: Reply with quote

VValdo, thanks for that, much appreciated. Sorry I didn't reply sooner.. been rather busy

OK, back to trying to fix it

Still doesn't work properly, even after using your files

Eg. with amaroK open, all other programs report "/dev/dsp device or resource busy"

Any idea where I'm going wrong?

Permissions seem ok
Code:

gentoo jim # ls -la /dev/dsp* /dev/mixer* /dev/sound/*
lrwxrwxrwx  1 root root       9 Aug 16 20:55 /dev/dsp -> sound/dsp
crw-------  1 root audio 14, 19 Mar  4 20:14 /dev/dsp1
crw-------  1 root audio 14, 35 Mar  4 20:14 /dev/dsp2
crw-------  1 root audio 14, 51 Mar  4 20:14 /dev/dsp3
lrwxrwxrwx  1 root root      11 Aug 16 20:55 /dev/mixer -> sound/mixer
crw-------  1 root audio 14, 16 Mar  4 20:14 /dev/mixer1
crw-------  1 root audio 14, 32 Mar  4 20:14 /dev/mixer2
crw-------  1 root audio 14, 48 Mar  4 20:14 /dev/mixer3
crw-rw----  1 root audio 14, 12 Aug 16 20:55 /dev/sound/adsp
crw-rw----  1 root audio 14,  4 Aug 16 20:55 /dev/sound/audio
crw-rw----  1 root audio 14,  3 Aug 16 20:55 /dev/sound/dsp
crw-rw----  1 root audio 14,  0 Aug 16 20:55 /dev/sound/mixer
crw-rw----  1 root audio 14,  1 Aug 16 20:38 /dev/sound/sequencer
crw-rw----  1 root audio 14,  8 Aug 16 20:38 /dev/sound/sequencer2


.asoundrc
Code:

# Set default sound card
# Useful so that all settings can be changed to a different card here.
pcm.snd_card {
     type hw
     card 0
}

# Allow mixing of multiple output streams to this device
pcm.dmixer {
     type dmix
     ipc_key 1024
     slave.pcm "snd_card"
     slave {
          # This stuff provides some fixes for latency issues.
          # buffer_size should be set for your audio chipset.
          period_time 0
          period_size 1024
          buffer_size 8192
     }

     bindings {
          0 0
          1 1
     }
}

# Allow reading from the default device.
# Also known as record or capture.
pcm.dsnooper {
     type dsnoop
     ipc_key 2048
     slave.pcm "snd_card"

## Possible artsd full duplex fix:
#     slave {
#          period_time 0
#          period_size 1024
#          buffer_size 8192
#     }

     bindings {
          0 0
          1 1
     }
}

# This is what we want as our default device
# a fully duplex (read/write) audio device.
pcm.duplex {
     type asym
     playback.pcm "dmix"
     capture.pcm "dsnoop"
}

###################
# CONVERSION PLUG #
###################
# Setting the default pcm device allows the conversion
# rate to be selected on the fly.
# duplex mode allows any alsa enabled app to read/write
# to the dmix plug (Fixes a problem with wine).
pcm.!default {
     type plug
     slave.pcm "duplex"
}

# Apparently this is wrong (breaks mplayer for me opening the device)
#ctl.!default {
#     type plug
#     slave.pcm "snd_card"
#}

########
# AOSS #
########
# OSS dsp0 device
pcm.dsp0 {
     type plug
     slave.pcm "duplex"
}

# OSS control for dsp0 (needed?...this might not be useful)
ctl.dsp0 {
     type plug
     slave.pcm "snd_card"
}

# OSS control for dsp0 (default old OSS is mixer0)
ctl.mixer0 {
     type plug
     slave.pcm "snd_card"
}


/etc/modules.d/alsa
Code:

options snd major=116 cards_limit=1
options snd-intel8x0 index=0
options snd cards_limit=1

#ALSA PORTION
alias char-major-116 snd
alias snd-card-0 snd-intel8x0

#OSS/Free stuff
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss


Cheers
Jim
_________________
-----------------------
fatboyjim
Gentoo/AMD64 Arch Tester (Inactive)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum