ALSA Support for Roland GAIA SH-01 Synthesizer

Bug #902497 reported by John F Leach
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Please add support for Roland GAIA SH-01 Synthesizer from sound tree to kernel.

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commit;h=ae7cc709f2ec11b49fc31b20cd8c943794ae9576

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-36-generic 2.6.32-36.79
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-36.79-generic 2.6.32.46+drm33.20
Uname: Linux 2.6.32-36-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: synapse 2322 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf7ff8000 irq 22'
   Mixer name : 'VIA ID 441'
   Components : 'HDA:11060441,104383df,00100100'
   Controls : 4
   Simple ctrls : 3
Date: Sat Dec 10 06:33:26 2011
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=837abdd3-0837-40ac-bcdc-f075d0353872
InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release amd64 (20110720.1)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.

 vboxnet0 no wireless extensions.
MachineType: System manufacturer System Product Name
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-36-generic root=UUID=88fac698-393e-4fcb-be5d-48ce606ee948 ro crashkernel=384M-2G:64M,2G-:128M quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34.7
RfKill:

SourcePackage: linux
WifiSyslog:
 Dec 9 20:38:07 darkside kernel: [1126750.857236] npviewer.bin[24551]: segfault at 4e8 ip 00000000f5c099ea sp 00000000ff8f0ce0 error 4 in libflashplayer.so[f5828000+fc8000]
 Dec 9 22:14:50 darkside kernel: [1132544.749091] npviewer.bin[24733]: segfault at 7 ip 00000000f60131d5 sp 00000000fffce530 error 4 in libflashplayer.so[f5838000+fc8000]
 Dec 9 22:59:00 darkside kernel: [1135191.099123] npviewer.bin[25307]: segfault at 3b ip 00000000f60d31d5 sp 00000000ffb63830 error 4 in libflashplayer.so[f58f8000+fc8000]
 Dec 9 23:26:23 darkside kernel: [1136830.846730] npviewer.bin[25467]: segfault at 7 ip 00000000f604c1d5 sp 00000000ff9cd540 error 4 in libflashplayer.so[f5871000+fc8000]
 Dec 9 23:45:03 darkside kernel: [1137949.633964] npviewer.bin[25619]: segfault at 7 ip 00000000f5fff1d5 sp 00000000ffaa02e0 error 4 in libflashplayer.so[f5824000+fc8000]
dmi.bios.date: 09/03/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0606
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: SABERTOOTH 55i
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0606:bd09/03/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnSABERTOOTH55i:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
John F Leach (jfleach) wrote :
affects: ubuntu → linux (Ubuntu)
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

@John,

This commit will eventually make it in the Precise(12.04) release automatically. That will happen when we re-base to the latest upstream kernel.

Changed in linux (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
Revision history for this message
John F Leach (jfleach) wrote :

@Joseph Appreciate the help, thanks for letting me know the process.

Revision history for this message
John F Leach (jfleach) wrote :

Verified as working in 3.2.0-23-generic #36 Ubuntu.

Changed in linux (Ubuntu):
status: Triaged → In Progress
status: In Progress → Fix Released
Revision history for this message
Charles (landemaine) wrote :

Hello, even if I turn on my SH-01 before turning on my computer, it isn't detected by dmesg. I use a regular USB cable. I'm using the latest stable version of Ubuntu.

Revision history for this message
Stefan Sauer (ensonic) wrote :

I am on 14.04, and there is still something wrong with it. The midi part work, but audio works only from the computer to the GAIA, the audio that is played from the GAIA to the computer does not work (only getting silence).

When I turn on the synthesizer I get these in the /var/log/messages:
Jul 7 22:01:45 square.roam.corp.google.com kernel: [ 1526.365531] usb 4-1.5: new high-speed USB device number 8 using ehci-pci
Jul 7 22:01:45 square.roam.corp.google.com kernel: [ 1526.459063] usb 4-1.5: New USB device found, idVendor=0582, idProduct=0111
Jul 7 22:01:45 square.roam.corp.google.com kernel: [ 1526.459084] usb 4-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jul 7 22:01:45 square.roam.corp.google.com kernel: [ 1526.459087] usb 4-1.5: Product: SH-01
Jul 7 22:01:45 square.roam.corp.google.com kernel: [ 1526.459090] usb 4-1.5: Manufacturer: Roland
Jul 7 22:01:45 square.roam.corp.google.com mtp-probe: checking bus 4, device 8: "/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.5"
Jul 7 22:01:45 square.roam.corp.google.com mtp-probe: bus: 4, device: 8 was not an MTP device
Jul 7 22:01:45 square.roam.corp.google.com kernel: [ 1526.520043] usb 4-1.5: Unable to change format on ep #84: already in use
Jul 7 22:01:45 square.roam.corp.google.com kernel: [ 1526.520076] usb 4-1.5: Unable to change format on ep #84: already in use
Jul 7 22:01:45 square.roam.corp.google.com kernel: [ 1526.520110] usb 4-1.5: Unable to change format on ep #84: already in use
Jul 7 22:01:45 square.roam.corp.google.com kernel: [ 1526.520296] usb 4-1.5: Unable to change format on ep #84: already in use

> aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SH01 [SH-01], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

> arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SH01 [SH-01], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

> amidi -l
Dir Device Name
IO hw:1,0,0 SH-01 MIDI 1
IO hw:1,0,1 SH-01 MIDI 2

Revision history for this message
Stefan Sauer (ensonic) wrote :

Oh not sure if it matters, once the keyboard is connected to the computer it is almost unplayable from the keyboard (as if there is lots of traffic on the usb connection that keeps it busy). Let me know if there are ways to get more diagnostics.

Revision history for this message
John F Leach (jfleach) wrote :

@Stefan,

I seem to recall some issues playing audio from the GAIA to my system, but haven't used it in while. I'm not sure what those "square.roam.corp.google.com" entries in your logs are. You are using all of the right debugging techniques and the problem might be related to the type of USB quirk entry.

Post a question on the alsa-devel mailing list and they will help more than here.

Revision history for this message
Stefan Sauer (ensonic) wrote :

@John, I am on it. There are a few issues:
1) is recent kernel changes for power management. The GAIA unfortunately required the host to read the midi messages. A workaround is to connect e.g. aseqdump.
2) Recording from the synth does not work. This is related to the "Unable to change format on ep #84: already in use" message. Its a driver bugs and I am trying to figure it.

Revision history for this message
John F Leach (jfleach) wrote :

@Stefan,

Glad to see you are working these issues. I was unaware of the problems regarding power management with later kernels, I never saw the #84 message when I added support for the GAIA. I'm sure you will be able to update the driver and I can test it when it's fixed with the latest kernel. Let us know when you have a patch, thanks in advance.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.