-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've used the precompiled module:
ls -la /lib/modules/2.4.19-rmk6-pxa1-hh37/kernel/drivers/sound/ak4535.o
- -rw-r--r-- 1 root root 8276 Jan 11
2002 /lib/modules/2.4.19-rmk6-pxa1-hh37/kernel/drivers/sound/ak4535.o
and the following code:
if (ioctl(fd, SOUND_MIXER_WRITE_RECSRC, SOUND_MASK_LINE) == -1) {
perror("ioctl: switch to headphones out");
return -1;
}
but all I get is:
ioctl: switch to headphones out: Bad address
please note that the rest of the /dev/dsp code works (setting 44100kHz,
stereo...)
greets,
Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFB/0Myw6IyDgGSsNIRAqieAJ481fTIy6Ed+PJ4W+LQif11V1YXcACgokaD
g3J7BH2BZoXuYuRPdF9rPVc=
=BDv5
-----END PGP SIGNATURE-----
Received on Tue Feb 01 2005 - 03:53:44 EST
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:20:11 EDT