View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 97 posts ] 
Go to page Previous  1 ... 3, 4, 5, 6, 7  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Tue Sep 18, 2007 1:04 pm 
Offline
Joined: Fri Sep 07, 2007 11:57 pm
Posts: 166
Human wrote:
The prompting is handled by the patcher already, so no worries :) I also found and fixed a typo in the code block.

Please run this code block and tell me if it outputs "working":
Code:
if [ `lspci -mn | grep -c -e ".*0403.*10de.*055c.*-ra1.*1565.*820c.*"` -ge 1 ]; then
echo "working"
fi


It's the test to find your sound device.


will do this later this evening. what was the typo?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 1:08 pm 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
The typo was trying to cd into the bz2 file instead of the directory extracted from it.

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 11:10 pm 
Offline
Joined: Fri Sep 07, 2007 11:57 pm
Posts: 166
Human wrote:
Please run this code block and tell me if it outputs "working":
Code:
if [ `lspci -mn | grep -c -e ".*0403.*10de.*055c.*-ra1.*1565.*820c.*"` -ge 1 ]; then
echo "working"
fi


indeed. it echoes back "working".


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 19, 2007 11:01 am 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
Great! This is the code block that will go into the patcher:
Code:
if [ `lspci -mn | grep -c -e ".*0403.*10de.*055c.*-ra1.*1565.*820c.*"` -ge 1 ]; then
    echo "Your sound device needs newer Realtek ALSA drivers."
    echo "Downloading and installing them now."
    cd /tmp
    /bin/mv /lib/modules/2.6.18.chw-13/updates/alsa .
    # The numeric IP address comes from a link on Realtek's site
    wget ftp://209.216.61.149/pc/audio/realtek-linux-audiopack-4.06b.tar.bz2
    tar xfj realtek-linux-audiopack-4.06b.tar.bz2
    cd realtek-linux-audiopack-4.06b
    sed -i "s/^\(alsaconf\)/#\1/g" install
    ./install
    NEED_TO_REBOOT=1
fi

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 20, 2007 10:49 am 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
The audio patch is in the R5F27 patcher now. In theory, if you reinstalled R5F27 now, you'd get the necessary audio fix automatically with no effort on your part. Thanks for your great troubleshooting of this problem. Now everyone with a similar chipset will benefit!

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 20, 2007 1:14 pm 
Offline
Joined: Fri Sep 07, 2007 11:57 pm
Posts: 166
great! is the latest nvidia driver included too?

for wireless, i had to install the new driver and it went real smooth. i can tell you what i did, if you want to add that too. i managed to get wireless running with WPA2PSK with AES!!! i was very impressed, knowing about linux' history with wireless :)

