Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Jun 2009 14:10:59 +0100
From:      <jdbca@clix.pt>
To:        freebsd-questions@freebsd.org
Subject:   usb device not recognised
Message-ID:  <43161.1244293859@clix.pt>

next in thread | raw e-mail | index | archive | help
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: <RockChip ROCK MP3, class 0/0, rev 2.00/0.00, addr 2> 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: <Teclast Digital  Player 1.00> 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: <DV USB Device, class 0/0, rev 1.10/1.00, addr 2> on uhub0
da0 at umass-sim1 bus 1 target 0 lun 0
da0: <DV USB Device 1.00> 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: <DV USB Device 1.00> 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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43161.1244293859>