TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: BP@WWW.ZEFOX.NET
from: JAN PANTELTJE
date: 2021-01-02 09:10:00
subject: Re: USB card adapters cra

On a sunny day (Fri, 1 Jan 2021 20:53:25 -0000 (UTC)) it happened bob prohaska
 wrote in :

>Just tried using a couple of USB card adapters with my 8GB Pi4.
>Both cause immediate loss of USB hard disk access. Unplugging
>the offending adapter does not restore normal operation. Power
>cycling puts matters right without apparent ill effect.
>
>Doesn't seem to matter if there's a card in the adapter or not.
>
>The USB3-Sata adapter is a Sabrent EC-UASP. It uses the UAS
>driver and hasn't caused any obvious problems on its own.
>
>Anybody seen this, or have any idea what's going on? The card
>adapters are fairly generic. Both are USB3, both have been used
>before, but only in USB2 ports on Pi3's. One is no-name large-
>and micro-SD only, the other is a UGreen card reader supporting TF,
>SD, CF and MS cards. The slot labeled TF is the one I used with
>microSD cards, didn't notice the "TF" marking till just now.
>
>Thanks for reading!
>
>bob prohaska

I only have an old Sweex USB2 card adaptor, connecting it to my new Pi4
via USB via a Sitecom powered hub keeps /dev/sda2 3.4 TB Toshiba drive running
normally:

 from dmesg:
[163901.835425] usb 1-1.2.2: new high-speed USB device number 7 using xhci_hcd
[163901.967321] usb 1-1.2.2: New USB device found, idVendor=058f,
idProduct=6362, bcdDevice= 1.00
[163901.967343] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[163901.967359] usb 1-1.2.2: Product: Mass Storage Device
[163901.967375] usb 1-1.2.2: Manufacturer: Generic
[163901.967390] usb 1-1.2.2: SerialNumber: 058F312D81B
[163901.970217] usb-storage 1-1.2.2:1.0: USB Mass Storage device detected
[163901.970771] scsi host1: usb-storage 1-1.2.2:1.0
[163903.036487] scsi 1:0:0:0: Direct-Access     Generic  USB SD Reader    1.00
PQ: 0 ANSI: 0
[163903.037241] sd 1:0:0:0: Attached scsi generic sg1 type 0
[163903.038712] scsi 1:0:0:1: Direct-Access     Generic  USB CF Reader    1.01
PQ: 0 ANSI: 0
[163903.039297] sd 1:0:0:1: Attached scsi generic sg2 type 0
[163903.040713] scsi 1:0:0:2: Direct-Access     Generic  USB SM Reader    1.02
PQ: 0 ANSI: 0
[163903.041273] scsi 1:0:0:2: Attached scsi generic sg3 type 0
[163903.043009] scsi 1:0:0:3: Direct-Access     Generic  USB MS Reader    1.03
PQ: 0 ANSI: 0
[163903.043570] scsi 1:0:0:3: Attached scsi generic sg4 type 0
[163903.097573] sd 1:0:0:1: [sdc] Attached SCSI removable disk
[163903.100928] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[163903.108183] sd 1:0:0:3: [sde] Attached SCSI removable disk
[163903.109878] sd 1:0:0:2: [sdd] Attached SCSI removable disk


 from mount:
...
dev/sda2 on /mnt/sda2 type ext4 (rw,relatime)
tmpfs on /run/user/0 type tmpfs
(rw,nosuid,nodev,relatime,size=806492k,mode=700)

 from df:
...
tmpfs              806492        0     806492   0% /run/user/1000
/dev/sda2      3844510712    90144 3649059904   1% /mnt/sda2

In case you have a power problem, everything here on both Pi4s runs via a
Sitecom USB hub,
it is even powering an older Raspi1 via some USB output (no you cannot connect
via that).
no extra mains adaptor needed!
I like the thing.

But this is running my modified old PI4 image on the new 8GB Pi4B,
no idea if the recent raspios does the same.
In My View Linux should have stayed with OSS audio, I had multi channel audio
working
20 year ago on that, alsa broke everything and is counter Unix,
now raspi changed audio again and the apt-upgrade f*cked up audio,
on my old Pi4 image (I know, they call that 'improvement') so ffplay audio
for example I needed a fix like this to play with ffplay via the audio jack:
 raspi99: ~ # cat /usr/local/sbin/ffplay2
#!/bin/bash
SDL_AUDIODRIVER='alsa' AUDIODEV='hw:1,0' ffplay $1

so to play via the audio jack I use 'ffplay2 filename'

Lots of work to get every script and thing going again.

But I am glad with the Sitecom USB3 hub, have 2 now, one for each Pi4.
Same for the Toshiba 3.4 TB USB3 harddisks connected to it,
other one running 24/7 now for a year or so.

hdparm shows amazing speed on those
raspi99: ~ # hdparm -t /dev/sda2
/dev/sda2:
 Timing buffered disk reads: 408 MB in  3.00 seconds = 135.86 MB/sec

raspi99: ~ # hdparm -T /dev/sda2
/dev/sda2:
 Timing cached reads:   1498 MB in  2.00 seconds = 749.07 MB/sec

not bad!

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.