Comments (4)
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.
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.
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.
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/pcmC0D0cDoes 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)
- Set default format S16_LE asound.conf
- no sound device detected on MEDION laptop full of intel devices
- Slow/piecewise send of sysex? HOT 3
- Adobe flash firefox audio issue. HOT 5
- "state" param in status file constantly set to RUNNING HOT 1
- Website presents incorrect TLS cert HOT 2
- http://alsa.opensrc.org redirects to https://alsa./ HOT 1
- segfault trying to use alsa-oss on rpi
- User Configuration Dunno - Capture from 3 sources?
- Where does the "alsa" command come from? HOT 3
- 403 at https://alsa.opensrc.org/.asoundrc HOT 2
- Default Configuration For Outputting to Both or ALL sound cards
- Linux system freeze HOT 6
- what is the config file to set 6 channels
- ΒΏisn't better to create a kernel module instead of a complete kernel?
- scarlett.conf does Not allow multiple...
- Focusrite Clarett 8pre USB vs. Scarlett 18i20mk3 HOT 1
- xone23c mixer HOT 2
- device list classification misc?
- Focusrite usb 2 hour limit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alsa.