however, it sometimes drops the signal though (it's a bit weak at that spot).. i don't use it for browsing or anything. just to get the listings! so i don't need to boost the signal. any suggestions on how to make it search every now and then and if the signal is down, then to start it up again? sorry this is off topic. i did start a new thread and asked this question, but didn't get any replies! http://mysettopbox.tv/phpBB2/viewtopic. ... highlight=


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 8:46 am 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
fra wrote:
great! is the latest nvidia driver included too?

No, this is just for the audio fix. I'll take a look at your other thread.

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 11:21 am 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
The first time installed R5F27 I had no sound while watching TV either.

I found this:
http://www.mythtv.org/docs/mythtv-HOWTO-7.html

So I ssh'd into my myth box and entered the following commands:

$ amixer set Master,0 100%,100% unmute
$ amixer set PCM,0 100%,100% unmute
$ amixer set Line,0 75%,75% mute captur
$ amixer set Capture,0 100%,100% captur

And presto I had sound. If that works you can save the your settings as follows:

$ su
# alsactl store
# exit

Hope that helps.

Tim


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 24, 2007 9:53 am 
Offline
Joined: Fri Sep 07, 2007 11:57 pm
Posts: 166
tscholl wrote:
The first time installed R5F27 I had no sound while watching TV either.

I found this:
http://www.mythtv.org/docs/mythtv-HOWTO-7.html

So I ssh'd into my myth box and entered the following commands:

$ amixer set Master,0 100%,100% unmute
$ amixer set PCM,0 100%,100% unmute
$ amixer set Line,0 75%,75% mute captur
$ amixer set Capture,0 100%,100% captur

And presto I had sound. If that works you can save the your settings as follows:

$ su
# alsactl store
# exit

Hope that helps.

Tim


this is a different issue. you had the correct driver already and only the sound levels were not right. in my case, amixer would not even work. i just didn't have the correct driver and had to update it. normally, this would've been a painless process. but in KM the old driver was in a folder that the installer of the new driver didn't know about and hence it was not removed. the result was that the old driver kept loading and i still wouldn't have any sound. the fix was basically to remove the directory where the old driver was. (see above for the script) and now, Human made this automated via a patch included in any new download of R5F27.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 07, 2007 9:22 pm 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
Hey! Did anyone get anywhere on this? This sounds like a problem that I have!

Here's what I have:
ASUS P5K-V mobo with Realtek ALC 883.
(This has in Intel chipset, Intel® G33 / ICH9, rather than nVidia.)
Fresh install of R5F27

.. and I get no sound out of the on-mobo sound. ... except, that I use a PVR-350 with output going to the TV, and I'm configured to use the PVR-350 sound out to the TV.. and that works. (I get the "you got no sound" warning when I go into "watch tv" or play a recording.. of course, I can turn that off. .. but "play any audio" that uses the sound card.. and I'm in trouble.

when I run
Code:
alsaconf
I get
Quote:
No supported PnP or PCI card found
and when I run
Code:
aplay -l
I get
Quote:
aplay: device_list:222: no soundcards found...
and I don't have and /dev/dsp<n> devices.

I modified fra's script for the latest ALSA Driver...
Code:
cd /tmp
mkdir alsa
cd alsa
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.15rc3.tar.bz2
tar jxvf alsa-driver-1.0.15rc3.tar.bz2
cd alsa-driver-1.0.15rc3
./configure
make
make install

but on the "make", I get (at the end)
Quote:
make[4]: *** [/tmp/alsa/alsa-driver-1.0.15rc3/i2c/other/tea575x-tuner.o] Error 1
make[3]: *** [/tmp/alsa/alsa-driver-1.0.15rc3/i2c/other] Error 2
make[2]: *** [/tmp/alsa/alsa-driver-1.0.15rc3/i2c] Error 2
make[1]: *** [_module_/tmp/alsa/alsa-driver-1.0.15rc3] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-chw-13'
make: *** [compile] Error 2

Thanks!

OOOPS :oops: There's more! .. after posting.. I went on to page 2.. etc.

fra's second script works with some changes.. (I can't see what was wrong with his "mv" command.. but I had to reconstruct it by copy/paste.)
Here's my version:
Code:
cd /tmp
mv /lib/modules/2.6.18-chw-13/updates/alsa .
wget ftp://209.216.61.149/pc/audio/realtek-linux-audiopack-4.06b.tar.bz2
tar xfj realtek-linux-audiopack-4.06b.tar.bz2
cd realtek-linux-audiopack-4.06b
./install
reboot

and it now works!

Curiously, I did go over the patcher.sh .. and it didn't see my problem ..
Code:
lspci -mn | grep -c -e ".*0403.*10de.*055c.*-ra1.*1565.*820c.*"
returns 0

If I understand it correctly .. lspci shows me with
Quote:
Audio device: Intel Corporation Unknown device 293e (rev 02)
and this is what you need to add it to the script (I kinda get goofed up in the pattern). but
Code:
lspci -mn | grep -c -e "293e"
returns a "1".

_________________
// Brian - Hardware:
ASUS P5P800 - P4 3Ghz, 500 GB PATA HD
ASUS P5K-V - P4 Core2 Duo, 500 GB SATA HD
Hauppauge PVR-350, IR Blaster, Comcast Digital Cable
http://tech.groups.yahoo.com/group/KnoppMyth/
KnoppMyth R5F27 >> R5.5


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 08, 2007 1:28 am 
Offline
Joined: Fri Sep 07, 2007 11:57 pm
Posts: 166
glad you didn't have to waste the time i wasted on this problem :)
the patcher may or may not detect things right, since i'm guessing that different systems will recognize their soundcards differently...
but at least there's always this thread to help doing it manually :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 08, 2007 8:03 am 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
fra wrote:
glad you didn't have to waste the time i wasted on this problem :)

