How to make udev load ALSA driver automaticly?

I have added " modprobe snd-via82xx " (ALSA driver) to /etc/profile.d/mysh.sh, and I could use almost every multimedia software except mp3blaster.
But after I installed udev, the udev load "via82cxxx_audio"  (OSS driver) automaticly instead of snd-via82xxx. mp3blaster can work now, but the esd output plug-in of XMMS could not work, so did stardict (is here anyone have ever used it?).
I modprobe snd-via82xxx manually, but have no use.
How to make OSS and ALSA work parallelly? And, how to make udev load ALSA automacticly instead of OSS?

I have knew this method. What I mean is that the udev load OSS driver at boot. Although I modprobe the ALSA driver,  my software (stardict) can not play a wav sound (Other software can).
I wants udev NOT to load OSS driver at boot. Or, it is the best, make OSS and ALSA work parallelly,

Similar Messages

  • How to make the CD/DVD drive compatible on Satellite 5000-204

    Hi all,
    I see a thread on replacing CD/DVD drive on this notebook, but it was closed, so i write this post.
    The most of recent unit is "cable select" type and will not be recognized from many Toshiba notebook.
    To solve that you must search a drive for which you can found a firmware update that change it to be "reverse cable select" type, as Nec or Optiarc
    If you buy a drive that can't be recognize (like me) read below.
    I succesfully replaced the DVD-ROM/CD-RW unit with a Pioneer DVR-KD08 DVD writer.
    This unit is a "cable select" type (as most other recent unit) so it can't be recognise by this notebook (and many other Toshiba models). The solution is to connect pin 45 and 47 together on the drive or on the connector adapter (this second solution is simpler).
    If you watch the drive from behind these pins are the second and third from the left on the upper row of pin of the connector.
    In the connector adapter it's simpler to connect these pin (with care) with a solder iron directly on the circuit board.
    Obviously on the circuit board the pins are the second and third from the right.
    After this the unit will recognize ok.

    Hi buddy
    First of all thank you for participation in the forum its always nice to have users who shares the own experience and knowledge.
    Thanks you also for this info how to make the CD/DVD drive compatible.
    But to be honest Im a little bit skeptical because there is a chance that the drive could be damage during this procedure.
    So everyone could do this but only at the own risk!!!
    Usually the compatible drives can be found in the user manual and it would be useful taking a look into the user manual before buying an NOT compatible drive ;)
    Cheers mate

  • How  to make the Fix Date & Qty automatic

    Dear Friends,
    In the Sales order schedule line there is an indicator  Fixed Date & Qty.
    How can I make this indicator to be automatic  when I create the Sales Order.
    Please help
    Ravi

    Hi Ravi,
    Goto SHD0 T.Code and create a transaction variant.
    Assign the same to your sales order type.
    When you try to create a sales order then this will be ticked by default.
    The same you can do in OVZJ T.Code also.Here against your sales area,you have to tick it.
    Regards,
    Krishna.

  • HT1338 how to make space on startup drive?

    how to make space on start up drive?

    Use http://monolingual.sourceforge.net/ to remove unwanted languages - DO NOT remove anything else with it.
    Install http://links.zero.eu.org/os-x/period/ to clear out very old log files etc
    Paste the following into open Terminal (in Utilities) window and then hit return - give password when asked and hit return again - takes a while but it will list your 100 largest files:
    cd / ; sudo du -caxk .[!.]* *| sort -rn | head -100  
    Keep backups on an external drive.
    Put photos on DVDs and not your Mac.

  • How to make a bootable hard drive

    I will be purchasing an external hard drive for my G5 for extra storage. Is it possible to make the second hard drive bootable without actually installing OS X on it? Is there a way to just install a system folder? Or can I just copy the OS X installer to that drive?
    I just want to be able to boot so I can run Disk Utility on the main drive when needed without having to use the startup DVD.

    Hello! You can also follow Kappy's suggestion below. Tom
    Kappy's step by step guide to ext cloning.
    This requires two steps and the external drive must be a Firewire drive:
    Prep external FW drive:
    1. Open Disk Utility from your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Set the number of partitions from the dropdown menu (use 1 partition unless you wish to make more.) Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the volume(s) mount on the Desktop.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process will take 30 minutes to an hour or more depending upon the drive size.
    Clone Using Restore Option of Disk Utility
    1. Open Disk Utility from the Utilities folder.
    2. Select the startup or source volume from the left side list.
    3. Click on the Restore tab in the DU main window.
    4. Drag the startup or source volume to the Source entry field.
    5. Select the backup or destination volume from the leftside list and drag it to the Destination entry field.
    6. Check the box to Erase Destination. Skip this step if you've already formatted the drive.
    7. Double-check you got it right, then click on the Restore button.

  • How to make a bootable flash drive Disk Utility's "Owners Enabled" function

    Being as Apple does not have a discussion group for this wonderful little utility and because Apple has neglected to fix the "Post New Topic" link in the "Special Interest Area>User Tips Library", I have no choice but to post here. I think what I found is useful and I have accomplished it in a way that avoids the need of using the disheartening Terminal.
    How to create a bootable flash drive:
    Step 1: Obtain a flash drive (e.g., 8GB USB flash SanDisk), OS cd

    and because Apple has neglected to fix the "Post New Topic" link in the "Special Interest Area>User Tips Library", I have no choice but to post here.
    http://discussions.apple.com/message.jspa?messageID=10672620#10672620

  • How to make Aperture use new drive

    Hi
    I recently bought a new 3TB HDD to replace my 1TB drive which was nearly full. How do I copy my existing files across and make Aperture continue to read them from its database?
    Regards
    Mark

    Thanks, Matthew, but I don't think I gave enough details. I have my aperture library file on the main drive under ~/Pictures. The raw files from my camera are on the external 1TB drive called Elements, as referenced files. On the external drive is a system of folders like this /Volumes/Elements/Photos/Aperture/2012/06, and within that the raw files downloaded from my camera for that day.
    So the issue is how to harmonize the library on the iMac with the referenced files on the external drive.

  • How to make Mac load as default instead of Windows

    When I reboot my computer, if I'm not watching carefully, my Windows partition will attempt to load XP. How can I make it so the Mac loads by default?
    Thanks!

    Use the Startup Disk control panel (Boot Camp control panel in XP).
    You should have inserted and installed the Mac OS X DVD while in Windows and run Apple Setup.exe.

  • How to make build in effects start automatically on slide transitions?

    I believe this should be a simple answer, but it is escaping me, and 30 mins of googling for the answer hasn't led to a solution to this problem: *How do I make the first build in effect start automatically on transition to each new slide?*
    I need this for a very simple presentation I'm putting together: Each slide has two lines of text; one at the top of the slide (like a question), then another on the bottom (the answer).
    As I advance to each new slide, I want the question's build in effect (Scale Big, By Letter, Forward) to happen automatically. On the next click, the answer text will appear (also Scale Big, By Letter, Forward).
    On the next click, it should advance to the next slide and the next question should appear with the build-in effects. And so on...
    Should be simple, but it's alluding me. Thanks in advance for the help!
    Cheers, Patrick

    How do I make the first build in effect start automatically on transition to each new slide?
    You can read about this feature in Keynote in the Keynote help menu: http://docs.info.apple.com/article.html?path=Keynote/5.0/en/kyntc693f26f.html
    Go to the slide in question.
    Go to the Build Inspector.
    Click on Build In.
    Click on "More Options" at the bottom.
    Click on your first build.
    Change "Start Build" to "Automatically after transition".
    Hope that helps.

  • How to make system update with "use automatic configuration script" and an URL

    Hello,
    all our laptop using "use automatic configuration script" with an "accelerated_pac_base.pac" prxy setting.
    How can we make system update work with that ?
    And no way for us to by pass this proxy settings with
    Thanks

    I mean there is no general method which is capable of correcting all possible errors found by schema validation.
    For example if the validation says it expected to find an <organization> element or a <company> element but it found a <banana> element, there is no way to determine what repair is necessary.
    Anyway the requirement is fighting against the way things work in the real world. The purpose of validation is just to find out whether a document matches a schema. If it doesn't, then too bad. Send it back to be fixed or replaced. If you are having a problem because you repeatedly get documents which don't quite match your schema, then you need to train the users to produce valid documents or to give them tools which help them do that.

  • How to make a boot hard drive clone

    I would like to make a clone of my 09 Mac Pro Quad 2.93, Snow Leopard boot hard drive. The idea is to install and boot from the clone in the event of a boot drive failure. Can this be done?

    You can put the clone on any drive that you find suitable. If you use an internal drive it may be convenient to use backup software to update your clone so it remains a duplicate of your startup drive. This has the added benefit of acting as a backup. Suitable backup software might be:
    Backup Software Recommendations
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    SuperDuper!
    Synk Pro
    Tri-Backup
    Others may be found at VersionTracker or MacUpdate.
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files.

  • How to make email client account setup automatically select inbound mail and smtp server.

    I have the mail service successfully running on OS X Server 10.8.2.  I am able to send and receive email as well as setup email accounts on various email clients (iphone, ipad, mac, etc).  I notice that when I set up a new account that I have to specify both the inbound and smtp mail servers as well as specifying the user id for each.  I am using an SSL certificate that appears to be working.  The ports are selected (993/995 and 587) automatically and the default is to use SSL.
    However, when I set up a Comcast account - (configured as "other") - I only have to enter Full name, email address and password - and from this it is able to determine that the incoming mail server is "mail.comcast.net" and outgoing smtp server is "smtp.comcast.net".  It also fills in the userid and password for both inbound and smtp servers - as well as the ports.  I have been trying to get this to work automatically when setting up accounts for my mail server - but have not been able to figure out how to do this - or if it is possible.
    In googling - I have found that I can set up several different SRV records such as (_submission._tcp, _imap._tcp, _imaps._tcp, _pop3._tcp, _pop3s._tcp) and these are supposed to provide this functionality to email clients that are able to use the SRV records.  I have set these up externally at my registered domain provider - and I am able to query them via nslookup, dig and host.
    Is Comcast using some other special method of providing the server names to the mail client setup - or am I doing something wrong - or is this a functionality that needs to be supported on the mail server side as well.  I am relatively new to mail servers and trying to work my way through the learning process.

    Understand the functionality you are wanting, basically one can use Outlook / Exchange mail server as an example. It just happens.
    As I understand in the background the DNS _SRV records point to a machine which serves up an XML file and that is the information which tells the client how to configure itself.
    I did some research before posting my first reply and found that, in the Apple client situation, even when someone setup the the SRV records + the XML it didn't work seamlessly.
    https://discussions.apple.com/message/12949449#12949449
    Here's some other links that give some more background.
    https://groups.google.com/forum/#!msg/macenterprise/qIKUMxMae8o/iLnIkMgeOX0J
    http://www.virtuworks.com/how-to-setup-outlook-autodiscovery-for-your-domain/
    If you were going to persue it you will need to find out the format for the autodiscovery XML file. Also the XML file will have to be hosted on your server, you couldn't likely put it on the public DNS server.

  • How to make a loading circle?

    Hi there.
    I want to do a loading circle in Expression Design (or Blend), but I don't really know how though. So I though I could ask in the expression forum =). What I mean by "loading circle", here's a good code project article showing the different types of loading circle. But I more for the circular gradient (top one) and I think Yahoo Messenger for Vista have that kind of loading circle as well (don't have screenshot of it though).
    Hope you understand.
    Thanks in advance.
    /Joakim.

    class LoadingCircle : Control,IDisposable
            private const double NumberOfDegreesInCircle = 360;
            private const double NumberOfDegreesInHalfCircle = NumberOfDegreesInCircle / 2;
            private const int DefaultInnerCircleRadius = 8;
            private const int DefaultOuterCircleRadius = 10;
            private const int DefaultNumberOfSpoke = 10;
            private const int DefaultSpokeThickness = 4;
            private readonly Color DefaultColor = Color.DarkGray;
            private const int IE7InnerCircleRadius = 8;
            private const int IE7OuterCircleRadius = 9;
            private const int IE7NumberOfSpoke = 24;
            private const int IE7SpokeThickness = 4;
            private Timer m_Timer;
            private bool m_IsTimerActive;
            private int m_NumberOfSpoke;
            private int m_SpokeThickness;
            private int m_ProgressValue;
            private int m_OuterCircleRadius;
            private int m_InnerCircleRadius;
            private PointF m_CenterPoint;
            private Color m_Color;
            private Color[] m_Colors;
            private double[] m_Angles;
            [TypeConverter("System.Drawing.ColorConverter"),
          Category("LoadingCircle"),
          Description("Sets the color of spoke.")]
            public Color Color
                get
                    return m_Color;
                set
                    m_Color = value;
                    GenerateColorsPallet();
                    Invalidate();
            [System.ComponentModel.Description("Gets or sets the radius of outer circle."),
            System.ComponentModel.Category("LoadingCircle")]
            public int OuterCircleRadius
                get
                    if (m_OuterCircleRadius == 0)
                        m_OuterCircleRadius = DefaultOuterCircleRadius;
                    return m_OuterCircleRadius;
                set
                    m_OuterCircleRadius = value;
                    Invalidate();
            [System.ComponentModel.Description("Gets or sets the radius of inner circle."),
            System.ComponentModel.Category("LoadingCircle")]
            public int InnerCircleRadius
                get
                    if (m_InnerCircleRadius == 0)
                        m_InnerCircleRadius = DefaultInnerCircleRadius;
                    return m_InnerCircleRadius;
                set
                    m_InnerCircleRadius = value;
                    Invalidate();
            [System.ComponentModel.Description("Gets or sets the number of spoke."),
            System.ComponentModel.Category("LoadingCircle")]
            public int NumberSpoke
                get
                    if (m_NumberOfSpoke == 0)
                        m_NumberOfSpoke = DefaultNumberOfSpoke;
                    return m_NumberOfSpoke;
                set
                    if (m_NumberOfSpoke != value && m_NumberOfSpoke > 0)
                        m_NumberOfSpoke = value;
                        GenerateColorsPallet();
                        GetSpokesAngles();
                        Invalidate();
            private double[] GetSpokesAngles(int _intNumberSpoke)
                double[] Angles = new double[_intNumberSpoke];
                double dblAngle = (double)NumberOfDegreesInCircle / _intNumberSpoke;
                for (int shtCounter = 0; shtCounter < _intNumberSpoke; shtCounter++)
                    Angles[shtCounter] = (shtCounter == 0 ? dblAngle : Angles[shtCounter - 1] + dblAngle);
                return Angles;
            private void GetSpokesAngles()
                m_Angles = GetSpokesAngles(NumberSpoke);
            [System.ComponentModel.Description("Gets or sets the number of spoke."),
          System.ComponentModel.Category("LoadingCircle")]
            public bool Active
                get
                    return m_IsTimerActive;
                set
                    m_IsTimerActive = value;
                    ActiveTimer();
            [System.ComponentModel.Description("Gets or sets the thickness of a spoke."),
            System.ComponentModel.Category("LoadingCircle")]
            public int SpokeThickness
                get
                    if (m_SpokeThickness <= 0)
                        m_SpokeThickness = DefaultSpokeThickness;
                    return m_SpokeThickness;
                set
                    m_SpokeThickness = value;
                    Invalidate();
            private void ActiveTimer()
                if (m_IsTimerActive)
                    m_Timer.Start();
                else
                    m_Timer.Stop();
                    m_ProgressValue = 0;
                GenerateColorsPallet();
                Invalidate();
            [System.ComponentModel.Description("Gets or sets the rotation speed. Higher the slower."),
            System.ComponentModel.Category("LoadingCircle")]
            public int RotationSpeed
                get
                    return m_Timer.Interval;
                set
                    if (value > 0)
                        m_Timer.Interval = value;
            private PointF GetCoordinate(PointF _objCircleCenter, int _intRadius, double _dblAngle)
                double dblAngle = Math.PI * _dblAngle / NumberOfDegreesInHalfCircle;
                return new PointF(_objCircleCenter.X + _intRadius * (float)Math.Cos(dblAngle),
                                  _objCircleCenter.Y + _intRadius * (float)Math.Sin(dblAngle));
            public LoadingCircle()
                SetCircleAppearance(IE7NumberOfSpoke,
                              IE7SpokeThickness, IE7InnerCircleRadius,
                              IE7OuterCircleRadius);
                SetStyle(ControlStyles.UserPaint, true);
                SetStyle(ControlStyles.AllPaintingInWmPaint, true);
                //ControlStyles.DoubleBuffer, true);
                SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
                //   SetStyle(ControlStyles.ResizeRedraw, true);
                //  SetStyle(ControlStyles.SupportsTransparentBackColor, true);
                m_Color = DefaultColor;
                GenerateColorsPallet();
                GetSpokesAngles();
                GetControlCenterPoint();
                m_Timer = new Timer();
                m_Timer.Tick += new EventHandler(aTimer_Tick);
                ActiveTimer();
                this.Resize += new EventHandler(LoadingCircle_Resize);
            private void GetControlCenterPoint()
                m_CenterPoint = GetControlCenterPoint(this);
            private PointF GetControlCenterPoint(Control _objControl)
                return new PointF(_objControl.Width / 2, _objControl.Height / 2 - 1);
            void LoadingCircle_Resize(object sender, EventArgs e)
                GetControlCenterPoint();
            void aTimer_Tick(object sender, EventArgs e)
                m_ProgressValue = ++m_ProgressValue % m_NumberOfSpoke;
                Invalidate();// GC.Collect();
            protected override void OnPaint(PaintEventArgs e)
            //    this.SetStyle(
            //     ControlStyles.AllPaintingInWmPaint |
            //     ControlStyles.DoubleBuffer, true);
                if (m_NumberOfSpoke > 0)
                    e.Graphics.SmoothingMode = SmoothingMode.HighQuality;
                   e.Graphics.PixelOffsetMode = PixelOffsetMode.HighQuality;
                   e.Graphics.CompositingQuality = CompositingQuality.HighQuality;
                    int intPosition = m_ProgressValue;
                    for (int intCounter = 0; intCounter < m_NumberOfSpoke; intCounter++)
                        intPosition = intPosition % m_NumberOfSpoke;
                        DrawLine(e.Graphics,
                                 GetCoordinate(m_CenterPoint, m_InnerCircleRadius, m_Angles[intPosition]),
                                 GetCoordinate(m_CenterPoint, m_OuterCircleRadius, m_Angles[intPosition]),
                                 m_Colors[intCounter], m_SpokeThickness);
                        e.Graphics.SmoothingMode = SmoothingMode.HighQuality;
                        e.Graphics.PixelOffsetMode = PixelOffsetMode.HighQuality;
                        e.Graphics.CompositingQuality = CompositingQuality.HighQuality;
                        DrawLine(e.Graphics,
                                   GetCoordinate(m_CenterPoint, m_InnerCircleRadius - 4, m_Angles[intPosition]),
                                   GetCoordinate(m_CenterPoint, m_OuterCircleRadius - m_OuterCircleRadius, m_Angles[intPosition]),
                                 ColorTranslator.FromHtml("#2a2a2a"), 2); e.Graphics.SmoothingMode = SmoothingMode.HighQuality;
                        intPosition++;
                base.OnPaint(e);
            private void DrawLine(Graphics _objGraphics, PointF _objPointOne, PointF _objPointTwo,
                                 Color _objColor, int _intLineThickness)
                using (Pen objPen = new Pen(new SolidBrush(_objColor), _intLineThickness))
                    objPen.StartCap = LineCap.Custom;
                    objPen.EndCap = LineCap.NoAnchor;
                    _objGraphics.DrawLine(objPen, _objPointOne, _objPointTwo);
            public override Size GetPreferredSize(Size proposedSize)
                proposedSize.Width =
                    (m_OuterCircleRadius + m_SpokeThickness) * 2;
                return proposedSize;
            private Color Darken(Color _objColor, int _intPercent)
                int intRed = _objColor.R;
                int intGreen = _objColor.G;
                int intBlue = _objColor.B;
                return Color.FromArgb(_intPercent, Math.Min(intRed, byte.MaxValue), Math.Min(intGreen, byte.MaxValue), Math.Min(intBlue, byte.MaxValue));
            private void GenerateColorsPallet()
                m_Colors = GenerateColorsPallet(m_Color, Active, m_NumberOfSpoke);
            private Color[] GenerateColorsPallet(Color _objColor, bool _blnShadeColor, int _intNbSpoke)
                Color[] objColors = new Color[NumberSpoke];
                // Value is used to simulate a gradient feel... For each spoke, the 
                // color will be darken by value in intIncrement.
                byte bytIncrement = (byte)(byte.MaxValue / (NumberSpoke));
                byte PERCENTAGE_OF_DARKEN = 0;
                for (int intCursor = 0; intCursor < NumberSpoke; intCursor++)
                    if (_blnShadeColor)
                        if (intCursor == 0 || intCursor < NumberSpoke - _intNbSpoke)
                            objColors[intCursor] = _objColor;
                        else
                            PERCENTAGE_OF_DARKEN += bytIncrement;
                            // Ensure that we don't exceed the maximum alpha
                            // channel value (255)
                            if (PERCENTAGE_OF_DARKEN > byte.MaxValue)
                                PERCENTAGE_OF_DARKEN = byte.MaxValue;
                            objColors[intCursor] = Darken(_objColor, PERCENTAGE_OF_DARKEN);
                    else
                        objColors[intCursor] = _objColor;
                return objColors;
            public void SetCircleAppearance(int numberSpoke, int spokeThickness,
                       int innerCircleRadius, int outerCircleRadius)
                NumberSpoke = numberSpoke;
                SpokeThickness = spokeThickness;
                InnerCircleRadius = innerCircleRadius;
                OuterCircleRadius = outerCircleRadius;
                Invalidate();
            protected override void Dispose(bool disposing)
                base.Dispose(disposing);

  • How to make this loader? (Saw it from apple shuffle demo)

    Hi, how is this loader done?
    By animation or action scripts?Any tutorials for this?
    i attach an image*
    a direct link to see:
    http://203.211.138.133/siewna/yen/flash_load2.jpg
    Thanks!!!

    Thanks for your reply!
    I had reattached

  • How to make space on Hard Drive for videos?

    I recently tried to download the first season on "Lost" on my 60GB video iPod, but I ran into problems when trying to download these b/c of the space needed on my hard drive. Besides the obvious answer, "erase other files on your computer," is there anything else I can do to fix this?
    Thanks!
    PowerBook G4   Mac OS X (10.4)  

    Well, if you are running out of space on your hard drive, the only thing you can do to free up space is to erase something from your hard drive. So, no, there's nothing else you can do to fix this.
    Find some stuff you don't need anymore, and either delete it for good or burn it to CD first. If you don't want to delete anything, invest in an external firewire hard drive (they're very cheap, and allow you to do a full backup of your system in addition to having extra storage space... You are backing up your computer, aren't you?).

Maybe you are looking for

  • Auth.log - Rejected send message, 2 matched rules; type="method_call"

    Hi, i'm checking the /var/log/auth.log and I found out that there is this error message Jun 9 20:19:56 localhost polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session2 (system bus name :1.23 [/

  • I'm having a problem with constant lockups.

    Alright, I'm basically a novice when it comes to Apple machines so please bear with me. Basically, my iBook keeps locking up and I've got no idea why. I'm talking COMPLETE lockup. I cannot even move the mouse. Now, sometimes I can't even get it to my

  • Batch confirm Faces-- possible?

    I'm finding "Faces" to be potentially very useful, but frustrating to implement because of the apparent necessity to click "Confirm" again and again with all of the instances of "Johnny Jones may also be in the photos below" where, yes, Johnny is the

  • Need to link menu buttons ?

    OK, so as you can see i have home, games, hardware ect, I want to link them to... index.html /games /hardware /accessories /outlet /contact Im new to flash and im really having trouble can you do it for me or explain what i need to do, please view my

  • How can I adjust the file names when using the "export layers to files" Script in photoshop?

    Currently the standard set up adds "_0000s_0001_" in front of the layer names that I need the new files to use. I'm processing hundreds of images so I'd like to avoid selecting and deleting the extra characters one by one. Any way to automate this or