You are not logged in.
An update on my situation...
I have had ongoing problems with udev with my soundcard not being found on boot. I had convinced myself that loading hotplug as a daemon fixed the problem, but every 5 boots or so it was not found and I had to load the module for my soundcard by hand.
Well now I've discovered that I don't need hotplug as a daemon after all. The real problem seems to be with timing of daemons/modules in rc.conf.
If I load my soundcard module early (first in the list) and load the alsamixer daemon (if I remember right this was created by me at the recommmendation of the arch wiki) last, then I am rocking. Literally.
I never had this problem with devfs.
Offline
Thanks for the tip tpowa, but it doesnt work. Looking around the cups mailing list, some people had problems with cups because their system created /dev/usblp0, not /dev/usb/lp/0 (it appears their distro was using devfs) and the recommendation was modify the devfs rule. A bug report was created, but since devfs is phasing out, the bug was closed.
Kaleph
jabber: kaleph@jabber.org
Offline
my cups entry looks like this:
etc/cups/printers.conf
usb://EPSON/Stylus%20COLOR%20880
you see no dev specified
Offline
after i updated to udev and successfully fixed all the booting and sound problems, i now cant burn cds unless using root. i made sure all my persmissions are set to users, and tried the tip to use full device name (ie, hda and not just hd*) - but nothing works... my cd shows up in k3b as reader only and not as writer, unless i execute k3b using root.
any ideas? thanks.
Offline
update to the latest kernel 2.6.8.1-3! this is a kernel bug
2.6.8.1 comes straight out of hell ;-)
Offline
i just compiled and installed latest kernel - still same prob...
maybe its a sign from god telling me to stop burning linux distros?
Offline
do you use the latest cdtrools from unstable?
cdrtools-devel 2.01a37?
have setuid cdrecord?
for me it works with at least the latest 2.6.8.1-3 kernel
else stay with 2.6.7 there it definitly works
EDIT:
If you compiled your own kernel take care that you include the patches for burning without them it cannot work
Offline
i use cdrtools 2.00.3-1. again, everything works fine, except for the permissions...
and about compiling the kernel sources - which patches should i apply? i use the default arch abs system/.config plus some small changes to suit my hardware to build my kernel, and no cd patches there...
tnx for your time
[edit]
its not realy a big problem - i can execute k3b using root everytime... but its just annoying not knowing what causes this little freak of nature...
Offline
with patches i think of the new acpi patches and the cd-patches
which are new in the abs tree and these have to be applied to get the burner to work with 2.6.8.1 else no chance and you will get a huge memory leak when burning audio cd's with a system hang
look at the abs tree and you will find the new patches which were introduced in the 2.6.8.1-3 package including the nice logo from damir
Offline
excellent!
thanks alot tpowa since i used my own PKGBUILD to build the kernel i forgot to check the abs tree for any new patches and viola - all works thanks again
[edit]
ps.
congrat for the new Arch logo looks great btw
Offline
wow I didn't expect to have only 1 minor problem! This is great
The only thing that didn't work, was my usbmouse. I created a symlink to /dev/psaux with the name /dev/usbmouse and now I can use my mouse again. Oh... I also have a script that starts the numlock on every tty, and that was broken too, but is fixed now
Sound works, webcam works, network works... is there anything else that I should check?
Offline
I'm having sound problems, and nothing seems to fix it (everything from the wiki and this thread). I'm in the console, so excuse me for not posting config excerpts.
The problem isn't that sound doesn't work, it works just fine. All my modules are loaded (cs46xx), and I can play ogg's in mp3blaster. The thing is that my alsamixer script to store and restore is failing with a
alsactl: load_State:1134: No soundcards found...
Here's the really strange thing, if I run the script as root, it restores them just fine.
I assure you that my udev.permissions is setup properly for the sound group, and my user is in this group. I've tried running alsaconf for the aliases in modprobe.conf, and I've moved the alsamixer daemon around in the rc.conf (beginning, end, here and there in the middle). I also tried removing hotplug from that list. Since it loads properly when started manually, I also tried starting it from rc.local, but that didn't work either.
Unlike someone earlier in the thread, my volume levels aren't being restored without this script.
Oh, and this is a pure udev environment. I installed from the beta ISO, didn't install devfsd, and didn't compile devfs into my 2.6.8 kernel. Also, this script worked fine with a nearly identical kernel on the same hardware in Arch 0.6, except with devfs.
What are the differences in the init scripts' environments and the command line's that could be causing this?
Please Help!
and thank you for it
Michael Salivar
---
Michael Salivar
Offline
Did you run alsaconf?
Offline
Yes I did try alsaconf, and I added sound-card-0 to my rc.conf modules section when I did so. I also tried it with sound_card_0, sound_card-0, and with just the normal snd_pcm_oss.
Something I tried since my last post was simply adding the 'alsactl restore' and 'alsactl -F restore' to my rc.local. Both of these had the same effect, so the script definitely isn't at fault.
I'm at a loss, I don't understand why one second during init, after udev and the modules load, the sound card doesn't exist; then the next after I login everything is fine. Hopefully digging through my kernel config will turn something up.
Thank you
Michael Salivar
---
Michael Salivar
Offline
I was the one carrying on earlier in this thread about this 'no soundcards' problem.
Just a little bit more information about my situation...
As I said before to solve my problem I had my soundcard driver first in the modules list and the alsamixer script last in the daemons list.
What I didn't mention is that before the alsamixer entry I have the network daemon which takes a *really long time* to complete - I even had to increase the timeout value for it. It takes that long to get an IP from my ISPs DHCP server I guess.
So my point is that if it wasn't for the network taking so long to complete I would probably still have this problem. So it seems that the soundcard module is taking a very long time to register for whatever reason.
I don't know how, but you could try to put some kind of delay before the alsamixer script to see if that helps.
Offline
That got it working, I added 'sleep 2' before 'alsactl restore' in the script from the wiki. That might not be enough for some, or it might be minimized further by others if their modules load faster or another daemon loads slowly.
I really hate to slow my boot process, though. Now it's only twice as fast as Windows XP
Thanks for clarifying mctavish
Michael Salivar
---
Michael Salivar
Offline
I believe your case is that the no sound cards problem is because no /snd /sound directories in your /dev directory. For some reason udev did not create them, I don't remember the remedy?
Walt
P4 2.8Ghz @ 2.8Ghz SL6WT
Zalman CNPS7000-Cu
865PE Neo-2 LS BIOs 2.4
512mb Mushkin Level II
160GB Maxtor HD
Geforce 4 440MX
Antec 3700 1 exhaust and 1 intake fans
Linux 2.6.x
Linux user 314187
ArchLinux
Offline
You might add to rc.conf snd-/drivername/ sound-pcm-oss in the modules area.
P4 2.8Ghz @ 2.8Ghz SL6WT
Zalman CNPS7000-Cu
865PE Neo-2 LS BIOs 2.4
512mb Mushkin Level II
160GB Maxtor HD
Geforce 4 440MX
Antec 3700 1 exhaust and 1 intake fans
Linux 2.6.x
Linux user 314187
ArchLinux
Offline
hmmm - i have had no probs with udev but my cdrom is not appearing when i run the kernel with scsi emulation - as far as i can tell no device is being created for it even?!
i am not using hotplug as i feel the same about the reams of output as rasat and it seems to work ok normally without it!
Offline
hold the phone - do i even need scsi emulation with 2.6 to use my cd-burner? seems not - why isn't this in the wiki? knowledge gap!
Offline
hold the phone - do i even need scsi emulation with 2.6 to use my cd-burner? seems not - why isn't this in the wiki? knowledge gap!
nope... well, at least i'm fine without scsi emulation... i think you can check with "cdrecord -dev=ATAPI -scanbus" or something to that effect
Offline
right - i have tried with scsi emulation but xcdroast bitches at me about selecting an ATAPI drive - should i just ignore it?
with scsi emulation on i had a bit of a baffling experience - my drive used to be sda with scsi emu on - now it is sr0! took me ages to figure it out! xcdroast finds it as a scsi drive now and is much happier but xine and mplayer don't seem to be able to open /dev/sr0
I set up symlinks in my custom udev rules and added the line that sets up the scsi devfs structure in dev - they all work fine but but i still have the media player prob - help on that one? xine also broke now - i dunno if this is related but i doubt it as if i boot without append hdc=ide-scsi or whatever it should just be the same system right?
Offline