Android Pixel C in MIDI mode not creating a alsa seq port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

most recent andoid phone let you connect it to a computer via USB and
select the USB mode. The modes also contain midi. This e.g. allows to
run a midi controller on the phone/table as a control surface for music
software.

If it do this with a pixel 3 phone it all works, but since it is a
phone, the screen is a bit too small. If I use my pixel c tablet, the
alsa device is recognized (it shows up in /proc/asound/ and also creates
a midi0 entry), but there is no new entry among the alsa sequencer
clients for it.

I tested this both on debian testing and opensuse tumbleweed and both
show the same issue. 

Any idea whats wrong here and especially how to debug?

Stefan


Pixel 3 USB Midi
---------------------------------------------------------------

tail -f /var/log/kern.log
Apr 22 21:49:47 ensonic.roam.corp.google.com kernel: usb 1-1: USB
disconnect, device number 29
Apr 22 21:49:48 ensonic.roam.corp.google.com kernel: usb 1-1: new
high-speed USB device number 30 using xhci_hcd
Apr 22 21:49:49 ensonic.roam.corp.google.com kernel: usb 1-1: New USB
device found, idVendor=18d1, idProduct=4ee9, bcdDevice= 4.40
Apr 22 21:49:49 ensonic.roam.corp.google.com kernel: usb 1-1: New USB
device strings: Mfr=1, Product=2, SerialNumber=3
Apr 22 21:49:49 ensonic.roam.corp.google.com kernel: usb 1-1: Product:
Pixel 3
Apr 22 21:49:49 ensonic.roam.corp.google.com kernel: usb 1-1:
Manufacturer: Google
Apr 22 21:49:49 ensonic.roam.corp.google.com kernel: usb 1-1:
SerialNumber: 884X00MQ8


lsusb | grep Google
Bus 001 Device 021: ID 18d1:4ee9 Google Inc. Pixel 3

aseqdump -l
 Port    Client name                      Port name
  0:0    System                           Timer
  0:1    System                           Announce
 14:0    Midi Through                     Midi Through Port-0
 20:0    Pixel 3                          Pixel 3 MIDI 1

cat /proc/asound/seq/clients
Client info
  cur  clients : 3
  peak clients : 7
  max  clients : 192

Client   0 : "System" [Kernel]
  Port   0 : "Timer" (Rwe-)
  Port   1 : "Announce" (R-e-)
Client  14 : "Midi Through" [Kernel]
  Port   0 : "Midi Through Port-0" (RWe-)
Client  20 : "Pixel 3" [Kernel]
  Port   0 : "Pixel 3 MIDI 1" (RWeX)

ll /proc/asound/P3/
total 0
-r--r--r-- 1 root root 0 Mai 15 13:48 id
-r--r--r-- 1 root root 0 Mai 15 13:48 midi0
-rw-r--r-- 1 root root 0 Mai 15 13:48 oss_mixer
-r--r--r-- 1 root root 0 Mai 15 13:48 usbbus
-r--r--r-- 1 root root 0 Mai 15 13:48 usbid
-r--r--r-- 1 root root 0 Mai 15 13:48 usbmixer

Pixel C USB Midi
---------------------------------------------------------------

tail -f /var/log/kern.log
Apr 22 21:48:29 ensonic.roam.corp.google.com kernel: usb 1-1: USB
disconnect, device number 27
Apr 22 21:48:30 ensonic.roam.corp.google.com kernel: usb 1-1: new
high-speed USB device number 28 using xhci_hcd
Apr 22 21:48:30 ensonic.roam.corp.google.com kernel: usb 1-1: New USB
device found, idVendor=18d1, idProduct=5209, bcdDevice= 2.23
Apr 22 21:48:30 ensonic.roam.corp.google.com kernel: usb 1-1: New USB
device strings: Mfr=1, Product=2, SerialNumber=3
Apr 22 21:48:30 ensonic.roam.corp.google.com kernel: usb 1-1: Product:
Pixel C
Apr 22 21:48:30 ensonic.roam.corp.google.com kernel: usb 1-1:
Manufacturer: Google
Apr 22 21:48:30 ensonic.roam.corp.google.com kernel: usb 1-1:
SerialNumber: 5B16001650

lsusb | grep Google
Bus 001 Device 019: ID 18d1:520a Google Inc. Pixel C

aseqdump -l
 Port    Client name                      Port name
  0:0    System                           Timer
  0:1    System                           Announce
 14:0    Midi Through                     Midi Through Port-0
 
cat /proc/asound/seq/clients
Client info
  cur  clients : 2
  peak clients : 7
  max  clients : 192

Client   0 : "System" [Kernel]
  Port   0 : "Timer" (Rwe-)
  Port   1 : "Announce" (R-e-)
Client  14 : "Midi Through" [Kernel]
  Port   0 : "Midi Through Port-0" (RWe-)

ll /proc/asound/C/
total 0
-r--r--r-- 1 root root 0 Mai 15 13:51 id
-r--r--r-- 1 root root 0 Mai 15 13:51 midi0
-rw-r--r-- 1 root root 0 Mai 15 13:51 oss_mixer
-r--r--r-- 1 root root 0 Mai 15 13:51 usbbus
-r--r--r-- 1 root root 0 Mai 15 13:51 usbid
-r--r--r-- 1 root root 0 Mai 15 13:51 usbmixer


_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux