From owner-freebsd-usb@FreeBSD.ORG Thu Feb 2 14:00:24 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8CF116A420 for ; Thu, 2 Feb 2006 14:00:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99DC443D4C for ; Thu, 2 Feb 2006 14:00:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k12E0NSI083341 for ; Thu, 2 Feb 2006 14:00:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k12E0N1h083340; Thu, 2 Feb 2006 14:00:23 GMT (envelope-from gnats) Date: Thu, 2 Feb 2006 14:00:23 GMT Message-Id: <200602021400.k12E0N1h083340@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: le chapelain germain Cc: Subject: Re: usb/86438 : Fix for non-working iPod over USB is in NetBSD CVS X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: le chapelain germain List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 14:00:24 -0000 The following reply was made to PR usb/86438; it has been noted by GNATS. From: le chapelain germain To: bug-followup@FreeBSD.org, josh@elsasser.org, flz@FreeBSD.org Cc: Subject: Re: usb/86438 : Fix for non-working iPod over USB is in NetBSD CVS Date: Thu, 2 Feb 2006 14:54:58 +0100 (CET) Sure florent Here is the result of `usbd -dv' (all works fine til camcomtrol eject, that I don't care that much. Read below.) =====================8<=====================8<===================== root@germ# usbd -vd usbd: opened /dev/usb0 usbd: opened /dev/usb1 usbd: opened /dev/usb2 usbd: opened /dev/usb3 usbd: reading configuration file /etc/usbd.conf usbd: opened /dev/usb usbd: device-attach event at 1138869328.544468000, CASIO QV DIGITAL, CASIO COMPUTER: vndr=0x07cf prdct=0x1001 rlse=0x1000 clss=0x0000 subclss=0x0000 prtcl=0x0000 device names: umass0 usbd: Found action 'CASIO exilim' for CASIO QV DIGITAL, CASIO COMPUTER at umass0 usbd: Executing '( export DISPLAY=:0.0 && export i=`echo ${DEVNAME} | /usr/bin/sed 's,umass\\([0-9]*\\),\\1,'` && sleep 2 && /bin/chmod 666 /dev/da${i}s1 && /sbin/mount -t msdos /dev/da${i}s1 /mnt/cam && /usr/bin/su german -c '/usr/X11R6/bin/gthumb /mnt/cam/dcim/100casio' ; /sbin/umount /mnt/cam ; /sbin/camcontrol eject da${i} ) &' Error received from stop unit command usbd: device-detach event at 1138869385.636518000, product 0x1001, vendor 0x07cf: vndr=0x07cf prdct=0x1001 rlse=0x1000 clss=0x0000 subclss=0x0000 prtcl=0x0000 =====================>8=====================>8===================== The device connect to the pc throught a cradle with an usb button. You push the button and a light saying `usb' light. If I camcontrol-eject it it says that error and da0 and da0s1 remain in /dev. When I push the button again then it detaches and the devices desapear. I gaved it a shot under windows and the little icon `safely remove' doesn't has easy effect on the state of the usb led on my device. TBH, my guess is there is a problem in the device itself. But as long as the device is properly unmounted I don't care that much. Would I disconnect the device without having unmounted it (i.e., without having closed gthumb.) then when I try umount -f my system crashes. I have freebsd 6.0 stable with the latest usb support. -- Germain http://german.free.fr ___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com