Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2002 21:50:55 -0400
From:      Anish Mistry <mistry.7@osu.edu>
To:        gburditt@airmail.net
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Fujitsu P2000 (2110) USB Problem
Message-ID:  <200208242150.55366.mistry.7@osu.edu>
In-Reply-To: <E17iikN-0006xU-00@gerbil.hammy.lonestar.org>
References:  <E17iikN-0006xU-00@gerbil.hammy.lonestar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 24 August 2002 05:47 pm, Gordon Burditt,Here,11,817 249-4898=20
wrote:
> >  I am having a problem getting any sort of USB device to work with my=
=20
Fujitsu=20
> >P2000 notebook.  The USB works correctly in window 2000 so I know that=
 the=20
> >hardware is ok.
> >  The problem is that I can plug in a USB device ie. a floppy drive an=
d a=20
> >little kernel message appears notifying me that it is plugged in, but =
then=20
I=20
> >am not able to mount it.  Then I try my USB Visor.  Plug it in press t=
he=20
> >button, device message shows up, but can't communicate with the device=
=2E =20
Not=20
> >being one to give up I recompiled my kernel for rio mp3 player support=
=2E =20
> >installed rioutil and tryed again.  Plug it in, device shows up as rio=
0,=20
but=20
> >when I try to query information from it: rioutil -i.  It just hangs an=
d I=20
> >have to [ctl]-c it.
> >   I've pasted my dmesg below.  Is there anything else that I can send=
 that=20
> >would help?  I don't have any problems with coding if it comes to that=
=2E =20
> >Thanks.
>=20
> >umass0: NEC NEC USB UF000x, rev 1.10/1.21, addr 2
> >da0 at umass-sim0 bus 0 target 0 lun 0
> >da0: <NEC USB UF000x 1.21> Removable Direct Access SCSI-0 device
> >da0: 20KB/s transfers
> >da0: 1MB (2880 512 byte sectors: 2H 18S/T 80C)
> >umass0: Unsupported UFI command 0x08, 6 byte command should have been=20
> >converted
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> This error suggests that you need the following line in /etc/sysctl.con=
f:
> kern.cam.da.no_6_byte=3D1
> (then reboot, or run sysctl -w kern.cam.da.no_6_byte=3D1  .)
>=20
> It may not solve all your problems, but it did solve some I was
> having with flash card readers and solid-state USB disks.
>=20
>=20
> >da0: reading primary partition table: error reading fsbn 0
> >umass0: Unsupported UFI command 0x35
> >(da0:umass-sim0:0:0:0): Synchronize cache failed, status =3D=3D 0x6, s=
csi=20
status=20
> >=3D=3D 0x0
>=20
> =09=09=09=09=09=09Gordon L. Burditt
>=20
>=20

Thanks, that worked for the floppy drive.  I can mount that fine now.  Bu=
t I=20
am still having problems with my USB devices.  From further testing I was=
=20
able to figure out that after a reboot the first device that you plug in =
and=20
it's first query for information seem to work fine.
1) Insert the USB floppy drive and mount it
2) I can read/write whatever just fine.
3) Unmount then disconnect it.
4) Insert the drive again and it is recongnized, but fails to create=20
communicate with the device.
NOTE: If I kill the usbd, and restart it at this point I get a message=20
/dev/usb: Device busy.
5) Try attaching other device, but nothing is recognized.
Now when I try with the Rio600 MP3 player the following happens, I have=20
inserted  usb kernel debug messages at the point they appeared:
1) Insert rio, and it's recognized.
Aug 24 21:26:40 littleguy /kernel: uhub_explore: status change hub=3D1 po=
rt=3D2
Aug 24 21:26:40 littleguy /kernel: usbd_new_device bus=3D0xc09da000 port=3D=
2=20
depth=3D1 lowspeed=3D0
Aug 24 21:26:40 littleguy /kernel: usbd_new_device: adding unit addr=3D2,=
=20
rev=3D100, class=3D0, subclass=3D0, protocol=3D0, maxpacket=3D16, len=3D1=
8, ls=3D0
Aug 24 21:26:40 littleguy /kernel: usbd_new_device: new dev (addr 2),=20
dev=3D0xc1019600, parent=3D0xc0e7e280
Aug 24 21:26:40 littleguy /kernel: usbd_probe_and_attach: trying device=20
specific drivers
Aug 24 21:26:40 littleguy /kernel: usbd_probe_and_attach: no device speci=
fic=20
driver found
Aug 24 21:26:40 littleguy /kernel: usbd_probe_and_attach: looping over 1=20
configurations
Aug 24 21:26:40 littleguy /kernel: usbd_set_config_index: (addr 2) attr=3D=
0x40,=20
selfpowered=3D1, power=3D0
Aug 24 21:26:40 littleguy /kernel: usbd_set_config_index: set config 1
Aug 24 21:26:40 littleguy /kernel: urio0: Diamond Multimedia Diamond=20
Multimedia  Digital Audio Player, rev 1.00/1.00, addr 2
2) Run "rioutil -i" to view device stats:
littleguy# rioutil -i
Name: Rio 600
Volume: 8
Repeat: Off
Equilizer: Rap
Backlight: 2 secs
Programmed to Playlist: 0
Firmware Version: 1.56
Memory units: 1
Memory unit 0: Internal Flash Memory
Free: 5.6 MB (32.0 MB Total)
Used: 26.3 MB in 6 files
[#########################################         ] 82.3 %
Total Time: 00:19:04
3) Run "rioutil -i" again to view the stats again, this and subsequent ti=
mes I=20
get garbage for the first part only:
littleguy# rioutil -i
Name: =F7=F3=BF=BF
Volume: 1
Repeat: Off
Equilizer: (null)
Backlight: (null)
Programmed to Playlist: 40
Firmware Version: 240.98
Memory units: 1
Memory unit 0: Internal Flash Memory
Free: 5.6 MB (32.0 MB Total)
Used: 26.3 MB in 0 files
[#########################################         ] 82.3 %
Total Time: 00:00:00
4) Unplug device.
Aug 24 21:34:54 littleguy /kernel: uhub_explore: C_PORT_ENABLED
Aug 24 21:34:54 littleguy /kernel: uhub_explore: device addr=3D2 disappea=
red on=20
port 2
Aug 24 21:35:04 littleguy /kernel: urio0: at uhub0 port 2 (addr 2)=20
disconnected
Aug 24 21:35:04 littleguy /kernel: urio0: disconnected
Aug 24 21:35:04 littleguy /kernel: urio0: detached
5) Plugin in device again, and it's not recognized.
Aug 24 21:35:20 littleguy /kernel: uhub_explore: status change hub=3D1 po=
rt=3D2
Aug 24 21:35:20 littleguy /kernel: usbd_new_device bus=3D0xc09da000 port=3D=
2=20
depth=3D1 lowspeed=3D0
6) Unplug device
Aug 24 21:35:36 littleguy /kernel: usbd_new_device: addr=3D2, getting fir=
st desc=20
failed
Aug 24 21:35:36 littleguy /kernel: usbd_remove_device: 0xc1019600
Aug 24 21:35:36 littleguy /kernel: uhub_explore: usb_new_device failed,=20
error=3DTIMEOUT
Aug 24 21:35:36 littleguy /kernel: uhub0: device problem, disabling port =
2

--=20
Anish Mistry


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




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