Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[1/2 SOLVED]..cannot mount Sony DSC-M2 camera
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Master_d
Apprentice
Apprentice


Joined: 12 Oct 2003
Posts: 152
Location: Milwaukee

PostPosted: Fri Mar 24, 2006 1:44 am    Post subject: [1/2 SOLVED]..cannot mount Sony DSC-M2 camera Reply with quote

Just curious to see if anyone has mounted one of these yet. I have scsi disk support compiled into the kernel and UHCI EHCI and OHCI usb support and usb mass storage compiled as modules. under usbview the camera shows up under EHCI host controller. but my main problem is that I have no scsi disks to mount in /dev. so I cannot issue the command

Code:
mount -t vfat /dev/sda1 /mnt/camera


here is the related kernel options for scsi support

Code:
tonicwater ~ # cat /usr/src/linux/.config | grep SCSI
# CONFIG_BLK_DEV_IDESCSI is not set
# SCSI device support
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
# SCSI support type (disk, tape, CD-ROM)
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# SCSI Transport Attributes
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# SCSI low-level drivers
# CONFIG_ISCSI_TCP is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
CONFIG_SCSI_DPT_I2O=m
CONFIG_SCSI_SATA=y
# CONFIG_SCSI_SATA_AHCI is not set
# CONFIG_SCSI_SATA_SVW is not set
CONFIG_SCSI_ATA_PIIX=y
# CONFIG_SCSI_SATA_MV is not set
# CONFIG_SCSI_SATA_NV is not set
# CONFIG_SCSI_PDC_ADMA is not set
# CONFIG_SCSI_SATA_QSTOR is not set
# CONFIG_SCSI_SATA_PROMISE is not set
CONFIG_SCSI_SATA_SX4=m
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIL24 is not set
CONFIG_SCSI_SATA_SIS=m
# CONFIG_SCSI_SATA_ULI is not set
# CONFIG_SCSI_SATA_VIA is not set
# CONFIG_SCSI_SATA_VITESSE is not set
CONFIG_SCSI_SATA_INTEL_COMBINED=y
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
CONFIG_SCSI_IPR=m
# CONFIG_SCSI_IPR_TRACE is not set
# CONFIG_SCSI_IPR_DUMP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
CONFIG_SCSI_QLA2XXX=y
# CONFIG_SCSI_QLA21XX is not set
# CONFIG_SCSI_QLA22XX is not set
# CONFIG_SCSI_QLA2300 is not set
# CONFIG_SCSI_QLA2322 is not set
# CONFIG_SCSI_QLA6312 is not set
# CONFIG_SCSI_QLA24XX is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
tonicwater ~ #


Anyone have any ideas?

thanks in advance
_________________
お前の常識知ったこっちゃねえ!


Last edited by Master_d on Fri Mar 24, 2006 7:14 am; edited 1 time in total
Back to top
View user's profile Send private message
m_spidey
Guru
Guru


Joined: 28 Feb 2005
Posts: 312
Location: Planetexpress Ship

PostPosted: Fri Mar 24, 2006 1:48 am    Post subject: Reply with quote

When you plugin the camera type the following a couple of times and see the output

Code:
dmesg


And see he camera is detected. I have a feeling its not. And if it is then you will see where it is located so you can mount it.
_________________
Ronald McDonald -> The necessary Evil.
Back to top
View user's profile Send private message
Master_d
Apprentice
Apprentice


Joined: 12 Oct 2003
Posts: 152
Location: Milwaukee

PostPosted: Fri Mar 24, 2006 1:57 am    Post subject: Reply with quote

heres the bottom of my current dmesg

Code:
usb 4-2: new high speed USB device using ehci_hcd and address 4
usb 4-2: configuration #1 chosen from 2 choices
usb 4-2: USB disconnect, address 4
usb 4-2: new high speed USB device using ehci_hcd and address 5
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb 4-2: USB disconnect, address 5
usb 4-2: new high speed USB device using ehci_hcd and address 6
usb 4-2: configuration #1 chosen from 2 choices
spurious 8259A interrupt: IRQ7.
usb 4-2: USB disconnect, address 6
ReiserFS: hdc1: found reiserfs format "3.6" with standard journal
ReiserFS: hdc1: using ordered data mode
ReiserFS: hdc1: journal params: device hdc1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdc1: checking transaction log (hdc1)
ReiserFS: hdc1: replayed 24 transactions in 0 seconds
ReiserFS: hdc1: Using r5 hash to sort names
usb 4-2: new high speed USB device using ehci_hcd and address 7
usb 4-2: configuration #1 chosen from 2 choices
tonicwater ~ #


