I’ve ran into some problems using the usb library. I’m running the
devu-uhci driver. If I disconnect from the usb stack I can’t reconnect
without the library generating a SIGSEGV. The backtrace in DDD locks
like this #3 0x080489c4 in main () at main.cpp:42 #2 0xb8205f3e in ?? () from libusbdi.so.2 #1 0xb8204db5 in ?? () from libusbdi.so.2 #0 0xb0317424 in ?? () from libc.so.2
The connection structures are the same as the one supplied in the
example in the usbd_connect documentation except that the 3Com stuff has
been replaced with USBD_CONNECT_WILDCARD and I supply argc = 0 and argv
= 0 and no connect/removal functions. Excluding the data structures the
test program looks like this:
After printing “@3” the program generates a core dump. I haven’t found
any documentation that could explain this behaviour, could anyone please
explain what I’m doing wrong.
I’ve ran into some problems using the usb library. I’m running the
devu-uhci driver. If I disconnect from the usb stack I can’t reconnect
without the library generating a SIGSEGV. The backtrace in DDD locks
like this #3 0x080489c4 in main () at main.cpp:42 #2 0xb8205f3e in ?? () from libusbdi.so.2 #1 0xb8204db5 in ?? () from libusbdi.so.2 #0 0xb0317424 in ?? () from libc.so.2
The connection structures are the same as the one supplied in the
example in the usbd_connect documentation except that the 3Com stuff has
been replaced with USBD_CONNECT_WILDCARD and I supply argc = 0 and argv
= 0 and no connect/removal functions. Excluding the data structures the
test program looks like this:
After printing “@3” the program generates a core dump. I haven’t found
any documentation that could explain this behaviour, could anyone please
explain what I’m doing wrong.
/Jonas Göransson
I forgot
The devu-uhci ‘-V’ version string is
USB (UHCI), v1.10, v1.01, MAY 2 2002 running on Momentics NC
I’ve ran into some problems using the usb library. I’m running the
devu-uhci driver. If I disconnect from the usb stack I can’t reconnect
without the library generating a SIGSEGV. The backtrace in DDD locks
like this #3 0x080489c4 in main () at main.cpp:42 #2 0xb8205f3e in ?? () from libusbdi.so.2 #1 0xb8204db5 in ?? () from libusbdi.so.2 #0 0xb0317424 in ?? () from libc.so.2
The connection structures are the same as the one supplied in the
example in the usbd_connect documentation except that the 3Com stuff has
been replaced with USBD_CONNECT_WILDCARD and I supply argc = 0 and argv
= 0 and no connect/removal functions. Excluding the data structures the
test program looks like this:
After printing “@3” the program generates a core dump. I haven’t found
any documentation that could explain this behaviour, could anyone please
explain what I’m doing wrong.