hey you guys...
after upgrading dropling gnome a while back, i started getting this error with hotplug
"
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
"
odd eh? even odder because i dont see anything wrong w/ hotplug.
from usb.agent
"
usb_map_modules ()
{
# look at each usb_device_id entry
# collect all matches in $DRIVERS
while read line
do
# comments are lines that start with "#" ...
# be careful, they still get parsed by bash!
case "$line" in
\#*) continue ;;
"") continue ;;
esac
set $line
module=$1
match_flags=$(($2))
idVendor=$(($3)) #this is line 259
idProduct=$(($4))
bcdDevice_lo=$(($5))
bcdDevice_hi=$(($6))
bDeviceClass=$(($7))
bDeviceSubClass=$(($8))
bDeviceProtocol=$(($9))
shift 9
bInterfaceClass=$(($1))
bInterfaceSubClass=$(($2))
bInterfaceProtocol=$(($3))
: checkmatch $module
: idVendor $idVendor $usb_idVendor
if [ $USB_MATCH_VENDOR -eq $(( $match_flags & $USB_MATCH_VENDOR )) ] &&
[ $idVendor -ne $usb_idVendor ]; then
continue
fi
: idProduct $idProduct $usb_idProduct
if [ $USB_MATCH_PRODUCT -eq $(( $match_flags & $USB_MATCH_PRODUCT )) ] &&
[ $idProduct -ne $usb_idProduct ]; then
continue
fi
: bcdDevice range $bcdDevice_hi $bcdDevice_lo actual $usb_bcdDevice
if [ $USB_MATCH_DEV_LO -eq $(( $match_flags & $USB_MATCH_DEV_LO )) ] &&
[ $usb_bcdDevice -lt $bcdDevice_lo ]; then
continue
fi
# bcdDevice_lo <= bcdDevice <= bcdDevice_hi
if [ $USB_MATCH_DEV_HI -eq $(( $match_flags & $USB_MATCH_DEV_HI )) ] &&
[ $usb_bcdDevice -gt $bcdDevice_hi ]; then
continue
fi
: bDeviceClass $bDeviceClass $usb_bDeviceClass
if [ $USB_MATCH_DEV_CLASS -eq $(( $match_flags & $USB_MATCH_DEV_CLASS )) ] &&
[ $bDeviceClass -ne $usb_bDeviceClass ]; then
continue
fi
: bDeviceSubClass $bDeviceSubClass $usb_bDeviceSubClass
if [ $USB_MATCH_DEV_SUBCLASS -eq $(( $match_flags & $USB_MATCH_DEV_SUBCLASS )) ] &&
[ $bDeviceSubClass -ne $usb_bDeviceSubClass ]; then
continue
fi
: bDeviceProtocol $bDeviceProtocol $usb_bDeviceProtocol
if [ $USB_MATCH_DEV_PROTOCOL -eq $(( $match_flags & $USB_MATCH_DEV_PROTOCOL )) ] &&
[ $bDeviceProtocol -ne $usb_bDeviceProtocol ]; then
continue
fi
# NOTE: for now, this only checks the first of perhaps
# several interfaces for this device.
: bInterfaceClass $bInterfaceClass $usb_bInterfaceClass
if [ $USB_MATCH_INT_CLASS -eq $(( $match_flags & $USB_MATCH_INT_CLASS )) ] &&
[ $bInterfaceClass -ne $usb_bInterfaceClass ]; then
continue
fi
: bInterfaceSubClass $bInterfaceSubClass $usb_bInterfaceSubClass
if [ $USB_MATCH_INT_SUBCLASS -eq $(( $match_flags & $USB_MATCH_INT_SUBCLASS )) ] &&
[ $bInterfaceSubClass -ne $usb_bInterfaceSubClass ]; then
continue
fi
: bInterfaceProtocol $bInterfaceProtocol $usb_bInterfaceProtocol
if [ $USB_MATCH_INT_PROTOCOL -eq $(( $match_flags & $USB_MATCH_INT_PROTOCOL )) ] &&
[ $bInterfaceProtocol -ne $usb_bInterfaceProtocol ]; then
continue
fi
# It was a match!
DRIVERS="$module $DRIVERS"
: drivers $DRIVERS
done
}
"
any ideas? i dont know much about hotplug, and nothing seems wrong with how they use the args...
after upgrading dropling gnome a while back, i started getting this error with hotplug
"
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
/etc/hotplug/usb.agent: line 259: (standard: missing `)' (error token is "d")
"
odd eh? even odder because i dont see anything wrong w/ hotplug.
from usb.agent
"
usb_map_modules ()
{
# look at each usb_device_id entry
# collect all matches in $DRIVERS
while read line
do
# comments are lines that start with "#" ...
# be careful, they still get parsed by bash!
case "$line" in
\#*) continue ;;
"") continue ;;
esac
set $line
module=$1
match_flags=$(($2))
idVendor=$(($3)) #this is line 259
idProduct=$(($4))
bcdDevice_lo=$(($5))
bcdDevice_hi=$(($6))
bDeviceClass=$(($7))
bDeviceSubClass=$(($8))
bDeviceProtocol=$(($9))
shift 9
bInterfaceClass=$(($1))
bInterfaceSubClass=$(($2))
bInterfaceProtocol=$(($3))
: checkmatch $module
: idVendor $idVendor $usb_idVendor
if [ $USB_MATCH_VENDOR -eq $(( $match_flags & $USB_MATCH_VENDOR )) ] &&
[ $idVendor -ne $usb_idVendor ]; then
continue
fi
: idProduct $idProduct $usb_idProduct
if [ $USB_MATCH_PRODUCT -eq $(( $match_flags & $USB_MATCH_PRODUCT )) ] &&
[ $idProduct -ne $usb_idProduct ]; then
continue
fi
: bcdDevice range $bcdDevice_hi $bcdDevice_lo actual $usb_bcdDevice
if [ $USB_MATCH_DEV_LO -eq $(( $match_flags & $USB_MATCH_DEV_LO )) ] &&
[ $usb_bcdDevice -lt $bcdDevice_lo ]; then
continue
fi
# bcdDevice_lo <= bcdDevice <= bcdDevice_hi
if [ $USB_MATCH_DEV_HI -eq $(( $match_flags & $USB_MATCH_DEV_HI )) ] &&
[ $usb_bcdDevice -gt $bcdDevice_hi ]; then
continue
fi
: bDeviceClass $bDeviceClass $usb_bDeviceClass
if [ $USB_MATCH_DEV_CLASS -eq $(( $match_flags & $USB_MATCH_DEV_CLASS )) ] &&
[ $bDeviceClass -ne $usb_bDeviceClass ]; then
continue
fi
: bDeviceSubClass $bDeviceSubClass $usb_bDeviceSubClass
if [ $USB_MATCH_DEV_SUBCLASS -eq $(( $match_flags & $USB_MATCH_DEV_SUBCLASS )) ] &&
[ $bDeviceSubClass -ne $usb_bDeviceSubClass ]; then
continue
fi
: bDeviceProtocol $bDeviceProtocol $usb_bDeviceProtocol
if [ $USB_MATCH_DEV_PROTOCOL -eq $(( $match_flags & $USB_MATCH_DEV_PROTOCOL )) ] &&
[ $bDeviceProtocol -ne $usb_bDeviceProtocol ]; then
continue
fi
# NOTE: for now, this only checks the first of perhaps
# several interfaces for this device.
: bInterfaceClass $bInterfaceClass $usb_bInterfaceClass
if [ $USB_MATCH_INT_CLASS -eq $(( $match_flags & $USB_MATCH_INT_CLASS )) ] &&
[ $bInterfaceClass -ne $usb_bInterfaceClass ]; then
continue
fi
: bInterfaceSubClass $bInterfaceSubClass $usb_bInterfaceSubClass
if [ $USB_MATCH_INT_SUBCLASS -eq $(( $match_flags & $USB_MATCH_INT_SUBCLASS )) ] &&
[ $bInterfaceSubClass -ne $usb_bInterfaceSubClass ]; then
continue
fi
: bInterfaceProtocol $bInterfaceProtocol $usb_bInterfaceProtocol
if [ $USB_MATCH_INT_PROTOCOL -eq $(( $match_flags & $USB_MATCH_INT_PROTOCOL )) ] &&
[ $bInterfaceProtocol -ne $usb_bInterfaceProtocol ]; then
continue
fi
# It was a match!
DRIVERS="$module $DRIVERS"
: drivers $DRIVERS
done
}
"
any ideas? i dont know much about hotplug, and nothing seems wrong with how they use the args...
