Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
accessing USB device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tiptronic
n00b
n00b


Joined: 17 Sep 2005
Posts: 5

PostPosted: Sat Sep 17, 2005 8:41 pm    Post subject: accessing USB device Reply with quote

hi, im trying to access my digital camera which is attached to a usb port on my computer. lspci and dmesg seems to see the camera, but im not sure how to determine its dev path, ie /dev/sda1?? how can i go about determining this, is it obvious from the dmesg output?

Code:

[b]$ dmesg[/b]
usb 2-4: new full speed USB device using ohci_hcd and address 4
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
  Vendor: Sony      Model: Sony DSC          Rev: 4.50
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdd: 31680 512-byte hdwr sectors (16 MB)
sdd: assuming Write Enabled
sdd: assuming drive cache: write through
SCSI device sdd: 31680 512-byte hdwr sectors (16 MB)
sdd: assuming Write Enabled
sdd: assuming drive cache: write through
 /dev/scsi/host6/bus0/target0/lun0: p1
Attached scsi removable disk sdd at scsi6, channel 0, id 0, lun 0
Attached scsi generic sg3 at scsi6, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete

[b]# lsusb [/b]
Bus 002 Device 004: ID 054c:0010 Sony Corp. DSC-S30/S70/S75/F505V/F505/FD92 Cybershot/Mavica Digital Camera


im not sure how to tell, any advice is appreciated, thanks!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54834
Location: 56N 3W

PostPosted: Sat Sep 17, 2005 8:45 pm    Post subject: Reply with quote

tiptronic,

Your cam man appear as a usb-storage device or it may need Picture Transport Protocol.
You may even be able to set the camera to one or the other.

For usb-storage, you need SCSI disk support, usb-storage and vfat in the kernel. the camera will be /dev/sdX

For PTP upi need gphoto2
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
tiptronic
n00b
n00b


Joined: 17 Sep 2005
Posts: 5

PostPosted: Sat Sep 17, 2005 8:49 pm    Post subject: Reply with quote

how do i determine which /dev/sdX it is?
Back to top
View user's profile Send private message
tiptronic
n00b
n00b


Joined: 17 Sep 2005
Posts: 5

PostPosted: Sat Sep 17, 2005 8:54 pm    Post subject: Reply with quote

oops.. i figured it out.. it was using /dev/sdd not /dev/sda :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum