LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-18-2006, 06:16 PM   #1
Thanotos
Member
 
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Rep: Reputation: 15
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.
 
Old 03-18-2006, 09:33 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
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'
 
Old 03-18-2006, 10:07 PM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
There are a couple of ways to talk to your mobile via linux, over USB, try looking at gnokii or gammu.
 
Old 03-19-2006, 12:10 AM   #4
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
theres kandy but I don't have a cell so I never tried it...
 
Old 03-19-2006, 10:42 PM   #5
Thanotos
Member
 
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Original Poster
Rep: Reputation: 15
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?
 
Old 03-19-2006, 10:48 PM   #6
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
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.
 
Old 03-20-2006, 12:33 AM   #7
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
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.
 
Old 03-20-2006, 02:27 AM   #8
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
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.
 
Old 03-20-2006, 09:20 AM   #9
Thanotos
Member
 
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Original Poster
Rep: Reputation: 15
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
 
Old 03-20-2006, 06:56 PM   #10
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
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.
 
Old 03-21-2006, 09:07 AM   #11
Thanotos
Member
 
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Original Poster
Rep: Reputation: 15
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
 
Old 03-21-2006, 11:10 AM   #12
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
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
 
Old 03-21-2006, 10:55 PM   #13
Thanotos
Member
 
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Original Poster
Rep: Reputation: 15
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.
 
Old 03-21-2006, 11:05 PM   #14
Thanotos
Member
 
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Original Poster
Rep: Reputation: 15
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.
 
Old 03-22-2006, 01:29 AM   #15
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
did you add a line in your /etc/fstab file for the /dev/sda1 device? also did you create the /mnt/sda directory?
 
  


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
USB devices died after USB hub install Twistedlizzard Linux - Hardware 5 07-08-2005 06:17 AM
MDK 10.2: No USB at all (/proc/bus/usb/devices missing) shrodi Mandriva 5 07-01-2005 11:28 AM
No USB at all (/proc/bus/usb/devices missing) shrodi Linux - Hardware 1 05-26-2005 04:07 AM
USB scanner not in /proc/bus/usb/devices psweetma Linux - Hardware 4 02-25-2004 04:47 PM
slackware 9.1 USB mouse and other usb devices not working jimMC Linux - Hardware 11 01-24-2004 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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