Before bothering Joe and filing a PR on it, wanted to drop by here and see if perhaps I'm missing something as to devfs.rules or other configuration for Gnome under 9.0. GVFS automount has always worked just dandy under previous BSD versions, but in 9.0 there's been some genuine strangeness with automount in Gnome. I'm *hoping* that my configuration hasn't caught up with the USB stack changes rather than it being an actual insect before I cause panic among an already busy gnome team.
Here's the deal ... when I plug in a USB device (iPod, stick, etc) I sometimes get automount the first try and the associated icon is that of a USB device. All works fine, and it can be unmounted just fine as well. The NEXT device however, if it mounts at all, appears as a SCSI device with a similar icon to my existing hard disk. Thereafter, if unmounted, nothing else shows and further attempted mounts fail.
UNLESS I grab a terminal, type in the usual [CMD=""]mount -t msdosfs /dev/da0s1 /mnt[/CMD] whereupon I receive a "devise busy" fail. If I follow that in a terminal window with [CMD=""]umount -f /mnt[/CMD] I then receive a second error whereupon the device then mounts just fine in Gnome. Except that it mounts TWICE with two separate windows appearing. When the device is unmounted, a "ghost" device still appears in the "computer" directory on the Gnome desktop.
Something truly strange here, and I've not changed a thing in my previous settings from BSD 8.2. My guess is that something has changed and my config is no longer valid for Gnome under 9.0-RC1 but I haven't seen any information on Joe's pages that indicate how to get around this.
So here I am, hat in hand, looking for a handout.
Here's the dmesg on it if it's of any help in what's gone wrong on my end here:
Here's my devfs.conf:
Here's my devfs.rules:
I'm sure *I* am the problem here ... but where? Since I don't see other complaints about something so obvious, it's GOTTA be me having a brainf*rt here.
Here's the deal ... when I plug in a USB device (iPod, stick, etc) I sometimes get automount the first try and the associated icon is that of a USB device. All works fine, and it can be unmounted just fine as well. The NEXT device however, if it mounts at all, appears as a SCSI device with a similar icon to my existing hard disk. Thereafter, if unmounted, nothing else shows and further attempted mounts fail.
UNLESS I grab a terminal, type in the usual [CMD=""]mount -t msdosfs /dev/da0s1 /mnt[/CMD] whereupon I receive a "devise busy" fail. If I follow that in a terminal window with [CMD=""]umount -f /mnt[/CMD] I then receive a second error whereupon the device then mounts just fine in Gnome. Except that it mounts TWICE with two separate windows appearing. When the device is unmounted, a "ghost" device still appears in the "computer" directory on the Gnome desktop.
Something truly strange here, and I've not changed a thing in my previous settings from BSD 8.2. My guess is that something has changed and my config is no longer valid for Gnome under 9.0-RC1 but I haven't seen any information on Joe's pages that indicate how to get around this.
So here I am, hat in hand, looking for a handout.
Here's the dmesg on it if it's of any help in what's gone wrong on my end here:
Code:
Oct 29 04:43:22 KNOS-32 kernel: ugen5.3: <Apple Inc.> at usbus5 (disconnected)
Oct 29 04:43:22 KNOS-32 kernel: umass1: at uhub5, port 5, addr 3 (disconnected)
Oct 29 04:43:22 KNOS-32 kernel: (da1:umass-sim1:1:0:0): lost device - 0 outstanding
Oct 29 04:43:22 KNOS-32 kernel: (da1:umass-sim1:1:0:0): removing device entry
Oct 29 04:44:48 KNOS-32 kernel: ugen5.3: <Apple Inc.> at usbus5
Oct 29 04:44:48 KNOS-32 kernel: umass1: <Apple Inc. iPod, class 0/0, rev 2.00/0.01, addr 3> on usbus5
Oct 29 04:44:51 KNOS-32 kernel: da1 at umass-sim1 bus 1 scbus6 target 0 lun 0
Oct 29 04:44:51 KNOS-32 kernel: da1: <Apple iPod 1.62> Removable Direct Access SCSI-0 device
Oct 29 04:44:51 KNOS-32 kernel: da1: 40.000MB/s transfers
Oct 29 04:44:51 KNOS-32 kernel: da1: 114281MB (29255991 4096 byte sectors: 255H 63S/T 1821C)
Oct 29 00:46:47 KNOS-32 su: KNOS to root on /dev/pts/0
Oct 29 04:53:50 KNOS-32 kernel: ugen5.3: <Apple Inc.> at usbus5 (disconnected)
Oct 29 04:53:50 KNOS-32 kernel: umass1: at uhub5, port 5, addr 3 (disconnected)
Oct 29 04:53:50 KNOS-32 kernel: (da1:umass-sim1:1:0:0): lost device - 0 outstanding
Oct 29 04:53:50 KNOS-32 kernel: (da1:umass-sim1:1:0:0): removing device entry
Oct 29 06:08:28 KNOS-32 kernel: ugen5.3: <Staples> at usbus5
Oct 29 06:08:28 KNOS-32 kernel: umass1: <Staples Staples UFD, class 0/0, rev 2.00/1.00, addr 3> on usbus5
Oct 29 06:08:28 KNOS-32 kernel: da1 at umass-sim1 bus 1 scbus6 target 0 lun 0
Oct 29 06:08:28 KNOS-32 kernel: da1: <Staples Staples UFD PMAP> Removable Direct Access SCSI-0 device
Oct 29 06:08:28 KNOS-32 kernel: da1: 40.000MB/s transfers
Oct 29 06:08:28 KNOS-32 kernel: da1: 247MB (505856 512 byte sectors: 64H 32S/T 247C)
Oct 29 06:09:07 KNOS-32 kernel: ugen5.3: <Staples> at usbus5 (disconnected)
Oct 29 06:09:07 KNOS-32 kernel: umass1: at uhub5, port 5, addr 3 (disconnected)
Oct 29 06:09:07 KNOS-32 kernel: (da1:umass-sim1:1:0:0): lost device - 0 outstanding
Oct 29 06:09:07 KNOS-32 kernel: (da1:umass-sim1:1:0:0): removing device entry
Here's my devfs.conf:
Code:
# Historically X depended on this, but version 4.3.0 doesn't seem to anymore
#link ttyv0 vga
# Commonly used by many ports
link acd0 cdrom
# Allow a user in the wheel group to query the smb0 device
perm smb0 0666
# Wanna see my webcam?
perm video0 0666
#access USB printer
own usb/* root:operator
perm usb/* 0666
#access USB scanner
own ugen* root:operator
perm ugen* 0666
#access pass devices
own pass* root:operator
perm pass* 0666
#access USB sticks
own da0* root:operator
perm da0* 0666
#access CD/DVDROM
own cd* root:operator
perm cd* 0666
perm xpt0 0660
#access USB memcards
own sd0* root:operator
perm sd0* 0666
#access USB webcams
own video* root:operator
perm video* 0666
Here's my devfs.rules:
Code:
[system=7]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
add path 'usb/*' mode 0777 group operator
add path 'ugen*' mode 0660 group operator
add path 'umass*' mode 0660 group operator
add path 'pass*' mode 0660 group operator
add path 'sd*' mode 0660 group operator
add path 'da*' mode 0660 group operator
add path 'acd*' mode 0660 group operator
add path 'da*s*' mode 0660 group operator
add path 'video*' mode 0660 group operator
I'm sure *I* am the problem here ... but where? Since I don't see other complaints about something so obvious, it's GOTTA be me having a brainf*rt here.