|
Bugzilla – Full Text Bug Listing |
| Summary: | some sound devices inaccessible | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Stefan Assmann <sassmann> |
| Component: | YaST2 | Assignee: | Takashi Iwai <tiwai> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | jsuchome, tiwai |
| Version: | Alpha 2 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
Add missing sound device links
lshal.txt |
||
|
Description
Stefan Assmann
2008-02-11 14:54:09 UTC
*** This bug has been marked as a duplicate of bug 173793 *** User created during installation does not have the priviliges to access the sound device. Jiri says this is not a yast2 matter, probably a bug in resmgr. /sbin/resmgr list status code 200 server message follows: no devices available ls -la /dev/snd/ total 0 drwxr-xr-x 2 root root 120 2008-02-12 08:27 . drwxr-xr-x 12 root root 4360 2008-02-12 08:28 .. crw-rw---- 1 root audio 116, 4 2008-02-12 08:26 controlC0 crw-rw---- 1 root audio 116, 3 2008-02-12 08:26 pcmC0D0p crw-rw----+ 1 root audio 116, 5 2008-02-12 08:27 seq crw-rw----+ 1 root audio 116, 2 2008-02-12 08:26 timer cat /etc/pam.d/xdm #%PAM-1.0 auth include common-auth account include common-account password include common-password session required pam_loginuid.so session include common-session session required pam_resmgr.so as root: resmgr sessions :0 stefan Sound works fine with user stefan in group audio please remove yourself from that group in order to debug this problem. please provide the output of /usr/sbin/hal-resmgr --list - removed user from group audio /usr/sbin/hal-resmgr --list UDI /org/freedesktop/Hal/devices/computer_alsa_sequencer Device /dev/snd/seq Class sound UDI /org/freedesktop/Hal/devices/computer_alsa_timer Device /dev/snd/timer Class sound UDI /org/freedesktop/Hal/devices/computer_logicaldev_input Device /dev/input/event0 Class input UDI /org/freedesktop/Hal/devices/usb_device_1241_1111_noserial_if0_logicaldev_input Device /dev/input/event1 Class input Does lshal|grep pcmC0D0p show anything? no output -> alsa problem What is the sound card? Show /proc/asound/cards. cat /proc/asound/cards
0 [PS3 ]: PS3 - PS3
PS3 sound
OK, it got fixed on 2.6.25-rc1. Try the patch below. Created attachment 194648 [details]
Add missing sound device links
I've applied the patch but the result is the same lshal|grep pcmC0D0p still doesn't show anything Check whether /sys/class/sound/pcmC0D0p/device exists and points a certain directory. l /sys/class/sound/pcmC0D0p/device lrwxrwxrwx 1 root root 0 13. Feb 15:28 /sys/class/sound/pcmC0D0p/device -> ../../../../../../devices/ps3_system/ioc0_02/sound/card0/ Then it looks OK from the driver POV... Danny, any clue? 1.) is this a playstation 3? --> there is currently no HAL support for these machines 2.) please attach output of lshal Created attachment 196174 [details]
lshal.txt
I guess hal does not know about ps3_system_bus goumi:~ # l /sys/bus/ps3_system_bus/devices/*/driver | cut -b 40- /sys/bus/ps3_system_bus/devices/ioc0_01/driver -> ../../../bus/ps3_system_bus/drivers/ps3fb/ /sys/bus/ps3_system_bus/devices/ioc0_02/driver -> ../../../bus/ps3_system_bus/drivers/snd_ps3/ /sys/bus/ps3_system_bus/devices/sb_01/driver -> ../../../bus/ps3_system_bus/drivers/ps3flash/ /sys/bus/ps3_system_bus/devices/sb_02/driver -> ../../../bus/ps3_system_bus/drivers/ps3rom/ /sys/bus/ps3_system_bus/devices/sb_03/driver -> ../../../bus/ps3_system_bus/drivers/ps3disk/ /sys/bus/ps3_system_bus/devices/sb_04/driver -> ../../../bus/ps3_system_bus/drivers/ps3_gelic_driver/ /sys/bus/ps3_system_bus/devices/sb_05/driver -> ../../../bus/ps3_system_bus/drivers/ps3-ehci-driver/ /sys/bus/ps3_system_bus/devices/sb_06/driver -> ../../../bus/ps3_system_bus/drivers/ps3-ohci-driver/ /sys/bus/ps3_system_bus/devices/sb_07/driver -> ../../../bus/ps3_system_bus/drivers/ps3-ehci-driver/ /sys/bus/ps3_system_bus/devices/sb_08/driver -> ../../../bus/ps3_system_bus/drivers/ps3-ohci-driver/ /sys/bus/ps3_system_bus/devices/vuart_01/driver -> ../../../bus/ps3_system_bus/drivers/ps3_av/ /sys/bus/ps3_system_bus/devices/vuart_02/driver -> ../../../bus/ps3_system_bus/drivers/ps3_sys_manager/ That is what I already said. HAL don't support atm ps3 submitted a new HAL version with a patch from the HAL ML to support ps3 bus. @Tiwai/Stefan: there is a mbuild available g15-dkukawka-1, or via OSBS (as soon as it get build there): http://download.opensuse.org/repositories/home:/dkukawka:/hal-beta/openSUSE_Factory/ I reassign back, note me if it does not work. lshal |grep pcm udi = '/org/freedesktop/Hal/devices/ps3_system_bus_ioc0_02_sound_card_0_oss_pcm_0_0' info.udi = '/org/freedesktop/Hal/devices/ps3_system_bus_ioc0_02_sound_card_0_oss_pcm_0_0' (string) oss.type = 'pcm' (string) udi = '/org/freedesktop/Hal/devices/ps3_system_bus_ioc0_02_sound_card_0_oss_pcm_0' info.udi = '/org/freedesktop/Hal/devices/ps3_system_bus_ioc0_02_sound_card_0_oss_pcm_0' (string) oss.type = 'pcm' (string) alsa.device_file = '/dev/snd/pcmC0D0p' (string) alsa.pcm_class = 'generic' (string) linux.device_file = '/dev/snd/pcmC0D0p' (string) linux.sysfs_path = '/sys/devices/ps3_system/ioc0_02/sound/card0/pcmC0D0p' (string) resmgr.device = '/dev/snd/pcmC0D0p' (string) together with the kernel patch from tiwai I managed to get sound output. Thanks to all! Closing |