| Poster | Thread |
kilaueabart
 |  |
Query about USB on SAM460 Posted on 27-Jul-2012 2:27:18
| | [ #1 ] |
|
|
 |
Cult Member  |
Joined: 14-Jun-2004 Posts: 646
From: Honolulu | | |
|
| If I have anything plugged in to a front USB port when I cold boot, I get these U-Boot messages:
USB: scanning bus for devices... 5 USB Device(s) found scanning bus for storage devices... [lo-o-ong pause] error in inquiry 1 Storage Device(s) found
(This is only since the advent of USB2 on OS4.)
Having mouse and keyboard plugged in to the external USB ports on the back causes no problem. Having the two front USB ports plugged into J12 or J13 "internal USB" causes no problem as long as they are empty, although they must be included in that "5 USB ... found" count.
What I hope someone can tell me, perhaps saving me $25 or so and a half-hour's work, is, if I were to install a card reader in a 3.5" slot on my case and plug it into the remaining internal USB connector, will I have that "error in inquiry" stall, even if nothing is plugged into it? Last edited by kilaueabart on 27-Jul-2012 at 02:28 AM. Last edited by kilaueabart on 27-Jul-2012 at 02:28 AM.
|
|
| Status: Offline |
|
|
Hypex
 |  |
Re: Query about USB on SAM460 Posted on 27-Jul-2012 10:13:03
| | [ #2 ] |
|
|
 |
Elite Member  |
Joined: 6-May-2007 Posts: 11351
From: Greensborough, Australia | | |
|
| @kilaueabart
Seems funny that an OS4 USB upgrade would affect the firmware. 
Do you know if the USB scanning can be disabled in UBoot? Perhaps look through the UBoot menus and see if it can. It looks like it is getting tripped up on an "MSD" or flash/HD drive. |
|
| Status: Offline |
|
|
Spectre660
 |  |
Re: Query about USB on SAM460 Posted on 27-Jul-2012 10:28:29
| | [ #3 ] |
|
|
 |
Elite Member  |
Joined: 4-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @Hypex
Why not ?. Remember the upgrade went from USB 1.1 to USB 2.0 Setting Uboot variable scan_usb_storage=0. But this may disable USB booting from the internal SD Card Drive.
Quote:
Hypex wrote: @kilaueabart
Seems funny that an OS4 USB upgrade would affect the firmware. 
Do you know if the USB scanning can be disabled in UBoot? Perhaps look through the UBoot menus and see if it can. It looks like it is getting tripped up on an "MSD" or flash/HD drive. |
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
| Status: Offline |
|
|
olegil
|  |
Re: Query about USB on SAM460 Posted on 27-Jul-2012 10:55:31
| | [ #4 ] |
|
|
 |
Elite Member  |
Joined: 22-Aug-2003 Posts: 5900
From: Work | | |
|
| @Spectre660
He said COLD boot, at that point OS4 hasn't been loaded.
So it can NOT affect UBoot. _________________ This weeks pet peeve: Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean. |
|
| Status: Offline |
|
|
elwood
|  |
Re: Query about USB on SAM460 Posted on 27-Jul-2012 12:16:33
| | [ #5 ] |
|
|
 |
Elite Member  |
Joined: 17-Sep-2003 Posts: 3428
From: Lyon, France | | |
|
| @kilaueabart
Quote:
| If I have anything plugged in to a front USB port when I cold boot, I get these U-Boot messages: USB: scanning bus for devices... 5 USB Device(s) found scanning bus for storage devices... [lo-o-ong pause] error in inquiry 1 Storage Device(s) found |
Did you try different USB devices? Did you try plugging mouse and keyboard at the front?_________________ Philippe 'Elwood' Ferrucci Sam460 1.10 Ghz AmigaOS 4 betatester Amiga Translator Organisation |
|
| Status: Offline |
|
|
Spectre660
 |  |
Re: Query about USB on SAM460 Posted on 27-Jul-2012 13:38:44
| | [ #6 ] |
|
|
 |
Elite Member  |
Joined: 4-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @olegil
Indeed .
Quote:
olegil wrote: @Spectre660
He said COLD boot, at that point OS4 hasn't been loaded.
So it can NOT affect UBoot. |
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
| Status: Offline |
|
|
Hypex
 |  |
Re: Query about USB on SAM460 Posted on 27-Jul-2012 15:29:17
| | [ #7 ] |
|
|
 |
Elite Member  |
Joined: 6-May-2007 Posts: 11351
From: Greensborough, Australia | | |
|
| @Spectre660
Quote:
| Why not ?. Remember the upgrade went from USB 1.1 to USB 2.0 |
Because AFAIK it only included OS4 and didn't need a UBoot upgrade as well. 
I could say my Apple keyboard stopped working with OS4, and I noticed it after a firmware upgrade. True story. But strange also. Because the mouse plugged into it worked even though the keyboard acted dead! 
Seems to be working okay now. Whatever was up with that. |
|
| Status: Offline |
|
|
kilaueabart
 |  |
Re: Query about USB on SAM460 Posted on 28-Jul-2012 1:45:34
| | [ #8 ] |
|
|
 |
Cult Member  |
Joined: 14-Jun-2004 Posts: 646
From: Honolulu | | |
|
| @olegil
Quote:
@Spectre660
He said COLD boot, at that point OS4 hasn't been loaded.
So it can NOT affect UBoot.
| Anyway, it turns out that I already have "scan_usb_storage=0." I followed Spectre660's March 3rd suggestion.
Warm reboots work no matter what is plugged where.
|
|
| Status: Offline |
|
|
kilaueabart
 |  |
Re: Query about USB on SAM460 Posted on 28-Jul-2012 1:57:12
| | [ #9 ] |
|
|
 |
Cult Member  |
Joined: 14-Jun-2004 Posts: 646
From: Honolulu | | |
|
| @elwood
Quote:
| Did you try different USB devices? Did you try plugging mouse and keyboard at the front? | I'm going to try that again, because I don't remember exactly what I meant when I wrote, back in early March, Quote:
I tried it this morning, connecting mouse and keyboard through the front ports instead of to the hub. It claimed to find five devices instead of seven, but then all the notices were the same, except they proceded much faster and there was no "error in inquiry" message. |
I didn't even remember I had done that. $#@!*&^%! senile dementia! http://hwww.amigaworld.net/modules/newbb/viewtopic.php?topic_id=35271&forum=33&11 |
|
| Status: Offline |
|
|
thinkchip
|  |
Re: Query about USB on SAM460 Posted on 28-Jul-2012 2:19:21
| | [ #10 ] |
|
|
 |
Super Member  |
Joined: 26-Mar-2004 Posts: 1185
From: Salt Lake City, Utah, USA | | |
|
| @kilaueabart
If I have a USB storage device plugged into a front or back USB port, the computer hangs like you described. So I remove the device before booting. Another reason for a uboot update. _________________ X5000 / microA1(OS4.1 FE U2) / CodeBench / Imagine / Blender Lightwave 2019 / Microsoft Visual C++ |
|
| Status: Offline |
|
|
kilaueabart
 |  |
Re: Query about USB on SAM460 Posted on 28-Jul-2012 3:29:32
| | [ #11 ] |
|
|
 |
Cult Member  |
Joined: 14-Jun-2004 Posts: 646
From: Honolulu | | |
|
| @thinkchip Aha! I didn't think it was just mine, but it took several months to get someone else to say it was "normal."
I did try switching my trackball to the front. It made no difference, booting right up. Then I plugged a thumbdrive into the emptied rear port, and sure enough, "error in inquiry," although maybe quicker than usual.
I wouldn't mind the wait, if it was once a day, but I crash a lot, especially when browsing, and often just launching Timberwolf, where I'm likely to get a DSI that refuses to be "ignore"d. Waiting for the reboot gets to be a pain.
The question in my mind now is, why has it always acted like my 6-USB-port multi-card-reader was a storage device, even when nothing was plugged into it? In any event I just took a chance and ordered one that attaches inside in a 3.5" bay. I'll report back on whether it works or not.
|
|
| Status: Offline |
|
|
m3x
|  |
Re: Query about USB on SAM460 Posted on 28-Jul-2012 8:26:41
| | [ #12 ] |
|
|
 |
Regular Member  |
Joined: 15-May-2003 Posts: 311
From: Bologna, Italy | | |
|
| @kilaueabart
Quote:
| Anyway, it turns out that I already have "scan_usb_storage=0." I followed Spectre660's March 3rd suggestion. Warm reboots work no matter what is plugged where. |
If you wrote "scan_usb_storage=0" than that's wrong. The correct way to avoid scanning of USB storage devices is to type at the U-Boot prompt:
setenv scan_usb_storage 0 saveenv
or from the AOS4.1 shell:
c:nvsetvar scan_usb_storage 0
_________________ Massimiliano Tretene, ACube Systems, Soft3 |
|
| Status: Offline |
|
|
kilaueabart
 |  |
Re: Query about USB on SAM460 Posted on 28-Jul-2012 20:18:49
| | [ #13 ] |
|
|
 |
Cult Member  |
Joined: 14-Jun-2004 Posts: 646
From: Honolulu | | |
|
| @m3x
Quote:
| If you wrote "scan_usb_storage=0" than that's wrong. | I wrote clearly in my post that I already have "scan_usb_storage=0," with an implication that I have had it since March. This should have told you that I did not write what you said.
I guess you were trying to be helpful. |
|
| Status: Offline |
|
|
olegil
|  |
Re: Query about USB on SAM460 Posted on 28-Jul-2012 21:01:49
| | [ #14 ] |
|
|
 |
Elite Member  |
Joined: 22-Aug-2003 Posts: 5900
From: Work | | |
|
| @kilaueabart
The thing about those card readers is that USB-wise, they ARE of class mass-storage even when they don't have any actual storage inserted. It's a USB thing. The usb mass storage driver obviously supports the actual media appearing and disappearing.
You won't believe this, but I just BRICKED a DVD writer. My internal DVD writer in my laptop is bust, and I wanted to try playing Civ3 which requires the CD to be in the drive. So I figured it was searching for it in D: (this was W7, which I use for Civ3 as it came preinstalled on this here thing. I use Linux for all my work). Anyway, I took a DVD writer from another machine, plugged it into USB through a USB/SATA/PATA adapter thingie. It came up as F:, so Civ3 still didn't wanna go. Was watching some episodes of How I Met Your Mother on DVD in the background while doing some tricky PPC board layout, though.
So I figured I could make W7 change that drive from F to D. Turns out you can. But that's the LAST THING I heard from the drive ever. Now neither Linux nor Windows will see it.
I think my USB mass-storage problem trumps yours  _________________ This weeks pet peeve: Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean. |
|
| Status: Offline |
|
|
olegil
|  |
Re: Query about USB on SAM460 Posted on 29-Jul-2012 9:02:54
| | [ #15 ] |
|
|
 |
Elite Member  |
Joined: 22-Aug-2003 Posts: 5900
From: Work | | |
|
| @olegil
It's a LITTLE bit interesting, though. Something gets detected ass mass storage and doesn't respond to mass storage commands.
Are you really claiming this happens WHAT EVER you plug into the front ports? _________________ This weeks pet peeve: Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean. |
|
| Status: Offline |
|
|
kilaueabart
 |  |
Re: Query about USB on SAM460 Posted on 3-Aug-2012 1:22:55
| | [ #16 ] |
|
|
 |
Cult Member  |
Joined: 14-Jun-2004 Posts: 646
From: Honolulu | | |
|
| @olegil Quote:
| Are you really claiming this happens WHAT EVER you plug into the front ports? | Well, not quite that strong a claim, but so far whatever I might have had plugged in has brought up the "error in query" comment by UBoot. I'll experiment a bit further. I don't really have a whole lot to try. A GPS, a couple cameras, some thumb drives, a printer, and an ancient scanner are about it. But I'll try them all just for the "fun" of it.
(Later) I am surprised. I was sure I had learnt not to have my printer plugged in when I booted, but it causes no delay at all, whether turned off (and "5 [USB] devices found") or on ("6 devices found")!
Ditto with my Magellan GPS. Turned off, the machine just boots. If the GPS is on, I get a "cannot reset port 5?" but still immediate boot up to Workbench.
Tried one camera. It turns on automatically when I hit plug it in, so no testing it turned off, but it does not delay the boot.
All my thumb drives slow thing way down. I didn't bother checking my scanner -- I don't have it plugged in that much anyway. My burnt-out card reader is found as a USB device anyway, but causes no problem. If I have my old A1 drives now in external cases plugged in, there's no problem unless I turn them on. If they're on, I get a bunch of stuff scrolling down the screen, followed by a restart over and over.
All these tests were run with the reset button. That is different from a true cold boot in at least one respect: a warm reset brings up sound in Workbench. What else might be different, I don't know. But it's mainly resetting when Workbench crashes that I was concerned about, so those tests are very favorable.
(Earlier I wrote) I checked with the post office a few minutes ago, and they say my new internal card reader has been delivered. I'll go downstairs and get it soon, but from what you said in your previous post: Quote:
| The thing about those card readers is that USB-wise, they ARE of class mass-storage even when they don't have any actual storage | I may not want to install it after all...
(Later)I'm about to go get it, but won't have time to install it today. I'm wondering now. The GPS and the cameras are essentially card readers, yet cause no trouble. Maybe the new card reader won't either?Last edited by kilaueabart on 03-Aug-2012 at 02:43 AM.
|
|
| Status: Offline |
|
|
olegil
|  |
Re: Query about USB on SAM460 Posted on 3-Aug-2012 6:18:10
| | [ #17 ] |
|
|
 |
Elite Member  |
Joined: 22-Aug-2003 Posts: 5900
From: Work | | |
|
| @kilaueabart
And obviously you've checked and you don't get these errors if said devices are plugged into the BACK?
It's just that which port something is plugged into shouldn't generally affect how UBoot reacts to it. In this case, something was plugged in that was detected as mass-storage but didn't respond to mass-storage protocols. Detecting type of device is done by asking the device which type it is, so if it's wrongly detected then it replied wrong.
I see the SoC has one host and one on-the-go controller, and the remaining ports must be coming from somewhere else. I've read the source for the UBoot version used on the SAM460, and it doesn't seem to enable anything else than the internal SoC USB ports. This makes sense as there aren't a whole lot of places to connect extra USB controllers. Could there be an external USB hub? In this case, choice of port affecting the outcome sounds VERY strange.
A camera might be either mass-storage or it might not, I've got both types.
_________________ This weeks pet peeve: Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean. |
|
| Status: Offline |
|
|
ChrisH
 |  |
Re: Query about USB on SAM460 Posted on 3-Aug-2012 7:56:27
| | [ #18 ] |
|
|
 |
Elite Member  |
Joined: 30-Jan-2005 Posts: 6679
From: Unknown | | |
|
| (misunderstood the question) Last edited by ChrisH on 03-Aug-2012 at 07:58 AM. Last edited by ChrisH on 03-Aug-2012 at 07:57 AM. Last edited by ChrisH on 03-Aug-2012 at 07:57 AM.
_________________
|
|
| Status: Offline |
|
|
sicky
|  |
Re: Query about USB on SAM460 Posted on 3-Aug-2012 8:41:01
| | [ #19 ] |
|
|
 |
Elite Member  |
Joined: 11-Mar-2003 Posts: 2843
From: Essex, UK | | |
|
| @kilaueabart
Quote:
| What I hope someone can tell me, perhaps saving me $25 or so and a half-hour's work, is, if I were to install a card reader in a 3.5" slot on my case and plug it into the remaining internal USB connector, will I have that "error in inquiry" stall, even if nothing is plugged into it? |
I have had one of these from the start and ever since update 3 I got loads of USB error messages at boot up on OS4 so ended up disconnecting it as it was very annoying!
I haven't been able to resolve the situation and really want to be able to use the multi card reader._________________ SAM 460 with 2GB or RAM, 1000GB HD, 4 port SATA, DVDRW drive and Radeon HD 4650 GFX card. |
|
| Status: Offline |
|
|
Hypex
 |  |
Re: Query about USB on SAM460 Posted on 3-Aug-2012 16:40:43
| | [ #20 ] |
|
|
 |
Elite Member  |
Joined: 6-May-2007 Posts: 11351
From: Greensborough, Australia | | |
|
| @kilaueabart
Sounds like a lot of devices. Considered a powered hub? |
|
| Status: Offline |
|
|