control open "hw:0" (No such file or directory)

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

Post Reply
User avatar
Chipfryer
Established Member
Posts: 362
Joined: Tue Nov 24, 2009 12:43 pm

control open "hw:0" (No such file or directory)

Post by Chipfryer »

Hi there.
Got sound working on all fronts now thank you. :mrgreen:

Now I look at the messages list upon failure and see this line:
control open "hw:0" (No such file or directory)
I've set the option for input to hw.1 which is my card....

Is there somewhere else I should looking please?
Many thanks.
User avatar
Chipfryer
Established Member
Posts: 362
Joined: Tue Nov 24, 2009 12:43 pm

Re: control open "hw:0" (No such file or directory)

Post by Chipfryer »

Getting this too now having pulled that card with the internal card.
The on-board card is a Nvidia CK8S :evil:

On looking this isn't just me now, its happening a lot across the board.

**** MIDI Question. What sound card do you have? What is your system and setup please?
I know it will work but am suspecting just like windows support for older cards is wavering on new builds somewhat.

I did find that Envy24 mixer. Wow, it looks just like mine from M-audio, Kudos.

Many thanks.
User avatar
GarryO
Established Member
Posts: 167
Joined: Mon Apr 06, 2009 7:30 pm
Location: UK
Contact:

Re: control open "hw:0" (No such file or directory)

Post by GarryO »

The "control open "hw:0" (No such file or directory)" was due the onboard sound being the default, but if you disabled it, it would not be available hence the message.
you could just ignore this and set any audio apps to use hw:1 like you did with jack.
However really you want to get rid of the onboard sound ( the intel whatnot ) so your m_audio card is the default. Take a look at this, especially the first reply :

http://www.linuxquestions.org/questions ... tu-564006/

If this works out, your 2496 should be the default after a reboot, so change jack to hw:0. Other apps should use this as the default.

I seriously recommend saving a copy of any system files you alter, or at the very least put # comment lines in, noting the changes.
User avatar
GarryO
Established Member
Posts: 167
Joined: Mon Apr 06, 2009 7:30 pm
Location: UK
Contact:

Re: control open "hw:0" (No such file or directory)

Post by GarryO »

my set up:
I have a M-audio delta44 sound card which is the same chipset ice1712 as yours. And that's it really.
I've got other hardware plugged into that: mixer, fx etc.
I don't do a lot of midi stuff, sequencing etc. but I use various softsynths like qsynth, qsampler, yoshimi and azr3.
I play these with my M-audio keyrig 49 keyboard which plugs into a usb port. I use the qjackctl connections tab to connect the kybd to the the synth, the synth to audio_out and off i go ...
( a quick thought: in the qjackctl setup tab bottom left: set Midi driver to "seq" : might save you some grief later )
I'm running Debian ( testing branch ) which I installed 8 (?) years ago and have updated regularly (daily these days). I wouldn't recommend Debian to a newcomer ( unless they had considerable expertise ) because of the initial configuration hassles. E.g. I had to compile my own real-time kernel from source. ( Which is not _that_ hard but might leave you holding handfuls of hair and your neighbours wondering what all the screaming is all about :shock: )

