Re: problem with USB-CD drive

From: Eugene Grosbein <>
Date: Wed, 02 Mar 2022 16:56:06 UTC
02.03.2022 15:59, Wojciech Puchar wrote:

>> Wojciech Puchar wrote this message on Mon, Feb 21, 2022 at 11:44 +0100:
>>> I wrote software for microcontroller with USB device port that presents
>>> itself as USB CD and includes ISO9660 image.
>> Is this an ST micro?  I have a couple outstanding issues where ST hasn't
> No it's PIC32. Nevertheless it does not matter - i wrote everything myself from scratch using only PIC32MX and USB documentation.
> I am almost sure i didn't implement some of SCSI commands properly so FreeBSD doesn't properly behave, while windows/MacOS doesn't care.
> The question is how to debug it on host side - what exactly is wrong.

Use sysctl to enable CAM-level debugging.
Debugging flags are documented at in the file sys/cam/cam_debug.h