LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-15-2006, 08:37 PM   #16
raim1312
Member
 
Registered: Jun 2006
Location: Rhode Island/Mass
Distribution: YDL on PS3/Ubuntu
Posts: 66

Original Poster
Rep: Reputation: 15

okay. i reinstalled libmtp from source instead of an rpm and it works now. mtp-detect doesnt bring up any devices though. but when i tried mtp-hotplug i found a list of devices that mtp detects. i noticed mine isnt in there. is there a way i could add it?
 
Old 11-16-2006, 09:39 AM   #17
Shioni
Member
 
Registered: Mar 2006
Posts: 182

Rep: Reputation: 30
Quote:
Originally Posted by raim1312
here is the output of dmesg. since its really long i selected the part pertaining to the player:

usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: Samsung Model: YP-Z5 (MSC) Rev:
Type: Direct-Access ANSI SCSI revision: 02
Your player can be used as external drive!
 
Old 11-16-2006, 12:08 PM   #18
raim1312
Member
 
Registered: Jun 2006
Location: Rhode Island/Mass
Distribution: YDL on PS3/Ubuntu
Posts: 66

Original Poster
Rep: Reputation: 15
how would i use it like an externel device. or how can i use mtp to recognize my player in amarok. i seem to be having difficulty.
 
Old 11-16-2006, 01:46 PM   #19
Shioni
Member
 
Registered: Mar 2006
Posts: 182

Rep: Reputation: 30
When you attach your player, check dmesg, it should say something about sda after the dmesg output what you posted. then mount it. If it's showing up as sda
in dmesg output, do mount /dev/sda /mnt/sda, but make sure you mount the device that dmesg output says and that the directory of mount point exists!
Code:
hub.c: new USB device 00:03.2-6, assigned address 6
scsi2 : SCSI emulation for USB Mass Storage devices
  Vendor: Samsung   Model: Samsung YP-U2J    Rev: 0100
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
SCSI device sdb: 253120 2048-byte hdwr sectors (518 MB)
sdb: Write Protect is off
 sdb: sdb1
 
Old 11-16-2006, 04:16 PM   #20
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Quote:
Originally Posted by raim1312
okay. i reinstalled libmtp from source instead of an rpm and it works now. mtp-detect doesnt bring up any devices though. but when i tried mtp-hotplug i found a list of devices that mtp detects. i noticed mine isnt in there. is there a way i could add it?

Sorry I was busy. Try running mtp-detect as root user.

BTW, I didn't know your player was a UMS device. That would make it linux friendly you don't need MTP. Though libmtp+amarok works fine with my Creative Zen Vision.



vxc
 
Old 11-16-2006, 05:23 PM   #21
raim1312
Member
 
Registered: Jun 2006
Location: Rhode Island/Mass
Distribution: YDL on PS3/Ubuntu
Posts: 66

Original Poster
Rep: Reputation: 15
okay i ran dmesg to see what sda the player is. its sda1

usb-storage: waiting for device to settle before scanning
Vendor: Samsung Model: YP-Z5 (MSC) Rev:
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 8094720 512-byte hdwr sectors (4144 MB)
sda: Write Protect is off
sda: Mode Sense: 07 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 8094720 512-byte hdwr sectors (4144 MB)
sda: Write Protect is off
sda: Mode Sense: 07 00 00 00
sda: assuming drive cache: write through
sda: sda1

now when i run mount /dev/sda1 /mnt/sda i get this error:

# mount /dev/sda1 /mnt/sda
mount: you must specify the filesystem type

is there something im missing?
 
Old 11-16-2006, 05:27 PM   #22
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Try mount /dev/sda1 /mnt/sda -t vfat

You can also replace vfat with auto then mount will try and guess the file system.

The -t flag is used to specify the file system type.

Also when removing the player run umount -a or umount /dev/sda1 or umount /mnt/sda.


vxc

Last edited by vxc69; 11-16-2006 at 05:30 PM.
 
