=== eickmeyer[m] is now known as Eickmeyer[m]
OvenWerksEickmeyer: Cadence does not seem to do firewire checking... basically if jack doesn't start, Cadence directs the user to look in the jack log file.15:36
OvenWerksCadence does the set capture and then set playback kind of thing. I expect controls _never_ to do such a thing :)15:38
OvenWerksSo I will add firewire as a backend (maybe with "Try alsa first" or something)15:41
OvenWerksThe stuff I need to do for the FW backend is mostly the same as what I need to do for any none alsa backend15:42
EickmeyerOvenWerks: Okay, that makes sense. I didn't think Cadence did much with firewire, but figured you'd find something if it existed, which, as you discovered, it does not.15:45
EickmeyerBut, yeah, setting capture and playback is kinda.. odd.15:46
OvenWerkssetting capture/playback is from internal/older devices that are like hw:0,0 is playback and hw:0,1 is record, btoh with the same clock15:49
EickmeyerOh, okay.15:49
OvenWerksit does not apply to multi channel cards for the most part.15:49
OvenWerksmy opinion is that if they can be both opened at the same time, our normal bridging policy still works.15:50
OvenWerksFor FW I will assume that there is only one device and so the device will be fixed to hw:0 only15:52
EickmeyerYeah, that makes sense.15:52
EickmeyerThat's a good assumption. So, from what I'm understanding, FW has to be bound in the same way as internal hardware?15:53
OvenWerksCadence is trying to cover everything including macos and windows as well as every linux out there. The elif lines are long ...15:54
EickmeyerBut, yeah, he does build it for Windows and MacOS.15:54
EickmeyerThough, not Cadence itself, just the other tools.15:54
OvenWerksthe FW driver has similar hardware nameing to alsa15:55
EickmeyerRE: FW: If that's the case, if they hotplug a FW device, it won't show up in -controls if it's already running. Might need a "refresh hardware" button.15:55
OvenWerksThis makes sense because the fw kernel drivers were originally written for a FW-jack use15:55
OvenWerksEickmeyer: we already do that for alsa :)15:56
EickmeyerOh, okay, then we should be good.15:56
OvenWerksbut in this case, using fw driver relies on the user having set thing up the right way already.15:57
OvenWerks so we accept fw as a driver, set device to hw:0 and go15:58
OvenWerksthe user will not be able to change the device or set up a hotplug USB master device as both of those boxes will be disabled15:58
OvenWerkshot pluggin USB device as non-master is still ok and adding alsa devices is also ok.15:59
EickmeyerSo, we're talking FW must be master, basically.16:00
OvenWerksyes, there is no bridge from fw to jack.16:00
EickmeyerOkay, as long as the user knows that, we're good.16:02
OvenWerksI am looking at the module blacklisting to see if we can just read that and get a sense what the user's setup is.16:04
=== Erich is now known as Eickmeyer
* OvenWerks wonders if looking to see if snd-firewire-lib is loaded would cover all alsa fw modules.18:50
EickmeyerDecent theory.18:52
OvenWerksor if checking for raw1394 would be proof the FW drivers are in place. /etc/modprobe.d/blacklist-firewire.conf has this in it.18:52
* OvenWerks wishes he had a FW device to try it out on.18:53
OvenWerkslooking at: https://www.alsa-project.org/wiki/ALSA_firewire_stack18:53
EickmeyerSo, does that mean it's already in the stack?18:55
OvenWerksno that means it is prevented from loading.18:55
EickmeyerOh, duh.18:55
OvenWerksthe direct fw drivers for jack have to be prevented from loading if alsa is to work... and the alsa modules have to be prevented from loading if the raw fw for jack is to be used.18:56
EickmeyerSo, the raw1394 is blacklisted. Meaning, that the kernel doesn't have direct access to fw devices?18:56
EickmeyerYou just answered my question.18:56
EickmeyerIs there a way to make a switch or checkbox in -controls to facilitate that module?18:57
* Eickmeyer is spitballing18:57
OvenWerksThat is what I am thinking... but I am not willing to try that unless I A) have a device to play with or B) we have someone I can talk to and try things with who has one.18:58
* OvenWerks doesn't really care which18:58
OvenWerksIn some ways I would prefer a FW unit that is supported both ways over one that requires the old way, but I think it is ok to assume that leaving thing stock is going to work for whatever works with alsa.19:00
OvenWerksEickmeyer: I would tend to keep two copies of blacklist-firewire.conf in /usr/share/ubuntustudio or /usr/share/ubuntustudio-controls that can be linked to depending on use.19:01
OvenWerks(or copied either way)19:02
OvenWerksThis is a change that should be done on the system tab because it is a system change that needs root priv. and would have to be done by the same back end as rt setup and would require a reboot to work anyway.19:03
* OvenWerks notes that some of this stuff may be done from initrd.img and so require copying rather than ln -s19:05
OvenWerksSo we may need to run update-grub as well.19:05
EickmeyerThat's crazy territory.19:05
OvenWerksno not update grub, but the one that rewrite initrd19:06
EickmeyerYeah, that's what I meant.19:06
OvenWerksIt would probably be better for us to do that than try to write a document.19:07
EickmeyerIf we can incorporate something into -controls rather than write a document, I'm all for it. The less work the user has to do the better. "Teach a man to fish" as they say.19:08
EickmeyerThe command is actually "update-initramfs -u" otherwise it will throw an error.19:09
OvenWerksThe big detail is access to a box.19:10
EickmeyerYou mentioned something about a guy with a boat anchor?19:13
OvenWerksI think if I were to create a script (in bash) to switch to the old drivers and recreate the initramfs with the ability to undo the same... I may be able to send it that guy to test.19:13
OvenWerksI suspect he would be happier getting his box to work over giving to someone else who makes it work for themselves19:13
OvenWerksThe USB replacement is $500ish and I think the one he has cost closer to $100019:14
EickmeyerConsidering the price of equivalent tech gets cheaper with time...19:16
OvenWerksI acn't aford to buy it, Shipping I could probably handle though. I would have to acquire a pcie (or pci) card with FW ports which start at $2119:17
EickmeyerNot hard to find the pci cards. I had one I wasn't using a few years ago.19:20
OvenWerksI thought my laptop had a port (10 year old Dell) but I checked and couldn't find it19:20
OvenWerks(its slow anyway)19:21
EickmeyerI had an old Toshiba laptop that had a PCMCIA slot for which I bought a FW card.19:21
EickmeyerThat was about 13-14 years ago.19:22
OvenWerksI would prefer pcie as the next computer I buy may not have pci slots. It was not easy to find a MB with 3 PCI slots a few years ago when I got this one.19:22
EickmeyerI'm sure Amazon has something for cheap.19:22
OvenWerksIf I had the FW box and a PCIe card it would mean I wuld still have a working audio inteface if I can't find a slot for my delt6619:23
OvenWerksCanadian dollars are only 74.9% of US19:23
OvenWerksso $21 is like $1519:24
EickmeyerYeah. I just found something for $19US.19:24
EickmeyerNow one for 17 US.19:24
EickmeyerSo, relatively inexpensive, probably because the peripheral support just isn't what it used to be.19:25
OvenWerksI use two PCI cards right now, The Delt66 and an AudioPCI for MIDI19:25
OvenWerksI was able to avoid the pci slot that shares irq with 5 other bits19:26
OvenWerksI was also able to find a MB with midi din for both keyboard and mouse :)19:27
EickmeyerI just have my one USB audio interface and one USB MIDI controller.19:28
EickmeyerI do have a pair of studio monitor speakers on the way. Going to use those to demo Ubuntu Studio at Linux Fest Northwest later this month.19:30
OvenWerksit looks like raw1394 is the module to look for, if it has not been loaded at boot time, I can assume there is not FW device.20:24
EickmeyerSo unblacklist and modprobe?20:31
OvenWerksAnyway, I sent an email to Rick (I think)20:36
OvenWerksunload whatever alsa has loaded first20:36
OvenWerksI don't know if it can be done realtime or needs a reboot.20:37
EickmeyerIf modprobe is involved, no reboot needed.20:41
OvenWerksya, in this case it is knowing which all modules to unload first20:43

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!