I wish to not try anyone's patience with all the information
that follows (I tried to reduce it to the essentials). Basically
two problems:
1. Conflicts during the startup sequence -- seems that Alsa's
module instantiations and those by the cardmgr are stepping
on one another. I hope to get help here in solving this, which
must be a config problem(?). Excerpt of startup messages are below.
2. After the system comes up I manually stop/start Alsa (a
procedure recommended to me by Fernando-de-Planet), then I can
see the card, but playback only "slightly" works (I haven't tried
capture yet). That is, upon playing a wav file (via aplay), I get
a tiny chunk of sound that I've concluded is one buffer's worth.
That manual sequence is this:
o stop alsa
o modprobe snd-vxpocket
o vxloader
Some version/config information:
o System: Sony PCG-FX190K
o Kernel: 2.4.20-1.12.ll.acpi (planetCCRMA binary pkg)
o ALSA: CVS version downloaded 20030218.141220
(from planetCCRMA alsa-driver-2.4.20-1.12.ll.acpi-0.9.0-45.i686.rpm)
o aplay: 2003-02-18 17:51
Note: So far, I'm running from binary distros,
I've not built a new kernel or Alsa...
______________________________________________________
Speculation:
The card is not generating interrupts (or they're being routed
into the ether). I can stretch the duration of that little chunk of
sound by passing aplay different buffer durations, thus my conclusion
that I get the first buffer, then there are no interrupts to clock the
rest out (I'm only assuming the card is supposed to generate an interrupt
for each buffer sent). A 15 second timeout (approximately) follows that
sound, after which the process exits with the error message:
$ aplay -v -D vxpocket out.wav
Playing WAVE 'out.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Hardware PCM card 0 'Digigram VXPocket' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 22050
period_size : 5513
period_time : 125011
tick_time : 1000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 5513
xfer_align : 5513
start_threshold : 16539
stop_threshold : 22050
silence_threshold: 0
silence_size : 0
boundary : 1445068800
aplay: pcm_write:1014: write error: Input/output error
$
______________________________________________________
kernel: Linux version 2.4.20-1.12.ll.acpi ([EMAIL PROTECTED]) (gcc version 3.2
20020903 (Red Hat Linux 8.0 3.2-7)) #1 Sun Feb 2 22:52:36 PST 2003
kernel: BIOS-provided physical RAM map:
kernel: BIOS-e820: 0000000000000000 - 000000000009e800 (usable)
kernel: BIOS-e820: 000000000009e800 - 00000000000a0000 (reserved)
kernel: BIOS-e820: 00000000000c0000 - 00000000000cc000 (reserved)
kernel: BIOS-e820: 00000000000d8000 - 0000000000100000 (reserved)
kernel: BIOS-e820: 0000000000100000 - 0000000017cf0000 (usable)
kernel: BIOS-e820: 0000000017cf0000 - 0000000017cff000 (ACPI data)
kernel: BIOS-e820: 0000000017cff000 - 0000000017d00000 (ACPI NVS)
kernel: BIOS-e820: 0000000017d00000 - 0000000017e80000 (usable)
kernel: BIOS-e820: 0000000017e80000 - 0000000018000000 (reserved)
kernel: BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved)
kernel: BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
kernel: ACPI: RSDP (v000 SONY ) @ 0x000f6c70
kernel: ACPI: RSDT (v001 SONY U0 08194.00793) @ 0x17cfa665
kernel: ACPI: FADT (v001 SONY U0 08194.00793) @ 0x17cfef64
kernel: ACPI: BOOT (v001 SONY U0 08194.00793) @ 0x17cfefd8
kernel: ACPI: DSDT (v001 SONY U0 08194.00793) @ 0x00000000
kernel: ACPI: BIOS passes blacklist
kernel: ACPI: Subsystem revision 20030122
kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd9b0, last bus=1
kernel: PCI: Using configuration type 1
kernel: ACPI-0262: *** Info: GPE Block0 defined as GPE0 to GPE15
kernel: ACPI-0262: *** Info: GPE Block1 defined as GPE16 to GPE31
kernel: ACPI: Interpreter enabled
kernel: ACPI: Using PIC for interrupt routing
kernel: ACPI: System [ACPI] (supports S0 S3 S4 S5)
kernel: ACPI: PCI Root Bridge [PCI0] (00:00)
kernel: PCI: Probing PCI hardware (bus 00)
kernel: Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge
kernel: ACPI: Embedded Controller [EC0] (gpe 28)
kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs *9)
kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs *9)
kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 9, disabled)
kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 9, disabled)
kernel: ACPI: PCI Interrupt Link [LNKE] (IRQs *9)
kernel: ACPI: PCI Interrupt Link [LNKH] (IRQs *9)
kernel: PCI: Probing PCI hardware
kernel: ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9
kernel: ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9
kernel: PCI: Using ACPI for IRQ routing
kernel: PCI: if you experience problems, try using option 'pci=noacpi' or even
'acpi=off'
kernel: isapnp: Scanning for PnP cards...
kernel: isapnp: No Plug & Play device found
kernel: ACPI: AC Adapter [ACAD] (on-line)
kernel: ACPI: Battery Slot [BAT1] (battery present)
pcmcia: Starting PCMCIA services:
kernel: ACPI: Battery Slot [BAT2] (battery absent)
pcmcia: modules
kernel: ACPI: Lid Switch [LID]
kernel: ACPI: Power Button (CM) [PWRB]
kernel: ACPI: Processor [CPU0] (supports C1 C2, 2 performance states, 8 throttling
states)
kernel: ACPI: Thermal Zone [ATF0] (63 C)
kernel: Linux Kernel Card Services 3.1.22
kernel: options: [pci] [cardbus] [pm]
kernel: Yenta IRQ list 0cb8, PCI irq9
kernel: Socket status: 30000410
kernel: Yenta IRQ list 0cb8, PCI irq9
kernel: Socket status: 30000006
pcmcia: cardmgr.
cardmgr[596]: starting, version is 3.1.31
rc: Starting pcmcia: succeeded
cardmgr[596]: watching 1 sockets
cardmgr[596]: Card Services release does not match
kernel: cs: IO port probe 0x0c00-0x0cff: clean.
kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x4d0-0x4d7
kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
cardmgr[596]: socket 0: vxpocket
cardmgr[596]: executing: 'modprobe snd-vxpocket irq_mask=0xd60 index=0 enable=1'
acpid: acpid startup succeeded
cardmgr[596]: + vxload: no VX-compatible cards found
cardmgr[596]: +
/lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pcmcia/vx/snd-vxpocket.o:
post-install snd-vxpocket failed
cardmgr[596]: +
/lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pcmcia/vx/snd-vxpocket.o: insmod
snd-vxpocket failed
cardmgr[596]: modprobe exited with status 255
cardmgr[596]: executing: 'insmod
/lib/modules/2.4.20-1.12.ll.acpi/pcmcia/snd-vxpocket.o irq_mask=0xd60 index=0 enable=1'
cardmgr[596]: + insmod: a module named snd-vxpocket already exists
cardmgr[596]: insmod exited with status 1
alsasound: Starting sound driver failed
______________________________________________________
lsmod (after the manual stop/start):
Module Size Used by Not tainted
snd-vxpocket 9704 0
snd-vx-lib 31280 0 [snd-vxpocket]
snd-pcm 85088 0 [snd-vx-lib]
snd-timer 16488 0 [snd-pcm]
snd-hwdep 5888 0 [snd-vx-lib]
snd 46948 0 [snd-vxpocket snd-vx-lib snd-pcm snd-timer snd-hwdep]
soundcore 6692 0 [snd]
e100 79768 1
i810 72036 17
agpgart 47040 7 (autoclean)
autofs 13620 0 (autoclean) (unused)
ds 8808 1 [snd-vxpocket]
yenta_socket 13600 1
pcmcia_core 57440 0 [snd-vxpocket ds yenta_socket]
iptable_filter 2444 0 (autoclean) (unused)
ip_tables 15160 1 [iptable_filter]
ohci1394 20776 0 (unused)
ieee1394 50348 0 [ohci1394]
mousedev 5588 1
keybdev 2976 0 (unused)
hid 22308 0 (unused)
input 5888 0 [mousedev keybdev hid]
usb-uhci 27404 0 (unused)
usbcore 80224 1 [hid usb-uhci]
ext3 72512 3
jbd 54132 3 [ext3]
______________________________________________________
/proc/interrupts (after the manual stop/start):
CPU0
0: 10254340 XT-PIC timer
1: 4870 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 5 XT-PIC snd-vxpocket
8: 1 XT-PIC rtc
9: 65683 XT-PIC acpi, usb-uhci, usb-uhci, ohci1394, Ricoh Co Ltd
RL5c476 II, Ricoh Co Ltd RL5c476 II (#2), [EMAIL PROTECTED]:0:2:0, eth0
12: 304919 XT-PIC PS/2 Mouse
14: 51977 XT-PIC ide0
15: 1 XT-PIC ide1
NMI: 0
ERR: 0
______________________________________________________
cardctl config:
Socket 0:
Vcc 5.0V Vpp1 0.0V Vpp2 0.0V
interface type is "memory and I/O"
irq 5 [exclusive] [level]
function 0:
config base 0x00f0
option 0x41
io 0x0100-0x010f [auto]
cardctl ident:
Socket 0:
product info: "Digigram", "VX-POCKET", "V1.0", "R1.0"
manfid: 0x01f1, 0x0100
function: 254 ((null))
______________________________________________________
regards,
--bob.
___________________
| bob falesch
| www.zeggz.com/raf/
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user