Re: SCM Microsystems Inc. eUSB SmartMedia Adapter

2002-12-13 Thread Stijn Hoop
On Wed, Dec 11, 2002 at 07:38:11PM +0100, Bernd Walter wrote:
> On Wed, Dec 11, 2002 at 07:03:36PM +0100, Stijn Hoop wrote:
> > On Wed, Dec 11, 2002 at 06:12:21PM +0100, Bernd Walter wrote:
> > > On Wed, Dec 11, 2002 at 08:58:12AM +0100, Stijn Hoop wrote:
> > > > On Tue, Dec 10, 2002 at 10:13:49PM -0500, Brad Hughes wrote:
> > > > Try to remove device ugen from your kernel; it is a bit agressive when
> > > > 'claiming' USB devices. I had the same problem with an USB gamepad and
> > > > uhid devices.
> > > 
> > > This shouldn't be possible.
> > > Can you show an example when this happens?
> > 
> > It used to happen with my Thrustmaster Firestorm Wireless gamepad.
> > At the time I had both uhid & ugen in my kernel, it also happened when
> > I used uhid as a loadable module. It finally worked when I removed
> > ugen from my kernel configuration file, and used the uhid module.
> > I never tested to see whether using uhid in a kernel configuration
> > file (instead of a module) worked because I was happy to get it
> > to play nicely.
> 
> If the device is attached with only ugen available then of course ugen
> gets it.
> When you load a module later, then the decision about the driver for
> that device has already been made.

Yes I understand.

> But I don't see how this could happen if you already have uhid in
> the kernel.

Well I thought it did -- but upon retesting with an up-to-date -CURRENT,
it works now. Sorry for the false alarm.

--Stijn

-- 
The rain it raineth on the just
And also on the unjust fella,
But chiefly on the just, because
The unjust steals the just's umbrella.



msg48643/pgp0.pgp
Description: PGP signature


Re: SCM Microsystems Inc. eUSB SmartMedia Adapter

2002-12-11 Thread Bernd Walter
On Wed, Dec 11, 2002 at 07:03:36PM +0100, Stijn Hoop wrote:
> On Wed, Dec 11, 2002 at 06:12:21PM +0100, Bernd Walter wrote:
> > On Wed, Dec 11, 2002 at 08:58:12AM +0100, Stijn Hoop wrote:
> > > On Tue, Dec 10, 2002 at 10:13:49PM -0500, Brad Hughes wrote:
> > > Try to remove device ugen from your kernel; it is a bit agressive when
> > > 'claiming' USB devices. I had the same problem with an USB gamepad and
> > > uhid devices.
> > 
> > This shouldn't be possible.
> > Can you show an example when this happens?
> 
> It used to happen with my Thrustmaster Firestorm Wireless gamepad.
> At the time I had both uhid & ugen in my kernel, it also happened when
> I used uhid as a loadable module. It finally worked when I removed
> ugen from my kernel configuration file, and used the uhid module.
> I never tested to see whether using uhid in a kernel configuration
> file (instead of a module) worked because I was happy to get it
> to play nicely.

If the device is attached with only ugen available then of course ugen
gets it.
When you load a module later, then the decision about the driver for
that device has already been made.
But I don't see how this could happen if you already have uhid in
the kernel.

