This block crashes usbd with:
...(usbd), uid 0: exited on signal 11 (core dumped)

I have a pre-GCC_3.1:
(FreeBSD 5.0-CURRENT #34: Wed May  8 02:31:46 CEST 2002)


-----8<-----[ /etc/usbd.conf ]-----8<-----

device "Scanner Epson Perfection 1240U (photo)"
        # Perfection1240(0x010b), EPSON(0x04b8), rev 0x0114
        product 0x010b
        vendor  0x04b8
        release 0x0114
        devname "uscanner[0-9]+"
        attach  "/bin/chmod 666 /dev/${DEVNAME} && echo L16cce > /dev/speaker"
        ## attach  "/bin/chmod 666 /dev/uscanner0 && echo L16cce > /dev/speaker"
        detach  "echo L16eec > /dev/speaker"

-----8<-----

(gdb) bt
#0  0x280e7dd6 in strncpy () from /usr/lib/libc.so.5
#1  0x80494d4 in sigprocmask ()
#2  0x804a6c7 in sigprocmask ()
#3  0x8048cc3 in sigprocmask ()


Adding a comment before 'device' solves the problem:

-----8<-----
#
device [...]
-----8<-----


Riccardo.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to