Slackware This Forum is for the discussion of Slackware 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.
|
 |
|
03-18-2006, 06:16 PM
|
#1
|
Member
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70
Rep:
|
USB devices
I have a new cell phone that I can hook up to a PC via USB. For windows it requires a cd to install all the fancy interfaces, not worried about those.
Question -
I want to know how I find my phone when I plug the USB to my slack box?
More specifically, how does one access any USB when plugged into Linux?
I am still not fluent enough in Slackware so I apologize if this is remedial to some.
|
|
|
03-18-2006, 09:33 PM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
id think youd need specific drivers from the manufacturer to use it, thats my guess.. have you looked on the site if any?
plug in the device, then look at and/or post the output of 'dmesg | tail'
|
|
|
03-18-2006, 10:07 PM
|
#3
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545
Rep:
|
There are a couple of ways to talk to your mobile via linux, over USB, try looking at gnokii or gammu.
|
|
|
03-19-2006, 12:10 AM
|
#4
|
Member
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317
Rep:
|
theres kandy but I don't have a cell so I never tried it...
|
|
|
03-19-2006, 10:42 PM
|
#5
|
Member
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70
Original Poster
Rep:
|
Quote:
plug in the device, then look at and/or post the output of 'dmesg | tail'
|
as per request,
Code:
root@stealth:~# dmesg | tail
hub.c: new USB device 00:02.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0xfce/0xd032) is not claimed by any active driver.
usb.c: registered new driver acm
ttyACM0: USB ACM device
ttyACM1: USB ACM device
acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters
usb.c: USB disconnect on device 00:02.0-1 address 2
hub.c: new USB device 00:02.0-1, assigned address 3
ttyACM0: USB ACM device
ttyACM1: USB ACM device
by the way thanks for the help, and what is kandy?
|
|
|
03-19-2006, 10:48 PM
|
#6
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
Quote:
ttyACM0: USB ACM device
ttyACM1: USB ACM device
|
these should be the devices files that can access your usb device. it was successfuly found, and the proper driver/module has been loaded it seems.
if this was something like a memory stick, you could then mount it, using the device file to mount '/dev/ttyACM0' or the other one specified (dont know why theres 2?)
but this isnt a usb memory stick.. what could you do with your phone in windows? could you mount it then upload files or download files or something?
still.. now that you know the device, id try experimenting and mount it.
|
|
|
03-20-2006, 12:33 AM
|
#7
|
Member
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317
Rep:
|
kandy is a kde app for interfacing with gsm cellphones.
do a 'cat /proc/partitions'
then plug in the usb to phone
do back the 'cat /proc/partitions' and see if the phone came up. Trying mounting it and then run kandy.
I mounted a digital camera like this once so try a thing or two.
|
|
|
03-20-2006, 02:27 AM
|
#8
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545
Rep:
|
Judging by that dmesg output it it's a mass storage device. Maybe tell us what you plan to do with the phone once it's connected and we can tell you how to do it. There are heaps of different things you could be after so please be more specific.
|
|
|
03-20-2006, 09:20 AM
|
#9
|
Member
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70
Original Poster
Rep:
|
Priamarily all I want to do is transfer files (pictures, mp3, video) on and off the phone.
I appreciate all the knowledge - I get to dive right into mounting (have had some troubles with that in the past) and get a better understanding.
Havnt had a chance yet to try any of the new suggestions but as soon as I can I will post.
The phone is new so it has lots of "toys", on windows I can transfer files, synconize calendars and is bluetooth capable.
Post later
|
|
|
03-20-2006, 06:56 PM
|
#10
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545
Rep:
|
Transferring files is easy  It's easier over Bluetooth but you'd need to buy an adapter for that unless you've already got one? ObexFTP will transfer files over USB and there is obexfs that is great but I don't know if it supports USB connections yet. You should be able to use multisync to sync those contacts and calendar etc.
|
|
|
03-21-2006, 09:07 AM
|
#11
|
Member
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70
Original Poster
Rep:
|
so not sure what is going on - but I plugged the phone in again, this time I decided to actually choose to file transfer on the phone itself and then ran dmesg | tail and recieved this info:
Code:
root@stealth:/dev/usb# dmesg | tail
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Sony Eri Model: Memory Stick Rev: 0000
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 462464 512-byte hdwr sectors (237 MB)
sda: Write Protect is off
sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 6
USB Mass Storage support registered.
cant get it to mount properly either.......
oh and when I cat /proc/partitions I get:
Code:
thanotos /dev/usb $ cat /proc/partitions
major minor #blocks name
8 0 231232 sda
8 1 231188 sda1
3 0 244198584 hda
3 1 4883728 hda1
3 2 97659135 hda2
3 3 140624977 hda3
3 4 1028160 hda4
|
|
|
03-21-2006, 11:10 AM
|
#12
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
you said u were succesful in transferring files? or you said you were GOING to?
it seems now the device is sda1, which makes more sense.. try mounting that? /dev/sda1
|
|
|
03-21-2006, 10:55 PM
|
#13
|
Member
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70
Original Poster
Rep:
|
Damn it .... am having the worst luck
Code:
thanotos /dev/usb $ cat /proc/partitions
major minor #blocks name
8 0 231232 sda
8 1 231188 sda1
3 0 244198584 hda
3 1 4883728 hda1
3 2 97659135 hda2
3 3 140624977 hda3
3 4 1028160 hda4
root@stealth:/dev/usb# mount /dev/sda
mount: mount point /mnt/sda does not exist
is there any way I can get this to auto mount? Like I said I have had poor attempts at mounting devices even though it is a basic requirement of linux.
Quote:
nadroj you said u were succesful in transferring files? or you said you were GOING to?
|
I was NOT succesful, the file transfer is my "prep'ing" its self. I want to transfer files from and to. (and possibly see what else is 'lingering' within.
|
|
|
03-21-2006, 11:05 PM
|
#14
|
Member
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70
Original Poster
Rep:
|
here is an out put from DMESG
Code:
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Sony Eri Model: Memory Stick Rev: 0000
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 462464 512-byte hdwr sectors (237 MB)
sda: Write Protect is off
sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 6
USB Mass Storage support registered.
usb.c: USB disconnect on device 00:02.0-1 address 6
hub.c: new USB device 00:02.0-1, assigned address 7
ttyACM0: USB ACM device
ttyACM1: USB ACM device
usb.c: USB disconnect on device 00:02.0-1 address 7
hub.c: new USB device 00:02.0-1, assigned address 8
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 8
SCSI device sda: 462464 512-byte hdwr sectors (237 MB)
sda: Write Protect is off
sda: sda1
and wanted to add that I have been looking on GOOGLEand am NOT the only one with issues getting this to work:
Quote:
03-05-2006, 12:12 AM
emit
BSD n00b
Does bluetooth work on FreeBSD?
I am ripping my hair out trying to figure out how to mount my Sony Ericsson W600i phone as a usb drive in FreeBSD so I can transfer mp3s and other data to the phone. Under dmesg the device is recognized as "Sony Ericsson W600i" but I keep getting Device is not ready and I am unable to mount /dev/da0s1. Ive pretty much given up on it seeing as how much time Ive wasted.....
|
Last edited by Thanotos; 03-21-2006 at 11:09 PM.
|
|
|
03-22-2006, 01:29 AM
|
#15
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
did you add a line in your /etc/fstab file for the /dev/sda1 device? also did you create the /mnt/sda directory?
|
|
|
All times are GMT -5. The time now is 04:09 AM.
|
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
|
|