Re: [gentoo-user] problems with usb audio and midi

2014-04-26 Thread Mick
On Saturday 26 Apr 2014 01:26:32 luis jure wrote:
 el 2014-04-25 a las 06:41 Mick escribió:
  Oops!  I gave a bum steer, my apologies!
  I meant to have typed:
  lspci -v | grep -i OHCI
 
 he, should have noticed that myself... :-)
 
 the output here is very similar to yours, OHCI is used only by the
 firewire controller (which i don't use, anyway).
 
 i got the midi controllers working on csound, where i can set the midi
 device in the command line. but nothing on the gui applications (qtractor,
 rosegarden, musescore...). i have to investigate more...

I have no experience with midi devices, but from my understanding you need to 
get jack configured first.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] problems with usb audio and midi

2014-04-26 Thread luis jure

el 2014-04-26 a las 10:13 Mick escribió:

 I have no experience with midi devices, but from my understanding you
 need to get jack configured first.

jack is an additional (and optional) layer that provides low latency audio
(and midi) communication between different applications, and between them
and the sound card. if you don't need that, you don't need jack. in no way
is it mandatory.



Re: [gentoo-user] problems with usb audio and midi

2014-04-25 Thread luis jure

el 2014-04-25 a las 06:41 Mick escribió:

 Oops!  I gave a bum steer, my apologies!
 I meant to have typed:
 lspci -v | grep -i OHCI

he, should have noticed that myself... :-)

the output here is very similar to yours, OHCI is used only by the
firewire controller (which i don't use, anyway).

i got the midi controllers working on csound, where i can set the midi
device in the command line. but nothing on the gui applications (qtractor,
rosegarden, musescore...). i have to investigate more...

thanks for your help.


lj



Re: [gentoo-user] problems with usb audio and midi

2014-04-24 Thread Mick
On Thursday 24 Apr 2014 03:47:35 luis jure wrote:
 i have an internal pci card (m-audio 2496) that works fine on my gentoo
 machine, but i'm having problems with usb audio cards and midi devices.
[snip ...]

 difference i see is that gentoo uses uhci_hcd, while xubuntu uses
 ohci-pci, not that i know what that means...

It means USB-1.1 as defined by AMD (I think).

lspci | grep OHCI should show if you need it.


 i would appreciate any help.
 here is the result of zcat /proc/config.gz | grep -i usb
[snip ...]

 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_OHCI_HCD_PCI=y
 # CONFIG_USB_OHCI_HCD_PLATFORM is not set

Try enabling the last module above and see what you get.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] problems with usb audio and midi

2014-04-24 Thread luis jure


thanks for your answer!

actually, i just realized that it's working now. unfortunately i don't
know what of all the things i've been trying made the difference...

$ cat /proc/asound/cards 
 0 [M2496  ]: ICE1712 - M Audio Audiophile 24/96
  M Audio Audiophile 24/96 at 0xec00, irq 16
 1 [CODEC  ]: USB-Audio - USB Audio CODEC
  Burr-Brown from TI USB Audio CODEC at
usb-:00:1a.1-2, full speed 
 2 [nanoKONTROL2   ]: USB-Audio - nanoKONTROL2 KORG INC. nanoKONTROL2 at
usb-:00:1a.1-1, full speed

the usb audio card is working.

the midi controllers, on the other hand, although recognized by the
system, are not seen by the midi sequencers i tried (rosegarden and
qtractor). i'll have to investigate more, because it's the midi
controllers what i'm interested in.

 It means USB-1.1 as defined by AMD (I think).
 
 lspci | grep OHCI should show if you need it.

mmm... lspci | grep OHCI gives nothing, so i guess i'll disable these
modules in the kernel.

thanks again, and if anyone knows how i could actually use those midi
controllers, i would appreciate any help.

lj



Re: [gentoo-user] problems with usb audio and midi

2014-04-24 Thread Mick
On Thursday 24 Apr 2014 17:32:25 luis jure wrote:
  lspci | grep OHCI should show if you need it.
 
 mmm... lspci | grep OHCI gives nothing, so i guess i'll disable these
 modules in the kernel.

