On 3/22/06, Brandon Williams <[EMAIL PROTECTED]> wrote: > I recently installed Ubuntu Dapper and found that gnomad2 would not > work for me due to the problem described in this bug. Here is my new > script version which works for both the hotplug system and udev, I > think. > > Changes: > 1) permissions for root:audio should be 0660, not 0666. > 2) if DEVICE is not set but DEVNAME is, use DEVNAME > 3) allow specified device to be either a regular file or a character device > > --Brandon Williams
This bug is fixed in Debian with libnjb 2.2.5-3. Which version of libnjb do you have? Also, which version of hotplug and udev do you have installed? > [[ -z "${DEVICE}" && -n "${DEVNAME}" ]] && DEVICE="${DEVNAME}" You might be interested to know that there's a standard shell syntax for this common operation. : ${DEVICE=$DEVNAME} If DEVICE is not already set, set DEVICE to $DEVNAME. Cheers, Shaun