Am 22.06.2011 10:24, schrieb Didier Raboud:
FYI, the logs also contained the following linces (twice):
'/lib/udev/usb_modeswitch' (stderr) '/lib/udev/usb_modeswitch: 33:'
'/lib/udev/usb_modeswitch' (stderr) 'arithmetic expression: expecting
EOF: "0x"'
'/lib/udev/usb_modeswitch' (stderr) ''

This is very probably what we call a "bashism". Debian's /bin/sh now points to
/bin/dash.

I have checked the script for bashisms. The problem may rather be a missing parameter from the script call.

I recommend to add an "echo" line to put out the parameter list via error channel so that it may appear in the udev log. Right before the line "p_id=$4":

echo "ums params: $@" >&2

If you want you can check for the other variables too; just before the "case" line, the values for v_id and p_id should be set.

echo "ums variables: v_id $v_id, p_id $p_id" >&2

No way to check these commands right now, there may be errors.

Regards,
Josh



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to