LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 02-02-2009, 09:08 PM   #1
nonexist
LQ Newbie
 
Registered: Sep 2007
Location: Live Music Captial of the World
Distribution: Linux Mint, Ubuntu 8.04 Server
Posts: 12

Rep: Reputation: 0
Mount a USB device using LSUSB


OK not sure if this is possible but let's try. I run lsusb in the terminal and I get
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 002: ID 0408:030c Quanta Computer, Inc.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 045e:0710 Microsoft Corp.
Bus 003 Device 001: ID 0000:0000

I am wondering if it is possible to mount any of those considering one of them is a hard drive(sorta).

If not that's cool too.

-nonexist
 
Old 02-02-2009, 11:05 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
I really do not understand what you mean.

Let me quote 'man mount':
Code:
DESCRIPTION
       All  files  accessible  in a Unix system are arranged in one big tree, the
       file hierarchy, rooted at /.  These files can be spread out  over  several
       devices.  The mount command serves to attach the file system found on some
       device to the big file tree. Conversely, the umount(8) command will detach
       it again.
Now let me quote 'man lsusb':
Code:
DESCRIPTION
       lsusb  is a utility for displaying information about USB buses in the sys-
       tem and the devices connected to them.
So:
- 'mount' is certainly not reserved to hard drives. For instance you can mount an ISO image using a 'loop' option.
- if a device shows in 'lsusb', it is connected to it: that is to say the system can communicate with the device, be it or not 'mounted'. My system communicate with its keyboard hopefully, though I do not use the 'mount' command for that purpose.

Now please notice that according to the General Systems Theory - which go far beyond and is a lot more general than computer science - a system's boundaries are defined by the observer.

On that topic read Ludwig van Bertalanffy and Herbert Simon.

But may be I am off topic.

It is early in the morning here, I am awakened and have nothing to do till breakfast, this is my excuse

Last edited by Didier Spaier; 02-02-2009 at 11:51 PM. Reason: Typo, as ususal.
 
Old 02-02-2009, 11:59 PM   #3
nonexist
LQ Newbie
 
Registered: Sep 2007
Location: Live Music Captial of the World
Distribution: Linux Mint, Ubuntu 8.04 Server
Posts: 12

Original Poster
Rep: Reputation: 0
Defiantly need to start reading the man pages.

But with the output I posted, it is a Zune(:/) and it seems that you could mount it since it does communicate. May be Im not clear or maybe Im just really tired
 
Old 02-03-2009, 12:13 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Ok, now hopefully I understand your problem.

A Zune can't be mounted because it can't be seen as a mass storage device. To allow it to communicate with the external world Microsoft uses the Media Transfer Protocol instead.

So you will need the libmtp library to use it on linux. This is how I feed my mp3 player (not a Zune, though) with classical music.

Once libmtp is installed you can use either the command line (see all the mtp-something commands) or e.g. Amarok or Gnomad2 to transfer the files between your computer and the media player.

[EDIT]After a little googling "zune linux mtp" I am not that sure that you will be able use some / any of the functions from Linux, as there *could* be some unsettled issue with a specific "handshake" protocol (mtpz) used by Microsoft which *could* prevent to really use this device outside Windows.

Last edited by Didier Spaier; 02-03-2009 at 12:58 AM.
 
Old 02-03-2009, 07:22 AM   #5
micha
Member
 
Registered: Sep 2003
Location: Germany
Distribution: Ubuntu 8.04
Posts: 33

Rep: Reputation: 15
It shouldnīt be a big problem:

First check your libmtp installation. If it is above 0.3.0 it should work without any changes. If not go to http://libmtp.sourceforge.net/ and get the newest version. After installing donīt forget to look into /etc/udev/rules.d/libmtp.rules and check if your player is listed. If not insert a new line with the data of the player and restart usbfs. Now it should be able to connect.

Regards,
micha
 
Old 02-03-2009, 10:55 AM   #6
taylorchase
Member
 
Registered: Feb 2006
Location: Nova Scotia, Canada
Distribution: Ubuntu 12.04, SLES 10, OS X 10.6
Posts: 73

Rep: Reputation: 15
nonexist, I have a Zen Vision W that uses MTP, it works well with Gnomad2 and Amarok. The Zune, uses MTPZ so I don't know if Gnomad2 will help or not. Here is what I did to get my Zen working, hopefully it will work for you as well.

Not sure what distro you are using but in openSUSE you can install gnomad2 via Yast using the Packman Repository see here

After installation just connect your device and run the program.

Additional Links that may help on your quest:
http://www.anythingbutipod.com/archi...-for-linux.php

JFGI


Cheers
 
Old 02-03-2009, 03:03 PM   #7
alMubarmij
Member
 
Registered: Dec 2005
Posts: 140
Blog Entries: 1

Rep: Reputation: 16
A simple answer for your question is: No.
"lsusb" command is only for showing a list of USB devices, like "ls" command which show the list of files.
 
  


Reply

Tags
mount, vision, zen



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
memory stick doesn't mount, not visible in lsusb pickarooney Linux - Hardware 2 10-12-2008 03:10 PM
USB Device listing in lsusb Jayaraghavendran Linux - Hardware 7 06-30-2006 02:52 AM
Cant get usb device to mount. sleekmason Linux - Hardware 3 05-20-2006 10:18 AM
how can I mount this device: da0: <USB 2.0 Storage Device alkad_mzu *BSD 2 11-15-2003 06:15 PM
mount USB Device finger Linux - Hardware 2 07-21-2002 12:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration