Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (8) </ 1 2 3 [4] 5 6 7 8 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: USB Midi interfaces< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: May 12 2007,09:45 QUOTE

Quote
dsl@dslbox:~$ mplayer -ao alsa/http://www.archive.org./details/timkaufmanntestmp3

Hmm... I'm not sure if playing from a web address would neccessarily work and I think there needs to be a space after "alsa". Could you try this again with an mp3 file on your local hd?

One other thing to try would be to check if the mixer controls are muted, i.e.
Code Sample
# alsamixer
This should bring up a graphical representation of the mixer controls with master volume, mute, etc indicated - you can adjust the controls using the arrow keys and "m" for mute/un-mute
Back to top
Profile PM 
blip Offline





Group: Members
Posts: 125
Joined: May 2007
Posted: May 13 2007,12:28 QUOTE

Hi Juanito
Sorry I didn't get back to you yesterday about this....
I've repeated all the steps so far in this post below. I don't seem to be able to uninstall oss ( or it can't find something to uninstall). I can't bring up the alsa mixer. I have installed Alsa (from the MyDSL control panel) and run it ( it detects my intel soundcard)...there's no mention of usb midi though....is that normal? It can see the usb device in lsusb but how on earth can one activate it?
Thanks again, I'm almost ready to give up but there's part of me that wants to solve this ! It could be useful for all sort of people wanting to run midi and laptops on DSL-N...maybe I'm the only one!

PS When I try to play an mp3 from hard drive see my output below....
Module                  Size  Used by
snd_intel8x0           30528  0
snd_ac97_codec         72312  1 snd_intel8x0
snd_pcm_oss            47264  0
snd_pcm                77316  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              23556  1 snd_pcm
snd_page_alloc         11268  2 snd_intel8x0,snd_pcm
snd_mixer_oss          18304  1 snd_pcm_oss
snd                    46820  6 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
af_packet              24328  0
i810_audio             36116  0
ac97_codec             20236  1 i810_audio
soundcore              11104  2 snd,i810_audio
3c59x                  42024  0
mii                     8320  1 3c59x
intel_agp              22300  1
agpgart                31440  1 intel_agp
hw_random               8468  0
i2c_i801               11404  0
i2c_core               20992  1 i2c_i801
parport_pc             38724  0
parport                33480  1 parport_pc
8250                   42844  0
serial_core            21120  1 8250
usbhid                 42464  0
pcmcia                 23696  2
yenta_socket           22152  1
rsrc_nonstatic         14080  1 yenta_socket
pcmcia_core            43268  3 pcmcia,yenta_socket,rsrc_nonstatic
video                  18308  0
thermal                14984  0
processor              24520  1 thermal
fan                     7300  0
container               7296  0
button                  9104  0
battery                12420  0
ac                      7556  0
genrtc                 12060  0
unionfs                63000  1
cloop                  29984  1
sbp2                   24584  0
ohci1394               33460  0
ieee1394              297432  2 sbp2,ohci1394
usb_storage            68544  0
ohci_hcd               21764  0
uhci_hcd               31632  0
ehci_hcd               32136  0
usbcore               102492  6 usbhid,usb_storage,ohci_hcd,uhci_hcd,ehci_hcd
dsl@dslbox:~$ lsusb
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 003: ID 0763:1001 Midiman Midisport 2x2
Bus 001 Device 002: ID 05e3:0605 Genesys Logic, Inc.
Bus 001 Device 001: ID 0000:0000  
dsl@dslbox:~$ modprobe usb-audio
FATAL: Module usb_audio not found.
dsl@dslbox:~$ rmmod -f i810_audio
ERROR: Removing 'i810_audio': Operation not permitted
dsl@dslbox:~$ rmmod -f ac97_codec
ERROR: RemovinModule                  Size  Used by
snd_intel8x0           30528  0
snd_ac97_codec         72312  1 snd_intel8x0
snd_pcm_oss            47264  0
snd_pcm                77316  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              23556  1 snd_pcm
snd_page_alloc         11268  2 snd_intel8x0,snd_pcm
snd_mixer_oss          18304  1 snd_pcm_oss
snd                    46820  6 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
af_packet              24328  0
i810_audio             36116  0
ac97_codec             20236  1 i810_audio
soundcore              11104  2 snd,i810_audio
3c59x                  42024  0
mii                     8320  1 3c59x
intel_agp              22300  1
agpgart                31440  1 intel_agp
hw_random               8468  0
i2c_i801               11404  0
i2c_core               20992  1 i2c_i801
parport_pc             38724  0
parport                33480  1 parport_pc
8250                   42844  0
serial_core            21120  1 8250
usbhid                 42464  0
pcmcia                 23696  2
yenta_socket           22152  1
rsrc_nonstatic         14080  1 yenta_socket
pcmcia_core            43268  3 pcmcia,yenta_socket,rsrc_nonstatic
video                  18308  0
thermal                14984  0
processor              24520  1 thermal
fan                     7300  0
container               7296  0
button                  9104  0
battery                12420  0
ac                      7556  0
genrtc                 12060  0
unionfs                63000  1
cloop                  29984  1
sbp2                   24584  0
ohci1394               33460  0
ieee1394              297432  2 sbp2,ohci1394
usb_storage            68544  0
ohci_hcd               21764  0
uhci_hcd               31632  0
ehci_hcd               32136  0
usbcore               102492  6 usbhid,usb_storage,ohci_hcd,uhci_hcd,ehci_hcd
dsl@dslbox:~$ lsusb
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 003: ID 0763:1001 Midiman Midisport 2x2
Bus 001 Device 002: ID 05e3:0605 Genesys Logic, Inc.
Bus 001 Device 001: ID 0000:0000  
dsl@dslbox:~$ modprobe usb-audio
FATAL: Module usb_audio not found.
dsl@dslbox:~$ rmmod -f i810_audio
ERROR: Removing 'i810_audio': Operation not permitted
dsl@dslbox:~$ rmmod -f ac97_codec
ERROR: Removing 'ac97_codec': Operation not permitted
dsl@dslbox:~$ alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
dsl@dslbox:~$
g 'ac97_codec': Operation not permitted
dsl@dslbox:~$ alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
dsl@dslbox:~$
Back to top
Profile PM 
blip Offline





Group: Members
Posts: 125
Joined: May 2007
Posted: May 13 2007,12:30 QUOTE

Sorry it seems to miss a bit out last post - here's the info again. I got a 3 button mouse - life is a lot easier lol!
I would love to run my old Atari St midi stuff......you are my last hope Obi One!


af_packet              24328  0
i810_audio             36116  0
ac97_codec             20236  1 i810_audio
soundcore              11104  2 snd,i810_audio
3c59x                  42024  0
mii                     8320  1 3c59x
intel_agp              22300  1
agpgart                31440  1 intel_agp
hw_random               8468  0
i2c_i801               11404  0
i2c_core               20992  1 i2c_i801
parport_pc             38724  0
parport                33480  1 parport_pc
8250                   42844  0
serial_core            21120  1 8250
usbhid                 42464  0
pcmcia                 23696  2
yenta_socket           22152  1
rsrc_nonstatic         14080  1 yenta_socket
pcmcia_core            43268  3 pcmcia,yenta_socket,rsrc_nonstatic
video                  18308  0
thermal                14984  0
processor              24520  1 thermal
fan                     7300  0
container               7296  0
button                  9104  0
battery                12420  0
ac                      7556  0
genrtc                 12060  0
unionfs                63000  1
cloop                  29984  1
sbp2                   24584  0
ohci1394               33460  0
ieee1394              297432  2 sbp2,ohci1394
usb_storage            68544  0
ohci_hcd               21764  0
uhci_hcd               31632  0
ehci_hcd               32136  0
usbcore               102492  6 usbhid,usb_storage,ohci_hcd,uhci_hcd,ehci_hcd
dsl@dslbox:~$ lsusb
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 003: ID 0763:1001 Midiman Midisport 2x2
Bus 001 Device 002: ID 05e3:0605 Genesys Logic, Inc.
Bus 001 Device 001: ID 0000:0000  
dsl@dslbox:~$ modprobe usb-audio
FATAL: Module usb_audio not found.
dsl@dslbox:~$ rmmod -f i810_audio
ERROR: Removing 'i810_audio': Operation not permitted
dsl@dslbox:~$ rmmod -f ac97_codec
ERROR: Removing 'ac97_codec': Operation not permitted
dsl@dslbox:~$ alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
dsl@dslbox:~$ mplayer -ao alsa //ramdisk/dsl/test.mp3
MPlayer dev-CVS--3.3.5 © 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon Prestonia,Gallatin (Family: 15, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for Debian

This codecs.conf is too old and incompatible with this MPlayer release! at line 6
Linux RTC init error in ioctl (rtc_irqp_set 1024): Invalid argument
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : Permission denied
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing //ramdisk/dsl/test.mp3.
File not found: '//ramdisk/dsl/test.mp3'
Failed to open //ramdisk/dsl/test.mp3


Exiting... (End of file)
dsl@dslbox:~$ mplayer -ao alsa //ramdisk/home/dsl/test.mp3
MPlayer dev-CVS--3.3.5 © 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon Prestonia,Gallatin (Family: 15, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for Debian

This codecs.conf is too old and incompatible with this MPlayer release! at line 6
Linux RTC init error in ioctl (rtc_irqp_set 1024): Invalid argument
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : Permission denied
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing //ramdisk/home/dsl/test.mp3.
Audio file file format detected.
Clip info:
Title: EVE Poly by Liqih (no external
Artist: Liqih
Album: www.DASHsignature.com
Year: 2003
Comment: 3 EVE instances, no external F
Genre: Easy Listening
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 160.0 kbit/11.34% (ratio: 20000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
alsa-init: no soundcards found: Success
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: May 13 2007,14:00 QUOTE

A couple of things you could try:

1. For the commands "rmmod" and "modprobe" you may need to be the root user - you will see a # prompt rather than a $ prompt if you open an x terminal as root or you could type "sudo rmmod -f i810_audio" and also "sudo modprobe usb-audio" in the window you are using now.

2. When you install the alsa extension, there should be a menu item ("install alsa" or something like that) that appears that you have to click on to initialise the alsa /dev devices and then load the alsa modules - did you use this?

3. I seem to remember that alsamixer, aplay and aplaymidi may not be in the alsa extension - I will check, and could maybe e-mail you a modified extension I made with them included.
Back to top
Profile PM 
blip Offline





Group: Members
Posts: 125
Joined: May 2007
Posted: May 13 2007,14:45 QUOTE

OK Juanito....it's difficult for me to understand why I can't just type something in to get the midi usb thing working when linux can see it on the usb devices list!

When I install Alsa....it get's to the point and says 'Ok, sound driver is configured. ASLA CONFIGURATOR will prepare the card for playing now.
Now I'll run alsasound init script, then I'll ise amixer to rasie the default volumes. You can change the volume later via a mixer.

It runs the update modules ok.....

When I try to type "sudo modprobe usb-audio" it says 'FATAL: usb_audio not found'.


You've spent a long time with me now trying to sort this out...I don't mind if you want to give up now....it must be just as frustrating for you.....
I don't mind not having audio coming out for now....so the alsa mixer I'm not worried about it working....just to try and get midi out of the laptop.......
Back to top
Profile PM 
37 replies since May 09 2007,11:33 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (8) </ 1 2 3 [4] 5 6 7 8 >/
reply to topic new topic new poll
Quick Reply: USB Midi interfaces

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code