On Wed, 14 Apr 2004, Clemens Ladisch wrote: > Jeremy C. Reed wrote: > > I was able to run the mixers, but any changes were not > > really done (and no error messages). > > Do the changes show up in /etc/asound.conf after running "alsactl > store"?
-sh-2.05b# ls -l /etc/asound.conf ls: /etc/asound.conf: No such file or directory -sh-2.05b# alsactl store -sh-2.05b# ls -l /etc/asound.conf ls: /etc/asound.conf: No such file or directory -sh-2.05b# strace tells me: access("/etc/asound.conf", R_OK) = -1 ENOENT (No such file or directory) access("/root/.asoundrc", R_OK) = -1 ENOENT (No such file or directory) open("/dev/snd/controlC0", O_RDONLY) = 3 close(3) = 0 open("/dev/snd/controlC0", O_RDWR) = 3 ioctl(3, USBDEVFS_CONTROL, 0xbffff808) = 0 ioctl(3, 0x81785501, 0xbffffab0) = 0 ioctl(3, USBDEVFS_RELEASEINTERFACE, 0xbffffa60) = 0 ioctl(3, USBDEVFS_RELEASEINTERFACE, 0xbffffa60) = 0 ioctl(3, USBDEVFS_CONNECTINFO, 0xbffff480) = 0 ioctl(3, USBDEVFS_IOCTL, 0xbffff590) = 0 ioctl(3, USBDEVFS_CONNECTINFO, 0xbffff440) = 0 ioctl(3, USBDEVFS_IOCTL, 0xbffff550) = 0 ... ioctl(3, USBDEVFS_CONNECTINFO, 0xbfffecc0) = 0 ioctl(3, USBDEVFS_IOCTL, 0xbfffedd0) = 0 ioctl(3, USBDEVFS_CONNECTINFO, 0xbfffec80) = 0 ioctl(3, USBDEVFS_IOCTL, 0xbfffed90) = 0 close(3) = 0 open("/dev/snd/controlC1", O_RDONLY) = -1 ENODEV (No such device) open("/dev/aloadC1", O_RDONLY) = -1 ENODEV (No such device) open("/dev/snd/controlC2", O_RDONLY) = -1 ENODEV (No such device) open("/dev/aloadC2", O_RDONLY) = -1 ENODEV (No such device) open("/dev/snd/controlC3", O_RDONLY) = -1 ENODEV (No such device) open("/dev/aloadC3", O_RDONLY) = -1 ENODEV (No such device) open("/dev/snd/controlC4", O_RDONLY) = -1 ENOENT (No such file or directory) open("/dev/aloadC4", O_RDONLY) = -1 ENOENT (No such file or directory) open("/dev/snd/controlC5", O_RDONLY) = -1 ENOENT (No such file or directory) open("/dev/aloadC5", O_RDONLY) = -1 ENOENT (No such file or directory) ... open("/dev/snd/controlC29", O_RDONLY) = -1 ENOENT (No such file or directory) open("/dev/aloadC29", O_RDONLY) = -1 ENOENT (No such file or directory) open("/dev/snd/controlC30", O_RDONLY) = -1 ENOENT (No such file or directory) open("/dev/aloadC30", O_RDONLY) = -1 ENOENT (No such file or directory) open("/dev/snd/controlC31", O_RDONLY) = -1 ENOENT (No such file or directory) open("/dev/aloadC31", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/asound.state", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0 x400c8000 write(3, "state.I82801BAICH2 {\n\tcontrol.1 "..., 4096) = 4096 write(3, "D\'\n\t}\n\tcontrol.28 {\n\t\tcomment.ac"..., 900) = 900 close(3) = 0 munmap(0x400c8000, 4096) = 0 exit_group(0) I don't know why I get those "No such device" lines: -sh-2.05b# ls -l /dev/snd/controlC1 /dev/aloadC1 crw-rw---- 1 root audio 116, 32 Apr 10 21:37 /dev/aloadC1 crw-rw---- 1 root audio 116, 32 Apr 10 21:37 /dev/snd/controlC1 -sh-2.05b# And then: -sh-2.05b# tail /etc/asound.state value 0 } control.33 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'External Amplifier Power Down' value false } } > > > > aplay: main:507: audio open error: No such file or directory > > > > My problems are: only sound through headphones port. > > So now aplay works? It doesn't have the errors once I manually created the devices. It works through the headphones port only. > What codec do you have? (second line at top of alsamixer screen) Alsamixer v.1.0.4 shows: Card: Intel 82801BA-ICH2 Chip: Analog Devices AD1881A Item: Master (By the way, alsamixer looks nice when displayed remotely via rxvt and looks strange on the local system with xterm.) Now I see I can change the Playback on and off for External Amplifier Power Down, but it doesn't ever change the 0 to 1. amixer shows: Simple mixer control 'Master',0 Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right Limits: Playback 0 - 63 Front Left: Playback 63 [100%] [on] Front Right: Playback 63 [100%] [on] Simple mixer control 'Master Mono',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 31 Mono: Playback 31 [100%] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 31 [100%] [on] Front Right: Playback 31 [100%] [on] Simple mixer control '3D Control - Center',0 Capabilities: volume volume-joined Playback channels: Mono Limits: 0 - 15 Mono: 15 [100%] Simple mixer control '3D Control - Depth',0 Capabilities: volume volume-joined Playback channels: Mono Limits: 0 - 15 Mono: 15 [100%] Simple mixer control '3D Control - Switch',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'PCM',0 Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 31 [100%] [on] Front Right: Playback 31 [100%] [on] Simple mixer control 'PCM Out Path & Mute',0 Capabilities: Mono: Simple mixer control 'Line',0 Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-ex clusive Capture exclusive group: 0 Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 31 [100%] [on] Capture [off] Front Right: Playback 31 [100%] [on] Capture [off] Simple mixer control 'CD',0 Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-ex clusive Capture exclusive group: 0 Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 31 [100%] [on] Capture [off] Front Right: Playback 31 [100%] [on] Capture [off] Simple mixer control 'Mic',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-jo ined cswitch-exclusive Capture exclusive group: 0 Playback channels: Mono Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Playback 31 [100%] [on] Front Left: Capture [on] Front Right: Capture [on] Simple mixer control 'Mic Boost (+20dB)',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'Mic Select',0 Capabilities: Mono: Simple mixer control 'Video',0 Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-ex clusive Capture exclusive group: 0 Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 31 [100%] [on] Capture [off] Front Right: Playback 31 [100%] [on] Capture [off] Simple mixer control 'Phone',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-jo ined cswitch-exclusive Capture exclusive group: 0 Playback channels: Mono Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Playback 31 [100%] [on] Front Left: Capture [off] Front Right: Capture [off] Simple mixer control 'PC Speaker',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 15 Mono: Playback 15 [100%] [on] Simple mixer control 'Aux',0 Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-ex clusive Capture exclusive group: 0 Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 31 [100%] [on] Capture [off] Front Right: Playback 31 [100%] [on] Capture [off] Simple mixer control 'Mono Output Select',0 Capabilities: Mono: Simple mixer control 'Capture',0 Capabilities: cvolume cswitch cswitch-joined Capture channels: Front Left - Front Right Limits: Capture 0 - 15 Front Left: Capture 15 [100%] [on] Front Right: Capture 15 [100%] [on] Simple mixer control 'Mix',0 Capabilities: cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0 Capture channels: Front Left - Front Right Front Left: Capture [off] Front Right: Capture [off] Simple mixer control 'Mix Mono',0 Capabilities: cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0 Capture channels: Front Left - Front Right Front Left: Capture [off] Front Right: Capture [off] Simple mixer control 'External Amplifier Power Down',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] And lspci -vvv provides: 00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 05 ) Subsystem: Micro-star International Co Ltd: Unknown device 3510 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort - <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin B routed to IRQ 11 Region 0: I/O ports at dc00 [size=256] Region 1: I/O ports at d800 [size=64] Maybe my speakers outputs are broken. I may take this system a part. I have two identical systems to test too. At least the headphones output works, but is too quiet. Thank you, Clemens, for helping. If you need more information, please let me know. Jeremy C. Reed http://www.isp-faq.com/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user