also the output of /proc/bus/usb/devices

Code:

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.15-gentoo-r7 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:10.3
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms

T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  7 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  2
P:  Vendor=054c ProdID=0010 Rev= 6.00
S:  Manufacturer=Sony
S:  Product=Sony DSC
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=ff Prot=01 Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=4096ms
C:  #Ifs= 1 Cfg#= 2 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=06(still) Sub=01 Prot=01 Driver=
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=8ms



in the latter file I notice it says Driver=(none)
is there no hope for this camera :( .. I don't want to hook it up to a windows box just to take files off of it.
_________________
お前の常識知ったこっちゃねえ!
Back to top
View user's profile Send private message
m_spidey
Guru
Guru


Joined: 28 Feb 2005
Posts: 312
Location: Planetexpress Ship

PostPosted: Fri Mar 24, 2006 3:10 am    Post subject: Reply with quote

Is there more output if you run dmesg again?
_________________
Ronald McDonald -> The necessary Evil.
Back to top
View user's profile Send private message
Master_d
Apprentice
Apprentice


Joined: 12 Oct 2003
Posts: 152
Location: Milwaukee

PostPosted: Fri Mar 24, 2006 3:28 am    Post subject: Reply with quote

m_spidey wrote:
Is there more output if you run dmesg again?



here's me connecting it and disconnecting it over and over again.

Code:
usb 4-2: new high speed USB device using ehci_hcd and address 7
usb 4-2: configuration #1 chosen from 2 choices
usb 4-2: USB disconnect, address 7
usb 4-2: new high speed USB device using ehci_hcd and address 8
usb 4-2: configuration #1 chosen from 2 choices
usb 4-2: USB disconnect, address 8
usb 4-2: new high speed USB device using ehci_hcd and address 9
usb 4-2: USB disconnect, address 9
usb 4-2: new high speed USB device using ehci_hcd and address 10
usb 4-2: USB disconnect, address 10
usb 4-2: new high speed USB device using ehci_hcd and address 11
usb 4-2: USB disconnect, address 11
usb 4-2: new high speed USB device using ehci_hcd and address 12
usb 4-2: USB disconnect, address 12
usb 4-2: new high speed USB device using ehci_hcd and address 13
usb 4-2: USB disconnect, address 13
usb 4-2: new high speed USB device using ehci_hcd and address 14
usb 4-2: USB disconnect, address 14
usb 4-2: new high speed USB device using ehci_hcd and address 15
yi@tonicwater ~ $


it doesn't seem to creat a device file for it.. It just acknowledges it's existance and then just waits for it shut off :P
_________________
お前の常識知ったこっちゃねえ!
Back to top
View user's profile Send private message
m_spidey
Guru
Guru


Joined: 28 Feb 2005
Posts: 312
Location: Planetexpress Ship

PostPosted: Fri Mar 24, 2006 3:33 am    Post subject: Reply with quote

Your right try compiling sata disk and stat generic support into your kernel if you haven't already. Also USB device file system.
_________________
Ronald McDonald -> The necessary Evil.
Back to top
View user's profile Send private message
Master_d
Apprentice
Apprentice


Joined: 12 Oct 2003
Posts: 152
Location: Milwaukee

PostPosted: Fri Mar 24, 2006 3:38 am    Post subject: Reply with quote

m_spidey wrote:
Your right try compiling sata disk and stat generic support into your kernel if you haven't already. Also USB device file system.


I'm on it!

could you give me the actual names of what to enable in the config?

here's my current SATA options

Code:
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_SCSI_SATA=y
# CONFIG_SCSI_SATA_AHCI is not set
# CONFIG_SCSI_SATA_SVW is not set
# CONFIG_SCSI_SATA_MV is not set
# CONFIG_SCSI_SATA_NV is not set
# CONFIG_SCSI_SATA_QSTOR is not set
# CONFIG_SCSI_SATA_PROMISE is not set
CONFIG_SCSI_SATA_SX4=m
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIL24 is not set
CONFIG_SCSI_SATA_SIS=m
# CONFIG_SCSI_SATA_ULI is not set
# CONFIG_SCSI_SATA_VIA is not set
# CONFIG_SCSI_SATA_VITESSE is not set
CONFIG_SCSI_SATA_INTEL_COMBINED=y


i'm not sure what you mean by "stat generic" and usb filesys is already compiled in.
_________________
お前の常識知ったこっちゃねえ!


Last edited by Master_d on Fri Mar 24, 2006 3:44 am; edited 1 time in total
Back to top
View user's profile Send private message
m_spidey
Guru
Guru


Joined: 28 Feb 2005
Posts: 312
Location: Planetexpress Ship

PostPosted: Fri Mar 24, 2006 3:39 am    Post subject: Reply with quote

Quote:
Your right try compiling sata disk and stat generic support into your kernel


I meant sata generic support sorry.
_________________
Ronald McDonald -> The necessary Evil.
Back to top
View user's profile Send private message
Master_d
Apprentice
Apprentice


Joined: 12 Oct 2003
Posts: 152
Location: Milwaukee

PostPosted: Fri Mar 24, 2006 3:47 am    Post subject: Reply with quote

I'm guessing for sata support you mean

CONFIG_SCSI_SATA=y

and for generic SATA you mean

CONFIG_SCSI_SATA_INTEL_COMBINED=y

both of these are already compiled into the kernel

Another interesting thing I noticed is that gphoto2 supposedly supports the "PTP" protocol for transferring pictures and I can set the camera to be in that mode but in gphoto2 my camera is not listed as a supported model :(
_________________
お前の常識知ったこっちゃねえ!
Back to top
View user's profile Send private message
m_spidey
Guru
Guru


Joined: 28 Feb 2005
Posts: 312
Location: Planetexpress Ship

PostPosted: Fri Mar 24, 2006 3:50 am    Post subject: Reply with quote

Sorry i"m an huge tool......i apologise I meant scsi disk support and scsi generic support...

I'm lacking sleep a lot of it.
_________________
Ronald McDonald -> The necessary Evil.
Back to top
View user's profile Send private message
Master_d
Apprentice
Apprentice


Joined: 12 Oct 2003
Posts: 152
Location: Milwaukee

PostPosted: Fri Mar 24, 2006 5:32 am    Post subject: Reply with quote

m_spidey wrote:
Sorry i"m an huge tool......i apologise I meant scsi disk support and scsi generic support...

I'm lacking sleep a lot of it.


heh.. it's cool man... I put my kernel config for SCSI stuff in my 1st post. I believe I have the necessary stuff compiled in but if not let me know.
_________________
お前の常識知ったこっちゃねえ!
Back to top
View user's profile Send private message
augury
l33t
l33t


Joined: 22 May 2004
Posts: 722
Location: philadelphia

PostPosted: Fri Mar 24, 2006 6:32 am    Post subject: Reply with quote

# CONFIG_SCSI_MULTI_LUN is not set
add probe all luns
Back to top
View user's profile Send private message
Master_d
Apprentice
Apprentice


Joined: 12 Oct 2003
Posts: 152
Location: Milwaukee

PostPosted: Fri Mar 24, 2006 6:44 am    Post subject: Reply with quote

augury wrote:
# CONFIG_SCSI_MULTI_LUN is not set
add probe all luns


thanks man... trying that right now
_________________
お前の常識知ったこっちゃねえ!
Back to top
View user's profile Send private message
Master_d
Apprentice
Apprentice


Joined: 12 Oct 2003
Posts: 152
Location: Milwaukee

PostPosted: Fri Mar 24, 2006 7:13 am    Post subject: Reply with quote

well.... after I did that I still could not mount the device (dmesg still the same) but now I can use gphoto2 in PTP transfer mode and that's good enough for me!

thanks for all the help guys... and as a token of my gratitude here's a sample pic

http://pants.no-ip.com/sandbox/bathroom.jpg
_________________
お前の常識知ったこっちゃねえ!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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