CD/DVD contents are not auto refreshing
Hi,
When I eject CD from CDROM by pushing eject button(mounted on CDROM) it still shows CD and it's contents in nautilus file browser. If I replaced the CD it still shows contents of older CD. If I eject CD manually by file browser then there is no such issue. I know this is the kernel issue because this issue has come after updating my kernel from linux 2.6.33 to linux-netbook-2.6.35. I am using MeeGo. I want to know which kernel parameter(or module) I have to add. Thanks & Regards K K Pal |
You should unmount the CD by using the umount command, just as you should mount a CD by using the mount command.
The command Code:
df -h Code:
Filesystem Size Used Avail Use% Mounted on Code:
umount /dev/sda1 Code:
umount /media/cdrom |
Like Auke said, it's a bug in MeeGo.
I would expect the problem to be in HAL and not in the kernel. Have you verified by booting into the other kernel? Or did you do some kind of an upgrade, and only assumed it was a kernel issue? Note that even if you only select one package to be upgraded in your package manager, it may have to upgrade related packages too; you may not have noticed that. If it really is a kernel configuration issue, it should be easy to compare the configuration between the working kernel and the nonworking kernel: Code:
grep -ve '^#' /boot/config-*2.6.33* | sort -g > /tmp/config.working Code:
cat /proc/sys/dev/cdrom/{autoclose,autoeject,check_media,lock} Code:
cat /proc/sys/dev/cdrom/info Hope this helps. |
Thanks @harryhaller for your reply but I am not looking for that kind of solution.
@Nominal Animal: I didn't found hald daemon in both netbooks. I replaced the kernel 2.6.33 to 2.6.35 by using rpm -Uvh. I did it for some wlan drivers. It didn't showed any error or conflict while upgrading. I have already done diff thing but it was not helpful. I also matched the installed packages(rpm -qa) in both netbooks but everything are same except kernel. The output of cat /proc/sys/dev/cdrom/{autoclose,autoeject,check_media,lock} is 1 0 0 1 is same in both netbooks. Quote:
Kernel loads "nls_utf8" module in both netbooks for CD/DVD but the module size is not same. In working kernel size is 977 and in nonworking it is 989. |
Quote:
Code:
devkit --monitor Another possibility is that the button is handled via ACPI. Does Code:
cat /sys/bus/acpi/devices/*/input/input*/name A yet another is that the eject button is handled as a normal key. Does Code:
cat /sys/class/input/*/*/name Code:
xev |
Outputs of everything are same in both netbook except dbus-monitor.
Quote:
nothing in xev in both netbook it(xev) may be MeeGo bug. I have already reported this bug to MeeGo. But I have to fix this issue asap. |
Can you see the event in the Linux input subsystem? This command will show a hex dump of all input events:
Code:
sudo sh -c 'for F in /dev/input/event* ; do dd if=$F of=/dev/stdout bs=16 & done | hexdump -x' If you can see it on both netbooks, then the problem is between kernel input mapping and DBUS. (The mapping for the eject button might have changed.) Seeing the relevant output from above, from working and nonworking netbooks, should make it easy to create a fix. If you can see the event only on the working netbook, then it is a kernel issue, I think. |
Quote:
It gives output only when I press any key(keypad/keyboard). Behavior is same for both netbooks. |
All times are GMT -5. The time now is 05:44 PM. |