Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2004 12:26:47 -0500
From:      Christopher Sean Hilton <chris@vindaloo.com>
To:        freebsd-stable@freebsd.org
Cc:        julian@elischer.org
Subject:   Re: HEADSUP!!! USB MFC committed
Message-ID:  <20040318172647.GA424@endaba.pvt.vindaloo.com>
In-Reply-To: <20040318164347.GA681@endaba.pvt.vindaloo.com>
References:  <Pine.BSF.4.21.0403141401220.7997-100000@InterJet.elischer.org> <20040316094843.7F08840822@fw.farid-hajji.net> <20040318164347.GA681@endaba.pvt.vindaloo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 18, 2004 at 11:43:47AM -0500, Christopher Sean Hilton wrote:
> Summary:
> 
> This is probably too old a datapoint but...
> 
> I just updated my kernel to last Tuesday's version of 4.9-STABLE.
> 
> Good:
> 
>      My USB mouse works as expected.
> 
>      My USB hard drive works correctly.
> 
> 
> No change:
> 
>      My Olympus C-2100Z USB camera incorrectly comes up under the ugen driver rather
>      than the umass driver.
> 
>      My Handspring Treo 300 comes up under the ugen driver rather than
>      the visor driver. I have not honestly spent the time needed to
>      get this device working under FreeBSD. Nuf said.
> 
> Bad:
> 
>      My Memorex USB pendrive probes correctly if installed at boot
>      time but hangs the USB bus if installed after boot.
> 

Following up on my own work I found that the Pen Drive will probe
correctly after a long period of time if it is on the USB Bus alone
once the drive has been assigned device a disk device, da0, the usb
bus works normally.


Boot:

Mar 18 12:06:54 endaba /kernel: acd0: DVD-ROM <HITACHI DVD-ROM GD-7000> at ata1-master PIO4
Mar 18 12:06:54 endaba /kernel: acd1: CD-RW <CD-RW BCE5224IM> at ata1-slave PIO4
Mar 18 12:06:54 endaba /kernel: Mounting root from ufs:/dev/ad0s3a
Mar 18 12:07:13 endaba /kernel: drm0: <ATI Radeon QY RV100 VE> port 0xc000-0xc0ff mem 0xdd000000-0xdd00ffff,0xd0000000-0xd7ffffff irq 10 at device 0.0 on pci1
Mar 18 12:07:13 endaba /kernel: info: [drm] AGP at 0xd8000000 64MB
Mar 18 12:07:13 endaba /kernel: info: [drm] Initialized radeon 1.8.0 20020828 on minor 0

Unplug the mouse:

Mar 18 12:07:29 endaba /kernel: ums0: at uhub1 port 4 (addr 3) disconnected
Mar 18 12:07:29 endaba /kernel: ums0: detached
Mar 18 12:07:29 endaba moused: unable to open /dev/ums0: Device not configured

Plug in the Pen drive:

Mar 18 12:07:36 endaba /kernel: umass0: USB Solid state disk, rev 1.10/1.00, addr 3
Mar 18 12:07:55 endaba login: ROOT LOGIN (root) ON ttyv1

Go get coffee:

Mar 18 12:09:46 endaba /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Mar 18 12:09:46 endaba /kernel: da0: <Memorex ThumbDrive 1.12> Removable Direct Access SCSI-2 device 
Mar 18 12:09:46 endaba /kernel: da0: 650KB/s transfers
Mar 18 12:09:46 endaba /kernel: da0: 252MB (516096 512 byte sectors: 64H 32S/T 252C)

Come back from coffee and plug in the mouse:

Mar 18 12:15:06 endaba /kernel: ums0: Logitech USB Receiver, rev 1.10/9.10, addr 4, iclass 3/1
Mar 18 12:15:06 endaba /kernel: ums0: 5 buttons and Z dir.

Unplug the pen drive.

Mar 18 12:21:07 endaba /kernel: umass0: at uhub1 port 4 (addr 3) disconnected
Mar 18 12:21:07 endaba /kernel: (da0:umass-sim0:0:0:0): lost device
Mar 18 12:21:07 endaba /kernel: (da0:umass-sim0:0:0:0): removing device entry
Mar 18 12:21:07 endaba /kernel: umass0: detached
Mar 18 12:21:12 endaba /kernel: umass0: USB Solid state disk, rev 1.10/1.00, addr 3

The mouse cycles on and off:

Mar 18 12:21:12 endaba /kernel: ums0: at uhub1 port 3 (addr 4) disconnected
Mar 18 12:21:12 endaba /kernel: ums0: detached
Mar 18 12:21:12 endaba moused: unable to open /dev/ums0: Device not configured
Mar 18 12:21:13 endaba /kernel: ums0: Logitech USB Receiver, rev 1.10/9.10, addr 4, iclass 3/1
Mar 18 12:21:13 endaba /kernel: ums0: 5 buttons and Z dir.
Mar 18 12:21:13 endaba /kernel: ums0: at uhub1 port 3 (addr 4) disconnected
Mar 18 12:21:13 endaba /kernel: ums0: detached
Mar 18 12:21:13 endaba moused: unable to open /dev/ums0: Device not configured
Mar 18 12:21:14 endaba /kernel: ums0: Logitech USB Receiver, rev 1.10/9.10, addr 4, iclass 3/1
Mar 18 12:21:14 endaba /kernel: ums0: 5 buttons and Z dir.
Mar 18 12:21:14 endaba /kernel: ums0: at uhub1 port 3 (addr 4) disconnected
Mar 18 12:21:14 endaba /kernel: ums0: detached

...

Unplug the mouse and wait:

Mar 18 12:21:39 endaba /kernel: ums0: Logitech USB Receiver, rev 1.10/9.10, addr 4, iclass 3/1
Mar 18 12:21:39 endaba /kernel: ums0: 5 buttons and Z dir.
Mar 18 12:21:39 endaba /kernel: ums0: at uhub1 port 3 (addr 4) disconnected
Mar 18 12:21:39 endaba /kernel: ums0: detached
Mar 18 12:21:39 endaba moused: unable to open /dev/ums0: Device not configured

The Pen Drive is back:

Mar 18 12:23:22 endaba /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Mar 18 12:23:22 endaba /kernel: da0: <Memorex ThumbDrive 1.12> Removable Direct Access SCSI-2 device 
Mar 18 12:23:22 endaba /kernel: da0: 650KB/s transfers
Mar 18 12:23:22 endaba /kernel: da0: 252MB (516096 512 byte sectors: 64H 32S/T 252C)

I have two of these Pen Drives. If you would like one to test I can
send it to you.

-- chris

-- 
Chris Hilton                                 chilton-at-vindaloo-dot-com
------------------------------------------------------------------------
                "All I was doing was trying to get home from work!"
                                                 -- Rosa Parks



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