I recently did "apt-get-upgrade" and now most of the rules file are missing.
oot@sdrbox:/etc/udev/rules.d# l
total 20
-rw-r--r-- 1 root root 110 2010-04-30 03:14 40-usrp.rules
-rw-r--r-- 1 root root 1239 2010-05-13 11:15 70-persistent-cd.rules
-rw-r--r-- 1 root root 603 2010-03-10 08:08 70-persistent-net.rules
-rw-r--r-- 1 root root 744 2010-05-14 20:53 88-softrock.rules
-rw-r--r-- 1 root root 1157 2009-10-16 07:01 README
I have an application that uses hw:0 and hw:0 to address sound devices
and that is OK without /dev/dsp* or /dev/mixer, kmix is also displaying
as normal.
# lsmod|grep snd
snd_ens1371 23174 0
gameport 11224 1 snd_ens1371
snd_ac97_codec 125195 1 snd_ens1371
ac97_bus 1474 1 snd_ac97_codec
snd_hda_codec_nvhdmi 14339 1
snd_hda_codec_realtek 298671 1
snd_hda_intel 25987 2
snd_usb_audio 104705 1
snd_hda_codec 100727 3
snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda _intel
snd_hwdep 6660 2 snd_usb_audio,snd_hda_codec
snd_pcm 89040 5
snd_ens1371,snd_ac97_codec,snd_hda_intel,snd_usb_a udio,snd_hda_codec
snd_usbmidi_lib 21313 1 snd_usb_audio
snd_seq_midi 5932 0
snd_rawmidi 22239 3 snd_ens1371,snd_usbmidi_lib,snd_seq_midi
snd_seq_midi_event 7291 1 snd_seq_midi
snd_seq 57512 2 snd_seq_midi,snd_seq_midi_event
snd_timer 23850 2 snd_pcm,snd_seq
snd_seq_device 6912 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 64068 19
snd_ens1371,snd_ac97_codec,snd_hda_codec_realtek,s nd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hwdep ,snd_pcm,snd_usbmidi_lib,snd_rawmidi,snd_seq,snd_t imer,snd_seq_device
soundcore 1240 1 snd
snd_page_alloc 8588 2 snd_hda_intel,snd_pcm
root@sdrbox:/etc/udev/rules.d# cp /lib/udev/rules.d/78-sound-card.rules .
root@sdrbox:/etc/udev/rules.d# l
total 28
-rw-r--r-- 1 root root 110 2010-04-30 03:14 40-usrp.rules
-rw-r--r-- 1 root root 1239 2010-05-13 11:15 70-persistent-cd.rules
-rw-r--r-- 1 root root 603 2010-03-10 08:08 70-persistent-net.rules
-rw-r--r-- 1 root root 4905 2010-06-27 20:30 78-sound-card.rules
-rw-r--r-- 1 root root 744 2010-05-14 20:53 88-softrock.rules
-rw-r--r-- 1 root root 1157 2009-10-16 07:01 README
root@sdrbox:/etc/udev/rules.d# udevadm control --reload-rules
root@sdrbox:/etc/udev/rules.d# l
total 28
-rw-r--r-- 1 root root 110 2010-04-30 03:14 40-usrp.rules
-rw-r--r-- 1 root root 1239 2010-05-13 11:15 70-persistent-cd.rules
-rw-r--r-- 1 root root 603 2010-03-10 08:08 70-persistent-net.rules
-rw-r--r-- 1 root root 4905 2010-06-27 20:30 78-sound-card.rules
-rw-r--r-- 1 root root 744 2010-05-14 20:53 88-softrock.rules
-rw-r--r-- 1 root root 1157 2009-10-16 07:01 README
root@sdrbox:/etc/udev/rules.d# l /dev/dsp*
ls: cannot access /dev/dsp*: No such file or directory
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
07-04-2010, 11:35 PM
Sid Boyce
Rules files missing after upgrade
I reinstalled udev and it showed /dev/dsp, /dev/dsp1, /dev/dsp2 and
/dev/dsp3. After a reboot
# l /dev/dsp*
ls: cannot access /dev/dsp*: No such file or directory
I copied /lib/udev/rules.d/78-sound-card.rules to /etc/udev/rules.d/
when it first happened, but that doesn't fix it, neither does playing
with udevadm.
I have 2 sound cards, one onboard, one USB and applications that need
access to /dev/dsp and /dev/dsp1.
# l /etc/udev/rules.d/
total 28
-rw-r--r-- 1 root root 110 2010-04-30 03:14 40-usrp.rules
-rw-r--r-- 1 root root 1239 2010-05-13 11:15 70-persistent-cd.rules
-rw-r--r-- 1 root root 603 2010-03-10 08:08 70-persistent-net.rules
-rw-r--r-- 1 root root 4905 2010-06-27 20:30 78-sound-card.rules
-rw-r--r-- 1 root root 744 2010-05-14 20:53 88-softrock.rules
-rw-r--r-- 1 root root 1157 2009-10-16 07:01 README
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
07-06-2010, 07:12 PM
Jonas Norlander
Rules files missing after upgrade
2010/7/5 Sid Boyce <sboyce@blueyonder.co.uk>:
> I reinstalled udev and it showed /dev/dsp, /dev/dsp1, /dev/dsp2 and
> /dev/dsp3. After a reboot
> # l /dev/dsp*
> ls: cannot access /dev/dsp*: No such file or directory
> I copied /lib/udev/rules.d/78-sound-card.rules to /etc/udev/rules.d/
> when it first happened, but that doesn't fix it, neither does playing
> with udevadm.
> I have 2 sound cards, one onboard, one USB and applications that need
> access to /dev/dsp and /dev/dsp1.
> # l /etc/udev/rules.d/
> total 28
> -rw-r--r-- 1 root root *110 2010-04-30 03:14 40-usrp.rules
> -rw-r--r-- 1 root root 1239 2010-05-13 11:15 70-persistent-cd.rules
> -rw-r--r-- 1 root root *603 2010-03-10 08:08 70-persistent-net.rules
> -rw-r--r-- 1 root root 4905 2010-06-27 20:30 78-sound-card.rules
> -rw-r--r-- 1 root root *744 2010-05-14 20:53 88-softrock.rules
> -rw-r--r-- 1 root root 1157 2009-10-16 07:01 README
>
> Regards
> Sid.
I don't think it has anything with your UDEV rules. If i remember
right the /dev/dsp /dev/sequenser and /dev/mixer is devices used with
OSS and I don't think OSS has been used in a default settings with
Kubuntu for several versions. If you still want to use OSS you can
load the drivers:
snd_seq_oss
snd_pcm_oss
snd_mixer_oss
or run the program with the alsa "aoss" tool.
Good luck!
/ Jonas
--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
07-07-2010, 12:43 AM
Sid Boyce
Rules files missing after upgrade
On 06/07/10 20:12, Jonas Norlander wrote:
> 2010/7/5 Sid Boyce<sboyce@blueyonder.co.uk>:
>> I reinstalled udev and it showed /dev/dsp, /dev/dsp1, /dev/dsp2 and
>> /dev/dsp3. After a reboot
>> # l /dev/dsp*
>> ls: cannot access /dev/dsp*: No such file or directory
>> I copied /lib/udev/rules.d/78-sound-card.rules to /etc/udev/rules.d/
>> when it first happened, but that doesn't fix it, neither does playing
>> with udevadm.
>> I have 2 sound cards, one onboard, one USB and applications that need
>> access to /dev/dsp and /dev/dsp1.
>> # l /etc/udev/rules.d/
>> total 28
>> -rw-r--r-- 1 root root  110 2010-04-30 03:14 40-usrp.rules
>> -rw-r--r-- 1 root root 1239 2010-05-13 11:15 70-persistent-cd.rules
>> -rw-r--r-- 1 root root  603 2010-03-10 08:08 70-persistent-net.rules
>> -rw-r--r-- 1 root root 4905 2010-06-27 20:30 78-sound-card.rules
>> -rw-r--r-- 1 root root  744 2010-05-14 20:53 88-softrock.rules
>> -rw-r--r-- 1 root root 1157 2009-10-16 07:01 README
>>
>> Regards
>> Sid.
>
> I don't think it has anything with your UDEV rules. If i remember
> right the /dev/dsp /dev/sequenser and /dev/mixer is devices used with
> OSS and I don't think OSS has been used in a default settings with
> Kubuntu for several versions. If you still want to use OSS you can
> load the drivers:
> snd_seq_oss
> snd_pcm_oss
> snd_mixer_oss
>
> or run the program with the alsa "aoss" tool.
>
> Good luck!
>
> / Jonas
>
Thanks, that explains it. I've now got it working with aoss.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users