On Wed, Feb 16, 2005 at 12:57:59PM +0100, Aaron Isotton wrote:
> This time the logs are attached because they're really quite long.
> 
> I used the 0.4.7-1.0.1 packages from http://luon.net/~sjoerd/hal/; I
> hope this is correct (there were also some 0.4.7-2 packages, but that's
> not what I used last time).
> 
> As last time, the camera didn't show up at all in Nautilus after more
> than two minutes; when using the normal (non-debug) packages, it takes
> one minute but then it shows up.
> 
> I attached the camera at 12:47:39; I removed it at 12:50:00.
> 
> hald didn't log anything when I attached it, but quite some stuff when I
> removed it.
> 
> hald.log is the output from hald; I catched it like this:
>   hald --drop-privileges --verbose=yes --daemon=no &> hald.log
> 
> syslog is the relevant extract from /var/log/syslog
> 
> user.log is the relevant extract from /var/log/user.log

Okay what's happening here is the following. When your camera is inserted hal
looks at the filesystem to determine what's the fs type. Now apparently this
blocks with your camera for about a minute untill an usb reset occurs.. 

 From the hald log:
   12:47:45.226 [I] linux/volume_id/volume_id.c:213: read sbbuf len:0xc00
   12:48:45.336 [I] linux/volume_id/volume_id.c:216: got 0xc00 (3072) bytes
 And your kernel:
   Feb 16 12:48:45 localhost kernel: usb 5-7: reset high speed USB device using

Now because this takes a minute hal's hotplug timer times out right after it's
unblocked here, which causes the faulty error message (As you can see from the
message it's not actually rebased)..

Fixing this is fairly easy, i'll probably have some packages for you tomorrow
to test. But this won't solve your real problem, which is that somehow the usb
connection needs a reset, before it's possible to read data...


On another note, i saw you've got fstab-sync enabled. This isn't used anymore
in debian and you can disable it if your using gnome-volume-manager. For gvm
be sure your in group plugdev and check .xsession-errors or run it manually to
see what's wrong.. If you've got a problem there, please file a new bug for it
:)

  Sjoerd
-- 
Federal grants are offered for... research into the recreation
potential of interplanetary space travel for the culturally disadvantaged.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to