Old 11-16-2006, 05:33 PM   #23
raim1312
Member
 
Registered: Jun 2006
Location: Rhode Island/Mass
Distribution: YDL on PS3/Ubuntu
Posts: 66

Original Poster
Rep: Reputation: 15
when i run mount with the -t option i get this error:

]# mount /dev/sda1 /mnt/sda -t vfat
mount: special device /dev/sda1 does not exist


but when i run dmesg the player is still found at sda1.

usb-storage: waiting for device to settle before scanning
Vendor: Samsung Model: YP-Z5 (MSC) Rev:
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 8094720 512-byte hdwr sectors (4144 MB)
sda: Write Protect is off
sda: Mode Sense: 07 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 8094720 512-byte hdwr sectors (4144 MB)
sda: Write Protect is off
sda: Mode Sense: 07 00 00 00
sda: assuming drive cache: write through
sda: sda1
sd 2:0:0:0: Attached scsi removable disk sda
sd 2:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete

im not sure where to go from here
 
Old 11-16-2006, 05:38 PM   #24
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Try mount /dev/sda /mnt/sda -t auto



vxc
 
Old 11-16-2006, 05:50 PM   #25
raim1312
Member
 
Registered: Jun 2006
Location: Rhode Island/Mass
Distribution: YDL on PS3/Ubuntu
Posts: 66

Original Poster
Rep: Reputation: 15
i try that and nothing happens. its been sitting without output for awhile now. any other ideas?
 
Old 11-16-2006, 05:58 PM   #26
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Did you try mtp-detect as root.

My best bet to get this working would be by using MTP.

Also check in the player for an option like "use as a hard disk" or something along those line. If any enable it and try to mount again.


vxc
 
Old 11-16-2006, 06:23 PM   #27
raim1312
Member
 
Registered: Jun 2006
Location: Rhode Island/Mass
Distribution: YDL on PS3/Ubuntu
Posts: 66

Original Poster
Rep: Reputation: 15
theres no option for how the player is shown to the computer. and even in the manual it talks about mtp but in windows with windows media player. is there a way i can add it to hotplug. mtp-hotplug shows a list of players but mine isnt there. can i add it somehow?
 
Old 11-16-2006, 07:04 PM   #28
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Well I tried, but I'm out of ideas. I did some research you might want to take a look at this.


Keep trying you might get it to work. I also suggest looking for help at the libmtp forums and the amarok forums.


vxc
 
Old 11-16-2006, 07:43 PM   #29
raim1312
Member
 
Registered: Jun 2006
Location: Rhode Island/Mass
Distribution: YDL on PS3/Ubuntu
Posts: 66

Original Poster
Rep: Reputation: 15
well that thread is discussing the exact player i have. yp-zy 4gb. thanks for all your help. i'll keep researching and if i come up with anything new i'll continue to post. thank you again.
 
Old 11-16-2006, 10:26 PM   #30
Shioni
Member
 
Registered: Mar 2006
Posts: 182

Rep: Reputation: 30
Quote:
Originally Posted by raim1312
i try that and nothing happens. its been sitting without output for awhile now. any other ideas?
what do you mean? it returned to shell or it was trying to mount it?
if it returned to shell it should have mounted successfully! do ls /mnt/sda and see if there's any output!
 
  


Reply



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
Samsung YP-CZ1 mp3 player reports incorrect size Jefficus Linux - Hardware 10 01-24-2006 06:33 AM
How do I mount my Samsung YP-T7J USB mp3 player? quackking Linux - Hardware 10 01-08-2006 07:07 AM
S1 Mp3 player (Help Create a New Distro for an MP3 player!)) Ian_Hawdon Linux - General 3 12-05-2005 01:14 PM
MP3 CD player can't read MP3 CD's burned in linux food188 Linux - Software 2 01-11-2004 04:55 PM
Samsung Yepp Mp3 Player astablemaverick Linux - General 3 12-28-2003 03:19 PM

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

All times are GMT -5. The time now is 09:11 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