Re: udev madness ?

2014-12-28 Thread Ron
On Sat, 27 Dec 2014 17:34:19 -0800
Patrick Bartek nemomm...@gmail.com wrote:

  I plug a sd card in the USB reader; the system does recognize it,
  since I get the following in dmesg:
  # dmesg -c | tail -n25
  [452776.255955] sd 8:0:0:0: [sde] 3842048 512-byte logical blocks:
  (1.96 GB/1.83 GiB) [452776.261515] sd 8:0:0:0: [sde] No Caching mode
  page found [452776.261522] sd 8:0:0:0: [sde] Assuming drive cache:
  write through [452776.267555] sd 8:0:0:0: [sde] No Caching mode page
  found [452776.267561] sd 8:0:0:0: [sde] Assuming drive cache: write
  through [452776.269260]  sde: sde1
  ls confirms it is recognized:
  # ls -l /dev/sde*
  brw-rw---T 1 root floppy 8, 64 Dec 27 17:01 /dev/sde
  brw-rw---T 1 root floppy 8, 65 Dec 27 17:01 /dev/sde1
  Why does it fail to auto-mount, and does not appear in Thunar or
  Pcmanfm ?
  udev gone mad ?  
 
 Do other cards fail to mount, too?  Have you tried another card reader?  Old 
 card or new?

Other cards mount in that reader; 
 
 What does lsusb  ls /media report?  With just the reader plugged in.
 With the card, too?

lsusb reports the same with or without the card :

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 2109:3431  
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 005 Device 002: ID 1e4e:0102  
Bus 005 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 006 Device 002: ID 413c:2107 Dell Computer Corp. 
Bus 006 Device 003: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button)
Bus 004 Device 003: ID 03f0:2504 Hewlett-Packard DeskJet F4200 series

Same for ls /media, in both cases :

# ls /media
cdrom  cdrom0  floppy  floppy0
 
 Which OS and GUI?

Debian 7.7.0 Xfce 

 
Cheers,
 
Ron.
-- 
 A critic is a man who creates nothing and thereby feels qualified
  to judge the work of creative men. There is logic in this; he is unbiased
   -- he hates all creative people equally.

   -- http://www.olgiati-in-paraguay.org --
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141228080358.59d2b...@ron.cerrocora.org



Re: udev madness ?

2014-12-28 Thread Patrick Bartek
On Sun, 28 Dec 2014, Renaud (Ron) OLGIATI wrote:

 On Sat, 27 Dec 2014 17:34:19 -0800
 Patrick Bartek nemomm...@gmail.com wrote:
 
   I plug a sd card in the USB reader; the system does recognize it,
   since I get the following in dmesg:
   # dmesg -c | tail -n25
   [452776.255955] sd 8:0:0:0: [sde] 3842048 512-byte logical blocks:
   (1.96 GB/1.83 GiB) [452776.261515] sd 8:0:0:0: [sde] No Caching
   mode page found [452776.261522] sd 8:0:0:0: [sde] Assuming drive
   cache: write through [452776.267555] sd 8:0:0:0: [sde] No Caching
   mode page found [452776.267561] sd 8:0:0:0: [sde] Assuming drive
   cache: write through [452776.269260]  sde: sde1
   ls confirms it is recognized:
   # ls -l /dev/sde*
   brw-rw---T 1 root floppy 8, 64 Dec 27 17:01 /dev/sde
   brw-rw---T 1 root floppy 8, 65 Dec 27 17:01 /dev/sde1
   Why does it fail to auto-mount, and does not appear in Thunar or
   Pcmanfm ?
   udev gone mad ?  
  
  Do other cards fail to mount, too?  Have you tried another card
  reader?  Old card or new?
 
 Other cards mount in that reader; 
  
  What does lsusb  ls /media report?  With just the reader plugged
  in. With the card, too?
 
 lsusb reports the same with or without the card :
 
 # lsusb
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 002: ID 2109:3431  
 Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
 Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card
 Reader/Writer Bus 005 Device 002: ID 1e4e:0102  
 Bus 005 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port
 HUB Bus 006 Device 002: ID 413c:2107 Dell Computer Corp. 
 Bus 006 Device 003: ID 046d:c408 Logitech, Inc. Marble Mouse
 (4-button) Bus 004 Device 003: ID 03f0:2504 Hewlett-Packard DeskJet
 F4200 series
 
 Same for ls /media, in both cases :
 
 # ls /media
 cdrom  cdrom0  floppy  floppy0
  
  Which OS and GUI?
 
 Debian 7.7.0 Xfce

Have you tried inserting the card in the reader, then plugging the
reader into the usb port?  That is, if it's an external reader.  Have
you cleaned the contacts? 

