Unix Technical Forum

Conflicting USB devices: memory stick vs. camera

This is a discussion on Conflicting USB devices: memory stick vs. camera within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I'm currently trying to configure my Nikon Coolpix 775 to work with gphoto/Digikam. If the camera was the ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 04:51 PM
Kiki Novak
 
Posts: n/a
Default Conflicting USB devices: memory stick vs. camera

Hi,

I'm currently trying to configure my Nikon Coolpix 775 to work with
gphoto/Digikam. If the camera was the only USB device I use, there would be
no problem. But I also - sometimes - use a 128 MB USB memory stick.

Problem: according to whether I use the memory stick or not, device names
aren't the same.

1) When I don't use the camera, my devices are as follows. sg_scan -i gives
me:

/dev/sg0 DVD/RW
/dev/sg1 memory stick

And sg_map:

/dev/sg0 /dev/scd0
/dev/sg1 /dev/sda

Then, when I plug in the camera, it appears on /dev/sg2, with /dev/sdb as
device name. So I can mount it, say, with mount -t
vfat /dev/sdb1 /mnt/camera.

2) When I don't use the memory stick, the camera appears as /dev/sg1,
respectively /dev/sda.

Question: how do I get this fixed, in every sense? This problem prevents me
1) from making entries in /etc/fstab 2) from creating device icons on my
desktop.

Anyone has a suggestion?

Niki Kovacs
--
Whereof one cannot speak, thereof one frequently goes ranting on and on at
ball-breaking length. (Ludwig Wittgenstein, Tractatus Logico-Philosophicus,
first draft)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 04:51 PM
Joost Kremers
 
Posts: n/a
Default Re: Conflicting USB devices: memory stick vs. camera

Kiki Novak wrote:
> Question: how do I get this fixed, in every sense? This problem prevents me
> 1) from making entries in /etc/fstab 2) from creating device icons on my
> desktop.


this is where udev comes in, especially persistent naming:

<http://www.reactivated.net/udevrules.php>

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 04:52 PM
name
 
Posts: n/a
Default Re: Conflicting USB devices: memory stick vs. camera

On 2004-10-24, Joost Kremers <joostkremers@yahoo.com> wrote:
> Kiki Novak wrote:
>> Question: how do I get this fixed, in every sense? This problem prevents me
>> 1) from making entries in /etc/fstab 2) from creating device icons on my
>> desktop.

>
> this is where udev comes in, especially persistent naming:
>
><http://www.reactivated.net/udevrules.php>


Good one! Thanks!
--
Email is wtallman at olypen dot com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 04:52 PM
Kiki Novak
 
Posts: n/a
Default Re: Conflicting USB devices: memory stick vs. camera

Joost Kremers wrote:

> this is where udev comes in, especially persistent naming:
>
> <http://www.reactivated.net/udevrules.php>


Thanks very much for that highly informative link. This was the opportunity
for me to move on to 2.6, the operation was more or less trivial in the end
but took the best part of the afternoon nonetheless.

By the way, are there any known issues with 2.6.7? Any bad surprises?
Similar to K3B refusing to burn with 2.6.8, or the likes?

NK

--
Whereof one cannot speak, thereof one frequently goes ranting on and on at
ball-breaking length. (Ludwig Wittgenstein, Tractatus Logico-Philosophicus,
first draft)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 04:52 PM
Realto Margarino
 
Posts: n/a
Default Re: Conflicting USB devices: memory stick vs. camera

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kiki Novak <mickey@mouse.com> trolled:

> Thanks very much for that highly informative link. This was the
> opportunity for me to move on to 2.6, the operation was more or
> less trivial in the end but took the best part of the afternoon
> nonetheless.
>
> By the way, are there any known issues with 2.6.7? Any bad
> surprises? Similar to K3B refusing to burn with 2.6.8, or the
> likes?


Why? Are you writing another article?

Moron.

cordially, as always,

rm

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBQXxG+eEckfDWS6x8EQI18QCdEElOwEM5Kv840Pn9tGzMqW 1HsCMAoM+S
+EPnf/Cw3Tz/YTv6Uc1AN+XA
=57EB
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 04:53 PM
name
 
Posts: n/a
Default Re: Conflicting USB devices: memory stick vs. camera

On 2004-10-24, Kiki Novak <mickey@mouse.com> wrote:
> Joost Kremers wrote:
>
>> this is where udev comes in, especially persistent naming:
>>
>> <http://www.reactivated.net/udevrules.php>

>
> Thanks very much for that highly informative link. This was the opportunity
> for me to move on to 2.6, the operation was more or less trivial in the end
> but took the best part of the afternoon nonetheless.
>
> By the way, are there any known issues with 2.6.7? Any bad surprises?
> Similar to K3B refusing to burn with 2.6.8, or the likes?
>
> NK


Pat included it as the option in Slackware 10.0, and that's a good sign. I
got mine from kernel.org and compiled it myself, and other than a couple of
misconfigurations (recompiled once), no discernable difficulties. Must
admit that I've not tested it extensively, but so far the only thing that
doesn't work (now that I've got /dev/sda1 again) is the sound scope in
gkrellm, and who knows what that's about... <grin>

HTH
--
Email is wtallman at olypen dot com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:34 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com