Hello again:

Things are improving but still no sound on my keyboard...

Clemens Ladisch <[EMAIL PROTECTED]> wrote:

0.9.0rc4 is broken. Use rc5 or the latest CVS.
Done.

> By the way, I realized my Yamaha keyboard has a built-in USB port,
so it's a CLP-150 or CLP-170?
Yes, it's a CLP-150.

Please show the output of lsusb and the contents of /proc/bus/usb/devices,
/proc/asound/cards, /proc/asound/seq/clients and /proc/asound/cardx/midi0.
Here's the output:

# /sbin/lsusb
Bus 001 Device 001: ID 0000:0000 Virtual Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000 Virtual
idProduct 0x0000 Hub
bcdDevice 0.00
iManufacturer 0
iProduct 2 USB UHCI Root Hub
iSerial 1 d400
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 8
bInterval 255
Language IDs: (length=4)
0000 (null)((null))

Bus 001 Device 002: ID 0499:100f Yamaha Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0499 Yamaha Corp.
idProduct 0x100f
bcdDevice 1.00
iManufacturer 1 YAMAHA Corporation
iProduct 2 CLP_950x
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 69
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
unknown descriptor type: 07 24 01 00 01 33 00
unknown descriptor type: 06 24 02 02 01 00
unknown descriptor type: 06 24 02 02 02 00
unknown descriptor type: 09 24 03 02 01 01 01 01 00
unknown descriptor type: 09 24 03 02 02 01 01 01 00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 1
Language IDs: (length=4)
0409 English(US)

Bus 001 Device 003: ID 046d:c00c Logitech Inc. Optical Wheel Mouse
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x046d Logitech Inc.
idProduct 0xc00c Optical Wheel Mouse
bcdDevice 6.10
iManufacturer 1 Logitech
iProduct 2 USB Mouse
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 68
cannot get report descriptor
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 8
bInterval 10
Language IDs: (length=4)
0409 English(US)


# cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc=118/900 us (13%), #Int= 1, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0499 ProdID=100f Rev= 1.00
S: Manufacturer=YAMAHA Corporation
S: Product=CLP_950x
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=ff Driver=snd-usb-audio
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 1ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 1ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c00c Rev= 6.10
S: Manufacturer=Logitech
S: Product=USB Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl= 10ms


# cat /proc/asound/cards
0 [card0 ]: EMU10K1 - Sound Blaster Live!
Sound Blaster Live! at 0xe000, irq 5
1 [card1 ]: USB-Audio - CLP_950x
YAMAHA Corporation CLP_950x


# cat /proc/asound/seq/clients
Client info
cur clients : 5
peak clients : 5
max clients : 192

Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Connecting To: 63:0
Client 63 : "OSS sequencer" [Kernel]
Port 0 : "Receiver" (-we-)
Connected From: 0:1
Output pool :
Pool size : 1024
Cells in use : 0
Peak cells in use : 1024
Alloc success : 7390
Alloc failures : 0
Client 64 : "External MIDI 0" [Kernel]
Port 0 : "MIDI 0-0" (RWeX)
Client 65 : "Emu10k1 WaveTable" [Kernel]
Port 0 : "Emu10k1 Port 0" (-We-)
Port 1 : "Emu10k1 Port 1" (-We-)
Port 2 : "Emu10k1 Port 2" (-We-)
Port 3 : "Emu10k1 Port 3" (-We-)
Client 72 : "External MIDI 1" [Kernel]
Port 0 : "CLP_950x Port 0" (RWeX)
Port 1 : "CLP_950x Port 1" (RWeX)


# cat /proc/asound/card1/midi0
YAMAHA Corporation CLP_950x

Output 0
Tx bytes : 0
Output 1
Tx bytes : 0
Input 0
Rx bytes : 0
Input 1
Rx bytes : 0

Obviously Linux is seeing and recognizing the keyboard, but the question is, how can I get sound in/out via MIDI? I've tried playmidi with various command line options as well as trying to cat midi files to my /dev/sequencer, /dev/midi, /dev/midi1, etc. but no such luck.

By the way, since I'm so close to getting this to work, if anybody has a suggestion for a decent piece of software (preferably freeware but not necessarily so) which can allow playing midi files, as well as recording midi files (and hopefully generating scores, but there's always mid2ly if not) I'd appreciate it.

I'll be on vacation for the next week, so it would raise your chances of
an answer.  :-)
Hope you've been having a good one!

Thanks again for all the help.


_________________________________________________________________
Broadband? Dial-up? Get reliable MSN Internet Access. http://resourcecenter.msn.com/access/plans/default.asp



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to