Re: [SLUG] How do I automount CF card when PCMCIA adapter inserted?

2006-08-07 Thread Jeff Waugh
quote who=John Clarke

 I have a new (HP) laptop with Ubuntu 6.06.  Most things just work :-)
 
 I also have a PCMCIA compact flash adapter which works, except that I have
 to mount the drive manually after inserting it.  I'd like to have it
 automount but having never played with PCMCIA on Linux I don't know what
 to do to make it happen.
 
 Would someone please point me in the right direction?

It totally depends on your PCMCIA adapter. Some do everything fine, even if
you're (un)plugging the CF itself. Some are fine if you're just (un)plugging
the PCMCIA card. Some are totally h0rked (but a subset of those are probably
fixable).

I'd recommend filing a bug with as much information you can glean about the
PCMCIA/CF adaper as possible.

Quick thing you can try - boot with it unplugged, run hal-device-manager,
plug it in and see what happens.

- Jeff

-- 
linux.conf.au 2007: Sydney, Australia   http://lca2007.linux.org.au/
 
   Have you ever kissed a girl? - Bryan Cantrill to Dave Miller
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] How do I automount CF card when PCMCIA adapter inserted?

2006-08-07 Thread Martin Pool
On  7 Aug 2006, Jeff Waugh [EMAIL PROTECTED] wrote:
 quote who=John Clarke
 
  I have a new (HP) laptop with Ubuntu 6.06.  Most things just work :-)
  
  I also have a PCMCIA compact flash adapter which works, except that I have
  to mount the drive manually after inserting it.  I'd like to have it
  automount but having never played with PCMCIA on Linux I don't know what
  to do to make it happen.
  
  Would someone please point me in the right direction?
 
 It totally depends on your PCMCIA adapter. Some do everything fine, even if
 you're (un)plugging the CF itself. Some are fine if you're just (un)plugging
 the PCMCIA card. Some are totally h0rked (but a subset of those are probably
 fixable).
 
 I'd recommend filing a bug with as much information you can glean about the
 PCMCIA/CF adaper as possible.

What Jeff says is the right thing to do.

On the other hand... I had an old PCMCIA reader that was slow and tended to
make my machine crash, and on a good day made everything else very slow
while it's being accessed.  I bought a Belkin USB 2.0 reader for about
$30 and it's *much* faster and more reliable, and can be plugged into
desktops if need be.  Money well spent in my case.  Maybe John's is
better.

-- 
Martin
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] How do I automount CF card when PCMCIA adapter inserted?

2006-08-07 Thread John Clarke
On Mon, Aug 07, 2006 at 08:37:50 +1000, Jeff Waugh wrote:

 It totally depends on your PCMCIA adapter. Some do everything fine, even if

Thanks Jeff.  The card is recognised, it's just not mounted
automatically:

kernel: [17180389.364000] pccard: PCMCIA card inserted into slot 0
kernel: [17180389.364000] pcmcia: registering new device pcmcia0.0
kernel: [17180389.404000] Probing IDE interface ide1...
kernel: [17180389.692000] hdc: SanDisk SDCFB-16, CFA DISK drive
kernel: [17180390.364000] ide1 at 0x2040-0x2047,0x204e on irq 3
kernel: [17180390.364000] hdc: max request size: 128KiB
kernel: [17180390.364000] hdc: 31360 sectors (16 MB) w/1KiB Cache, 
CHS=490/2/32
kernel: [17180390.364000] hdc: cache flushes not supported
kernel: [17180390.364000]  hdc: hdc1
kernel: [17180390.368000] ide-cs: hdc: Vcc = 3.3, Vpp = 0.0

 I'd recommend filing a bug with as much information you can glean about the
 PCMCIA/CF adaper as possible.

I want to be sure it's not something that I'm doing (or not doing)
first.  Is there a config file somewhere I have to edit to make it
automount?

 Quick thing you can try - boot with it unplugged, run hal-device-manager,
 plug it in and see what happens.

It sees the adapter when it's plugged in.  lshw tells me this:

*-pcmcia
 description: CardBus bridge
 product: Texas Instruments
 vendor: Texas Instruments
 physical id: 6
 bus info: [EMAIL PROTECTED]:06.0
 version: 00
 width: 32 bits
 clock: 33MHz
 capabilities: pcmcia bus_master cap_list
 configuration: driver=yenta_cardbus
 resources: iomemory:d2004000-d2004fff irq:185
   *-storage