Oops!  I gave a bum steer, my apologies!

I meant to have typed:

  lspci -v | grep -i OHCI


As an example, this is what my firewire is using:

# lspci -v | grep -i OHCI
09:00.3 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 PCIe IEEE 1394 Controller 
(rev 01) (prog-if 10 [OHCI])
Kernel driver in use: firewire_ohci
Kernel modules: firewire_ohci

HTH.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] problems with usb audio and midi

2014-04-23 Thread luis jure

i have an internal pci card (m-audio 2496) that works fine on my gentoo
machine, but i'm having problems with usb audio cards and midi devices.
with different devices i get messages similar to this (for the korg
nanokontrol midi controller):

[19616.783860] usb 4-2: new full-speed USB device number 19 using uhci_hcd
[19616.950892] cannot find the slot for index 0 (range 0-5), error: -16
[19616.950894] cannot create card instance 0
[19616.950899] snd-usb-audio: probe of 4-2:1.0 failed with error -5

it works fine on a netbook with xubuntu:

[  671.691137] usb 4-3: new full-speed USB device number 3 using ohci-pci
[  671.859503] usb 4-3: New USB device found, idVendor=0944, idProduct=0117
[  671.859521] usb 4-3: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[  671.859530] usb 4-3: Product: nanoKONTROL2
[  671.859538] usb 4-3: Manufacturer: KORG INC.
[  672.224152] usbcore: registered new interface driver snd-usb-audio

normally i'm fairly minimalist with my kernels, but now i tried to build
everything that could be relevant, and lsmod shows that i have all the
modules present on the xubuntu netbook, and then some. the first
difference i see is that gentoo uses uhci_hcd, while xubuntu uses
ohci-pci, not that i know what that means...

i would appreciate any help. 
here is the result of zcat /proc/config.gz | grep -i usb

# CONFIG_USB_SWITCH_FSA9480 is not set
# USB Network Adapters
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_RTL8152 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_IPHETH is not set
# CONFIG_MOUSE_SYNAPTICS_USB is not set
# CONFIG_I2C_TINY_USB is not set
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_UA101 is not set
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_USB_US122L is not set
# CONFIG_SND_USB_6FIRE is not set
# CONFIG_SND_USB_HIFACE is not set
# USB HID support
CONFIG_USB_HID=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
# Miscellaneous USB options
CONFIG_USB_DEFAULT_PERSIST=y
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG is not set
# CONFIG_USB_MON is not set
# CONFIG_USB_WUSB_CBAF is not set
# USB Host Controller Drivers
# CONFIG_USB_C67X00_HCD is not set
# CONFIG_USB_XHCI_HCD is not set
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
CONFIG_USB_EHCI_PCI=y
# CONFIG_USB_EHCI_HCD_PLATFORM is not set
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_ISP1760_HCD is not set
# CONFIG_USB_ISP1362_HCD is not set
# CONFIG_USB_FUSBH200_HCD is not set
# CONFIG_USB_FOTG210_HCD is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PCI=y
# CONFIG_USB_OHCI_HCD_PLATFORM is not set
CONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_HCD_TEST_MODE is not set
# USB Device Class drivers
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=y
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
# also be needed; see USB_STORAGE Help for more info
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_REALTEK is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
# CONFIG_USB_STORAGE_ENE_UB6250 is not set
# USB Imaging devices
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_MUSB_HDRC is not set
# CONFIG_USB_DWC3 is not set
# CONFIG_USB_DWC2 is not set
# CONFIG_USB_CHIPIDEA is not set
# USB port drivers
# CONFIG_USB_SERIAL is not set
# USB Miscellaneous drivers
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_EHSET_TEST_FIXTURE is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_YUREX is not set
# CONFIG_USB_EZUSB_FX2 is not set
# CONFIG_USB_HSIC_USB3503 is not set
# USB Physical Layer drivers
# CONFIG_USB_PHY