Date: Wed, 3 Dec 2014 15:57:54 +0400 From: arrowdodger <6yearold@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: Mapping SCSI driver to USB one. Message-ID: <CALH631kYx3x7L5cz%2BwHop2spn%2BnUo1AtrHn=Ub2s9ZyZxKjQ%2BQ@mail.gmail.com> In-Reply-To: <547E271A.6070005@selasky.org> References: <CALH631kGdAh_Eod5OsAeFKB4c5XgW88ghD3Rm%2BhT0Z04UNC8rQ@mail.gmail.com> <547E271A.6070005@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 2, 2014 at 11:54 PM, Hans Petter Selasky <hps@selasky.org> wrote: > On 12/02/14 21:39, arrowdodger wrote: > >> Hello. >> I'm playing around with sysutils/hal sources and can't find a way to >> obtain >> a SCSI driver to the corresponding USB device. In other words, knowing >> "umass0" i want to get "da0" for it. >> >>> From what i can tell, HAL uses CAM API's (/dev/xpt0 stuff), but working >>> >> with it requires elevated privileges. Probably, because of that >> hald-runner >> is running under root. >> Is there any way to perform such mapping as regular user? >> > > Hi, > > Maybe "devinfo" will give you the answer. > > --HPS > > Nope, unfortunately devinfo gives ehci0 usbus1 uhub1 umass0 for my flash drive.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631kYx3x7L5cz%2BwHop2spn%2BnUo1AtrHn=Ub2s9ZyZxKjQ%2BQ>