xboxscene.org forums

Pages: 1 [2] 3 4

Author Topic: New Xdsl 0.7  (Read 420 times)

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
New Xdsl 0.7
« Reply #15 on: May 05, 2008, 07:24:00 AM »

QUOTE(willows02 @ May 5 2008, 02:35 PM) View Post

About Unionfs, I wish I could help you but it looks very advanced for
me, sorry.

What exactly needs to be done for unionfs? I did some related work for my asus eee pc which runs xandros with unionfs enabled by default. Maybe I can help if you could provide the details.
Logged

stevewal

  • Archived User
  • Sr. Member
  • *
  • Posts: 448
New Xdsl 0.7
« Reply #16 on: May 05, 2008, 11:58:00 AM »

Hi,
Thanks for the feedback willows02. I always get a bit confused with compiling when it doesn't go to plan. Good work. There's also a load of pre-compiled versions of gtk2 in the testing repository most of which seem to work pretty well.

ldotsfan, Thanks for the offer. I've abandoned my initial idea of getting unionfs working, because unc apps are loosing popularity and most people will be using xdsl from loopback installs. So I've made a handy script to install unc apps to the hard drive so they can be used in all installation types, though they would take more memory in frugal, they would take less in loopback/native.

The main problem now is to get the sound mixer to work (umix and dmix) first on xdsl0.6. then on xdsl0.7 Any help with this would be much appreciated.
Logged

kosuke_kun

  • Archived User
  • Newbie
  • *
  • Posts: 2
New Xdsl 0.7
« Reply #17 on: May 06, 2008, 03:54:00 PM »

hello stewart.

First of all, I must to thank you for all this great and desolated xbox linux work. Please go on with updates, there's a lot of people who (like me) use the x-dsl distro with no computer.

I run x-dsl 0.5 and lwas ooking for an update (without faith) and look this !! xdls 0.6b and already 0.7 alpha !! but I can't get info about the real update from 0.4 or 0.5 x-dsl.

example:

-kernel based ?

or features and info like:

-are the same apps like 0.5 xdsl ¿? I mean beaver, ted, xmms, and all the "already installed" apps ? or has been get update of it ?

-the firefox is the same or is a 2.x ?

-what is a autoinstaller app ? I read them before here or in 0.6beta realease.

-are the same desktops ?? xfce and (not remember the name of the 2º guess is jvm; looks like windows desktop)

-what new app is add in here ?

-question: is fast enogh ? what about in comparative of xdsl 0.5 ???

-what get with the new 0.6 or 0.7 xdsl. Compatibility? speed ? better or nice graphics ?

thanx

keep`going !!!

Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
New Xdsl 0.7
« Reply #18 on: May 07, 2008, 07:34:00 AM »

QUOTE(stevewal @ May 6 2008, 02:34 AM) View Post

The main problem now is to get the sound mixer to work (umix and dmix) first on xdsl0.6. then on xdsl0.7 Any help with this would be much appreciated.

Is it kernel related or alsa libraries related or something else?
Logged

kosuke_kun

  • Archived User
  • Newbie
  • *
  • Posts: 2
New Xdsl 0.7
« Reply #19 on: May 08, 2008, 04:57:00 PM »

can respond my questions please ???
Logged

willows02

  • Archived User
  • Newbie
  • *
  • Posts: 8
New Xdsl 0.7
« Reply #20 on: May 09, 2008, 03:44:00 AM »

Ok, I tried to compile alsa 1.0.8 from source with alsa-driver-1.0.8.xbox.patch but got error, log (copied just the end part of make command):

root@box:/home/dsl/alsa-driver-1.0.8# make
.
.
.
/lib/modules/2.4.31-xbox/build/include/linux/module.h:22:34: linux/modversions.h: No such file or directory
make[1]: *** [memalloc.o] Error 1
make[1]: Leaving directory `/home/dsl/alsa-driver-1.0.8/acore'
make: *** [compile] Error 1
root@box:/home/dsl/alsa-driver-1.0.8#

I tried this to see if alsa could control sound mixer, but that error stopped me, sorry my english...
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
New Xdsl 0.7
« Reply #21 on: May 09, 2008, 05:44:00 AM »

Looks like alsa is dependent on kernel source (headers in this case). What kernel is xdsl 0.7 using?

@stevewal: Could you share your kernel source tree somewhere so that we can try to follow up?
Logged

stevewal

  • Archived User
  • Sr. Member
  • *
  • Posts: 448
New Xdsl 0.7
« Reply #22 on: May 10, 2008, 09:58:00 AM »

Hi,
I've been off for a while, and I'm getting a bit stuck on further improvements. I'm not exactly an advances linux user myself, but I do my best. I'm currently working on xdsl0.6, so please feel free to improve xdsl 0.7 and post results or upload a new iso image.

@razor1394, I'll look into it when I've got the chance.

@kosuke_kun. xdsl 0.5 is dsl 2.4 (I think) and will have the same features.
Xdsl 0.6 is dsl 3.4 and xdsl 0.7 is dsl 4.2.

