* cdrom devices missing
@ 2005-01-03 12:31 Sam Liddicott
2005-01-03 12:49 ` Stefan Schweizer
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Sam Liddicott @ 2005-01-03 12:31 UTC (permalink / raw)
To: linux-hotplug
udev makes my hard disk nodes device and partition nodes OK, but does
not create my cdrom device nodes at all.
I have a debian testing/unstable install that is a de-mepis-ized
latest-MEPIS installation.
I have debian udev_0.050 build from source (apt-get -b source)
My cdrom is on hdc, I even tried adding to rules.d
KERNEL="hdc" SYMLINK="dvd cdrom dvdrecorder cdrecorder"
but no joy
If I make device nodes by hand then mplayer et al work fine.
I had similar problems with my sound card until I listed my sound card
driver explicitly in /etc/modules - is this the correct procedure for
all hardware support with udev? I expected hotplug/udev to "discover"
the soundcard hardware and do all the right tricks with it like it does
for removable device, perhaps I am wrong?
However as the kernel already recognizes my cdrom and manually making
the device nodes is enough for things to work I can't see that adding
anything to /etc/modules would work here.
Sam
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cdrom devices missing
2005-01-03 12:31 cdrom devices missing Sam Liddicott
@ 2005-01-03 12:49 ` Stefan Schweizer
2005-01-03 12:55 ` Kay Sievers
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Stefan Schweizer @ 2005-01-03 12:49 UTC (permalink / raw)
To: linux-hotplug
These are problems, that happen when not all udev.rules files for all
distributions are updated. We even use different ways to solve the
same problems ..
It is made at the beginning of the gentoo rules file:
# cdrom symlinks and other good cdrom naming
BUS="ide", KERNEL="hd[a-z]",
PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2}
%c{3} %c{4} %c{5} %c{6}"
BUS="scsi", KERNEL="sr[0-9]*",
PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2}
%c{3} %c{4} %c{5} %c{6}"
BUS="scsi", KERNEL="scd[a-z]",
PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2}
%c{3} %c{4} %c{5} %c{6}"
# devfs-names for ide-devices (uncomment only one)
# /dev/ide/.../{disc,cd} and /dev/{cdroms,discs}/* type names
BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/scripts/ide-devfs.sh %k %b
%n", NAME="%k", SYMLINK="%c{1} %c{2}"
Maybe you could just try to use the gentoo rules file? (make sure you
have the necessary scripts)
or change your rules similar to the above one.
Kind regards,
Stefan
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cdrom devices missing
2005-01-03 12:31 cdrom devices missing Sam Liddicott
2005-01-03 12:49 ` Stefan Schweizer
@ 2005-01-03 12:55 ` Kay Sievers
2005-01-03 16:49 ` Sam Liddicott
2005-01-03 17:23 ` Kay Sievers
3 siblings, 0 replies; 5+ messages in thread
From: Kay Sievers @ 2005-01-03 12:55 UTC (permalink / raw)
To: linux-hotplug
On Mon, 2005-01-03 at 12:31 +0000, Sam Liddicott wrote:
> udev makes my hard disk nodes device and partition nodes OK, but does
> not create my cdrom device nodes at all.
Does running udevstart create the device node, instead of creating it
manually? Is ide-cd loaded, before your system runs udevstart?
Kay
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cdrom devices missing
2005-01-03 12:31 cdrom devices missing Sam Liddicott
2005-01-03 12:49 ` Stefan Schweizer
2005-01-03 12:55 ` Kay Sievers
@ 2005-01-03 16:49 ` Sam Liddicott
2005-01-03 17:23 ` Kay Sievers
3 siblings, 0 replies; 5+ messages in thread
From: Sam Liddicott @ 2005-01-03 16:49 UTC (permalink / raw)
To: linux-hotplug
Kay Sievers wrote:
> On Mon, 2005-01-03 at 12:31 +0000, Sam Liddicott wrote:
>
>>udev makes my hard disk nodes device and partition nodes OK, but does
>>not create my cdrom device nodes at all.
>
>
> Does running udevstart create the device node, instead of creating it
> manually? Is ide-cd loaded, before your system runs udevstart?
modprobe ide-cd
makes it work. Thankyou.
This is now added to my /etc/modules
I did:
find /lib/modules* -name 'cd*'
before, but now I see why this didn't work.
To complete my education, what is it that I no longer have that would
have loaded all these modules before?
Was it something that loaded the module whgen I access the device node,
or was it just something that loaded the modules anyway?
Thanks Kay and also Stefan
Sam
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cdrom devices missing
2005-01-03 12:31 cdrom devices missing Sam Liddicott
` (2 preceding siblings ...)
2005-01-03 16:49 ` Sam Liddicott
@ 2005-01-03 17:23 ` Kay Sievers
3 siblings, 0 replies; 5+ messages in thread
From: Kay Sievers @ 2005-01-03 17:23 UTC (permalink / raw)
To: linux-hotplug
On Mon, 2005-01-03 at 16:49 +0000, Sam Liddicott wrote:
> Kay Sievers wrote:
> > On Mon, 2005-01-03 at 12:31 +0000, Sam Liddicott wrote:
> >
> >>udev makes my hard disk nodes device and partition nodes OK, but does
> >>not create my cdrom device nodes at all.
> >
> >
> > Does running udevstart create the device node, instead of creating it
> > manually? Is ide-cd loaded, before your system runs udevstart?
> Was it something that loaded the module whgen I access the device node,
> or was it just something that loaded the modules anyway?
Greg explains that here:
http://www.kroah.com/log/linux/kmod_part1.html
Kay
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-01-03 17:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-03 12:31 cdrom devices missing Sam Liddicott
2005-01-03 12:49 ` Stefan Schweizer
2005-01-03 12:55 ` Kay Sievers
2005-01-03 16:49 ` Sam Liddicott
2005-01-03 17:23 ` Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).