Discussion:
udev 182 not responding to the DISK_EJECT_REQUEST
William Hubbs
2012-03-24 21:46:48 UTC
Permalink
All,

we have the following issue reported by a gentoo user.

https://bugs.gentoo.org/show_bug.cgi?id=409563

I realize that we no longer create /dev/dvd, but what about responding
to EJECT_REQUEST?

Thanks,

William
Kay Sievers
2012-03-24 22:10:57 UTC
Permalink
Post by William Hubbs
we have the following issue reported by a gentoo user.
https://bugs.gentoo.org/show_bug.cgi?id=409563
I realize that we no longer create /dev/dvd, but what about responding
to EJECT_REQUEST?
It should all work. DISK_EJECT_REQUEST=1 handling work fine for me here.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
William Hubbs
2012-03-26 02:56:22 UTC
Permalink
Hi Kay,
Post by Kay Sievers
Post by William Hubbs
we have the following issue reported by a gentoo user.
https://bugs.gentoo.org/show_bug.cgi?id=409563
I realize that we no longer create /dev/dvd, but what about responding
to EJECT_REQUEST?
It should all work. DISK_EJECT_REQUEST=1 handling work fine for me here.
A solution I found (I saw that I did not have a /dev/dvd symbolic link)
was to rm the /etc/udev/rules.d/70-persistent-cd.rules file then restart
udev. That brought the link back for me.

However, now we have a continuation of this report where a gentoo
developer is saying that doing that killed his keyboard settings in
xfce.

Do you have any suggestions?

William
William Hubbs
2012-03-27 04:47:16 UTC
Permalink
Post by William Hubbs
Post by Kay Sievers
Post by William Hubbs
we have the following issue reported by a gentoo user.
https://bugs.gentoo.org/show_bug.cgi?id=409563
I realize that we no longer create /dev/dvd, but what about responding
to EJECT_REQUEST?
It should all work. DISK_EJECT_REQUEST=1 handling work fine for me here.
A solution I found (I saw that I did not have a /dev/dvd symbolic link)
was to rm the /etc/udev/rules.d/70-persistent-cd.rules file then restart
udev. That brought the link back for me.
However, now we have a continuation of this report where a gentoo
developer is saying that doing that killed his keyboard settings in
xfce.
I was advised that we should update our init scripts on gentoo so that
if someone wants to restart udev we use --action=change on the udevadm
trigger commands when we restart instead of --action=add. I've been told
that will take care of the keyboard issue.

But, both people are reporting on the bug that they do not have a
/dev/dvd symbolic link after running the solution I suggested, and they
have posted the device information on the bug.

Do you have any other suggestions?

Thanks,

William

Loading...