The kernel is the same for all three as dsl is still using the 2.4.31 kernel.
I have added most of the stuff in the xdsl upgrades menu, so we have upgrade options for alsa, xfree86, firefox 2, flashplayer 9, overscan fix, etc. The frustating uci extesion cloop error is also gone. I'm also adding some basic media plying capabilities out of the box, such as mplayerplugin and flshplayer 7, along with necesary codecs.

@Kick In Da Door. I really don't know what is happening there. does xdsl 0.5 work ok? cus it uses the same linux24.

@willows02.  Yea I tryed that also. I've already compiled alsa and put the modules in  /lib/modules/2.4.31-xbox/kernel/sound . I also compiled alsa mixer, but it was too bulky so I used the alsa app from the repository to set the volumes. This works fine and sets the volume to 100%. (if you want to replicate this, use the upgrade sound option (from loopback/native install). Now the problem is when I adjust the volume the sound stays the same. That's about as far as I have got.
Thanks for looking into it. If you still want to compile from source, you can use the headers for xdsl0.5 from the sourceforge repository and follow the xebian how to. when all is compiled, exit x and rmmod all sound modules before modprobe alsa module.

Cheers Steve.
Logged

stevewal

  • Archived User
  • Sr. Member
  • *
  • Posts: 448
New Xdsl 0.7
« Reply #23 on: May 15, 2008, 05:32:00 AM »

Hi,
I've been doing some research on the mixer problem. I can see what you are trying to do willows02.
So it seems that the xbox audio chip has no hardware sound mixer. So basically the master volume cannot be set. Please tell me if I am wrong about this. Getting any volume controlls to work envolves having a software sound mixer. The mplayer version that is now packaged with xdsl has one, so sound can be adjusted with the keyboard shortcuts. But most apps such as xmms and xine don't. So  alsa and softvol or aoss would need to be used.  I'm not sure if this can be achieved whilst keeping the xdsl cd down to around 50mb. The alsa packages would certainly need to be severely stripped down. Any help here?
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
New Xdsl 0.7
« Reply #24 on: May 15, 2008, 09:33:00 AM »

QUOTE(stevewal @ May 15 2008, 08:08 PM) View Post

So it seems that the xbox audio chip has no hardware sound mixer. So basically the master volume cannot be set.

I can try to verify this in Xebian. But I feel that the nForce chip AC97 should have hardware mixer support otherwise apps like XBMC or even the ms dash will all have to do software audio mixing.
Logged

stevewal

  • Archived User
  • Sr. Member
  • *
  • Posts: 448
New Xdsl 0.7
« Reply #25 on: May 15, 2008, 12:13:00 PM »

yea ldotsfan your right, it makes no sense. why would the ms dash have a built in audio player with no hardware sound controll. I've been looking at xbmc and can't find anything about the audio mixer yet, but I'll keep searching.
Logged

stevewal

  • Archived User
  • Sr. Member
  • *
  • Posts: 448
New Xdsl 0.7
« Reply #26 on: May 15, 2008, 12:51:00 PM »

Oh, looks like there is no sound controll on the ms dash, which would seem to suggest no need for a sound mixer, so I'm guessing xbmc etc must use a software mixer.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
New Xdsl 0.7
« Reply #27 on: May 16, 2008, 09:50:00 PM »

QUOTE(stevewal @ May 16 2008, 03:27 AM) View Post

Oh, looks like there is no sound controll on the ms dash, which would seem to suggest no need for a sound mixer, so I'm guessing xbmc etc must use a software mixer.

I don't know if this confirms your suspicions but the volume settings in xmms in Xebian have no effects!

Here's the lsmod output for Xebian for snd modules:
CODE

snd-intel8x0           19232   1
snd-ac97-codec         64168   0  [snd-intel8x0]
snd-pcm-oss            38272   1
snd-mixer-oss          13688   0  [snd-pcm-oss]
snd-pcm                57736   0  [snd-intel8x0 snd-ac97-codec snd-pcm-oss]
snd-timer              14948   0  [snd-pcm]
snd                    33252   0  [snd-intel8x0 snd-ac97-codec snd-pcm-oss snd-mixer-oss snd-pcm snd-timer]
snd-page-alloc          5000   0  [snd-intel8x0 snd-mixer-oss snd-pcm snd-timer snd]
soundcore               3748   4  [snd]


and I found a sound.sh in /etc/init.d , is there an equivalent in xdsl?

CODE

#!/bin/sh
#
#    Simple hardware detection Script
#    copyright by Edgar Hucek 2002
#    Author Edgar Hucek
#

ALSA_FIRST=""
ALSA_LINE1="alias char-major-116 snd option cards_limit=1"
ALSA_LINE2="alias snd-card-{NUM} {SNDCARD}"

ALSA_LINE4="alias char-major-14 soundcore"
ALSA_LINE5="alias sound-slot-{NUM} snd-card-0"

