From owner-freebsd-questions@FreeBSD.ORG Sat Jun 6 13:37:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C89531065670 for ; Sat, 6 Jun 2009 13:37:41 +0000 (UTC) (envelope-from jdbca@clix.pt) Received: from mailrly08.isp.novis.pt (mailrly08.isp.novis.pt [195.23.133.218]) by mx1.freebsd.org (Postfix) with ESMTP id 3AA1E8FC19 for ; Sat, 6 Jun 2009 13:37:40 +0000 (UTC) (envelope-from jdbca@clix.pt) Received: (qmail 5284 invoked from network); 6 Jun 2009 13:10:59 -0000 Received: from unknown (HELO mailfrt11.isp.novis.pt) ([195.23.133.227]) (envelope-sender ) by mailrly08.isp.novis.pt with compressed SMTP; 6 Jun 2009 13:10:59 -0000 Received: (qmail 21792 invoked from network); 6 Jun 2009 13:10:59 -0000 Received: from unknown (HELO cigarra.isp.ip.pt) ([195.23.131.149]) (envelope-sender ) by mailfrt11.isp.novis.pt with SMTP; 6 Jun 2009 13:10:59 -0000 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 From: To: freebsd-questions@freebsd.org X-Origin: 95.69.113.104 Date: Sat, 06 Jun 2009 14:10:59 +0100 Message-Id: <43161.1244293859@clix.pt> X-Mailer: 95.69.113.104 Subject: usb device not recognised X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jun 2009 13:37:42 -0000 I have a Teclast TL-C300 usb media player which works fine with Slackware 1= 2.2 and Windows XP, but is not properly recognised by=20 FreeBSD. I have other usb devices, eg camera, which all work fine, so I am guessing = that my config is OK, although I do see errors with=20 these devices too. According to kerneltrap, another Teclast device needed a patch in Linux to = reduced the data transfer block size to make it work,=20 so perhaps it needs a quirk for FreeBSD too. Does anybody have experience of this device or recognise the symptoms? I am running FreeBSD 7.2 and I am up to date with stable. I have these entires in the kernel which are probably relevant:- device scbus device da device cd device pass device ses device atapicam device uhci device ohci device ehci device usb device ugen device uhid device ukbd device ulpt device umass device ums If the TL-C300 is present at boot, boot freezes when it probes the device b= ut resumes if the device is removed. When the TL-C300 is plugged in after boot, it produces the following consol= e report:- umass1: on uhub2 (probe0:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0=20 (probe0:umass-sim1:1:0:0): CAM Status: SCSI Status Error (probe0:umass-sim1:1:0:0): SCSI Status: Check Condition (probe0:umass-sim1:1:0:0): NOT READY asc:3a,0 (probe0:umass-sim1:1:0:0): Medium not present (probe0:umass-sim1:1:0:0): Unretryable error da0 at umass-sim1 bus 1 target 0 lun 0 da0: Removable Direct Access SCSI-0 device= =20 da0: 40.000MB/s transfers da0: 1900MB (3892224 512 byte sectors: 255H 63S/T 242C) but fails to create /dev/da0. Also, when it is plugged in, no other usb dev= ices are recognised. Unplugging produces this:- umass1: at uhub2 port 2 (addr 2) disconnected (da0:umass-sim1:1:0:0): Synchronize cache failed, status =3D=3D 0x39, scsi = status =3D=3D 0x0 (da0:umass-sim1:1:0:0): lost device (da0:umass-sim1:1:0:0): removing device entry umass1: detached By contrast, when I plug in the camera, I get this report which also contai= ns errors, but it does create the /dev entries and is=20 mountable:- umass1: on uhub0 da0 at umass-sim1 bus 1 target 0 lun 0 da0: Removable Direct Access SCSI-0 device=20 da0: 1.000MB/s transfers da0: 31MB (64000 512 byte sectors: 64H 32S/T 31C) (probe0:umass-sim1:1:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0=20 (probe0:umass-sim1:1:0:1): CAM Status: SCSI Status Error (probe0:umass-sim1:1:0:1): SCSI Status: Check Condition (probe0:umass-sim1:1:0:1): NOT READY asc:3a,0 (probe0:umass-sim1:1:0:1): Medium not present (probe0:umass-sim1:1:0:1): Unretryable error da1 at umass-sim1 bus 1 target 0 lun 1 da1: Removable Direct Access SCSI-0 device=20 da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present unplug camera:- umass1: at uhub0 port 2 (addr 2) disconnected (da0:umass-sim1:1:0:0): lost device (da0:umass-sim1:1:0:0): removing device entry (da1:umass-sim1:1:0:1): lost device (da1:umass-sim1:1:0:1): removing device entry umass1: detached Cheers DuncanB ----=20 =C3=81rea de Clientes Clix =E2=80=93 Toda a gest=C3=A3o dos seus servi=C3= =A7os online! http://cliente.clix.pt/.=20=