Your card could have a error (or errors) on the filesystem that might
prevent it from being mounted, while still being recognized.  Had it
happen. Two days ago, in fact.  Running dosfsck and reformatting solved
the problem.

At worse, you could write a udev rule to mount that specific card.

B


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141228093339.02235...@debian7.boseck208.net



Re: udev madness ?

2014-12-28 Thread Cindy-Sue Causey
On 12/28/14, Renaud  OLGIATI ren...@olgiati-in-paraguay.org wrote:
 On Sat, 27 Dec 2014 17:34:19 -0800
 Patrick Bartek nemomm...@gmail.com wrote:

 Do other cards fail to mount, too?  Have you tried another card reader?
 Old card or new?

 Other cards mount in that reader;

 snipped 



Age or size of *both* cards *AND* readers can make a difference. It's
been a long time since I ran into that issue myself so I'm not
remembering exact details. I *do* remember going the route you're
going. Could find it as recognized hardware via multiple different
searches, but it just wouldn't work.

Went that route after a reader had been reading cards then stopped.
Smacked myself *slightly* because one factor was I had just bought the
card not being read. Had coincidentally ordered a newer reader that
was sitting to the side unused (or something like that). Pulled it
out, plugged it, and things worked great.

Somewhere along the line also discovered that my card readers need to
be plugged in directly (to laptop in that case) and not used via a USB
port hub. There, again, they showed up in hardware [output] but
wouldn't work as expected. Disclaimer there is I usually end up with
extremely bottom dollar readers and hubs which would likely also play
a notable part in any of this type of issue.

Just thinking out loud.. :)

Cindy

-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* my dog runs with plastic bags. #truestory *


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cao1p-kayakvnszslpnn5tyc8bpmgngh-ewsm16ugbmjz97u...@mail.gmail.com



Re: udev madness ?

2014-12-27 Thread Patrick Bartek
On Sat, 27 Dec 2014, Renaud (Ron) OLGIATI wrote:

 I plug a sd card in the USB reader; the system does recognize it,
 since I get the following in dmesg:

 # dmesg -c | tail -n25
 [452776.255955] sd 8:0:0:0: [sde] 3842048 512-byte logical blocks:
 (1.96 GB/1.83 GiB) [452776.261515] sd 8:0:0:0: [sde] No Caching mode
 page found [452776.261522] sd 8:0:0:0: [sde] Assuming drive cache:
 write through [452776.267555] sd 8:0:0:0: [sde] No Caching mode page
 found [452776.267561] sd 8:0:0:0: [sde] Assuming drive cache: write
 through [452776.269260]  sde: sde1
 
 ls confirms it is recognized:
 
 # ls -l /dev/sde*
 brw-rw---T 1 root floppy 8, 64 Dec 27 17:01 /dev/sde
 brw-rw---T 1 root floppy 8, 65 Dec 27 17:01 /dev/sde1
 
 Why does it fail to auto-mount, and does not appear in Thunar or
 Pcmanfm ?
 
 udev gone mad ?

Do other cards fail to mount, too?  Have you tried another card reader?  Old 
card or new?

What does lsusb  ls /media report?  With just the reader plugged in.
With the card, too?

Which OS and GUI?

B


 Cheers,
  
 Ron.
 
 PS The card is perfectly readable and writeable  in my phone, or in
 SWMBO's windows Vista box.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141227173419.13d7a...@debian7.boseck208.net



Re: udev madness ?

2014-12-27 Thread Chris Bannister
On Sat, Dec 27, 2014 at 05:15:05PM -0300, Renaud OLGIATI wrote:
 I plug a sd card in the USB reader; the system does recognize it, since I get 
 the following in dmesg:
 
 # dmesg -c | tail -n25
 [452776.255955] sd 8:0:0:0: [sde] 3842048 512-byte logical blocks: (1.96 
 GB/1.83 GiB)
 [452776.261515] sd 8:0:0:0: [sde] No Caching mode page found
 [452776.261522] sd 8:0:0:0: [sde] Assuming drive cache: write through
 [452776.267555] sd 8:0:0:0: [sde] No Caching mode page found
 [452776.267561] sd 8:0:0:0: [sde] Assuming drive cache: write through
 [452776.269260]  sde: sde1
 
 ls confirms it is recognized:
 
 # ls -l /dev/sde*
 brw-rw---T 1 root floppy 8, 64 Dec 27 17:01 /dev/sde
 brw-rw---T 1 root floppy 8, 65 Dec 27 17:01 /dev/sde1
 
 Why does it fail to auto-mount, and does not appear in Thunar or Pcmanfm ?
 
 udev gone mad ?

*points elbow at Renaud*
As far as I can see udev did it's job. This is a case of false
accusation where the penalty is compulsory consumption, fill your vessel
up!

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141228045812.GC8320@tal