9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] usbaudio problem
@ 2007-03-03  0:24 David du Colombier
  2007-03-03 10:57 ` Richard Miller
  0 siblings, 1 reply; 4+ messages in thread
From: David du Colombier @ 2007-03-03  0:24 UTC (permalink / raw)
  To: 9fans

Hello,

I am trying to make my Edirol UM-1EX USB MIDI Interface working with
Plan 9.
usb/usbaudio is known to work successfully with Edirol UA-1X, which
is a similar, but older interface.

The problem: usbaudio does not create /dev/audio and /dev/audioin
files and crash when trying to access /dev/audioctl.

Here is what I have tried:

term% usb/usbd
term% usb/usbaudio
term% du -a /dev | grep audio
0   /dev/audioctl
0   /dev/audiostat
term% ls /dev/audioctl
148.4 strlen(a->s) < 1024: assertion failed
usbaudio 148: suicide: sys: trap: fault read addr=0x0 oc=0x00011804
ls: /dev/audioctl: i/o on hungup channel
term%

Do you have any idea to make Edirol UM-1EX working?

Thank you.

-- 
David du Colombier


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] usbaudio problem
  2007-03-03  0:24 [9fans] usbaudio problem David du Colombier
@ 2007-03-03 10:57 ` Richard Miller
  2007-03-03 11:20   ` David du Colombier
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Miller @ 2007-03-03 10:57 UTC (permalink / raw)
  To: 9fans

Try 'usbaudio -d1' for more information, or' usbaudio -d-1' for very much
more information.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] usbaudio problem
  2007-03-03 10:57 ` Richard Miller
@ 2007-03-03 11:20   ` David du Colombier
  2007-03-04 17:03     ` Richard Miller
  0 siblings, 1 reply; 4+ messages in thread
From: David du Colombier @ 2007-03-03 11:20 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> Try 'usbaudio -d1' for more information, or' usbaudio -d-1' for  
> very much
> more information.

term% usb/usbaudio -d-1
out	5	[8] 80 06 00 01 00 00 ff 03
in	5	[18] 12 01 10 01 00 00 00 08 82 05 9d 00 00 01 01 02 00 01
pdesc 1.-1 [18]
desc 1.-1 [18] 0x01: usb (bcd)0110 class 0 subclass 0 proto 0 [0.0.0]  
max0 8
vendor 0x582 product 0x9d device (bcd)0100 man 1 prod 2 serial 0  
nconfig 1
out	5	[8] 80 06 00 02 00 00 ff 03
in	5	[101] 09 02 65 00 02 01 00 80 23 09 04 00 00 00 01 01 00 00 09
24 01 00 01 09 00 01 01 09 04 01 00 02 01 03 00 00 07 24 01 00 01 25  
00 06 24
02 01 40 00 06 24 02 02 80 00 09 24 03 01 20 01 80 01 00 09 24 03 02  
10 01 40
01 00 09 05 01 02 40 00 00 00 00 05 25 01 01 40 09 05 81 02 40 00 00  
00 00 05
25 01 01 20
pdesc 1.0 [101]
desc 1.0 [9] 0x02: config 1: tdlen 101 ninterface 2 iconfig 0 attr  
0x80 power
70mA
desc 1.0 [9] 0x04: interface 0: alt 0 nept 0 class 0x1 subclass 0x1  
proto 0
[audio.control.0] iinterface 0
desc 1.0 [9] 0x24: 1.1: Class-Specific AC Interface Header Descriptor
	AudioDeviceClass release (bcd)0100, TotalLength 9, InCollection 1
aInterfaceNr 1

desc 1.0 [9] 0x04: interface 1: alt 0 nept 2 class 0x1 subclass 0x3  
proto 0
[audio.midi.0] iinterface 0
desc 1.0 [7] 0x24: 1.3: Unknown audio stream type: CS_INTERFACE 01 00  
01 25 00
desc 1.0 [6] 0x24: 1.3: Unknown audio stream type: CS_INTERFACE 02 01  
40 00
desc 1.0 [6] 0x24: 1.3: Unknown audio stream type: CS_INTERFACE 02 02  
80 00
desc 1.0 [9] 0x24: 1.3: Unknown audio stream type: CS_INTERFACE 03 01  
20 01 80
01 00
desc 1.0 [9] 0x24: 1.3: Unknown audio stream type: CS_INTERFACE 03 02  
10 01 40
01 00
desc 1.0 [9] 0x05: addr 0x01 attrib 0x02 maxpkt 64 interval 0ms [OUT]
[Bulk]refresh 0 synchaddress 0
desc 1.0 [5] 0x25: CS_ENDPOINT for attributes 0x1, lockdelayunits 64,  
lockdelay
0x509, has sampling-frequency control, does not have pitch control

desc 1.0 [9] 0x05: addr 0x81 attrib 0x02 maxpkt 64 interval 0ms [IN]
[Bulk]refresh 0 synchaddress 0
desc 1.0 [5] 0x25: CS_ENDPOINT for attributes 0x1, lockdelayunits 32,  
lockdelay
0xfefe, has sampling-frequency control, does not have pitch control

Record speed control not settable
Record mute control not settable
Record volume control not settable
Record bass control not settable
Record mid control not settable
Record treble control not settable
Record equalizer control not settable
Record agc control not settable
Record delay control not settable
Record bassboost control not settable
Record loudness control not settable
Record channels control not settable
Record resolution control not settable
Playback speed control not settable
Playback mute control not settable
Playback volume control not settable
Playback bass control not settable
Playback mid control not settable
Playback treble control not settable
Playback equalizer control not settable
Playback agc control not settable
Playback delay control not settable
Playback bassboost control not settable
Playback loudness control not settable
Playback channels control not settable
Playback resolution control not settable
setcontrol: control 0.1 not settable
term% io:<-Tversion tag 65535 msize 8216 version '9P2000'
io:->Rversion tag 65535 msize 4120 version '9P2000'
io:<-Tattach tag 10 fid 239 afid -1 uname fish aname
io:->Rattach tag 10 qid (0000000000000000 0 d)


I cut at 80 char for e-mail conformance.

-- 
David du Colombier


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] usbaudio problem
  2007-03-03 11:20   ` David du Colombier
@ 2007-03-04 17:03     ` Richard Miller
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Miller @ 2007-03-04 17:03 UTC (permalink / raw)
  To: 9fans

According to the USB configuration descriptors, this device
supports MIDI and nothing else.  Plan 9 usbaudio is for digital
audio input and output (A/D and D/A), not for MIDI.  Sorry.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-04 17:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-03  0:24 [9fans] usbaudio problem David du Colombier
2007-03-03 10:57 ` Richard Miller
2007-03-03 11:20   ` David du Colombier
2007-03-04 17:03     ` Richard Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).