ALSA_LINE6="alias sound-service-{NUM}-0 snd-mixer-oss"
ALSA_LINE7="alias sound-service-{NUM}-1 snd-seq-oss"
ALSA_LINE8="alias sound-service-{NUM}-3 snd-pcm-oss"
ALSA_LINE9="alias sound-service-{NUM}-12 snd-pcm-oss"
ALSA_NUM=-1
ALSA_MODFILE="/etc/alsa/0.9/alsa"

echo "" > $ALSA_MODFILE

# disable kernelmessages for modules
if [ -f /proc/sys/kernel/printk ]; then
    echo "0" > /proc/sys/kernel/printk
fi

MODUES=`pcimodules`
UNAME=`uname -r`
SOUND=""
XBOX=`grep xbox /proc/cmdline`

for i in $MODUES;
do
    # searching for soundrivers
    HANSI=`echo $i | grep snd`
    if [ "$HANSI" == "snd-intel8x0m" ]; then
        i="snd-intel8x0"
    fi
    if [ "$HANSI" != "" ]; then
        FOUND=`find /lib/modules/$UNAME/* -name $i*`
        if [ "$FOUND" != "" ];
        then
            if [ "$SOUND" == "" ]; then
                SOUND="yes"
                echo "Found Soundcard :    $i"
                if [ "$ALSA_FIRST" == "" ]; then
                    ALSA_FIRST="no"
                    echo "#WWA.OS ALSA Hardwareconfig" > $ALSA_MODFILE
                    chmod 444 $ALSA_MODFILE
                    echo $ALSA_LINE1 >> $ALSA_MODFILE
                    echo $ALSA_LINE4 >> $ALSA_MODFILE
                fi
                ALSA_NUM=`expr $ALSA_NUM + 1`
                echo $ALSA_LINE2 | sed -e "s/{NUM}/$ALSA_NUM/g" -e "s/{SNDCARD}/$i/g">> $ALSA_MODFILE
                echo $ALSA_LINE5 | sed -e "s/{NUM}/$ALSA_NUM/g" >> $ALSA_MODFILE
                echo $ALSA_LINE6 | sed -e "s/{NUM}/$ALSA_NUM/g" >> $ALSA_MODFILE
                echo $ALSA_LINE7 | sed -e "s/{NUM}/$ALSA_NUM/g" >> $ALSA_MODFILE
                echo $ALSA_LINE8 | sed -e "s/{NUM}/$ALSA_NUM/g" >> $ALSA_MODFILE
                echo $ALSA_LINE9 | sed -e "s/{NUM}/$ALSA_NUM/g" >> $ALSA_MODFILE
                echo "options snd cards_limit=1" >> $ALSA_MODFILE
                if [ "$XBOX" != "" ]; then
                    echo "options snd-pcm-oss adsp_map=2" >> $ALSA_MODFILE
                    echo "options snd-intel8x0 xbox=1" >> $ALSA_MODFILE
                fi
                rm -f /etc/modutils/alsa
                ln -s $ALSA_MODFILE /etc/modutils/alsa
            fi
        fi
    fi
done

update-modules
# enable kernel messages

echo "6" > /proc/sys/kernel/printk
Logged

stevewal

  • Archived User
  • Sr. Member
  • *
  • Posts: 448
New Xdsl 0.7
« Reply #28 on: May 17, 2008, 07:09:00 AM »

CODE
snd-intel8x0           16480   1
snd-ac97-codec         48144   0 [snd-intel8x0]
snd-pcm-oss            35840   1 (autoclean)
snd-mixer-oss          11800   0 (autoclean) [snd-pcm-oss]
snd-pcm                51904   0 [snd-pcm-oss snd-intel8x0 snd-ac97-codec]
snd-timer              14084   0 [snd-pcm]
snd                    28356   0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer]
snd-page-alloc          4420   0 [snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd]
soundcore               3236   4 [snd]



This is for xdsl, as u'd expect it's pretty much identicle.

I can't find sound.sh or anything like it.
I've tryed to install a few apps such as alsa player, and end up with no sound in flashplayer 9, which is'nt great. One thing that's bugging me is the alsa setup script seems to be able to set the volume, but whether this can be done on the fly, I'm not sure.

Kick In Da Door,
Can you try to install xdsl 0.5. I'm just trying to check if it's something wrong with the new versions of xdsl, or all versions of xdsl.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
New Xdsl 0.7
« Reply #29 on: May 17, 2008, 08:59:00 AM »

QUOTE(stevewal @ May 17 2008, 09:45 PM) View Post

I've tryed to install a few apps such as alsa player, and end up with no sound in flashplayer 9, which is'nt great. One thing that's bugging me is the alsa setup script seems to be able to set the volume, but whether this can be done on the fly, I'm not sure.

stevewal: you are right about the lack of hardware mixer. This is confirmed here:
http://mythtv.org/wi...d_Controls_Work
and
http://www.mythtv.or....php/Xbox_Sound
The solution to our problem is given in the links and also here:
http://alsa.opensrc....e_master_volume

Can you incorporate this into xdsl for good? Thanks.

Logged
Pages: 1 [2] 3 4