Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2022 23:56:06 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Wojciech Puchar <wojtek@puchar.net>, John-Mark Gurney <jmg@funkthat.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: problem with USB-CD drive
Message-ID:  <cf405de9-0a86-79ee-698a-a4956b52c848@grosbein.net>
In-Reply-To: <2de67fd5-40d9-55fc-18ea-671aa096bab5@puchar.net>
References:  <197d435-6c4b-a60-4e6f-ea4ee515b8f4@puchar.net> <20220302014925.GA88842@funkthat.com> <2de67fd5-40d9-55fc-18ea-671aa096bab5@puchar.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 kern.cam.dflags to enable CAM-level debugging.
Debugging flags are documented at in the file sys/cam/cam_debug.h




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cf405de9-0a86-79ee-698a-a4956b52c848>