Date: Thu, 10 May 2012 21:00:31 +0200 From: Mel Flynn <rflynn@acsalaska.net> To: Jeremy Messenger <mezz.freebsd@gmail.com> Cc: gnome@freebsd.org, bug-followup@freebsd.org, mezz@freebsd.org Subject: Re: ports/165318: sysutils/hal: Western Digital Passport no longer "removable" Message-ID: <4FAC104F.8080700@acsalaska.net> In-Reply-To: <CADLFtteJO4EVJZNn8P0Bh-rotRR_WV7bfH_qHYNu05ww=Kwavg@mail.gmail.com> References: <201203171743.q2HHhljI063394@freefall.freebsd.org> <4F64DA8B.3000706@acsalaska.net> <CADLFtteJO4EVJZNn8P0Bh-rotRR_WV7bfH_qHYNu05ww=Kwavg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 22-4-2012 18:03, Jeremy Messenger wrote: > On Sat, Mar 17, 2012 at 1:40 PM, Mel Flynn <rflynn@acsalaska.net> wrote: >> On 3/17/2012 18:43, mezz@FreeBSD.org wrote: >>> Synopsis: sysutils/hal: Western Digital Passport no longer "removable" >>> >>> State-Changed-From-To: open->feedback >>> State-Changed-By: mezz >>> State-Changed-When: Sat Mar 17 17:43:16 UTC 2012 >>> State-Changed-Why: >>> Have you follow this yet?: http://www.freebsd.org/gnome/docs/halfaq.html#q3 >> >> Yes. HalFaq was followed on installation of the desktop and at that time >> the disk was correctly identified as removable. >> >> Now, when we try to mount the disk the policykit error refers to >> mount-fixed permission, not mount-removable. The users have >> mount-removable permissions (and now mount-fixed as a work around). >> The lshal output provided with the report, clearly shows that removable >> is not set. I've done tracing in hald source to see where it gets it's >> info from and it points to cam, but I'm unable to figure out how to get >> that info from camcontrol(8). If you know a way how to do that, I'll add >> it to the report. > > Read in the manpage and the 'camcontrol inquiry <device>' will show > you if it's removable. > > # camcontrol inquiry cd0 > pass2: <TSSTcorp DVD+-RW TS-H653F DW10> Removable CD-ROM SCSI-0 device > pass2: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) Ok, so it says "Fixed": % sudo camcontrol inquiry 2:0:1 pass2: <WD SES Device 2011> Fixed Enclosure Services SCSI-4 device pass2: Serial Number 575837314337304132303839 pass2: 40.000MB/s transfers % sudo camcontrol inquiry da0 pass1: <WD My Passport 071A 2011> Fixed Direct Access SCSI-4 device pass1: Serial Number 575837314337304132303839 pass1: 40.000MB/s transfers Looks that hal does the right thing, yet something in cam changed to make it believe this is not removable. -- Mel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FAC104F.8080700>