Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jun 2009 19:44:58 -0600
From:      Reed Loefgren <rloefgren@forethought.net>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        jdbca@clix.pt, freebsd-questions@freebsd.org
Subject:   Re: usb device not recognised
Message-ID:  <4A2C6D1A.8040709@forethought.net>
In-Reply-To: <alpine.BSF.2.00.0906071724250.99351@wojtek.tensor.gdynia.pl>
References:  <49020.1244377853@clix.pt> <alpine.BSF.2.00.0906071724250.99351@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Wojciech Puchar wrote:
>>
>>       I played around with the quirks and found that it needs both 
>> these to create the
>>       device and make it mountable:-
>>       NO_TEST_UNIT_READY | NO_SYNCHRONIZE_CACHE
>>
>>       Works fine now
>>
> please make patch with diff -u
>
> diff -u usbdevs.orig usbdevs >/tmp/patch.txt
> diff -u umass.c.orig umass.c >>/tmp/patch.txt
>
> and do sent-pr (by sent-pr program or FreeBSD webpage), describe a 
> problem and attach /tmp/patch.txt
>
> so maintainers can put this in FreeBSD sources.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
>
I just saw this post and need a link to the thread and a definition of 
the term "played around with the quirks". I have a just-re-installed 
7.2-RELEASE system (a bad SCSI cable trashed the original geom mirror 
install) and dmesg mentions at boot:

sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled

and, later:

...
GEOM_LABEL: Label ufsid/4a259f5253bef8ae removed.
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed


If I plug in a Lexar usb key I get:

Jun  7 19:27:24 bimbo kernel: uhub2: port 2 reset failed
Jun  7 19:27:56 bimbo last message repeated 30 times

The port number varies depending on which USB jack I have the cable 
plugged in to. My Canon Powershot A630 fails as well. As a probably 
unrelated aside, when trying to initialize and then talk to a serial 
interfaced temperature monitoring device, I get:

bimbo [103] [7:30pm] [/export/digitemp-3.4.0]$ ./digitemp_DS9097U -i 
-s/dev/cuad0
DigiTemp v3.4.0 Copyright 1996-2005 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Error 5: DS2480B Adapter Not Detected
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed

My point here is that all of this worked properly before the reinstall. 
The only difference was that the earlier 7.2 install was an upgraded 7.1 
install which was itself once 7.0. The new install is from the 7.2 
Release CD. It fails using GENERIC as well as my kernel. CPU is an AMD 
X3 720 black on an Asus M4A79T motherboard running i386.

This too might help somebody:

bimbo [106] [7:40pm] [/export/digitemp-3.4.0]$ dmesg | grep usb
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
usb2: EHCI version 1.0
usb2: companion controllers, 3 ports each: usb0 usb1
usb2: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: <ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
usb3: OHCI version 1.0, legacy support
usb3: SMM does not respond, resetting
usb3: <OHCI (generic) USB controller> on ohci2
usb3: USB revision 1.0
uhub3: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
usb4: OHCI version 1.0, legacy support
usb4: SMM does not respond, resetting
usb4: <OHCI (generic) USB controller> on ohci3
usb4: USB revision 1.0
uhub4: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
usb5: EHCI version 1.0
usb5: companion controllers, 3 ports each: usb3 usb4
usb5: <EHCI (generic) USB 2.0 controller> on ehci1
usb5: USB revision 2.0
uhub5: <ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb5
usb6: OHCI version 1.0, legacy support
usb6: SMM does not respond, resetting
usb6: <OHCI (generic) USB controller> on ohci4
usb6: USB revision 1.0
uhub6: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb6
bimbo [107] [7:40pm] [/export/digitemp-3.4.0]$

Apologies for the shotgun, I'm pretty tired and frustrated.

r




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