Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2006 19:15:05 -0800
From:      Frank Jahnke <jahnke@sonatabio.com>
To:        freebsd-gnome@freebsd.org
Subject:   Automounting does not work...
Message-ID:  <1165893305.1575.8.camel@pinot.fmjassoc.com>

next in thread | raw e-mail | index | archive | help
Over the weekend I upgraded my system to the latest RC and Gnome 2.16.2
(from 2.14).  Overall things went smoothly, but I find I am not able to
get automounting to work properly.  Clearly I'm missing something -- it
may well be how I attempted to deal separately with acd0 and cd0.  I
would most appreciate any guidance.

Information dump follows...

I followed the Gnome FAQ, so I do have scbus, cd, pass and atapicam
devices in the kernel.  I modified /etc/devfs.conf to include 

# Commonly used by many ports; set up atapicam
link    acd0    cdrom1
link    cd0     cdrom
perm    cd0     0666
perm    xpt0    0666
perm    pass3   0666

# Allow user mounting of removable media
own     /dev/fd0        root:operator
perm    /dev/fd0        0666
own     /dev/acd0       root:operator
perm    /dev/acd0       0666
own     /dev/cd0       root:operator
perm    /dev/cd0       0666

pinot# camcontrol devlist
<LITE-ON DVDRW LDW-411S FS07>      at scbus3 target 0 lun 0 (pass3,cd0)

I have dbus, polkitd and hald enabled in rc.conf, and added my username
to the operator group.

sysctl -b kern.geom.conftxt gives:
0 DISK cd0 0 2048 hd 0 sc 0

fstab is
/dev/acd0             /cdrom1         auto    ro,noauto       0       0
/dev/cd0              /cdrom          auto    ro,noauto       0       0

lshal:
udi =
'/org/freedesktop/Hal/devices/ide_host_1_scsi_host_scsi_device_lun0'
  info.udi =
'/org/freedesktop/Hal/devices/ide_host_1_scsi_host_scsi_device_lun0'
(string)
  scsi.type = 'cdrom'  (string)
  scsi.model = 'DVDRW LDW-411S'  (string)
  scsi.vendor = 'LITE-ON'  (string)
  info.vendor = 'LITE-ON'  (string)
  info.product = 'SCSI Device'  (string)
  scsi.lun = 0  (0x0)  (int)
  scsi.target = 0  (0x0)  (int)
  scsi.bus = 3  (0x3)  (int)
  scsi.host = 3  (0x3)  (int)
  info.bus = 'scsi'  (string)
  info.parent = '/org/freedesktop/Hal/devices/ide_host_1_scsi_host'
(string)

dmesg:

acd0: CDRW <LITE-ON DVDRW LDW-411S/FS07> at ata1-master UDMA33
cd0 at ata1 bus 0 target 0 lun 0
cd0: <LITE-ON DVDRW LDW-411S FS07> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers






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