Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I found a Solution for the video lag but I dont see if the problem is caused by hardware of disk (transmission data or supply) or if is a problem with anyone block of partition with problem that is undetected by ntfsfix, smartontools or testdisk.
The solution is on -cache mode of mplayer vlc etc.
I found this by the terminal output of mplayer or gnome-mplayer launched in terminal and with the target file on disk.
So this is (a half) solution:
Quote:
$ mplayer /media/joao/TOSHIBA\ EXT/xcabo/xxp14/All\ -\ MD\ Collection.mp4
MPlayer2 2.0-701-gd4c5b7f-2ubuntu2 (C) 2000-2012 MPlayer Team
Cannot open file '/home/joao/.mplayer/input.conf': No such file or directory
Failed to open /home/joao/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.
************************************************
**** Your system is too SLOW to play this! ****
************************************************
Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
- Try -ao sdl or use the OSS emulation of ALSA.
- Experiment with different values for -autosync, 30 is a good start.
- Slow video output
- Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
- Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
- Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
- Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
- Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.
Its a work around. Do you know if any updates were made recently?
As a side note.. Windows cares about the partition ID type but linux does not. The partition type ID is just some bytes in the partition table and has nothing to do with the actual filesystem.
The partition ID was ntfs so formatting it to ext4 failed because the partiton type (ID) was not changed. Ext4 and ntfs have different signatures on the disk and the partition signature is what is used to identify and manage the filesystem on that partition and is read when the filesystem is mounted.
If you have enough available space I would recommend temporarily removing (or doing a backup) of all the files on that drive. You then could use gparted or similar to set it as ext4 and reformat it, and restore the data. This likely would also handle the (possible) bad block issue.
Your smartctl commands have to be run on the device, not the partition, so if you change that to "sudo smartctl -a /dev/sdb" it would work properly.
If I run your suggested command it give me this output :
Quote:
sudo smartctl -a /dev/sdb
[sudo] password for joao:
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.14.0-20.3-liquorix-amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sdb: Unknown USB bridge [0x0480:0xa00c (0x107)]
Please specify device type with the -d option.
Use smartctl -h to get a usage summary
I test other options for the command here the output :
Quote:
joao@A-F-K31DA-K31DAG-K20DA:~$ sudo smartctl -a /dev/sdb1
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.14.0-20.3-liquorix-amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: TOSHIBA
Product: External USB 3.0
Revision: 5438
User Capacity: 1,000,204,883,968 bytes [1,00 TB]
Logical block size: 512 bytes
Device type: disk
Local Time is: Sat Feb 27 21:50:32 2021 WET
SMART support is: Unavailable - device lacks SMART capability.
=== START OF READ SMART DATA SECTION ===
Error Counter logging not supported
Device does not support Self Test logging
joao@A-F-K31DA-K31DAG-K20DA:~$ sudo smartctl -H /dev/sdb1
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.14.0-20.3-liquorix-amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
joao@A-F-K31DA-K31DAG-K20DA:~$ sudo smartctl -s /dev/sdb1
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.14.0-20.3-liquorix-amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
joao@A-F-K31DA-K31DAG-K20DA:~$ sudo smartctl -s on /dev/sdb1
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.14.0-20.3-liquorix-amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
unable to fetch IEC (SMART) mode page [unsupported field in scsi command]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
joao@A-F-K31DA-K31DAG-K20DA:~$ sudo smartctl -s on -T permissive /dev/sdb1
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.14.0-20.3-liquorix-amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
unable to fetch IEC (SMART) mode page [unsupported field in scsi command]
joao@A-F-K31DA-K31DAG-K20DA:~$ sudo smartctl -a /dev/sdb -d scsi
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.14.0-20.3-liquorix-amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: TOSHIBA
Product: External USB 3.0
Revision: 5438
User Capacity: 1,000,204,883,968 bytes [1,00 TB]
Logical block size: 512 bytes
Device type: disk
Local Time is: Sat Feb 27 21:54:34 2021 WET
SMART support is: Unavailable - device lacks SMART capability.
=== START OF READ SMART DATA SECTION ===
Error Counter logging not supported
Device does not support Self Test logging
I cant see if there are a problem or not with this return of command, but I think that is all normal if anyone understand the outputs and see any problem please give me the posible solution.
Its a work around. Do you know if any updates were made recently?
As a side note.. Windows cares about the partition ID type but linux does not. The partition type ID is just some bytes in the partition table and has nothing to do with the actual filesystem.
No my system is based on Lubuntu 14, I test today boot from other distro, bunsenlabs open vlc and run the videos and is exactly the same problem occurs.
Thanks for your answer.
---------------------------------------------------------------------
I have other question now -
If I download some windows from web xp or else create a vm machine in virtualbox and conect the device disk to the virtual machine with windows I can solve this ?
I already configure virtualbox with guest additons and expansion pack but nothing works, as you can see for virtualbox the USB are active but then in windows not.
I test with other devices and the disk and in any case Windows detect any USB device.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.