Click HereClick Here
home features news forums classifieds faqs links search
5171 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Channel: #Amigaworld
Channel Policy and Guidelines

(Uses JAVA Applet and Port 1024)
Visit the Chatroom Website

Who's Online
 28 guest(s) on-line.
 3 member(s) on-line.


 wawa,  blizz1220,  tekmage

You are an anonymous user.
Register Now!
 tekmage:  8 secs ago
 wawa:  10 secs ago
 blizz1220:  1 min ago
 NutsAboutAmiga:  7 mins ago
 eliyahu:  11 mins ago
 OlafS25:  12 mins ago
 tommysammy:  14 mins ago
 Kicko:  19 mins ago
 gtmooya:  20 mins ago
 terminills:  23 mins ago

/  Forum Index
   /  Amiga OS4 Hardware
      /  Query about USB on SAM460
Register To Post

Goto page ( 1 | 2 Next Page )
PosterThread
kilaueabart 
Query about USB on SAM460
Posted on 27-Jul-2012 3:27:18
#1 ]
Regular Member
Joined: 14-Jun-2004
Posts: 379
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 03:28 AM.
Last edited by kilaueabart on 27-Jul-2012 at 03:28 AM.

 Status: Offline
Profile     Report this post  
Hypex 
Re: Query about USB on SAM460
Posted on 27-Jul-2012 11:13:03
#2 ]
Elite Member
Joined: 6-May-2007
Posts: 5346
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
Profile     Report this post  
Spectre660 
Re: Query about USB on SAM460
Posted on 27-Jul-2012 11:28:29
#3 ]
Elite Member
Joined: 5-Jun-2005
Posts: 2457
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.

_________________
Sam440ep-Flex 800Mhz ,1GB.Radeon HD6670 lowprofile via PCI to PCIe Adaper.
Sam460ex 1.15Ghz, 2GB.Radeon HD6670 . Apex TM-302-3 Case

 Status: Offline
Profile     Report this post  
olegil 
Re: Query about USB on SAM460
Posted on 27-Jul-2012 11:55:31
#4 ]
Elite Member
Joined: 22-Aug-2003
Posts: 4970
From: Work

@Spectre660

He said COLD boot, at that point OS4 hasn't been loaded.

So it can NOT affect UBoot.

_________________
Idea for "cheap" card using P2040/41 running multiple OSes and/or SMP OSes.

Anyone interested?

 Status: Offline
Profile     Report this post  
elwood 
Re: Query about USB on SAM460
Posted on 27-Jul-2012 13:16:33
#5 ]
Elite Member
Joined: 17-Sep-2003
Posts: 3167
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.15 Ghz
AmigaOS 4 betatester
Amiga Translator Organisation

 Status: Offline
Profile     Report this post  
Spectre660 
Re: Query about USB on SAM460
Posted on 27-Jul-2012 14:38:44
#6 ]
Elite Member
Joined: 5-Jun-2005
Posts: 2457
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.

_________________
Sam440ep-Flex 800Mhz ,1GB.Radeon HD6670 lowprofile via PCI to PCIe Adaper.
Sam460ex 1.15Ghz, 2GB.Radeon HD6670 . Apex TM-302-3 Case

 Status: Offline
Profile     Report this post  
Hypex 
Re: Query about USB on SAM460
Posted on 27-Jul-2012 16:29:17
#7 ]
Elite Member
Joined: 6-May-2007
Posts: 5346
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
Profile     Report this post  
kilaueabart 
Re: Query about USB on SAM460
Posted on 28-Jul-2012 2:45:34
#8 ]
Regular Member
Joined: 14-Jun-2004
Posts: 379
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
Profile     Report this post  
kilaueabart 
Re: Query about USB on SAM460
Posted on 28-Jul-2012 2:57:12
#9 ]
Regular Member
Joined: 14-Jun-2004
Posts: 379
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
Profile     Report this post  
thinkchip 
Re: Query about USB on SAM460
Posted on 28-Jul-2012 3:19:21
#10 ]
Cult Member
Joined: 26-Mar-2004
Posts: 870
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.

_________________
AmigaOne 500(update 6) / microA1(update 6) / Cubic IDE / Imagine
Amiga 4000/1200/500/2500/1000 / VIC20 / C64 / SX64 / C128 / C16 / C116 / Plus/4 / PET B500
Windows 7 / 3GHz AMD Phenom 8GB RAM / Lightwave / Visual C++

 Status: Offline
Profile     Report this post  
kilaueabart 
Re: Query about USB on SAM460
Posted on 28-Jul-2012 4:29:32
#11 ]
Regular Member
Joined: 14-Jun-2004
Posts: 379
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
Profile     Report this post  
m3x 
Re: Query about USB on SAM460
Posted on 28-Jul-2012 9:26:41
#12 ]
Regular Member
Joined: 15-May-2003
Posts: 289
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
Profile     Report this post  
kilaueabart 
Re: Query about USB on SAM460
Posted on 28-Jul-2012 21:18:49
#13 ]
Regular Member
Joined: 14-Jun-2004
Posts: 379
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
Profile     Report this post  
olegil 
Re: Query about USB on SAM460
Posted on 28-Jul-2012 22:01:49
#14 ]
Elite Member
Joined: 22-Aug-2003
Posts: 4970
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

_________________
Idea for "cheap" card using P2040/41 running multiple OSes and/or SMP OSes.

Anyone interested?

 Status: Offline
Profile     Report this post  
olegil 
Re: Query about USB on SAM460
Posted on 29-Jul-2012 10:02:54
#15 ]
Elite Member
Joined: 22-Aug-2003
Posts: 4970
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?

_________________
Idea for "cheap" card using P2040/41 running multiple OSes and/or SMP OSes.

Anyone interested?

 Status: Offline
Profile     Report this post  
kilaueabart 
Re: Query about USB on SAM460
Posted on 3-Aug-2012 2:22:55
#16 ]
Regular Member
Joined: 14-Jun-2004
Posts: 379
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 03:43 AM.

 Status: Offline
Profile     Report this post  
olegil 
Re: Query about USB on SAM460
Posted on 3-Aug-2012 7:18:10
#17 ]
Elite Member
Joined: 22-Aug-2003
Posts: 4970
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.

_________________
Idea for "cheap" card using P2040/41 running multiple OSes and/or SMP OSes.

Anyone interested?

 Status: Offline
Profile     Report this post  
ChrisH 
Re: Query about USB on SAM460
Posted on 3-Aug-2012 8:56:27
#18 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6430
From: Unknown

(misunderstood the question)

Last edited by ChrisH on 03-Aug-2012 at 08:58 AM.
Last edited by ChrisH on 03-Aug-2012 at 08:57 AM.
Last edited by ChrisH on 03-Aug-2012 at 08:57 AM.

_________________
Author of the PortablE programming language.
I love using Amiga OS4.1 on my A1-X1000 & Sam440
Don't forget the official support forum for OS4!

 Status: Offline
Profile     Report this post  
sicky 
Re: Query about USB on SAM460
Posted on 3-Aug-2012 9:41:01
#19 ]
Elite Member
Joined: 11-Mar-2003
Posts: 2726
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
Profile     Report this post  
Hypex 
Re: Query about USB on SAM460
Posted on 3-Aug-2012 17:40:43
#20 ]
Elite Member
Joined: 6-May-2007
Posts: 5346
From: Greensborough, Australia

@kilaueabart

Sounds like a lot of devices. Considered a powered hub?

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 Next Page )

[ home ][ about us ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright © 2000 - 2011 Amigaworld.net.

Page took 0.208337 seconds to load.