Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Got udev working, now what?!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 5, 6, 7 ... 28, 29, 30  Next  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sun Jan 18, 2004 10:28 am    Post subject: Reply with quote

ah, it works now :). The problem was that /etc/udev/udev/conf hadnt been updated to put the database into /dev so udev can write to it. Sorted and working on 2.6.1-love5 :). The only problem is that since I have two monitors on my nvidia card, I forgot to create /dev/nvidia1, so X locked up on startup. Sorted now thou

Someone should email the udev ppl and say that its working fine now...
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock


Last edited by TheCoop on Sun Jan 18, 2004 11:39 am; edited 1 time in total
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sun Jan 18, 2004 11:37 am    Post subject: Reply with quote

just one question, I want /dev/cdrom, /dev/dvd etc to be symlinks to /dev/hdc etc. In udev.rules you can tell it to move /dev/hdc to /dev/cdrom and then symlink back to /dev/hdc, but I just want a symlink to /dev/cdrom. How would you specify that?
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
fredor
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 84
Location: UK

PostPosted: Sun Jan 18, 2004 7:23 pm    Post subject: Reply with quote

Tried pure udev as per Decibels instructions.
Mouse was on /dev/mouse0 with udev-013
and on /dev/input/mouse0 with udev-013-r1.
I am running with kernel-2.6.1-mm4 and everything works fine except the Shell-console which shows no bash promp and does not accept keyboard input.
I am using kde-5 from 'iamlarryboy'
Back to top
View user's profile Send private message
nepenthe
Guru
Guru


Joined: 14 Jul 2002
Posts: 317
Location: Sanford, ME

PostPosted: Sun Jan 18, 2004 7:35 pm    Post subject: Reply with quote

TheCoop wrote:
ah, it works now :). The problem was that /etc/udev/udev/conf hadnt been updated to put the database into /dev so udev can write to it. Sorted and working on 2.6.1-love5 :). The only problem is that since I have two monitors on my nvidia card, I forgot to create /dev/nvidia1, so X locked up on startup. Sorted now thou

Someone should email the udev ppl and say that its working fine now...


could you explain further... I'm getting the /dev/console and /dev/hda error


/etc/udev/udev.conf
Code:

# udev_root - where in the filesystem to place the device nodes
udev_root="/dev/"


Is this not right?
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sun Jan 18, 2004 7:55 pm    Post subject: Reply with quote

this is the line you need to change:
Code:
# udev_db - The name and location of the udev database.
#           NOTE: this should be somewhere that is writable before
#                 / is mounted rw, like /dev ...
udev_db="/dev/.udev.tdb"

try re-downloading and reemerging udev-013-r1 to get it
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
NuclearFusi0n
Apprentice
Apprentice


Joined: 20 Jun 2003
Posts: 297

PostPosted: Sun Jan 18, 2004 8:22 pm    Post subject: Reply with quote

TheCoop wrote:
just one question, I want /dev/cdrom, /dev/dvd etc to be symlinks to /dev/hdc etc. In udev.rules you can tell it to move /dev/hdc to /dev/cdrom and then symlink back to /dev/hdc, but I just want a symlink to /dev/cdrom. How would you specify that?

Just make the symlinks with ln -s. They will be saved when you shutdown and restored when you boot up.
_________________
I will keel yoo grub
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sun Jan 18, 2004 8:27 pm    Post subject: Reply with quote

im not using devices.tar.bz2 anymore, its all specified in /etc/udev/udev.rules. Nothing is stored over reboots anymore, its all created dynamically. Whats the correct line in udev.rules?
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
nepenthe
Guru
Guru


Joined: 14 Jul 2002
Posts: 317
Location: Sanford, ME

PostPosted: Sun Jan 18, 2004 8:48 pm    Post subject: Reply with quote

TheCoop wrote:
this is the line you need to change:
Code:
# udev_db - The name and location of the udev database.
#           NOTE: this should be somewhere that is writable before
#                 / is mounted rw, like /dev ...
udev_db="/dev/.udev.tdb"

try re-downloading and reemerging udev-013-r1 to get it


from my file
Code:

# udev_root - where in the filesystem to place the device nodes
udev_root="/dev/"
                                                                     
# udev_db - The name and location of the udev database.
#           NOTE: this should be somewhere that is writable before
#                 / is mounted rw, like /dev ...
udev_db="/dev/.udev.tdb"

??
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sun Jan 18, 2004 9:45 pm    Post subject: Reply with quote

