Public bug reported:

Binary package hint: pm-utils

the hal-cd-polling hook script should disable the polling mechanism for
the optic units. It doesn't work on my sony vaio. In particular the
problem is in the following lines of the script:

    local disks="$(for c in /dev/cd/*; do readlink -f "$c"; done |sort |uniq)"
    [ "$disks" ] || exit $NA

In my installation I don't have any devices in /dev/cd/. I have two sym-
links to the effective device.

$ ls -la /dev/cd*
lrwxrwxrwx 1 root root 3 2010-10-02 12:20 /dev/cdrom -> sr0
lrwxrwxrwx 1 root root 3 2010-10-02 12:20 /dev/cdrw -> sr0

This behavior could be fixed, for example, in this way:

    local disks="$(for c in /dev/cd/* /dev/cdr*; do readlink -f "$c"; done 
|sort |uniq)"
    [ "$disks" ] || exit $NA

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: pm-utils 1.4.1-3
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Mon Oct  4 11:31:43 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: pm-utils

** Affects: pm-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug maverick

-- 
cdrw not considered by the hal-polling hook
https://bugs.launchpad.net/bugs/654472
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to