Le jeu 04/11/2004 à 15:59, Martin Habets a écrit : > > Hello ! > > I try to use ALSA on my G3-266. > > > > After recompilation of my kernel (2.6.8),with ALSA drivers as modules, > > i did apt-get install alsa. > > > > Then alsaconf - finds powermac - PowerMac sound card. It seems that > > alsaconf did'nt put snd and snd-powermac in my /etc/modules, so I did it > > myself. > > I think you'll find it has updated /etc/modules.d for you. > > > After alsaconf, it tells me : > > _____ > > Running update-modules... > > Loading driver... > > Starting ALSA.../etc/init.d/alsa: Error: alsactl restore failed with > > message 'ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL hw:0 > > alsactl: set_controls:986: snd_ctl_open error: No such file or > > directory'. > > done. > > Setting default volumes... > > > > =============================================================================== > ... > > Any idea of something missing ? > > I think you are missing the device files in /dev/snd/. If so, you need > to run the snddevices script found in the alsa-driver sources.
Thank you, I found it, and ran it. Then /etc/init.d/alsa restart. Same happens. > If that does not help, send the output of lsmod and relevant dmesg > output. Here they are, hoping it can help you to help me...thank you for your help ! # lsmod Module Size Used by snd_pcm_oss 78400 - snd_mixer_oss 24848 - snd_powermac 44560 - snd_pcm 133820 - snd_page_alloc 14144 - snd_timer 32292 - snd 72004 - soundcore 11640 - # dmesg Total memory = 288MB; using 1024kB for hash table (at c0400000) Linux version 2.6.8-20041103 ([EMAIL PROTECTED]) (version gcc 3.3.4 (Debian 1:3.3.4-13)) #1 Wed Nov 3 16:31:42 CET 2004 Found a Heathrow mac-io controller, rev: 1, mapped at 0xfde00000 PowerMac motherboard: PowerMac G3 (Gossamer) Found Grackle (MPC106) PCI host bridge at 0x80000000. Firmware bus number: 0->0 nvram: OF partition at 0x1800 nvram: XP partition at 0x1300 nvram: NR partition at 0x1400 On node 0 totalpages: 73728 DMA zone: 73728 pages, LIFO batch:16 Normal zone: 0 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:1 Built 1 zonelists Kernel command line: root=/dev/hda2 video=radeonfb:[EMAIL PROTECTED] System has 64 possible interrupts PID hash table entries: 2048 (order 11: 16384 bytes) GMT Delta read from XPRAM: 60 minutes, DST: off via_calibrate_decr: ticks per jiffy = 16707 (1002461 ticks) Console: colour dummy device 80x25 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 286784k available (2492k kernel code, 1116k data, 356k init, 0k highmem)Calibrating delay loop... 532.48 BogoMIPS Mount-cache hash table entries: 512 (order: 0, 4096 bytes) NET: Registered protocol family 16 PCI: Probing PCI hardware PCI: Cannot allocate resource region 2 of device 0000:00:12.0 PCI: Cannot allocate resource region 1 of device 0000:00:0d.0 PCI: Cannot allocate resource region 1 of device 0000:00:12.0 Registering pmac pic with sysfs... SCSI subsystem initialized PCI: Enabling device 0000:00:0d.0 (0086 -> 0087) radeonfb: Found Open Firmware ROM Image radeonfb: Retreived PLL infos from Open Firmware radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=183.00 Mhz, System=183.00 MHz radeonfb: Monitor 1 type CRT found radeonfb: EDID probed radeonfb: Monitor 2 type CRT found radeonfb: EDID probed radeonfb: ATI Radeon QY DDR SGRAM 32 MB Thermal assist unit using timers, shrink_timer: 2000 jiffies devfs: 2004-01-31 Richard Gooch ([EMAIL PROTECTED]) devfs: boot_options: 0x0 Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]). udf: registering filesystem Console: switching to colour frame buffer device 100x37 Generic RTC Driver v1.07 Macintosh non-volatile memory driver v1.1 pmac_zilog: 0.6 (Benjamin Herrenschmidt <[EMAIL PROTECTED]>) ttyS0 at MMIO 0xf3013020 (irq = 15) is a Z85c30 ESCC - Serial port ttyS1 at MMIO 0xf3013000 (irq = 16) is a Z85c30 ESCC - Serial port fd0: SWIM3 floppy controller Using anticipatory io scheduler register_blkdev: cannot get major 2 for fd RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) MacIO PCI driver attached to Heathrow chipset eth0: BMAC at 00:05:02:de:05:16 Macintosh CUDA driver v0.5 for Unified ADB. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx AEC6260R: IDE controller at PCI slot 0000:00:0e.0 AEC6260R: chipset revision 1 AEC6260R: ROM enabled at 0x81820000 AEC6260R: 100% native mode on irq 24 ide2: BM-DMA at 0x0800-0x0807, BIOS settings: hde:pio, hdf:pio ide3: BM-DMA at 0x0808-0x080f, BIOS settings: hdg:pio, hdh:pio Probing IDE interface ide2... adb: starting probe task... adb devices: [2]: 2 5 [3]: 3 1 ADB keyboard at 2, handler set to 3 Detected ADB keyboard, type ISO, swapping keys. input: ADB keyboard on adb2:2.05/input ADB mouse at 3, handler set to 4 input: ADB mouse on adb3:3.01/input adb: finished probe task... Probing IDE interface ide3... hdg: QUANTUM FIREBALLP AS40.0, ATA DISK drive ide3 at 0x820-0x827,0x812 on irq 24 ide0: Found Apple Heathrow ATA controller, bus ID 0, irq 13 Probing IDE interface ide0... hda: IC35L040AVVN07-0, ATA DISK drive hda: MDMA, cycleTime: 120, accessTime: 75, recTime: 45 hda: Set MDMA timing for mode 2, reg: 0x00211526 hda: Enabling MultiWord DMA 2 ide0 at 0xd40b1000-0xd40b1007,0xd40b1160 on irq 13 ide1: Found Apple Heathrow ATA controller, bus ID 1, irq 14 Probing IDE interface ide1... hdc: MATSHITA CR-585, ATAPI CD/DVD-ROM drive Unhandled interrupt e, disabled hdc: MDMA, cycleTime: 150, accessTime: 75, recTime: 75 hdc: Set MDMA timing for mode 1, reg: 0x00221526 hdc: Enabling MultiWord DMA 1 ide1 at 0xd40b6000-0xd40b6007,0xd40b6160 on irq 14 Probing IDE interface ide2... hdg: max request size: 128KiB hdg: 80315072 sectors (41121 MB) w/1902KiB Cache, CHS=65535/16/63, UDMA(66) /dev/ide/host2/bus1/target0/lun0: [mac] p1 p2 p3 p4 p5 p6 p7 p8 hda: max request size: 128KiB hda: 80418240 sectors (41174 MB) w/1863KiB Cache, CHS=65535/16/63, (U)DMA /dev/ide/host0/bus0/target0/lun0: [mac] p1 p2 p3 p4 hdc: ATAPI 24X CD-ROM drive, 128kB Cache, DMA Uniform CD-ROM driver Revision: 3.20 ide-floppy driver 0.99.newide mesh: configured for synchronous 5 MB/s mesh: performing initial bus reset... scsi0 : MESH Vendor: AGFA Model: ARCUS II Rev: 1.70 Type: Scanner ANSI SCSI revision: 07 mesh_host_reset mesh_host_reset mesh_host_reset Vendor: IOMEGA Model: ZIP 100 Rev: J.03 Type: Direct-Access ANSI SCSI revision: 02 st: Version 20040403, fixed bufsize 32768, s/g segs 256 Attached scsi removable disk sda at scsi0, channel 0, id 5, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 2, lun 0, type 6 Attached scsi generic sg1 at scsi0, channel 0, id 5, lun 0, type 0 mice: PS/2 mouse device common for all mice NET: Registered protocol family 2 IP: routing cache hash table of 2048 buckets, 16Kbytes TCP: Hash tables configured (established 32768 bind 65536) NET: Registered protocol family 1 NET: Registered protocol family 17 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 356k init 4k chrp 8k prep Adding 500092k swap on /dev/hda4. Priority:-1 extents:1 kjournald starting. Commit interval 5 seconds EXT3 FS on hda3, internal journal EXT3-fs: mounted filesystem with ordered data mode. phy registers: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 > > -- > Martin >