Mounting Sony camera

osp at aloha.com osp at aloha.com
Tue Mar 29 00:13:43 UTC 2011


> On 3/22/11 4:46 PM, osp at aloha.com wrote:
> > Fresh install of FreeBSD 8.2 and Gnome 2.32.1
> > 
> > With previous FreeBSD sertup this camera mounted fine. Now all I get 
when I 
> > connect is (/var/log/messages)
> > 
> > 
> > Mar 22 16:21:57 myhost root: Unknown USB device: vendor 0x054c product 
> > 0x0010 bus uhub4
> > Mar 22 16:21:57 myhost kernel: ugen4.2: <Sony> at usbus4
> > Mar 22 16:21:57 myhost kernel: umass0: <Sony Sony DSC, class 0/0, rev 
> > 2.00/5.00, addr 2> on usbus4
> > Mar 22 16:21:57 myhost kernel: umass0:  RBC over CBI; quirks = 0x1000
> > Mar 22 16:21:58 myhost kernel: umass0:0:0:-1: Attached to scbus0
> > Mar 22 16:22:08 myhost kernel: (probe0:umass-sim0:0:0:0): AutoSense 
failed
> > 
> > Several different models of USB thumb drives mount fine.
> > 
> > My /etc/rc.conf contains:
> > 
> > # -----------------
> > moused_enable="YES"
> > mouse_type="AUTO"
> > dbus_enable="YES"
> > hald_enable="YES"
> > polkitd_enable="YES"
> > powerd_enable="YES"
> > gnome_enable="YES"
> > 
> > My /boot/loader.conf:
> > 
> > snd_ich_load="YES"
> > atapicam_load="YES"
> > kern.maxsiz="734003200"
> > 
> > My /etc/sysctl.conf:
> > 
> > vfs.usermount=1
> > 
> > 
> > 
> > So I thought installing gthumb viewer would help. It won't run. From a 
> > command line I get:
> > 
> > $ gthumb
> > Failed to initialize GEM.  Falling back to classic.
> > 
> > Which seems to be a video problem. And, I frequently get notifications 
that 
> > a video setting could not be set. Sometimes the desktop looks fine, 
> > sometimes it is at a lower resolution. I installed x.org after gnome2, 
but 
> > since then I have done a portsnap and portupgrade -a.
> > 
> > During a boot I see
> > 
> > drm0: <Intel i915G> on vgaci0
> > 
> > All very strange because 8.0 worked fine on the same hardware.
> > 
> > Anything in particular I should reinstall, or just start over?
> 
> This could be a kernel issue.  Can you mount the camera umass device
> outside of HAL?  I have updated hal a few times lately to fix some
> issues with newer versions of the new USB stack.  If you can mount the
> device outside of HAL, make sure you have the latest version of the port.
> 
> Joe

I commented out hald_enable="YES" and gnome_enable="YES" in /etc/rc.conf 
and rebooted. Logged on as root. Plugging in camera got exact same result. 
Just to be sure I uncommented hald_enable="YES" and rebooted. Same results, 
no /dev/da0 created, nothing to mount even manually. At this point I did a 
ps -x and got

  PID  TT  STAT      TIME COMMAND
    0  ??  DLs    0:00.01 [kernel]
    1  ??  ILs    0:00.00 /sbin/init --
    2  ??  DL     0:00.03 [g_event]
    3  ??  DL     0:00.04 [g_up]
    4  ??  DL     0:00.04 [g_down]
    5  ??  DL     0:00.00 [fdc0]
    6  ??  DL     0:00.00 [sctp_iterator]
    7  ??  DL     0:00.00 [xpt_thrd]
    8  ??  DL     0:00.00 [pagedaemon]
    9  ??  DL     0:00.00 [vmdaemon]
   10  ??  DL     0:00.00 [audit]
   11  ??  RL     4:00.03 [idle]
   12  ??  WL     0:00.49 [intr]
   13  ??  DL     0:00.03 [yarrow]
   14  ??  DL     0:00.11 [usb]
   15  ??  DL     0:00.00 [pagezero]
   16  ??  DL     0:00.00 [bufdaemon]
   17  ??  DL     0:00.02 [syncer]
   18  ??  DL     0:00.00 [vnlru]
   19  ??  DL     0:00.01 [softdepflush]
   20  ??  DL     0:00.00 [flowcleaner]
  117  ??  Is     0:00.00 adjkerntz -i
  532  ??  Is     0:00.00 /usr/sbin/moused -p /dev/ums0 -t auto -I 
/var/run/mou
  549  ??  Is     0:00.08 /sbin/devd
  684  ??  Is     0:00.01 /usr/sbin/syslogd -s
  892  ??  Is     0:00.00 dhclient: bge0 [priv] (dhclient)
  992  ??  Ss     0:00.05 /usr/sbin/powerd
 1088  ??  Ss     0:00.01 sendmail: accepting connections (sendmail)
 1099  ??  Ss     0:00.00 /usr/sbin/cron -s
 1184  ??  I      0:00.03 /usr/local/sbin/console-kit-daemon --no-daemon
 1186  ??  I      0:00.05 /usr/local/libexec/polkitd
 1188  ??  I      0:00.01 /usr/local/libexec/gam_server
 1189  ??  I      0:00.04 hald-runner
 1193  ??  S      0:00.02 hald-addon-storage: no polling on /dev/fd0 
because it
 1209  ??  I      0:00.01 hald-addon-mouse-sysmouse: /dev/ums0 (hald-addon-
mous
 1211  ??  S      0:00.10 hald-addon-storage: /dev/acd0 (hald-addon-
storage)
 1170  v0  Is     0:00.03 login [pam] (login)
 1221  v0  S      0:00.06 -csh (csh)
 1234  v0  R+     0:00.01 ps -x
 1171  v1  Is+    0:00.00 /usr/libexec/getty Pc ttyv1
 1172  v2  Is+    0:00.00 /usr/libexec/getty Pc ttyv2
 1173  v3  Is+    0:00.01 /usr/libexec/getty Pc ttyv3
 1174  v4  Is+    0:00.00 /usr/libexec/getty Pc ttyv4
 1175  v5  Is+    0:00.00 /usr/libexec/getty Pc ttyv5
 1176  v6  Is+    0:00.00 /usr/libexec/getty Pc ttyv6
 1177  v7  Is+    0:00.00 /usr/libexec/getty Pc ttyv7

I don't think this is a Gnome issue anymore. Should I take this to the USB 
list, or the questions list? Is there some USP configuration documentation 
I should read first?

Gary Dunn
Honolulu
osp at aloha.com



More information about the freebsd-gnome mailing list