and of usb_modeswitch skript was
exec 1<&- 2<&- 5<&- 7<&-
(
. /lib/udev/hotplug.functions
wait_for_file /usr/sbin/usb_modeswitch_dispatcher
exec usb_modeswitch_dispatcher --switch-mode $1 $0 >>/dev/null 2>&1 &
exit 0
) &
exit 0
became:
exec 1<&- 2<&- 5<&- 7<&-
(
. /lib/udev/hotplug.functions
wait_for_file /usr/sbin/usb_modeswitch_dispatcher
exec ltrace /usr/sbin/usb_modeswitch_dispatcher --switch-mode $1 $0
>/tmp/ltrace.txt 2>&1 &
exit 0
) &
exit 0
ltrace is attached
workaround that I have: I created an udev rule
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1bbb",
ATTRS{idProduct}=="0017", RUN+="/sbin/modprobe usbserial vendor=0x1bbb
product=0x0017"
and it works
** Attachment added: "ltrace.txt.gz"
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/824147/+attachment/3475446/+files/ltrace.txt.gz
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/824147
Title:
usb_modeswitch_[2193]: segfault at 8 ip 00007eff40eab681 sp
00007fff6a785f58 error 4 in libc-2.13.so[7eff40e29000+195000]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/824147/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs