Linux - Hardware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
11-11-2020, 05:14 AM
|
#1
|
Member
Registered: Sep 2020
Posts: 436
Rep: 
|
USB dongle.
Hello,
I'm using Linux and I want to know how can I copy a USB dongle? Some devices need special USB dongle to work and when I plug it to my system then Linux tell me that a new device attached, but nothing mounted!
Code:
[18167.789715] usb 2-8: new high-speed USB device number 4 using xhci_hcd
[18167.939101] usb 2-8: New USB device found, idVendor=0c76, idProduct=0005, bcdDevice= 1.00
[18167.939105] usb 2-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18167.939108] usb 2-8: Product: USB Mass Storage
[18167.939111] usb 2-8: Manufacturer: GENERIC
[18167.940237] usb-storage 2-8:1.0: USB Mass Storage device detected
[18167.940608] scsi host6: usb-storage 2-8:1.0
[18168.954318] scsi 6:0:0:0: Direct-Access GENERIC USB Mass Storage 1.00 PQ: 0 ANSI: 2
[18168.954752] sd 6:0:0:0: Attached scsi generic sg3 type 0
[18168.955461] sd 6:0:0:0: [sdc] Attached SCSI removable disk
How can I access to this device?
Thank you.
|
|
|
11-11-2020, 05:34 AM
|
#2
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,685
|
does this device work ? I mean in another computer/OS/whatever?
what will lsusb and lspci say?
Probably you will find more lines related to sdc (the given device) in dmesg.
|
|
|
11-11-2020, 08:35 AM
|
#3
|
Moderator
Registered: Aug 2002
Posts: 26,531
|
If by USB dongle you mean a license key they are not a USB drive and can not be copied. That would also be against the sites rules.
|
|
|
11-11-2020, 09:03 AM
|
#4
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,685
|
This is it: ID 0c76:0005 JMTek, LLC. Transcend Flash disk
you can also try: lsscsi
probably you can find something useful here: https://ubuntuforums.org/archive/ind...t-2245366.html
|
|
1 members found this post helpful.
|
11-11-2020, 09:54 AM
|
#5
|
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7 / 8
Posts: 3,551
|
Just because it presents to the OS as a Mass Storage Device doesn't mean that it can necessarily be accessed as such. It may require some form of communication protocol that the protected software uses via the low level device.
As has also been previously pointed out, copying something or attempting to defeat licensing is against the rules of this site.
|
|
|
11-11-2020, 04:28 PM
|
#6
|
Moderator
Registered: Mar 2008
Posts: 22,284
|
0c76 JMTek, LLC. 0005 Transcend Flash disk
Is this correct for what you have? It is not normally called a dongle. Is this a secure model?
Open partition software. Gparted or such to see what it reports.
|
|
|
11-14-2020, 02:10 PM
|
#7
|
Senior Member
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,849
|
Quote:
Originally Posted by n00b_noob
Hello,
I'm using Linux and I want to know how can I copy a USB dongle? Some devices need special USB dongle to work and when I plug it to my system then Linux tell me that a new device attached, but nothing mounted!
|
USB != disk
A lot of things can be hung off a USB port. Wireless keyboard and mouse interfaces are pretty common, for example.
I am familiar with commercial products (VAX and Alpha emulators) that use such a USB dongle in lieu of a license file that might normally be saved on a disk. You would have to dig deep into the hardware contained in such a device to reverse engineer and duplicate it. Not my forte, and as a few others have pointed out, not something anyone on this forum is going to engage in.
HTH...
|
|
|
11-14-2020, 05:11 PM
|
#8
|
Senior Member
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,945
|
I don't think too much should be read into the nomenclature. In many countries a USB flash drive is just called a USB. True, that's not accurate, but it's what is used. The OP's output shows a generic storage device, probably a cheaper unbranded USB flash drive, which is not automounted. The lack of an automount is probably a DE setting, but without knowing the DE it's hard to recommend a method to enable that. The drive can be manually mounted to whatever mountpoint is desired. Probably safer to make a mountpoint, and /media is the traditional place for it. One possibility:
Code:
sudo mkdir /media/temp
sudo mount /dev/sdc1 /media/temp
This assumes that the device is seen as /dev/sdc, and has one partition on it. That part may need to be adjusted. Run lsblk to find the device and the actual device name. If the device has uses other than generic data storage then some things may need to be adjusted, but without knowing more that's impossible to say.
Last edited by sgosnell; 11-14-2020 at 05:15 PM.
|
|
|
All times are GMT -5. The time now is 04:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|