Re: Wrong identification of a USB flash drive. [SOLVED]

2009-09-01 Thread Mark Neidorff
On Sunday 23 August 2009 05:28 pm, Arnt Karlsen wrote:
> On Sat, 22 Aug 2009 21:16:15 -0400, Mark wrote in message
>
> <200908222116.15752.m...@neidorff.com>:
> > On Saturday 22 August 2009 08:47 pm, Kelly Clowers wrote:
> > > On Sat, Aug 22, 2009 at 09:09, Florian Kulzer
> >
> > [[[snip]]]
> >
> > Thank everyone for the advice.  I now know what to do to solve the
> > problem.
>
> ..tell us, your solution may help somebody else here.
> Me, I just wiped my stick clean and used cfdisk to set
> up new partitions. ;o)
Sure.

What I needed was to understand the problem.  Its a problem with U3.  Sandisk 
has a U3 removal tool for use under Windows--easy google search.  Sourceforge 
also has a U3 tool for linux "U3-tool.sourceforge.net" .  The linux tool is 
listed as alpha software.  Since I have a windows box around here, I used the 
sandisk tool.  It did the job...just be sure that you back up any files on 
the stick before removing the U3 stuff using the sandisk tool.

Mark  


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Wrong identification of a USB flash drive. [SOLVED]

2009-08-23 Thread Arnt Karlsen
On Sat, 22 Aug 2009 21:16:15 -0400, Mark wrote in message 
<200908222116.15752.m...@neidorff.com>:

> On Saturday 22 August 2009 08:47 pm, Kelly Clowers wrote:
> > On Sat, Aug 22, 2009 at 09:09, Florian Kulzer
> 
> [[[snip]]]
> 
> Thank everyone for the advice.  I now know what to do to solve the
> problem.

..tell us, your solution may help somebody else here.
Me, I just wiped my stick clean and used cfdisk to set 
up new partitions. ;o)

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Wrong identification of a USB flash drive. [SOLVED]

2009-08-22 Thread Mark Neidorff
On Saturday 22 August 2009 08:47 pm, Kelly Clowers wrote:
> On Sat, Aug 22, 2009 at 09:09, Florian Kulzer

[[[snip]]]

Thank everyone for the advice.  I now know what to do to solve the problem.

Mark


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Kelly Clowers
On Sat, Aug 22, 2009 at 09:09, Florian Kulzer
 wrote:
>
> On Sat, Aug 22, 2009 at 17:16:43 +0200, Peter Beck wrote:
> > > On 2009-08-22 09:16, Mark Neidorff wrote:
>
> [...]
>
> > >  I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of 
> > > them
> > >  into a USB port, the system recognizes it as a CD drive.
> >
> > AFAIK the Sandisk Cruzers are U3 Sticks and i think the U3 System is
> > shown as a CD-Drive and the storage as usb drive. There is a Tool from
> > Sandisk to disable the U3 functionality and use the sticks without this
> > software, but it's a windows executable.
>
> http://u3-tool.sourceforge.net/
>
> The u3-tool package is available in the Debian main archive, but only
> for Squeeze and Sid.

You can kill U3 without that utility. I did it once, with Parted I believe.


Cheers,
Kelly Clowers


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Florian Kulzer
On Sat, Aug 22, 2009 at 17:16:43 +0200, Peter Beck wrote:
> > On 2009-08-22 09:16, Mark Neidorff wrote:

[...]

> >  I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of 
> > them 
> >  into a USB port, the system recognizes it as a CD drive.
> 
> AFAIK the Sandisk Cruzers are U3 Sticks and i think the U3 System is
> shown as a CD-Drive and the storage as usb drive. There is a Tool from
> Sandisk to disable the U3 functionality and use the sticks without this
> software, but it's a windows executable.

http://u3-tool.sourceforge.net/

The u3-tool package is available in the Debian main archive, but only
for Squeeze and Sid.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Thierry Chatelet
On Saturday 22 August 2009 16:58:57 Mark Neidorff wrote:
> On Saturday 22 August 2009 10:48 am, Ron Johnson wrote:
> > On 2009-08-22 09:16, Mark Neidorff wrote:
> > > This is in the category of P.A.T. (Petty Annoyances and Tedium) but I
> > > still would like to know why it is happening.  That knowledge should
> > > tell me how to fix the problem.
> > >
> > > My system is Lenny 5.02, but the same problem exists on an old Fedora
> > > Core 3 system, so it is not a Debian problem, per se.
> > >
> > > I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of
> > > them into a USB port, the system recognizes it as a CD drive.
> >
> > By "the system", do you mean lines in dmesg, or the icon on your
> > desktop?
> >
> > >Working
> > > around this is easy, but what is causing the system to mis-identify the
> > > Cruzer? The only things on the cruzer are the files that automatically
> > > run under windows ("autorun.inf, LaunchU3.exe" which put a different
> > > way of unounting the device on the screen, and a System subdirectory
> > > and a Documents
> > > subdirectory).
>
> Both on the desktop and in dmesg.  Here is the relavent info from dmesg:
>
>   Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
>   Type:   Direct-Access  ANSI SCSI revision: 00
> SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
> sdc: Write Protect is off
> sdc: Mode Sense: 45 00 00 08
> sdc: assuming drive cache: write through
> SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
> sdc: Write Protect is off
> sdc: Mode Sense: 45 00 00 08
> sdc: assuming drive cache: write through
>  sdc: sdc1
> Attached scsi removable disk sdc at scsi14, channel 0, id 0, lun 0
>   Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
>   Type:   CD-ROM ANSI SCSI revision: 00
> sr0: scsi3-mmc drive: 48x/48x tray
> Attached scsi CD-ROM sr0 at scsi14, channel 0, id 0, lun 1
> usb-storage: device scan complete
>
> Looks like it is mounted twice?

Another trail to follow,from one time I had a USB dongle to connect to the 
internet. Its a long time ago, so pls check everything back before applying:

chmod a+w /dev/ttyUSB2
echo at+zcdrun=8 > /dev/ttyUSB2

Be sure to replace ttyUSB2 by your device.
To get back the CD part of the device, do the same, but replace 8 by 9
Thierry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Peter Beck
> On 2009-08-22 09:16, Mark Neidorff wrote:
>  This is in the category of P.A.T. (Petty Annoyances and Tedium) but I still 
>  would like to know why it is happening.  That knowledge should tell me how 
> to 
>  fix the problem.
>  
>  My system is Lenny 5.02, but the same problem exists on an old Fedora Core 3 
>  system, so it is not a Debian problem, per se.
>  
>  I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of them 
>  into a USB port, the system recognizes it as a CD drive.

AFAIK the Sandisk Cruzers are U3 Sticks and i think the U3 System is
shown as a CD-Drive and the storage as usb drive. There is a Tool from
Sandisk to disable the U3 functionality and use the sticks without this
software, but it's a windows executable.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Thierry Chatelet
On Saturday 22 August 2009 16:58:57 Mark Neidorff wrote:
> On Saturday 22 August 2009 10:48 am, Ron Johnson wrote:
> > On 2009-08-22 09:16, Mark Neidorff wrote:
> > > This is in the category of P.A.T. (Petty Annoyances and Tedium) but I
> > > still would like to know why it is happening.  That knowledge should
> > > tell me how to fix the problem.
> > >
> > > My system is Lenny 5.02, but the same problem exists on an old Fedora
> > > Core 3 system, so it is not a Debian problem, per se.
> > >
> > > I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of
> > > them into a USB port, the system recognizes it as a CD drive.
> >
> > By "the system", do you mean lines in dmesg, or the icon on your
> > desktop?
> >
> > >Working
> > > around this is easy, but what is causing the system to mis-identify the
> > > Cruzer? The only things on the cruzer are the files that automatically
> > > run under windows ("autorun.inf, LaunchU3.exe" which put a different
> > > way of unounting the device on the screen, and a System subdirectory
> > > and a Documents
> > > subdirectory).
>
> Both on the desktop and in dmesg.  Here is the relavent info from dmesg:
>
>   Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
>   Type:   Direct-Access  ANSI SCSI revision: 00
> SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
> sdc: Write Protect is off
> sdc: Mode Sense: 45 00 00 08
> sdc: assuming drive cache: write through
> SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
> sdc: Write Protect is off
> sdc: Mode Sense: 45 00 00 08
> sdc: assuming drive cache: write through
>  sdc: sdc1
> Attached scsi removable disk sdc at scsi14, channel 0, id 0, lun 0
>   Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
>   Type:   CD-ROM ANSI SCSI revision: 00
> sr0: scsi3-mmc drive: 48x/48x tray
> Attached scsi CD-ROM sr0 at scsi14, channel 0, id 0, lun 1
> usb-storage: device scan complete
>
> Looks like it is mounted twice?

Have a look at usb-modeswitch.
From man:
Several new USB devices have their proprietary Windows drivers onboard,  
especially  WAN  don‐
   gles.  When  plugged in for the first time, they act like a flash 
storage 
and start installing
   the driver from there. If the driver is already installed, the storage 
device vanishes  and  a
   new device, such as an USB modem, shows up. This is called the "ZeroCD" 
feature

Hope it helps
Thierry


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Ron Johnson

On 2009-08-22 09:58, Mark Neidorff wrote:

On Saturday 22 August 2009 10:48 am, Ron Johnson wrote:

On 2009-08-22 09:16, Mark Neidorff wrote:

This is in the category of P.A.T. (Petty Annoyances and Tedium) but I
still would like to know why it is happening.  That knowledge should tell
me how to fix the problem.

My system is Lenny 5.02, but the same problem exists on an old Fedora
Core 3 system, so it is not a Debian problem, per se.

I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of
them into a USB port, the system recognizes it as a CD drive.

By "the system", do you mean lines in dmesg, or the icon on your
desktop?


   Working around
this is easy, but what is causing the system to mis-identify the Cruzer? 
The only things on the cruzer are the files that automatically run under

windows ("autorun.inf, LaunchU3.exe" which put a different way of
unounting the device on the screen, and a System subdirectory and a
Documents
subdirectory).


Both on the desktop and in dmesg.  Here is the relavent info from dmesg:

  Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
  Type:   Direct-Access  ANSI SCSI revision: 00
SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
sdc: Write Protect is off
sdc: Mode Sense: 45 00 00 08
sdc: assuming drive cache: write through
SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
sdc: Write Protect is off
sdc: Mode Sense: 45 00 00 08
sdc: assuming drive cache: write through
 sdc: sdc1
Attached scsi removable disk sdc at scsi14, channel 0, id 0, lun 0
  Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
  Type:   CD-ROM ANSI SCSI revision: 00
sr0: scsi3-mmc drive: 48x/48x tray
Attached scsi CD-ROM sr0 at scsi14, channel 0, id 0, lun 1
usb-storage: device scan complete

Looks like it is mounted twice?


I bet there's a bug in udev, or maybe usbutils.

--
Featuring GRATUITOUS ALIEN NUDITY


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Mark Neidorff
On Saturday 22 August 2009 10:48 am, Ron Johnson wrote:
> On 2009-08-22 09:16, Mark Neidorff wrote:
> > This is in the category of P.A.T. (Petty Annoyances and Tedium) but I
> > still would like to know why it is happening.  That knowledge should tell
> > me how to fix the problem.
> >
> > My system is Lenny 5.02, but the same problem exists on an old Fedora
> > Core 3 system, so it is not a Debian problem, per se.
> >
> > I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of
> > them into a USB port, the system recognizes it as a CD drive.
>
> By "the system", do you mean lines in dmesg, or the icon on your
> desktop?
>
> >Working around
> > this is easy, but what is causing the system to mis-identify the Cruzer? 
> > The only things on the cruzer are the files that automatically run under
> > windows ("autorun.inf, LaunchU3.exe" which put a different way of
> > unounting the device on the screen, and a System subdirectory and a
> > Documents
> > subdirectory).

Both on the desktop and in dmesg.  Here is the relavent info from dmesg:

  Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
  Type:   Direct-Access  ANSI SCSI revision: 00
SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
sdc: Write Protect is off
sdc: Mode Sense: 45 00 00 08
sdc: assuming drive cache: write through
SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
sdc: Write Protect is off
sdc: Mode Sense: 45 00 00 08
sdc: assuming drive cache: write through
 sdc: sdc1
Attached scsi removable disk sdc at scsi14, channel 0, id 0, lun 0
  Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
  Type:   CD-ROM ANSI SCSI revision: 00
sr0: scsi3-mmc drive: 48x/48x tray
Attached scsi CD-ROM sr0 at scsi14, channel 0, id 0, lun 1
usb-storage: device scan complete

Looks like it is mounted twice?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Ron Johnson

On 2009-08-22 09:16, Mark Neidorff wrote:
This is in the category of P.A.T. (Petty Annoyances and Tedium) but I still 
would like to know why it is happening.  That knowledge should tell me how to 
fix the problem.


My system is Lenny 5.02, but the same problem exists on an old Fedora Core 3 
system, so it is not a Debian problem, per se.


I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of them 
into a USB port, the system recognizes it as a CD drive.


By "the system", do you mean lines in dmesg, or the icon on your 
desktop?


   Working around this 
is easy, but what is causing the system to mis-identify the Cruzer?  The only 
things on the cruzer are the files that automatically run under windows 
("autorun.inf, LaunchU3.exe" which put a different way of unounting the 
device on the screen, and a System subdirectory and a Documents 
subdirectory).


--
Featuring GRATUITOUS ALIEN NUDITY


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Wrong identification of a USB flash drive.

2009-08-22 Thread Mark Neidorff
This is in the category of P.A.T. (Petty Annoyances and Tedium) but I still 
would like to know why it is happening.  That knowledge should tell me how to 
fix the problem.

My system is Lenny 5.02, but the same problem exists on an old Fedora Core 3 
system, so it is not a Debian problem, per se.

I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of them 
into a USB port, the system recognizes it as a CD drive.  Working around this 
is easy, but what is causing the system to mis-identify the Cruzer?  The only 
things on the cruzer are the files that automatically run under windows 
("autorun.inf, LaunchU3.exe" which put a different way of unounting the 
device on the screen, and a System subdirectory and a Documents 
subdirectory).

Thanks for the info.

Mark


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org