description: SDP
vendor: SunDisk
physical id: 0
version: 5/3 0.6
slot: Socket 0
resources: irq:3
   *-ide
description: IDE Channel 0
physical id: 1
bus info: [EMAIL PROTECTED]
logical name: ide1
clock: 33MHz
  *-disk
   product: SanDisk SDCFB-16
   physical id: 0
   bus info: [EMAIL PROTECTED]
   logical name: /dev/hdc
   capabilities: packet


Cheers,

John
-- 
... every credible survey which has ever been conducted has concluded 
that filtering software is to Internet users what meat-mincers are to 
cows ...
-- Mark Newton
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] How do I automount CF card when PCMCIA adapter inserted?

2006-08-07 Thread John Clarke
On Mon, Aug 07, 2006 at 08:51:16 +1000, Martin Pool wrote:

  I'd recommend filing a bug with as much information you can glean about the
  PCMCIA/CF adaper as possible.
 
 What Jeff says is the right thing to do.

Thanks, I will, when I'm sure it is a bug.

 I bought a Belkin USB 2.0 reader for about $30 and it's *much* faster

I have a USB 2.0 reader too, so if I can't get the PCMCIA adapter to
work it doesn't matter.

 desktops if need be.  Money well spent in my case.  Maybe John's is
 better.

It's as slow as a wet week, but it doesn't make the machine crash, so
it's slightly better than yours :-)


Cheers,

John
-- 
Reality is weird. I'm happy that my brain gives me such a simple view of it :-)
-- Tony Barry
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] How do I automount CF card when PCMCIA adapter inserted?

2006-08-07 Thread Jeff Waugh
quote who=John Clarke

 Thanks Jeff.  The card is recognised, it's just not mounted automatically:

Definitely worth feeding this into a bug.

  I'd recommend filing a bug with as much information you can glean about
  the PCMCIA/CF adaper as possible.
 
 I want to be sure it's not something that I'm doing (or not doing) first.
 Is there a config file somewhere I have to edit to make it automount?

No. I mean, you can look at the Removable storage preferences dialogue,
but I can't imagine you've changed it in any way that would effect this. If
USB disks work, this should also work (as far as policy goes).

  Quick thing you can try - boot with it unplugged, run
  hal-device-manager, plug it in and see what happens.
 
 It sees the adapter when it's plugged in.  lshw tells me this:

You can see it in hal-device-manager? If so, definitely file a bug. It may
just need a bit of hardware ID / capabilities tweaking.

- Jeff

-- 
linux.conf.au 2007: Sydney, Australia   http://lca2007.linux.org.au/
 
  So please lets focus on preparing to beat up our neighbours instead of
   spending all the energy on domestic violence. - Christian Schaller on
   GNOME
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] How do I automount CF card when PCMCIA adapter inserted?

2006-08-07 Thread John Clarke
On Tue, Aug 08, 2006 at 03:03:04 +1000, Jeff Waugh wrote:

  Is there a config file somewhere I have to edit to make it automount?
 
 No. I mean, you can look at the Removable storage preferences dialogue,
 but I can't imagine you've changed it in any way that would effect this. If

I haven't changed it at all.  That's the first place I looked and it
seemed OK to me.

 You can see it in hal-device-manager? If so, definitely file a bug. It may
 just need a bit of hardware ID / capabilities tweaking.

OK, thanks Jeff, I'll do that.


Now to try to get suspend  hibernate working properly ...


Cheers,

John
-- 
And as was widely anticipated, the Canadian election was brought to a
conclusion long before the US one.  The only surprise, really, was that
the CBC still had a heterosexual employee on the payroll.
-- Anthony de Boer
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] How do I automount CF card when PCMCIA adapter inserted?

2006-08-06 Thread John Clarke
Hi all,

I have a new (HP) laptop with Ubuntu 6.06.  Most things just work :-)

I also have a PCMCIA compact flash adapter which works, except that I
have to mount the drive manually after inserting it.  I'd like to have
it automount but having never played with PCMCIA on Linux I don't know
what to do to make it happen.

Would someone please point me in the right direction?


Thanks,

John
-- 
I've said it before and I'll say it again.  Server rooms should be
unfriendly!  They should look dangerous, they should be uncomfortably cold,
they should be inexplicably noisy.  If you can arrange for the smell of
burning transistors, that's good too.   -- Mike Sphar
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html