you can have a look at my current /etc/udev/* files at http://thecoop.dyndns.org/udev/udev.{conf,permissions,rules}
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
nepenthe
Guru
Guru


Joined: 14 Jul 2002
Posts: 317
Location: Sanford, ME

PostPosted: Sun Jan 18, 2004 10:09 pm    Post subject: Reply with quote

TheCoop wrote:
you can have a look at my current /etc/udev/* files at http://thecoop.dyndns.org/udev/udev.{conf,permissions,rules}


url not working =\
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sun Jan 18, 2004 10:11 pm    Post subject: Reply with quote

you need to substitute {thing} for each one you want to access
eg: http://thecoop.dyndns.org/udev/udev.conf
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
nepenthe
Guru
Guru


Joined: 14 Jul 2002
Posts: 317
Location: Sanford, ME

PostPosted: Sun Jan 18, 2004 10:12 pm    Post subject: Reply with quote

lol :oops:
thanks
Back to top
View user's profile Send private message
nepenthe
Guru
Guru


Joined: 14 Jul 2002
Posts: 317
Location: Sanford, ME

PostPosted: Sun Jan 18, 2004 10:22 pm    Post subject: Reply with quote

hmm our configs look pretty much identical...

edit... yup identical =)
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Sat Jan 24, 2004 1:01 am    Post subject: alsa + udev = problems? Reply with quote

Hi guys,
I was on board for the initial run of this 2.6 + udev adventure, but then my IBM deathstar crapped out on me. It took me a while to score a couple more hard drives, and now I am FINALLY getting it all running again. btw thanks for all the hard work you guys have done, since I was away.

I haven't tried the udev only setup, disabling the tar ball thing. I would like to get it working a little better first.I have 2.6 (no devfs compiled) with alsa compiled in, and I have udev.

now my main issue may or may not be udev related. When I access certain things in the dev directory I get errors about no such device or address. I must say that MOST things have worked great, and the few holdouts are rather obscure. This is making it tough to know if udev is my problem, or if maybe it is another issue. I am hoping somebody here has some hints for me.

two examples of the No such device or address problem:
trying to load sound fonts for use with midi on my emu10k1:

$ sfxload /path/to/.sf2
/dev/sequencer: No such device or address

trying to do anything to /dev/lircd gives similar errors.

these are the only two problems I have noticed and it is very likely that I just have something set up wrong with alsa or lirc. I didn't want to lay this on the rest of the community without trying here first though, because udev + 2.6 is still kind of uncommon. if you think my problem is related to something off topic, feel free to PM me or IM me.

thanks for the help!

later
uglyman
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sat Jan 24, 2004 8:37 am    Post subject: Reply with quote

on mine /dev/sequencer is a symlink to /dev/sound/sequencer, does /dev/sound exist? if not have you got alsa-oss compatability compiled into the kernel?
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
NuclearFusi0n
Apprentice
Apprentice


Joined: 20 Jun 2003
Posts: 297

PostPosted: Sat Jan 24, 2004 10:51 pm    Post subject: Reply with quote

i cant believe it hasn't been mentioned yet, udev 014 is out
_________________
I will keel yoo grub
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sat Jan 24, 2004 10:59 pm    Post subject: Reply with quote

*eagerly awaits ebuild, prods devs*
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
aufrank
n00b
n00b


Joined: 30 Sep 2002
Posts: 3
Location: Columbia University, New York, NY

PostPosted: Sun Jan 25, 2004 1:38 am    Post subject: still getting /dev/console error Reply with quote

I tried running a system with udev dynamically discovering all devices, rather than with the tarballs, as shown in this thread. I've tried this with 2.6.1-mm5 and 2.6.2-rc1-mm2, both with udev version 013-r1. all of the files in /etc/udev/ are current with the latest examples posted in these forums.

in each case, when I boot I get an error that /dev/console is not available. I do have unix98 tty support compiled in, as well as /dev/pts support. I do not have devfs support built at all.

when I look in /var/log/messages, I get a _ton_ of messages about nbd (network block devices)... here's a sample:
Code:

Jan 20 01:42:04 gryphlet end_request: I/O error, dev nbd105, sector 0
Jan 20 01:42:04 gryphlet nbd106: Request when not-ready
Jan 20 01:42:04 gryphlet end_request: I/O error, dev nbd106, sector 0
Jan 20 01:42:04 gryphlet nbd107: Request when not-ready
Jan 20 01:42:04 gryphlet end_request: I/O error, dev nbd107, sector 0

does anyone have any suggestions?

thanks,
/au
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Sun Jan 25, 2004 2:30 am    Post subject: Reply with quote

hi thanks for the tip TheCoop!
I see that I dont' have /dev/sound but I do have /dev/snd.
I have /dev/snd/seq and if I simlink to that and sfxload, I get an error that there is no sound card.

vary strange. well I found out that I need to recompile my kernel for some other stuff I want to change, so I am planning to just double check all the sound settings as carefully as I can. I am in the middle of an emerge -UD world right now, so I am gonna wait for that to finish anyway.

I have seen some people recommend compiling alsa directly in, and some say to do it all as modules. which do you guys recommend? I believe I had it working on my old (now broken) hard drive, with it compiled in, but I can do it either way.

thanks
ugl
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Sun Jan 25, 2004 3:17 am    Post subject: Reply with quote

The only thing that worked for me was a combination. Here is the post:
https://forums.gentoo.org/viewtopic.php?t=114261&highlight=702625
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Sun Jan 25, 2004 4:07 am    Post subject: Reply with quote

thanks,

looks like I have more reading to do 8O

I got my stuff updated so after I etc-update I will try the kernel again.

later,
ugl
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Sun Jan 25, 2004 8:45 am    Post subject: w00t w00t w00t Reply with quote

w00t!

ok so I ran snddevices from the alsa-driver package again. I am 99.999% sure I already did this once, but for some reason the problems with sfxload stopped. so midi works.

thanks for the help

later
ugl

ps: can anyone explain this to me? no no wait... its working now so I am gonna go ahead and NOT CARE AT ALL :lol:
Back to top
View user's profile Send private message
nepenthe
Guru
Guru


Joined: 14 Jul 2002
Posts: 317
Location: Sanford, ME

PostPosted: Mon Jan 26, 2004 9:30 pm    Post subject: Reply with quote

anyone ever have a problem with udev not creating /dev/discs and /dev/cdroms ?
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Mon Jan 26, 2004 10:07 pm    Post subject: Reply with quote

ive got a problem with udev not creating /dev/js0...
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
Evil Dark Archon
Guru
Guru


Joined: 21 Dec 2002
Posts: 562
Location: Santa Rosa, CA

PostPosted: Tue Jan 27, 2004 12:28 am    Post subject: Reply with quote

latest news from lkml, udev 015 is out.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page Previous  1, 2, 3 ... 5, 6, 7 ... 28, 29, 30  Next
Page 6 of 30

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum