Re: [linux-audio-user] alsa client numbering

From: Atte André Jensen <atte.jensen@email-addr-hidden>
Date: Mon Apr 17 2006 - 18:14:01 EEST

Clemens Ladisch wrote:

> The client numbering scheme was reorganized in ALSA 1.0.11rc1 because
> there were too many unused reserved numbers and not enough free numbers
> for more than eight cards.

Ok, that explains alot!

>>the 449C fails to show up
> This shouldn't be related to this change. Does it show up in
> /proc/asound/cards?

Nope. This is under 2.6.15-rt21:

[atte@email-addr-hidden atte]$ cat /proc/asound/cards
0 [SI7012 ]: ICH - SiS SI7012
                      SiS SI7012 with ALC200,200P at 0xdc00, irq 10
1 [UA1A ]: USB-Audio - EDIROL UA-1A
                      Roland EDIROL UA-1A at usb-0000:00:03.1-2, full speed
2 [keyboard ]: USB-Audio - MK-249C USB MIDI keyboard
                      Evolution Electronics Ltd. MK-249C USB MIDI
keyboard at usb-0000:00:03.2-1.2, f
3 [keyboard_1 ]: USB-Audio - MK-249C USB MIDI keyboard
                      Evolution Electronics Ltd. MK-249C USB MIDI
keyboard at usb-0000:00:03.2-1.3, f
4 [Keyboard ]: USB-Audio - MK-449C USB MIDI Keyboard
                      Evolution Electronics Ltd. MK-449C USB MIDI
Keyboard at usb-0000:00:03.2-1.1, f

This is with 2.6.16.5-rt14

[atte@email-addr-hidden atte]$ cat /proc/asound/cards
  0 [SI7012 ]: ICH - SiS SI7012
                       SiS SI7012 with ALC200,200P at 0xdc00, irq 10
  1 [UA1A ]: USB-Audio - EDIROL UA-1A
                       Roland EDIROL UA-1A at usb-0000:00:03.2-1, full speed
  2 [keyboard ]: USB-Audio - MK-249C USB MIDI keyboard
                       Evolution Electronics Ltd. MK-249C USB MIDI
keyboard at usb-0000:00:03.1-2.2, f
  3 [keyboard_1 ]: USB-Audio - MK-249C USB MIDI keyboard
                       Evolution Electronics Ltd. MK-249C USB MIDI
keyboard at usb-0000:00:03.1-2.3, f

Thought the attached file might be of use also, it's "dmesg | tail -n
500 > dmesg"

-- 
peace, love & harmony
Atte
http://www.atte.dk
http://www.atte.dk/gps