The M-audio cards are very well supported on linux and very popular for that reason- the hassles you've been having are configuration ones: the hardware support is not going to away anytime in the foreseeable future.
This is the trade-off with linux: mostly ( although there are several valiant attempts ) it is not a consumer-grade white-goods type system. It is free ( speech and beer ), the choices are immense, you can configure stuff right down to kernel level, but it just takes that bit of extra work.
Which is cool if you enjoy that kind of challenge ( I do; I guess you're up for it too ).
But that's the price of getting the system you want, that does what you want.
(/end of rant )
User avatar
Chipfryer
Established Member
Posts: 362
Joined: Tue Nov 24, 2009 12:43 pm

Re: control open "hw:0" (No such file or directory)

Post by Chipfryer »

Persevere and you shall succeed huh? :mrgreen:
I have re-enabled the on-board card for testing purposes only really. I thought if I could get it to work with the onboard card then making the M-audio card work would be a doddle. Is this correct?

I did not have the RT kernel installed properly the other day. Those files have changed so I installed these in this order. This now boots to the RT Kernel as first option. (I think this is right now?)

linux-rt-headers-2.6.31-9_2.6.31-9.152_all.deb
linux-headers-2.6.31-9-rt_2.6.31-9.152_i386.deb
linux-image-2.6.31-9-rt_2.6.31-9.152_i386.deb
---
Input device is set to hw:0,1 (At present the C8KS)
Output set to Default.
(But I've tried every setting in there).
I currently have nothing connected in Patchday.
Midi now set to SEQ

Under Audio in Connections (ALSA TAB) I see only Midi. both Midi/Audio channels are empty. I pulled the M-Audio card from this box as above but also I'd like to record something. That will have to be Windows for the present time. I've checked the MidSum on my Disc which appears to be ok (No files missing). Although on reading some were not present but that was an earlier version of Ubuntu.

I did have Jackd working on another machine using a standard on-board card some time ago, I cannot remember it being this tough :D

What does this line actually mean please?
Could not connect to JACK server as client
I know its a connection error but what is it trying to talk to? My Card?

Thanks Gary.
Sorry to be a pain. :(

Best.
User avatar
GarryO
Established Member
Posts: 167
Joined: Mon Apr 06, 2009 7:30 pm
Location: UK
Contact:

Re: control open "hw:0" (No such file or directory)

Post by GarryO »

I thought if I could get it to work with the onboard card then making the M-audio card work would be a doddle. Is this correct?
Not necessarily. You'll still have to configure the m-audio card, but we know for a fact that _will_ work.
I would get that going if it's the one you intend to use.

Linux-image-2.6.31-9-rt_2.6.31-9.152_i386.deb looks good.

Confusingly the alsa tab in qjackctl is for alsa midi - so you will only see midi ports there , the audio tab is audio connections, and midi is jack midi (an enhanced version that co-exists with alsa midi. )
The patchbay is for saving and restoring sets of connections. I personally think it doesn't work that great so I don't bother with it. There are other options for this.

the jack error message suggests that its either trying to connect to the wrong card, or that card is misconfigured. Pulling the m-audio card may not have helped. Can you get sound without using jack?
what does cat /proc/asound/cards tell you ?
what about lsmod | grep snd ?
Sorry to be a pain. :(
No pain involved :D
User avatar
Chipfryer
Established Member
Posts: 362
Joined: Tue Nov 24, 2009 12:43 pm

Re: control open "hw:0" (No such file or directory)

Post by Chipfryer »

You are kidding me? I got something right? :mrgreen:
I installed M-Audio and altered Jack to suit. No error messages. Man this feels so good I cannot tell you how good! :D

Thanks for this info too Gary. You do deserve a medal for hanging in there with folks like me. However I can now help others providing system specs are not too different but even then there are about 12 steps as I recall to getting it all together including flavour in Linux perhaps?

Anyway indebted. Ask me for something I'll try to help if I can?
Many thanks.

GarryO wrote:
I thought if I could get it to work with the onboard card then making the M-audio card work would be a doddle. Is this correct?
Not necessarily. You'll still have to configure the m-audio card, but we know for a fact that _will_ work.
I would get that going if it's the one you intend to use.

Linux-image-2.6.31-9-rt_2.6.31-9.152_i386.deb looks good.

Confusingly the alsa tab in qjackctl is for alsa midi - so you will only see midi ports there , the audio tab is audio connections, and midi is jack midi (an enhanced version that co-exists with alsa midi. )
The patchbay is for saving and restoring sets of connections. I personally think it doesn't work that great so I don't bother with it. There are other options for this.

the jack error message suggests that its either trying to connect to the wrong card, or that card is misconfigured. Pulling the m-audio card may not have helped. Can you get sound without using jack?
what does cat /proc/asound/cards tell you ?
what about lsmod | grep snd ?
Sorry to be a pain. :(
No pain involved :D
Post Reply