-- 
B.Walter  COSMO-Project http://www.cosmo-project.de
[EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: SCM Microsystems Inc. eUSB SmartMedia Adapter

2002-12-11 Thread Stijn Hoop
On Wed, Dec 11, 2002 at 06:12:21PM +0100, Bernd Walter wrote:
> On Wed, Dec 11, 2002 at 08:58:12AM +0100, Stijn Hoop wrote:
> > On Tue, Dec 10, 2002 at 10:13:49PM -0500, Brad Hughes wrote:
> > Try to remove device ugen from your kernel; it is a bit agressive when
> > 'claiming' USB devices. I had the same problem with an USB gamepad and
> > uhid devices.
> 
> This shouldn't be possible.
> Can you show an example when this happens?

It used to happen with my Thrustmaster Firestorm Wireless gamepad.
At the time I had both uhid & ugen in my kernel, it also happened when
I used uhid as a loadable module. It finally worked when I removed
ugen from my kernel configuration file, and used the uhid module.
I never tested to see whether using uhid in a kernel configuration
file (instead of a module) worked because I was happy to get it
to play nicely.

I can try and test some more later. BTW this was all on 4-STABLE
(4.6-STABLE / 4.7-RC IIRC), maybe that matters?

--Stijn

-- 
Nostalgia ain't what it used to be.



msg48532/pgp0.pgp
Description: PGP signature


Re: SCM Microsystems Inc. eUSB SmartMedia Adapter

2002-12-11 Thread Bernd Walter
On Wed, Dec 11, 2002 at 08:58:12AM +0100, Stijn Hoop wrote:
> On Tue, Dec 10, 2002 at 10:13:49PM -0500, Brad Hughes wrote:
> Try to remove device ugen from your kernel; it is a bit agressive when
> 'claiming' USB devices. I had the same problem with an USB gamepad and
> uhid devices.

This shouldn't be possible.
Can you show an example when this happens?

-- 
B.Walter  COSMO-Project http://www.cosmo-project.de
[EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: SCM Microsystems Inc. eUSB SmartMedia Adapter

2002-12-11 Thread Jason Mann
I have exactly the same problem with an SCM Microsystems USB CompactFlash
reader.

It is detected as ugen0, not umass0:

ugen0: SHUTTLE SCM Micro USBAT-02 , rev 1.00/0.05, addr 3

I have all the required drivers in my kernel, and I have also tried removing
ugen from the kernel, but this results in the device not being detected at
all.

Haven't yet found a solution to the problem, but I'd be interested to see if
Brads issue can be worked out.

Jason

- Original Message -
From: "Brad Hughes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 11, 2002 3:13 AM
Subject: SCM Microsystems Inc. eUSB SmartMedia Adapter


> Hey everyone,
>I have a question, when i try to plugin my eUSB SmartMedia USB
> adapter, umass doesnt recognize it. Darius over at #freebsdhelp@efnet
> suggested me to send a mail to the questions/current mailing lists.
> Thanks to him :). When i plug in my Adapter, in my dmesg it states:
>
> ugen0: SCM Microsystems Inc. eUSB SmartMedia Adapter, rev 1.10/2.18, addr
2
>
> When i unplug it, it reports:
>
> ugen0: at uhub0 port 1 (addr 2) disconnected
> ugen0: detached
>
> Any suggestions? Any help is appreciated, thanks in advance.
>
> Cheers,
>
> Brad Hughes
> [EMAIL PROTECTED]
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: SCM Microsystems Inc. eUSB SmartMedia Adapter

2002-12-10 Thread Stijn Hoop
On Tue, Dec 10, 2002 at 10:13:49PM -0500, Brad Hughes wrote:
> Hey everyone,
>   I have a question, when i try to plugin my eUSB SmartMedia USB 
> adapter, umass doesnt recognize it. Darius over at #freebsdhelp@efnet 
> suggested me to send a mail to the questions/current mailing lists. 
> Thanks to him :). When i plug in my Adapter, in my dmesg it states:
> 
> ugen0: SCM Microsystems Inc. eUSB SmartMedia Adapter, rev 1.10/2.18, addr 2
> 
> When i unplug it, it reports:
> 
> ugen0: at uhub0 port 1 (addr 2) disconnected
> ugen0: detached
> 
> Any suggestions? Any help is appreciated, thanks in advance.

Try to remove device ugen from your kernel; it is a bit agressive when
'claiming' USB devices. I had the same problem with an USB gamepad and
uhid devices.

Using modules for the usb stuff makes testing things like this easier,
I've found.

--Stijn

-- 
The rain it raineth on the just
And also on the unjust fella,
But chiefly on the just, because
The unjust steals the just's umbrella.



msg48508/pgp0.pgp
Description: PGP signature


Re: SCM Microsystems Inc. eUSB SmartMedia Adapter

2002-12-10 Thread Mike Tancsa

Are you sure you have all the bits in your kernel that are needed ?
i.e
   device umass
   device scbus
   device da
   device pass


In mine, I have

# usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), Intel(0x), rev
1.00
 port 1 addr 2: power 100 mA, config 1, ImageMate CF-MS (0x0820),
SanDisk(0x0781), rev 0.12
 port 2 addr 3: power 100 mA, config 1, eUSB CompactFlash Adapter(0x000a),
SCM Microsystems Inc.(0x04e6), rev 2.18
Controller /dev/usb1:
addr 1: self powered, config 1, UHCI root hub(0x), Intel(0x), rev
1.00
 port 1 powered
 port 2 powered

da1 at umass-sim0 bus 0 target 1 lun 0
da1:  Removable Direct Access SCSI-2 device 
da1: 650KB/s transfers
da1: 61MB (125440 512 byte sectors: 64H 32S/T 61C)

---Mike

On Tue, 10 Dec 2002 22:13:49 -0500, in sentex.lists.freebsd.current you
wrote:

>Hey everyone,
>   I have a question, when i try to plugin my eUSB SmartMedia USB 
>adapter, umass doesnt recognize it. Darius over at #freebsdhelp@efnet 
>suggested me to send a mail to the questions/current mailing lists. 
>Thanks to him :). When i plug in my Adapter, in my dmesg it states:
>
>ugen0: SCM Microsystems Inc. eUSB SmartMedia Adapter, rev 1.10/2.18, addr 2
>
>When i unplug it, it reports:
>
>ugen0: at uhub0 port 1 (addr 2) disconnected
>ugen0: detached
>
>Any suggestions? Any help is appreciated, thanks in advance.
>
>Cheers,
>
>Brad Hughes
>[EMAIL PROTECTED]

Mike Tancsa  ([EMAIL PROTECTED])  
http://www.sentex.net/mike

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



SCM Microsystems Inc. eUSB SmartMedia Adapter

2002-12-10 Thread Brad Hughes
Hey everyone,
  I have a question, when i try to plugin my eUSB SmartMedia USB 
adapter, umass doesnt recognize it. Darius over at #freebsdhelp@efnet 
suggested me to send a mail to the questions/current mailing lists. 
Thanks to him :). When i plug in my Adapter, in my dmesg it states:

ugen0: SCM Microsystems Inc. eUSB SmartMedia Adapter, rev 1.10/2.18, addr 2

When i unplug it, it reports:

ugen0: at uhub0 port 1 (addr 2) disconnected
ugen0: detached

Any suggestions? Any help is appreciated, thanks in advance.

Cheers,

Brad Hughes
[EMAIL PROTECTED]