Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-25-2012, 12:00 PM
|
#1
|
LQ Newbie
Registered: Jul 2012
Posts: 17
Rep: 
|
cannot open port "default": Inappropriate ioctl for device
How does one resolve this ?
|
|
|
07-26-2012, 06:39 AM
|
#2
|
Member
Registered: Dec 2008
Location: Atlanta, GA, USA
Distribution: Ubuntu
Posts: 135
Rep:
|
Please explain in details about the issue you are seeing.
|
|
|
07-26-2012, 08:54 AM
|
#3
|
LQ Newbie
Registered: Jul 2012
Posts: 17
Original Poster
Rep: 
|
tc@box:~$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0x90320000 irq 46
tc@box:~$ cat /proc/asound/devices
1: : sequencer
2: [ 0- 1]: digital audio playback
3: [ 0- 0]: digital audio playback
4: [ 0- 0]: digital audio capture
5: [ 0- 2]: hardware dependent
6: [ 0] : control
33: : timer
tc@box:~$ cat /proc/asound/seq/clients
Client info
cur clients : 3
peak clients : 3
max clients : 192
Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Connecting To: 15:0
Client 14 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)
Client 15 : "OSS sequencer" [Kernel]
Port 0 : "Receiver" (-we-)
Connected From: 0:1
tc@box:~$ # seems hooked up ?
tc@box:~$ amidi -S "90 3C 7F"
cannot open port "default": Inappropriate ioctl for device
|
|
|
07-26-2012, 09:47 AM
|
#4
|
Member
Registered: Mar 2012
Distribution: Scientific Linux
Posts: 147
Rep:
|
I really don't know anything about this, but docs say default port is set in the configs and -p can be used to feed a port in.
Quote:
-p, --port=name
Sets the name of the ALSA RawMIDI port to use. If this is not
specified, amidi uses the default port defined in the configura‐
tion file (the default for this is port 0 on card 0, which may
not exist).
|
Quote:
EXAMPLES
amidi -p hw:0 -s my_settings.syx
will send the MIDI commands in my_settings.syx to port hw:0.
amidi -S F0 43 10 4C 00 00 7E 00 F7
sends an XG Reset to the default port.
amidi -p hw:1,2 -S F0411042110C000000000074F7 -r dump.syx -t 1
sends a “Parameter Dump Request” to a GS device, saves the
received parameter data to the file dump.syx, and stops after
the device has finished sending data (when no data has been
received for one second).
amidi -p virtual -d
creates a virtual RawMIDI port and prints all data sent to this
port.
|
pulled these off of http://manpages.ubuntu.com/manpages/...1/amidi.1.html
|
|
|
All times are GMT -5. The time now is 10:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|