7>usb 2-2: new device strings: Mfr=0, Product=0, SerialNumber=0
usb 2-2: uevent
usb 2-2: device is bus-powered
usb 2-2: configuration #1 chosen from 1 choice
usb 2-2: adding 2-2:1.0 (config #1, interface 0)
usb 2-2:1.0: uevent
hub 2-2:1.0: usb_probe_interface
hub 2-2:1.0: usb_probe_interface - got id
hub 2-2:1.0: USB hub found
hub 2-2:1.0: 4 ports detected
hub 2-2:1.0: standalone hub
hub 2-2:1.0: ganged power switching
hub 2-2:1.0: global over-current protection
hub 2-2:1.0: power on to power good time: 100ms
hub 2-2:1.0: hub controller current requirement: 100mA
hub 2-2:1.0: 100mA bus power budget for each child
hub 2-2:1.0: no over-current condition exists
hub 2-2:1.0: enabling power on all ports
drivers/usb/core/inode.c: creating file '002'
hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0004
hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
ohci_hcd 0000:00:03.2: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
hub 3-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
ohci_hcd 0000:00:03.2: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 3-1: new full speed USB device using ohci_hcd and address 2
ohci_hcd 0000:00:03.2: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 3-1: ep0 maxpacket = 8
usb 3-1: skipped 5 descriptors after interface
usb 3-1: skipped 2 descriptors after interface
usb 3-1: skipped 1 descriptor after endpoint
usb 3-1: skipped 2 descriptors after interface
usb 3-1: skipped 1 descriptor after endpoint
usb 3-1: default language 0x0409
ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
usb 3-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-1: Product: EDIROL UA-1A
usb 3-1: Manufacturer: Roland
usb 3-1: uevent
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:03.3[D] -> Link [LNKH] -> GSI 11 (level, low) -> IRQ 11
ehci_hcd 0000:00:03.3: EHCI Host Controller
ehci_hcd 0000:00:03.3: reset hcs_params 0x103206 dbg=1 cc=3 pcc=2 ordered !ppc ports=6
ehci_hcd 0000:00:03.3: reset hcc_params 7070 thresh 7 uframes 1024
PCI: cache line size of 128 is not supported by device 0000:00:03.3
usb 3-1: device is self-powered
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: adding 3-1:1.0 (config #1, interface 0)
usb 3-1:1.0: uevent
usb 3-1: adding 3-1:1.1 (config #1, interface 1)
usb 3-1:1.1: uevent
usb 3-1: adding 3-1:1.2 (config #1, interface 2)
usb 3-1:1.2: uevent
drivers/usb/core/inode.c: creating file '002'
hub 2-2:1.0: state 7 ports 4 chg 0000 evt 000e
hub 2-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
drivers/usb/core/inode.c: creating file '004'
ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 4
ehci_hcd 0000:00:03.3: irq 11, io mem 0xdbffe000
ehci_hcd 0000:00:03.3: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT
ehci_hcd 0000:00:03.3: init command 010001 (park)=0 ithresh=1 period=1024 RUN
ehci_hcd 0000:00:03.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb4: default language 0x0409
usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: EHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.16.5-rt14 ehci_hcd
usb usb4: SerialNumber: 0000:00:03.3
usb usb4: uevent
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
hub 2-2:1.0: hub_port_status failed (err = -110)
hub 2-2:1.0: connect-debounce failed, port 1 disabled
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0out 5ec20000 cc 5 --> status -110
hub 2-2:1.0: cannot disable port 1 (err = -110)
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
usb usb4: device is self-powered
usb usb4: configuration #1 chosen from 1 choice
usb usb4: adding 4-0:1.0 (config #1, interface 0)
usb 4-0:1.0: uevent
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
hub 2-2:1.0: hub_port_status failed (err = -110)
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
hub 2-2:1.0: hub_port_status failed (err = -110)
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
ohci_hcd 0000:00:03.1: urb df379d40 path 2 ep0in 5ec20000 cc 5 --> status -110
hub 2-2:1.0: hub_port_status failed (err = -110)
hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0002
ohci_hcd 0000:00:03.2: GetStatus roothub.portstatus [0] = 0x00030100 PESC CSC PPS
hub 3-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
usb 3-1: USB disconnect, address 2
usb 3-1: usb_disable_device nuking all URBs
usb 3-1: unregistering interface 3-1:1.0
usb 3-1:1.0: uevent
usb 3-1: unregistering interface 3-1:1.1
usb 3-1:1.1: uevent
usb 3-1: unregistering interface 3-1:1.2
usb 3-1:1.2: uevent
usb 3-1: unregistering device
usb 3-1: uevent
ohci_hcd 0000:00:03.1: urb df3d4440 path 2 ep1in 5e160000 cc 5 --> status -110
hub 2-2:1.0: transfer --> -110
hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
hub 2-2:1.0: state 7 ports 4 chg 0000 evt 0000
ohci_hcd 0000:00:03.1: urb df3d4440 path 2 ep1in 5e160000 cc 5 --> status -110
hub 2-2:1.0: transfer --> -110
hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0004
ohci_hcd 0000:00:03.1: GetStatus roothub.portstatus [1] = 0x00030100 PESC CSC PPS
hub 2-0:1.0: port 2, status 0100, change 0003, 12 Mb/s
usb 2-2: USB disconnect, address 2
usb 2-2: usb_disable_device nuking all URBs
ohci_hcd 0000:00:03.1: shutdown urb df3d4440 pipe 40408280 ep1in-intr
usb 2-2: unregistering interface 2-2:1.0
usb 2-2:1.0: uevent
usb 2-2: unregistering device
usb 2-2: uevent
hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
hub 4-0:1.0: usb_probe_interface
hub 4-0:1.0: usb_probe_interface - got id
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 6 ports detected
hub 4-0:1.0: standalone hub
hub 4-0:1.0: no power switching (usb 1.0)
hub 4-0:1.0: individual port over-current protection
hub 4-0:1.0: Single TT
hub 4-0:1.0: TT requires at most 8 FS bit times (666 ns)
hub 4-0:1.0: power on to power good time: 20ms
hub 4-0:1.0: local power source is good
hub 4-0:1.0: state 7 ports 6 chg 0000 evt 0000
drivers/usb/core/inode.c: creating file '001'
ehci_hcd 0000:00:03.3: GetStatus port 3 status 001803 POWER sig=j CSC CONNECT
hub 4-0:1.0: port 3, status 0501, change 0001, 480 Mb/s
hub 4-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:03.3: port 3 full speed --> companion
ehci_hcd 0000:00:03.3: GetStatus port 3 status 003801 POWER OWNER sig=j CONNECT
ehci_hcd 0000:00:03.3: GetStatus port 5 status 001803 POWER sig=j CSC CONNECT
hub 4-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
hub 4-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:03.3: port 5 full speed --> companion
ehci_hcd 0000:00:03.3: GetStatus port 5 status 003801 POWER OWNER sig=j CONNECT
usbcore: registered new driver snd-usb-audio
hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0004
ohci_hcd 0000:00:03.1: GetStatus roothub.portstatus [1] = 0x00010101 CSC PPS CCS
hub 2-0:1.0: port 2, status 0101, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
ohci_hcd 0000:00:03.1: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
usb 2-2: new full speed USB device using ohci_hcd and address 3
ohci_hcd 0000:00:03.1: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
usb 2-2: ep0 maxpacket = 8
usb 2-2: new device strings: Mfr=0, Product=0, SerialNumber=0
usb 2-2: uevent
usb 2-2: device is bus-powered
usb 2-2: configuration #1 chosen from 1 choice
usb 2-2: adding 2-2:1.0 (config #1, interface 0)
usb 2-2:1.0: uevent
hub 2-2:1.0: usb_probe_interface
hub 2-2:1.0: usb_probe_interface - got id
hub 2-2:1.0: USB hub found
hub 2-2:1.0: 4 ports detected
hub 2-2:1.0: standalone hub
hub 2-2:1.0: ganged power switching
hub 2-2:1.0: global over-current protection
hub 2-2:1.0: power on to power good time: 100ms
hub 2-2:1.0: hub controller current requirement: 100mA
hub 2-2:1.0: 100mA bus power budget for each child
hub 2-2:1.0: no over-current condition exists
hub 2-2:1.0: enabling power on all ports
drivers/usb/core/inode.c: creating file '003'
hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0002
ohci_hcd 0000:00:03.2: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
hub 3-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
ohci_hcd 0000:00:03.2: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 3-1: new full speed USB device using ohci_hcd and address 3
ohci_hcd 0000:00:03.2: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 3-1: ep0 maxpacket = 8
usb 3-1: skipped 5 descriptors after interface
usb 3-1: skipped 2 descriptors after interface
usb 3-1: skipped 1 descriptor after endpoint
usb 3-1: skipped 2 descriptors after interface
usb 3-1: skipped 1 descriptor after endpoint
usb 3-1: default language 0x0409
usb 3-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-1: Product: EDIROL UA-1A
usb 3-1: Manufacturer: Roland
usb 3-1: uevent
usb 3-1: device is self-powered
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: adding 3-1:1.0 (config #1, interface 0)
usb 3-1:1.0: uevent
snd-usb-audio 3-1:1.0: usb_probe_interface
snd-usb-audio 3-1:1.0: usb_probe_interface - got id
3:1:1: add audio endpoint 0x1
3:2:1: add audio endpoint 0x82
usb 3-1: adding 3-1:1.1 (config #1, interface 1)
usb 3-1:1.1: uevent
usb 3-1: adding 3-1:1.2 (config #1, interface 2)
usb 3-1:1.2: uevent
drivers/usb/core/inode.c: creating file '003'
hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0004
hub 2-2:1.0: state 7 ports 4 chg 0000 evt 000e
hub 2-2:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 2-2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
usb 2-2.1: new full speed USB device using ohci_hcd and address 4
usb 2-2.1: skipped 1 descriptor after interface
usb 2-2.1: skipped 5 descriptors after interface
usb 2-2.1: skipped 1 descriptor after endpoint
usb 2-2.1: skipped 1 descriptor after endpoint
usb 2-2.1: default language 0x0409
usb 2-2.1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-2.1: Product: MK-449C USB MIDI Keyboard
usb 2-2.1: Manufacturer: Evolution Electronics Ltd.
usb 2-2.1: uevent
usb 2-2.1: device is bus-powered
usb 2-2.1: no configuration chosen from 1 choice
drivers/usb/core/inode.c: creating file '004'
hub 2-2:1.0: 300mA power budget left
hub 2-2:1.0: port 2, status 0101, change 0001, 12 Mb/s
hub 2-2:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
usb 2-2.2: new full speed USB device using ohci_hcd and address 5
usb 2-2.2: skipped 1 descriptor after interface
usb 2-2.2: skipped 5 descriptors after interface
usb 2-2.2: skipped 1 descriptor after endpoint
usb 2-2.2: skipped 1 descriptor after endpoint
usb 2-2.2: default language 0x0409
usb 2-2.2: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-2.2: Product: MK-249C USB MIDI keyboard
usb 2-2.2: Manufacturer: Evolution Electronics Ltd.
usb 2-2.2: uevent
usb 2-2.2: device is bus-powered
usb 2-2.2: configuration #1 chosen from 1 choice
usb 2-2.2: adding 2-2.2:1.0 (config #1, interface 0)
usb 2-2.2:1.0: uevent
snd-usb-audio 2-2.2:1.0: usb_probe_interface
snd-usb-audio 2-2.2:1.0: usb_probe_interface - got id
MIDIStreaming version 01.00
EP 81: 1 jack(s)
EP 02: 1 jack(s)
created 1 output and 1 input ports
usb 2-2.2: adding 2-2.2:1.1 (config #1, interface 1)
usb 2-2.2:1.1: uevent
drivers/usb/core/inode.c: creating file '005'
hub 2-2:1.0: 300mA power budget left
hub 2-2:1.0: port 3, status 0101, change 0001, 12 Mb/s
hub 2-2:1.0: debounce: port 3: total 100ms stable 100ms status 0x101
usb 2-2.3: new full speed USB device using ohci_hcd and address 6
usb 2-2.3: skipped 1 descriptor after interface
usb 2-2.3: skipped 5 descriptors after interface
usb 2-2.3: skipped 1 descriptor after endpoint
usb 2-2.3: skipped 1 descriptor after endpoint
usb 2-2.3: default language 0x0409
usb 2-2.3: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-2.3: Product: MK-249C USB MIDI keyboard
usb 2-2.3: Manufacturer: Evolution Electronics Ltd.
usb 2-2.3: uevent
usb 2-2.3: device is bus-powered
usb 2-2.3: configuration #1 chosen from 1 choice
usb 2-2.3: adding 2-2.3:1.0 (config #1, interface 0)
usb 2-2.3:1.0: uevent
snd-usb-audio 2-2.3:1.0: usb_probe_interface
snd-usb-audio 2-2.3:1.0: usb_probe_interface - got id
MIDIStreaming version 01.00
EP 81: 1 jack(s)
EP 02: 1 jack(s)
created 1 output and 1 input ports
usb 2-2.3: adding 2-2.3:1.1 (config #1, interface 1)
usb 2-2.3:1.1: uevent
drivers/usb/core/inode.c: creating file '006'
hub 2-2:1.0: 300mA power budget left
hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0002
hub 2-2:1.0: state 7 ports 4 chg 0000 evt 0008
ndiswrapper version 1.10 loaded (preempt=yes,smp=no)
ndiswrapper: driver bcmwl5 (Broadcom,06/13/2003, 3.20.23.0) loaded
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
ndiswrapper: using irq 5
wlan0: vendor: ''
wlan0: ndiswrapper ethernet device 00:90:4b:24:09:03 using driver bcmwl5, 14E4:4301.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA
mtrr: 0xc8000000,0x8000000 overlaps existing 0xc8000000,0x4000000
mtrr: 0xc8000000,0x8000000 overlaps existing 0xc8000000,0x4000000
mtrr: 0xc8000000,0x8000000 overlaps existing 0xc8000000,0x4000000
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:drm_unlock] *ERROR* Process 3876 using kernel context 0
BUG: scheduling while atomic: softirq-tasklet/0x00000001/7
caller is schedule+0x4a/0x122
 [<c0393afb>] __schedule+0x655/0x673 (8)
 [<c01166fb>] activate_task+0x58/0x75 (36)
 [<c0393b63>] schedule+0x4a/0x122 (52)
 [<c0394861>] rt_lock_slowlock+0xaa/0x170 (36)
 [<c0394fed>] __lock_text_start+0x1d/0x1f (84)
 [<c0157922>] kfree+0x1e/0x4e (4)
 [<c0338f21>] kfree_skbmem+0x8/0x62 (12)
 [<e09c9833>] free_send_packet+0xa0/0xb1 [ndiswrapper] (8)
 [<e09bd2df>] NdisMSendComplete+0x1a/0x40 [ndiswrapper] (24)
 [<e09bac03>] NdisAcquireSpinLock+0x0/0x5b [ndiswrapper] (28)
 [<e09bcaaf>] ndis_irq_handler+0x25/0x4b [ndiswrapper] (36)
 [<c012015f>] __tasklet_action+0x45/0xe0 (16)
 [<c012038b>] ksoftirqd+0xe5/0x166 (24)
 [<c0117391>] complete+0x42/0x6b (36)
 [<c01202a6>] ksoftirqd+0x0/0x166 (20)
 [<c012cd7c>] kthread+0x9c/0xa1 (4)
 [<c012cce0>] kthread+0x0/0xa1 (20)
 [<c01013dd>] kernel_thread_helper+0x5/0xb (16)
Received on Mon Apr 17 20:15:02 2006

This archive was generated by hypermail 2.1.8 : Mon Apr 17 2006 - 20:15:03 EEST