On Tuesday 15 January 2013 17:10:13 Stefan Hajnoczi wrote: > On Tue, Jan 15, 2013 at 4:24 PM, <[email protected]> wrote: > > I could help a little if reading and writting the pod parameter are > > include in the driver. > > > > I've seen some stuff in the sys dir but how to use them ? The sysfs files will be removed in a future version of the driver, so please don't use them.
> Almost all of the POD functionality is accessed via MIDI. That's actually the preferred way to communicate with the device. As Stefan already noted, there is a prototype implementation of a library and a simple command line tool to interact with PODxt devices: https://line6linux.svn.sourceforge.net/svnroot/line6linux/apps/branches/qtbased If you don't like Qt, don't be afraid :-), the basic stuff there is strictly independent on any GUI toolkit. I recommend that you read https://line6linux.svn.sourceforge.net/svnroot/line6linux/apps/branches/qtbased/doc/design.tex as an introduction to the content of the repository (the project also contains rules to create a PDF file from this, so you don't have to compile the LaTeX- code by hand). In short, there are two components which are relevant to add support for the POD HD: *) libline6comm: interprets/creates the device-specific byte stream *) line6shell: a simple command line interface to the library for testing The shell in its current state should already be powerful enough to support development of new device classes. If you like to jump in, feel free to ask questions since the design document is only a rough guidance. > I have pasted my notes for POD HD300 below to get you started. Very interesting! Some codes are identical to the PODxt, but most are transmitted as MIDI sysex messages (F0...). There seems to be a pattern: F0 00 01 0C 14 00 63 00 <a> <b> <x1> <x2> <x3> F7 where <a> encodes a parameter group (e.g., 20 -> FX1 parameters), <b> a parameter, and <x1>...<x3> the parameter value. It shouldn't be too hard to add this to libline6comm. Kind regards, Markus ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ Line6linux-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/line6linux-user
