help with recording

so far everything runs out of the box:
Access to smb share
m-Audio fast track pro in 24bit 48khz
webinterface
adding new Radio stations
ssh and editing files using pico

i want to use my soundcards Inputs for recording to a connected usb stick.
does volumio/raspbian Support this ?
my soundcard has 2 balanced Inputs. and 4 Outputs (1x Stereo in, 2x Stereo out ).
how can i check if they are recognized correctly?
i want to record raw umcompressed Audio! or 320kbit mp3…
can i do this via ssh too ?

and finally

i want to start recording to usb sticks root Directory by pressing a Hardware button connected to GPIO … python script ?

plz help
cheers