[Bug 208695] New: ACLs missing from /dev/snd/hwC0D0
https://bugzilla.novell.com/show_bug.cgi?id=208695 Summary: ACLs missing from /dev/snd/hwC0D0 Product: openSUSE 10.2 Version: Alpha 4 plus Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: schwab@novell.com QAContact: qa@suse.de # ls -l /dev/snd total 0 crw-rw----+ 1 root audio 116, 7 26. Sep 23:40 controlC0 crw-rw---- 1 root audio 116, 3 26. Sep 23:40 hwC0D0 crw-rw----+ 1 root audio 116, 4 26. Sep 23:40 midiC0D0 crw-rw----+ 1 root audio 116, 6 26. Sep 23:40 pcmC0D0c crw-rw----+ 1 root audio 116, 5 26. Sep 23:40 pcmC0D0p crw-rw----+ 1 root audio 116, 8 26. Sep 23:41 seq crw-rw----+ 1 root audio 116, 2 26. Sep 23:40 timer # hwinfo --sound 11: PCI 30001.0: 0401 Multimedia audio controller [Created at pci.281] UDI: /org/freedesktop/Hal/devices/pci_1319_801 Unique ID: Dscr.GGNWTM9aXXC SysFS ID: /devices/pci0003:00/0003:00:01.0 SysFS BusID: 0003:00:01.0 Hardware Class: sound Model: "Fortemedia FM801 PCI Audio" Vendor: pci 0x1319 "Fortemedia, Inc" Device: pci 0x0801 "Xwave QS3000A [FM801]" SubVendor: pci 0x1319 "Fortemedia, Inc" SubDevice: pci 0x1319 "FM801 PCI Audio" Revision: 0xb2 Driver: "FM801" Driver Modules: "snd_fm801" I/O Ports: 0xc000004000201000-0xc00000400020107f (rw) IRQ: 64 (no events) Module Alias: "pci:v00001319d00000801sv00001319sd00001319bc04sc01i00" Driver Info #0: Driver Status: snd_fm801 is active Driver Activation Cmd: "modprobe snd_fm801" Config Status: cfg=yes, avail=yes, need=no, active=unknown # ls -l /sys/class/sound/hwC0D0/ total 0 -r--r--r-- 1 root root 16384 28. Sep 12:58 dev lrwxrwxrwx 1 root root 0 28. Sep 12:58 device -> ./../../devices/pci0003:00/0003:00:01.0 lrwxrwxrwx 1 root root 0 28. Sep 12:58 subsystem -> ../../../class/sound --w------- 1 root root 16384 28. Sep 12:58 uevent -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208695 lnussel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |schwab@novell.com ------- Comment #1 from lnussel@novell.com 2006-09-28 05:30 MST ------- please attache the output of lshal -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208695 schwab@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED ------- Comment #2 from schwab@novell.com 2006-09-28 05:35 MST ------- Created an attachment (id=99824) --> (https://bugzilla.novell.com/attachment.cgi?id=99824&action=view) lshal -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208695 lnussel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@novell.com AssignedTo|lnussel@novell.com |dkukawka@novell.com Status|ASSIGNED |NEW ------- Comment #3 from lnussel@novell.com 2006-09-28 05:48 MST ------- hal doesn't know about hwC0D0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208695 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |schwab@novell.com ------- Comment #4 from dkukawka@novell.com 2006-09-28 06:06 MST ------- please attach the output of: "l /sys/class/sound/hwC0D0/device/*" "grep . /sys/class/sound/hwC0D0/device/*" @tiwai: could you tell me something about this device? I need some infos like e.g. this: alsa.card = 0 (0x0) (int) alsa.card_id = 'I82801DBICH4' (string) alsa.device = 4 (0x4) (int) alsa.device_file = '/dev/snd/pcmC0D4p' (string) alsa.device_id = 'Intel 82801DB-ICH4 - IEC958' (string) alsa.physical_device = '/org/freedesktop/Hal/devices/pci_8086_24c5' (string) alsa.type = 'playback' (string) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208695 schwab@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|schwab@novell.com | ------- Comment #5 from schwab@novell.com 2006-09-28 06:12 MST ------- # l /sys/class/sound/hwC0D0/device/* 0 /sys/class/sound/hwC0D0/device/bus is a directory 0x040100 "/sys/class/sound/hwC0D0/device/config" may be a binary file. See it anyway? y �� ��@(��!0x0801 /sys/class/sound/hwC0D0/device/driver is a directory 1 64 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003 pci:v00001319d00000801sv00001319sd00001319bc04sc01i00 /sys/class/sound/hwC0D0/device/power is a directory 0xc000004000201000 0xc00000400020107f 0x0000000000000101 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 read error /sys/class/sound/hwC0D0/device/sound:audio is a directory /sys/class/sound/hwC0D0/device/sound:controlC0 is a directory /sys/class/sound/hwC0D0/device/sound:dmfm is a directory /sys/class/sound/hwC0D0/device/sound:dmmidi is a directory /sys/class/sound/hwC0D0/device/sound:dsp is a directory /sys/class/sound/hwC0D0/device/sound:hwC0D0 is a directory /sys/class/sound/hwC0D0/device/sound:midi is a directory /sys/class/sound/hwC0D0/device/sound:midiC0D0 is a directory /sys/class/sound/hwC0D0/device/sound:mixer is a directory /sys/class/sound/hwC0D0/device/sound:pcmC0D0c is a directory /sys/class/sound/hwC0D0/device/sound:pcmC0D0p is a directory /sys/class/sound/hwC0D0/device/subsystem is a directory 0x1319 0x1319 /sys/class/sound/hwC0D0/device/uevent: Permission denied 0x1319 brouwer:~/:[0]# brouwer:~/:[0]# grep . /sys/class/sound/hwC0D0/device/* /sys/class/sound/hwC0D0/device/broken_parity_status:0 /sys/class/sound/hwC0D0/device/class:0x040100 Binary file /sys/class/sound/hwC0D0/device/config matches /sys/class/sound/hwC0D0/device/device:0x0801 /sys/class/sound/hwC0D0/device/enable:1 /sys/class/sound/hwC0D0/device/irq:64 /sys/class/sound/hwC0D0/device/local_cpus:00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003 /sys/class/sound/hwC0D0/device/modalias:pci:v00001319d00000801sv00001319sd00001319bc04sc01i00 /sys/class/sound/hwC0D0/device/resource:0xc000004000201000 0xc00000400020107f 0x0000000000000101 /sys/class/sound/hwC0D0/device/resource:0x0000000000000000 0x0000000000000000 0x0000000000000000 /sys/class/sound/hwC0D0/device/resource:0x0000000000000000 0x0000000000000000 0x0000000000000000 /sys/class/sound/hwC0D0/device/resource:0x0000000000000000 0x0000000000000000 0x0000000000000000 /sys/class/sound/hwC0D0/device/resource:0x0000000000000000 0x0000000000000000 0x0000000000000000 /sys/class/sound/hwC0D0/device/resource:0x0000000000000000 0x0000000000000000 0x0000000000000000 /sys/class/sound/hwC0D0/device/resource:0x0000000000000000 0x0000000000000000 0x0000000000000000 grep: /sys/class/sound/hwC0D0/device/resource0: Input/output error /sys/class/sound/hwC0D0/device/subsystem_device:0x1319 /sys/class/sound/hwC0D0/device/subsystem_vendor:0x1319 grep: /sys/class/sound/hwC0D0/device/uevent: Permission denied /sys/class/sound/hwC0D0/device/vendor:0x1319 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208695 ------- Comment #6 from tiwai@novell.com 2006-09-28 06:41 MST ------- hwdep* is a hardware-specific device. The driver can use it freely for purposes that aren't covered by standard API (PCM, control, etc). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208695 ------- Comment #7 from lnussel@novell.com 2006-09-28 06:45 MST ------- what about adding devices that don't fit the already implemented schemes as "unknown $class device" in general? We may need the fs ACLs although hal doesn't know exactly what the device is about. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208695 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |tiwai@novell.com ------- Comment #8 from dkukawka@novell.com 2006-09-28 08:32 MST ------- (In reply to comment #6)
hwdep* is a hardware-specific device. The driver can use it freely for purposes that aren't covered by standard API (PCM, control, etc).
This mean there is no allocation to one of the alsa cards/devices as e.g. for pcmC0D4p or is there the same scheme (hwC0D0 --> alsa.card = 0 ; alsa.device = 0)? Has the device a special alsa class (as e.g. in pcm_class in sysfs for pcm devices). (In reply to comment #7)
what about adding devices that don't fit the already implemented schemes as "unknown $class device" in general? We may need the fs ACLs although hal doesn't know exactly what the device is about.
IMO this make no sence. If we add information to HAL for each device we get from udev we fill HAL with more useless than useful information. We should only handle devices we know or we need to add them to the related scheme as we do now for hw* -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208695 tiwai@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|tiwai@novell.com | ------- Comment #9 from tiwai@novell.com 2006-09-28 08:43 MST ------- hwC0D0 is bound to the card 0 device 0 as well as pcm and others. Thre is no classification of the hwdep device. The only possible classification is "hardware-dependent device". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208695 schwab@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED ------- Comment #11 from schwab@novell.com 2006-11-07 08:40 MST ------- Created an attachment (id=104159) --> (https://bugzilla.novell.com/attachment.cgi?id=104159&action=view) lshal Looks fine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208695 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Fixed in Milestone|--- |Beta 2 ------- Comment #12 from dkukawka@novell.com 2006-11-07 09:30 MST ------- submitted package to STABLE -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208695 behlert@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com