usb device not recognised
jdbca at clix.pt
jdbca at clix.pt
Sat Jun 6 13:37:42 UTC 2009
I have a Teclast TL-C300 usb media player which works fine with Slackware 12.2 and Windows XP, but is not properly recognised by
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
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,
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 but resumes if the device is removed.
When the TL-C300 is plugged in after boot, it produces the following console 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
(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
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 devices are recognised.
Unplugging produces this:-
umass1: at uhub2 port 2 (addr 2) disconnected
(da0:umass-sim1:1:0:0): Synchronize cache failed, status == 0x39, scsi status == 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 contains errors, but it does create the /dev entries and is
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
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
(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
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
----
Área de Clientes Clix – Toda a gestão dos seus serviços online! http://cliente.clix.pt/.
More information about the freebsd-questions
mailing list