Skip to contentSkip to conversation

vxpocket 440

DISCUSSION Anders Johansson 1 participant 3 messages Oct 27, 2006 – Oct 30, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I am trying to configure a VX-Pocket 440 on a DELL laptop, Debian etch, Kernel version 2.6.17.

I have the same card running on a SONY laptop with Debian sarge and a 2.6.8 kernel, no problem.

Syslog says:

Oct 28 01:19:29 asil kernel: pccard: PCMCIA card inserted into slot 0
Oct 28 01:19:29 asil kernel: pcmcia: registering new device pcmcia0.0
Oct 28 01:19:29 asil kernel: vxpocket: too many cards found
Oct 28 01:19:29 asil kernel: snd-vxpocket: probe of 0.0 failed with error -22
Oct 28 01:19:29 asil kernel: vxpocket: too many cards found
Oct 28 01:19:29 asil kernel: snd-vxpocket: probe of 0.0 failed with error -22

vxloader says:
vxloader: no VX-compatible cards found

cardctl info:
PRODID_1="Digigram"
PRODID_2="VX-POCKET440"
PRODID_3="V1.0"
PRODID_4="R1.0"
MANFID=01f1,0100
FUNCID=254

cardctl ident:
Socket 0:
product info: "Digigram", "VX-POCKET440", "V1.0", "R1.0"
manfid: 0x01f1, 0x0100
function: 254 ((null))

Which looks fine to me.

I understand that hotplug is supposed to be able to load firmware nowdays, but where can I find the firmware? is it the same as in the alsa-frmware package? and in that case which files, and where do I put them?

Cheers,
//Anders

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#1 lore raw

Hi,

I have had some more luck getting this thing going. I rebooted and managed to get alsamixer working. Also compiled and installed kernel 2.6.18.1 (SMP, no preemption), with alsa message logging.

This is what the boot messages in syslog looks like:

Oct 28 18:21:07 asil kernel: ALSA sound/pcmcia/vx/vxpocket.c:220: vxpocket_config called
Oct 28 18:21:07 asil kernel: ALSA sound/pcmcia/vx/vxpocket.c:245: VX-pocket 440 is detected
Oct 28 18:21:07 asil kernel: ALSA sound/pcmcia/vx/vxpocket.c:188: vxpocket assign resources: port = 0x2100, irq = 3
Oct 28 18:21:07 asil kernel: ALSA sound/pcmcia/vx/vxp_ops.c:170: check ISR_HF2
Oct 28 18:21:07 asil kernel: ALSA sound/pcmcia/vx/vxp_ops.c:205: xilinx: dsp size received 0x577b, orig 0x577b
Oct 28 18:21:07 asil kernel: ALSA sound/drivers/vx/vx_uer.c:214: set internal clock to 0x4b from freq 48000
Oct 28 18:21:07 asil kernel: ALSA sound/drivers/vx/vx_core.c:700: checksum = 0xabaa657f
Oct 28 18:21:07 asil kernel: ALSA sound/drivers/vx/vx_pcm.c:261: vx_set_ibl: size = 2016, max = 2016, min = 504, gran = 126
Oct 28 18:21:07 asil kernel: ALSA sound/drivers/vx/vx_pcm.c:261: vx_set_ibl: size = 504, max = 2016, min = 504, gran = 126

Why is there ony one message about loaded firmware? I thought there were 4 firmware files?

I have tried accessing the card, both directly using arecord, aplay and using JACK, but with no luck, only some data gets in or out from the card. Trying to use JACK results in the following error messages:

Oct 28 18:24:41 asil kernel: ALSA sound/drivers/vx/vx_uer.c:214: set internal clock to 0x571 from freq 8000
Oct 28 18:24:42 asil kernel: ALSA sound/drivers/vx/vx_core.c:299: <7>ALSA sound/drivers/vx/vx_core.c:299: msg got error = 0x802a15 at
cmd[0]
Oct 28 18:24:42 asil kernel: ALSA sound/drivers/vx/vx_pcm.c:795: vx: cannot start stream
Oct 28 18:24:42 asil kernel: ALSA sound/drivers/vx/vx_pcm.c:687: error hbuffer
Oct 28 18:24:42 asil kernel: ALSA sound/drivers/vx/vx_core.c:299: msg got error = 0xcfe at cmd[0]
Oct 28 18:24:43 asil kernel: ALSA sound/drivers/vx/vx_core.c:69: vx_check_reg_bit: timeout, reg=ISR, mask=0x10, val=0x7

I have managed to get JACK working with bigger bigger buffer size (512 samples) but I don't get any sound through.

Playing a wav file works, but results in the following error messages:

Oct 28 18:35:36 asil kernel: ALSA sound/drivers/vx/vx_core.c:299: msg got error = 0xc00 at cmd[0]
Oct 28 18:35:36 asil kernel: ALSA sound/drivers/vx/vx_pcm.c:799: vx: cannot start pipe

Recording works sometimes, but sometimes only for a fraction of a second, after that only noise is recorded.

Playing and recording simultaneously (using arecord | aplay) hardly ever works, and no error messages are logged. When there is an error message it is most often the same as for playback.

The biggest problem is that the machine often hangs when the sound card is used. I have not been able to reproduce the problem in any consistent way (use of uninitialised pointer perhaps)?

I really need to get the card working, downgrading is not an option due to a very new chipset.

Please help me,
//Anders

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#2 lore raw

Hi,

I have found 3 consistent ways to reproduce the hard locks.

1. Unplug the power cord.
If the sound card is in use, the application using the sound card hangs. When the application is restarted, the computer locks.
The sound card is not in use when the cord is unplugged the computer locks the next time it is accessed (either via mixer or sound I/O).

2. Access mixer and sound I/O simultaneously.

3. On buffer overrun.
If the CPU is under load, so that ALSA is dropping samples, the application using the sound card sometimes hangs. The next time the sound card is accessed the computer locks.

I still get a variety of error messages in the syslog before the card hangs:

Type 1:

Oct 30 16:31:10 asil kernel: ALSA sound/drivers/vx/vx_core.c:69:
<7>ALSA sound/drivers/vx/vx_core.c:69: vx_check_reg_bit: timeout,
reg=ISR, mask=0x10, val=0x3
Oct 30 16:31:10 asil kernel: ALSA sound/drivers/vx/vx_core.c:282:
vx_send_msg: send IRQ_MESSAGE error
Oct 30 16:31:10 asil kernel: ALSA sound/drivers/vx/vx_pcm.c:799: vx:

cannot start pipe

Type 2 sometimes repeated several times:

Oct 30 16:16:52 asil kernel: ALSA sound/drivers/vx/vx_core.c:69:
vx_check_reg_bit: timeout, reg=ISR, mask=0x2, val=0x0
Oct 30 16:16:52 asil kernel: ALSA sound/drivers/vx/vx_core.c:271:

vx_send_msg: wait tx empty error

Type 3:

Oct 30 15:44:57 asil kernel: ALSA sound/drivers/vx/vx_core.c:299: msg
got error = 0x0 at cmd[0]
Oct 30 15:44:57 asil kernel: ALSA sound/drivers/vx/vx_pcm.c:795: vx:

cannot start stream

Also if the card is ejected, it will not get detected when reinserted.

Could this be a problem with the pcmcia bridge or the chipset? Do you think a bios upgrade could help?

Cheers,
//Anders

P.S. If no one can help me, please tell me that so that I can stop sending mails to the list, or redirect me to a list where I can get help. D.S.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642