From 1670d814ab5842d82d0f8c3ad8dd57c3a07ecde4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0erif=20Rami?= Date: Sat, 23 Aug 2025 18:32:16 +0200 Subject: [PATCH] minor handshake and midi fixes --- us144mkii.c | 2 +- us144mkii_midi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/us144mkii.c b/us144mkii.c index 3127a32..f6572a5 100644 --- a/us144mkii.c +++ b/us144mkii.c @@ -454,7 +454,7 @@ static int tascam_probe(struct usb_interface *intf, } if (handshake_buf[0] != 0x12 && handshake_buf[0] != 0x16 && - handshake_buf[0] != 0x30) { + handshake_buf[0] != 0x30 && handshake_buf[0] != 0x32) { dev_err(&dev->dev, "Unexpected handshake value: 0x%x\n", handshake_buf[0]); return -ENODEV; diff --git a/us144mkii_midi.c b/us144mkii_midi.c index 08b04aa..ed2afec 100644 --- a/us144mkii_midi.c +++ b/us144mkii_midi.c @@ -257,7 +257,7 @@ static void tascam_midi_out_work_handler(struct work_struct *work) if (bytes_to_send < 9) memset(buf + bytes_to_send, 0xfd, 9 - bytes_to_send); - buf[8] = 0x00; + buf[8] = 0xe0; set_bit(urb_index, &tascam->midi_out_urbs_in_flight); urb->transfer_buffer_length = 9;