Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jun 2012 11:13:45 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-hackers@freebsd.org
Cc:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Subject:   Re: reverse USB driver - is it possible?
Message-ID:  <201206031113.46034.hselasky@c2i.net>
In-Reply-To: <alpine.BSF.2.00.1206031022360.55215@wojtek.tensor.gdynia.pl>
References:  <alpine.BSF.2.00.1206031022360.55215@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 03 June 2012 10:25:21 Wojciech Puchar wrote:
> for SCSI/SAS/FC there is targ(4) driver allows you to become SCSI target.
> 
> is it the same possible with USB?
> i mean if i can make my laptop to simulate say USB CDROM.
> 
> Yes there are no driver line targ(4) for USB, but it is technically
> possible hardware-wise? with any USB controler or special one?

Yes, this is possible.

Have a look at:

sys/dev/usb/storage/ustorage_fs.c

Currently just implements a RAM disk. Patches are welcome.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206031113.46034.hselasky>