From owner-freebsd-current Sun Jun 9 6:45:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.dada.it (mail2.dada.it [195.110.96.69]) by hub.freebsd.org (Postfix) with SMTP id B2CC837B409 for ; Sun, 9 Jun 2002 06:45:54 -0700 (PDT) Received: (qmail 12364 invoked from network); 9 Jun 2002 13:45:49 -0000 Received: from unknown (HELO torrini.org) (195.110.114.101) by mail.dada.it with SMTP; 9 Jun 2002 13:45:49 -0000 Received: from trudy.torrini.home (localhost.torrini.home [127.0.0.1]) by torrini.org (8.12.3/8.12.3) with ESMTP id g59Djq2G000506 for ; Sun, 9 Jun 2002 15:45:52 +0200 (CEST) (envelope-from riccardo@trudy.torrini.home) Received: (from riccardo@localhost) by trudy.torrini.home (8.12.3/8.12.3/Submit) id g59DjqHJ000505 for freebsd-current@FreeBSD.ORG; Sun, 9 Jun 2002 15:45:52 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sun, 09 Jun 2002 15:45:52 +0200 (CEST) From: Riccardo Torrini To: freebsd-current@FreeBSD.ORG Subject: I need USB and DEVFS info Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a USB scanner (Epson Perfection 1240U) and a digital camera (Agfa CL18). The first is identified as uscanner0 and work really well, the second show up as ugen{0,0.1,0.2,0.3} With -CURRENT and DEVFS both come up with read/write enable only for root, so I added this line for scanner to etc/usbd.conf: attach "/bin/chmod 666 /dev/${DEVNAME} && echo L16cce > /dev/speaker" This enable my user to use scanner. I tryed the same with digital camera but (I think) DEVFS reset protections to read only. # chmod go+w /dev/ugen0* riccardo@trudy[0]: ll /dev/ugen* crw-rw-rw- 1 root operator 114, 0 Jun 9 14:37 /dev/ugen0 crw-rw-rw- 1 root operator 114, 1 Jun 9 14:37 /dev/ugen0.1 crw-rw-rw- 1 root operator 114, 2 Jun 9 14:43 /dev/ugen0.2 crw-rw-rw- 1 root operator 114, 3 Jun 9 14:37 /dev/ugen0.3 riccardo@trudy[0]: gphoto2 --camera "Agfa CL18" --list-files *** Error *** An error occurred in the io-library ('Error writing to the port'): No error description available *** Error ('Error writing to the port') *** [...] riccardo@trudy[1]: ll /dev/ugen* crw-rw-rw- 1 root operator 114, 0 Jun 9 14:37 /dev/ugen0 crw-r--r-- 1 root operator 114, 1 Jun 9 14:37 /dev/ugen0.1 crw-r--r-- 1 root operator 114, 2 Jun 9 14:43 /dev/ugen0.2 crw-r--r-- 1 root operator 114, 3 Jun 9 14:37 /dev/ugen0.3 Trying the list/download photo command from root works. After some command gphoto2 lockup and mark itself as a 'D' process (D = process in disk (or other short term, uninterruptible) wait) and I must reboot to remove it :\ Is a status=D process really unbreakable? And why it become 'D'? And why procections reset to 644 after accessing /dev/ugen* device? Any other hint ? (no, I cannot buy a more expensive camera). TIA, Riccardo. PS: I'd like to buy an USB (cheaper) printer: Epson C40UX. Under linuxprinting.org seems well supported using a ghostscript driver, so I choose this one. The only obscure point is FreeBSD USB driver that is different from Linux one. Is this printer working? Any -CURRENT or -STABLE user with this (or other cheaper) USB printers? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message