From: FFADO <ffa...@ff...> - 2008-06-22 07:58:55
|
#136: Echo AudioFire4 and Phantom +48V mixer setting -------------------------------+-------------------------------------------- Reporter: lucent | Owner: Type: bug | Status: new Priority: major | Milestone: FFADO 2.0 Version: FFADO SVN | Keywords: Device_name: Echo AudioFire4 | -------------------------------+-------------------------------------------- Hardware is AudioFire4 with 4.8 firmware. FFADO is SVN r1259. Attempting to enable +48V phantom power feature on the AudioFire4 via DBus, does not enable the feature on the hardware unit: {{{ 132817716390: Debug (fireworks_control.cpp)[ 436] setValue: setValue to 1 }}} Trying to fetch the value via DBus always returns 0 value: {{{ 133201639465: Warning (efc_avc_cmd.cpp)[ 90] deserialize: Deserialization failed 133201639576: Error (fireworks_device.cpp)[ 203] doEfcOverAVC: EfcOverAVCCmd command failed 133201639587: Debug (efc_cmd.cpp)[ 171] showEfcCmd: EFC Length: 6 133201639595: Debug (efc_cmd.cpp)[ 172] showEfcCmd: EFC Header: 133201639601: Debug (efc_cmd.cpp)[ 173] showEfcCmd: Version : 0x00000000 133201639608: Debug (efc_cmd.cpp)[ 174] showEfcCmd: Sequence number : 0x0000000E 133201639615: Debug (efc_cmd.cpp)[ 175] showEfcCmd: Category : 0xFFFFFFFF 133201639621: Debug (efc_cmd.cpp)[ 176] showEfcCmd: Command : 0x00000005 133201639627: Debug (efc_cmd.cpp)[ 177] showEfcCmd: Return Value : 0x00000000 133201639636: Debug (efc_cmds_ioconfig.cpp)[ 162] showEfcCmd: EFC IOCONFIG GET Phantom: 133201639643: Debug (efc_cmds_ioconfig.cpp)[ 163] showEfcCmd: Value : 0 133201639651: Fatal (fireworks_control.cpp)[ 450] getValue: Cmd failed 133201639658: Debug (controlserver.cpp)[ 498] getValue: getValue() => 0 }}} My Ruby language snippet to interact with DBus: {{{ #!/usr/bin/ruby require 'dbus' bus = DBus::SessionBus.instance ff_service = bus.service("org.ffado.Control") ff_manager = ff_service.object("/org/ffado/Control/DeviceManager/00148608bd30a7b8/Mixer/PhantomPower") ff_manager.introspect ff_mixer_phantom = ff_manager["org.ffado.Control.Element.Discrete"] #print "Old value: " #p ff_mixer_phantom.getValue #puts "Setting new value 1" #ff_mixer_phantom.setValue 1 print "New value: " p ff_mixer_phantom.getValue }}} -- Ticket URL: <http://subversion.ffado.org/ticket/136> FFADO <http://subversion.ffado.org/index.fcgi> Free Firewire Audio Drivers |