Sorry, I have sent it to the wrong list. I also should have mentioned that I have enabled: export USE_DVB_DSP=1
Karlheinz -------- Original Message -------- Betreff: [vdr] can not control volume from VDR on my Siemens cable card PCI rev1.5 Datum: Sat, 23 Aug 2003 01:20:23 +0200 Von: [EMAIL PROTECTED] (Karlheinz Pischke) Reply-To: [EMAIL PROTECTED] Organisation: home An: [EMAIL PROTECTED] Verweise: <[EMAIL PROTECTED]> Hi, I can not control volume from VDR on my Siemens cable card PCI rev1.5 because of an assumption made that all Siemens DVB-C cards would have no DSP or have a MSP3400 (on analogue modul). This is what I guess ... (I don't have an analogue module) The error message from VDR in /var/log/messages is: Aug 21 18:07:47 khlin2 vdr[9787]: ERROR (dvbdevice.c,713): Die Operation ist nicht erlaubt The whole issue was already discussed last december but there was no solution to the problem. Seems J�rg gave up ... because he did not tell what kind of DSP is on Siemens DVB-C rev. 1.5 ---- beginn: ignore it should only tell that I have done my homework ---- Here is a collection of the thread: "DVB-C and Volume-Control" http://www.linuxtv.org/mailinglists/linux-dvb/2002/12-2002/msg00098.html http://www.linuxtv.org/mailinglists/linux-dvb/2002/12-2002/msg00111.html http://www.linuxtv.org/mailinglists/linux-dvb/2002/12-2002/msg00277.html code piece also in http://www.linuxtv.org/mailinglists/linux-dvb/2002/12-2002/msg00112.html followups http://www.linuxtv.org/mailinglists/linux-dvb/2002/12-2002/msg00127.html http://www.linuxtv.org/mailinglists/linux-dvb/2002/12-2002/msg00137.html http://www.linuxtv.org/mailinglists/linux-dvb/2002/12-2002/msg00180.html http://www.linuxtv.org/mailinglists/linux-dvb/2002/12-2002/msg00181.html There was another thread: "RFC: patch for support of volume control on DVB-C+analogue-module" http://www.linuxtv.org/mailinglists/linux-dvb/2003/04-2003/msg00295.html which is also no solution to my (and probably J�rg's) problem ! ---- end: ignore it should only tell that I have done my homework ---- The following code piece tells me that the programmers assume that every Siemens DVB-C card will have a MSP3400 or no DSP. Am I correct in reading this code ??? As you also can see in this piece of code I have disabled it through /* ... */ and recompiled. I loaded the module with adac=0 Then VDR does no longer report an error but still I can not change volume or mute ! So behaviour changed. This means to me that I/O control to sound (?) is at least established in the sense VDR has a counterpart to talk to. But may be in the code / initialisation / ... something goes wrong !?!? The board has an internal connector to a sound card, has the "Audio Main" output (external to sound card), has SPDIF (coax) and Audio L and R (Also there is a SCART whereby sound is only working if Audio Main looped back to Audio R/L or looped through a soundcard.) Is there really no sound chip on this card ? (see the list of ICs at the end) btw: how to make use of SPDIF ? Thanks, Karlheinz ================================================================================ DVB.20030802.01-01 (this is nearly the same in earlier versions) ./driver/av7110/av7110.c ... 5012 * some special handling for the Siemens DVB-C cards... 5013 */ 5014 } /* else if (i2c_writereg(av7110, 0x80, 0x0, 0x80) == 1 ) { 5015 i2c_writereg(av7110, 0x80, 0x0, 0); 5016 printk("av7110(%d): DVB-C analog module detected, " 5017 "initializing MSP3400\n", 5018 av7110->saa->dvb_adapter->num); 5019 av7110->adac_type = DVB_ADAC_MSP; 5020 ddelay(10); 5021 msp_writereg(av7110, 0x12, 0x0013, 0x0c00); 5022 msp_writereg(av7110, 0x12, 0x0000, 0x7f00); // loudspeaker + headphone 5023 msp_writereg(av7110, 0x12, 0x0008, 0x0220); // loudspeaker source 5024 msp_writereg(av7110, 0x12, 0x0004, 0x7f00); // loudspeaker volume 5025 msp_writereg(av7110, 0x12, 0x000a, 0x0220); // SCART 1 source 5026 msp_writereg(av7110, 0x12, 0x0007, 0x7f00); // SCART 1 volume 5027 msp_writereg(av7110, 0x12, 0x000d, 0x4800); // prescale SCART 5028 } else if (av7110->saa->device->subsystem_vendor == 0x110a) { 5029 printk("av7110(%d): DVB-C w/o analog module detected\n", 5030 av7110->saa->dvb_adapter->num); 5031 av7110->adac_type = DVB_ADAC_NONE; 5032 } */ else { 5033 av7110->adac_type = adac; 5034 printk("av7110(%d): adac type set to %d\n", 5035 av7110->saa->dvb_adapter->num, av7110->adac_type); 5036 } ... ================================================================================ [khlin2 80] driver > lspci -vvv -s 00:09 ------------------- 00:09.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01) Subsystem: Siemens Nixdorf AG: Unknown device 0000 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (3750ns min, 9500ns max) Interrupt: pin A routed to IRQ 11 Region 0: Memory at e9101000 (32-bit, non-prefetchable) [size=512] ================================================================================ /var/log/messages ----------------- Aug 21 17:56:07 khlin2 kernel: DVB: registering new adapter (Siemens cable card PCI rev1.5). Aug 21 17:56:09 khlin2 kernel: DVB: AV7111(0) - firm f0240009, rtsl b0250018, vid 71010068, app 8000261a Aug 21 17:56:09 khlin2 kernel: DVB: AV7111(0) - firmware supports CI link layer interface Aug 21 17:56:09 khlin2 kernel: av7110(0): DVB-C w/o analog module detected Aug 21 17:56:09 khlin2 kernel: Siemens cable card PCI rev1.5 adapter 0 has MAC addr = 00:d0:5c:01:35:52 Aug 21 17:56:09 khlin2 kernel: ves1820.c: setup for tuner spXXXX Aug 21 17:56:09 khlin2 kernel: DVB: registering frontend 0:0 (VES1820 based DVB-C frontend)... ================================================================================ /var/log/messages ----------------- Aug 21 18:07:46 khlin2 vdr[9787]: VDR version 1.2.1 started Aug 21 18:07:46 khlin2 vdr[9787]: loading /etc/vdr/setup.conf Aug 21 18:07:46 khlin2 vdr[9787]: loading /etc/vdr/sources.conf Aug 21 18:07:46 khlin2 vdr[9787]: loading /etc/vdr/diseqc.conf Aug 21 18:07:46 khlin2 vdr[9787]: loading /etc/vdr/channels.conf Aug 21 18:07:46 khlin2 vdr[9787]: loading /etc/vdr/svdrphosts.conf Aug 21 18:07:46 khlin2 vdr[9787]: loading /etc/vdr/ca.conf Aug 21 18:07:46 khlin2 vdr[9787]: loading /etc/vdr/remote.conf Aug 21 18:07:46 khlin2 vdr[9787]: loading /etc/vdr/keymacros.conf Aug 21 18:07:46 khlin2 vdr[9787]: probing /dev/dvb/adapter0/frontend0 Aug 21 18:07:46 khlin2 vdr[9790]: EIT processing thread started (pid=9790) - master Aug 21 18:07:47 khlin2 vdr[9791]: tuner thread started on device 1 (pid=9791) Aug 21 18:07:47 khlin2 vdr[9787]: probing /dev/dvb/adapter1/frontend0 Aug 21 18:07:47 khlin2 vdr[9787]: found 1 video device Aug 21 18:07:47 khlin2 vdr[9787]: setting primary device to 1 Aug 21 18:07:47 khlin2 vdr[9787]: SVDRP listening on port 2001 Aug 21 18:07:47 khlin2 vdr[9792]: KBD remote control thread started (pid=9792) Aug 21 18:07:47 khlin2 vdr[9787]: remote control KBD - keys known Aug 21 18:07:47 khlin2 vdr[9787]: switching to channel 83 Aug 21 18:07:47 khlin2 vdr[9787]: ERROR (dvbdevice.c,713): Die Operation ist nicht erlaubt Aug 21 18:07:47 khlin2 vdr[9787]: reading EPG data from /home/kpischke/.vdr/epg.data ================================================================================ The following ICs are on this Siemens board: TDA 9819 T VES1820 SAA 7146A H CY7C024AV 4LCIM16E5 HY57V161610D CHN K017 LD25C Ti DSP TMX 320 AV7111 GFN CD 1516 / IH (could be 1316 also) -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.
