Coder Social home page Coder Social logo

Comments (4)

markc avatar markc commented on August 15, 2024

I don't have a USB soundcard to test so can you try changing PHYSDEVPATH to just DEVPATH?

my $physdevpath = $ENV{DEVPATH}; #udev put this in our environment

from alsa.

XavierP56 avatar XavierP56 commented on August 15, 2024

Hi Mark,

I'll try the DEVPATH but I don't think it's the problem.
The script receives %k and %b so I can determine the USB port number.

This issue lies more in NAME not doing anything with recents kernels (Ubuntu 14.04).
If I change NAME to SYMLINK+="%c{1}", I see a new device in /dev/snd/...
However, a cat /proc/asound/cards does NOT show me at the new location.

It seems that NAME only works now for ethernet card ! That's a real annoyance for me.
Any ideas ?

Thanks.

from alsa.

markc avatar markc commented on August 15, 2024

Like I say, I don't have a USB soundcard to test with but I suspect it's now a lot easier to set this up and a simple shell script, or none at all, may be better than a perl script. All I have is one internal soundcard...

~ udevadm info -q path -n /dev/snd/pcmC0D0c
/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0c

Does this happen to work for you?

https://github.com/intgr/systemd/blob/master/rules/60-persistent-alsa.rules

from alsa.

XavierP56 avatar XavierP56 commented on August 15, 2024

Hi Mark,

Excellent !
https://github.com/intgr/systemd/blob/master/rules/60-persistent-alsa.rules

seems to do the trick. So far, same order !

Thanks a lot !

2014-06-09 9:28 GMT+02:00 Mark Constable [email protected]:

Like I say, I don't have a USB soundcard to test with but I suspect it's
now a lot easier to set this up and a simple shell script, or none at all,
may be better than a perl script. All I have is one internal soundcard...

~ udevadm info -q path -n /dev/snd/pcmC0D0c
/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0c

Does this happen to work for you?

https://github.com/intgr/systemd/blob/master/rules/60-persistent-alsa.rules

β€”
Reply to this email directly or view it on GitHub
#2 (comment).

from alsa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.