Thanks for posting though to the happy ending! :D The "journey" helps to build understanding! I did spend a couple of hours on this as well (no where near the amount of time that you spend on it) but even still, I don't view any of this as a "waste of time".
Thanks to all that contributed!
// Brian


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 08, 2007 11:12 am 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
BluesBrian wrote:
Curiously, I did go over the patcher.sh .. and it didn't see my problem ..
Code:
lspci -mn | grep -c -e ".*0403.*10de.*055c.*-ra1.*1565.*820c.*"
returns 0

Please send me (or post) the results of lspci -mn and lspci -vv so I can see the fingerprint for your onboard audio and augment the pattern to match yours and Fra's.

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 08, 2007 11:53 pm 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
Human wrote:
Please send me (or post) the results of lspci -mn and lspci -vv so I can see the fingerprint for your onboard audio and augment the pattern to match yours and Fra's.

Code:
lspci -mn
Quote:
00:00.0 "0600" "8086" "29c0" -r02 "1043" "8276"
00:02.0 "0300" "8086" "29c2" -r02 "1043" "8276"
00:02.1 "0380" "8086" "29c3" -r02 "1043" "8276"
00:1a.0 "0c03" "8086" "2937" -r02 "1043" "8277"
00:1a.1 "0c03" "8086" "2938" -r02 "1043" "8277"
00:1a.2 "0c03" "8086" "2939" -r02 "1043" "8277"
00:1a.7 "0c03" "8086" "293c" -r02 -p20 "1043" "8277"
00:1b.0 "0403" "8086" "293e" -r02 "1043" "829f"
00:1c.0 "0604" "8086" "2940" -r02 "" ""
00:1c.4 "0604" "8086" "2948" -r02 "" ""
00:1c.5 "0604" "8086" "294a" -r02 "" ""
00:1d.0 "0c03" "8086" "2934" -r02 "1043" "8277"
00:1d.1 "0c03" "8086" "2935" -r02 "1043" "8277"
00:1d.2 "0c03" "8086" "2936" -r02 "1043" "8277"
00:1d.7 "0c03" "8086" "293a" -r02 -p20 "1043" "8277"
00:1e.0 "0604" "8086" "244e" -r92 -p01 "" ""
00:1f.0 "0601" "8086" "2918" -r02 "1043" "8277"
00:1f.2 "0101" "8086" "2921" -r02 -p8a "1043" "8277"
00:1f.3 "0c05" "8086" "2930" -r02 "1043" "8277"
00:1f.5 "0101" "8086" "2926" -r02 -p85 "1043" "8277"
01:00.0 "0200" "1969" "1048" -rb0 "1043" "8226"
02:00.0 "0101" "197b" "2363" -r03 -p01 "1043" "824f"
02:00.1 "0101" "197b" "2363" -r03 -p85 "1043" "824f"
04:00.0 "0400" "4444" "0803" -r01 "0070" "4000"
04:02.0 "0200" "1186" "1300" -r10 "1186" "1301"

and
Code:
lspci -vv
Quote:
00:1b.0 Audio device: Intel Corporation Unknown device 293e (rev 02)
Subsystem: ASUSTeK Computer Inc. Unknown device 829f
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 22
Region 0: Memory at fe6f4000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3ho
t+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0
Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [70] Express Unknown type IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
Device: Latency L0s <64ns, L1 <1us
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0
Link: Latency L0s <64ns, L1 <1us
Link: ASPM Disabled CommClk- ExtSynch-
Link: Speed unknown, Width x0

(Yikes, the complete "lspci -vv" is really long.. if you need more of it.. I'll go again!)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 09, 2007 8:25 am 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
BluesBrian and Fra, please run this code block and tell me if it says "detected":
Code:
if [[
       (`lspci -mn | grep -c -e ".*0403.*10de.*055c.*-ra1.*1565.*820c.*"` -ge 1) ||
       (`lspci -mn | grep -c -e ".*0403.*8086.*293e.*-r02.*1043.*829f.*"` -ge 1)
       ]]; then
echo "detected"
fi

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 97 posts ] 
Go to page Previous  1 ... 3, 4, 5, 6, 7  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 13 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu