Skip to content

Instantly share code, notes, and snippets.

View Lagertonne's full-sized avatar

Lagertonne

View GitHub Profile
[ 1602.019357] usb-storage 2-2:1.0: USB Mass Storage device detected
[ 1602.020869] scsi host4: usb-storage 2-2:1.0
[ 1603.031140] scsi 4:0:0:0: Direct-Access WD My Book 25DA 3002 PQ: 0 ANSI: 6
[ 1603.032015] scsi 4:0:0:1: Enclosure WD SES Device 3002 PQ: 0 ANSI: 6
[ 1603.063750] sd 4:0:0:0: Attached scsi generic sg2 type 0
[ 1603.063893] ses 4:0:0:1: Attached Enclosure device
[ 1603.063993] ses 4:0:0:1: Attached scsi generic sg3 type 13
[ 1603.066873] ses 4:0:0:1: Wrong diagnostic page; asked for 1 got 0
[ 1603.066880] ses 4:0:0:1: Failed to get diagnostic page 0xffffffea
[ 1603.066883] ses 4:0:0:1: Failed to bind enclosure -19
def fetch_data(station_id):
# generate payload
payload = {
'outputFormat': 'JSON',
'language': 'de',
'locationServerActive': 1,
'useRealtime': 1,
'anySigWhenPerfectNoOtherMatches': 1,
'limit': 70,
'deleteAssignedStops_dm': 1,
null
Discard all samples (playback) or generate zero samples (capture)
default
sysdefault:CARD=Pro
FastTrack Pro, USB Audio
Default Audio Device
front:CARD=Pro,DEV=0
FastTrack Pro, USB Audio
Front speakers
surround21:CARD=Pro,DEV=0
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "hw:1,1"
}
capture.pcm {
type plug
slave.pcm "hw:1,0"
}
@Lagertonne
Lagertonne / gist:6b17ae70655ca0e39505115226c18f83
Created June 23, 2019 18:02
arecord -Dplughw:1,0 --dump-hw-params -d1 > /dev/null
Recording WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
HW Params of device "plughw:1,0":
--------------------
ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX RW_INTERLEAVED RW_NONINTERLEAVED
FORMAT: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE MU_LAW A_LAW IMA_ADPCM S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE U18_3BE
SUBFORMAT: STD
SAMPLE_BITS: [4 64]
FRAME_BITS: [4 640000]
CHANNELS: [1 10000]
RATE: [4000 4294967295]
00:00:00.261 [INFO] [libseat] [libseat/libseat.c:73] Seat opened with backend 'seatd'
00:00:00.261 [INFO] [libseat] [libseat/backend/seatd.c:212] Enabling seat
00:00:00.261 [INFO] [backend/session/session.c:110] Successfully loaded libseat session
00:00:00.269 [INFO] [backend/backend.c:220] Found 1 GPUs
00:00:00.269 [INFO] [backend/drm/backend.c:183] Initializing DRM backend for /dev/dri/card0 (i915)
00:00:00.270 [DEBUG] [backend/drm/drm.c:85] Using atomic DRM interface
00:00:00.270 [DEBUG] [backend/drm/drm.c:98] ADDFB2 modifiers supported
00:00:00.270 [INFO] [backend/drm/drm.c:251] Found 3 DRM CRTCs
00:00:00.270 [INFO] [backend/drm/drm.c:178] Found 12 DRM planes
00:00:00.273 [INFO] [render/egl.c:180] Supported EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_