All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] dtl1_cs suspend bug
@ 2003-09-22 11:08 Justin Karneges
  2003-09-23 12:08 ` Justin Karneges
  0 siblings, 1 reply; 13+ messages in thread
From: Justin Karneges @ 2003-09-22 11:08 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi,

I've started to try solving this one, but it is not easy for me since I know 
nothing about CardServices and what it does before/after issuing CS_EVENT_* 
events.

I compared the dtl1_cs code to that of the orinoco_cs (wifi) driver, and I 
guess the handling is about the same.  What could be wrong in dtl1_cs ?

The fact that 'cardctl suspend' breaks the driver and 'cardctl eject ; cardctl 
insert' fixes it, I'm certain this can be solved in software.  Surely there 
is a way that the driver can fully reset itself without it having to be done 
externally by cardmgr.  I know that suspend/resume actions are supposed to be 
optimized versions of eject/insert, but since the current suspend/resume 
functions _don't_ work, we may as well do a full and slow reset instead.  No 
sense in leaving it broken.  Once someone comes along who understands how 
suspend/resume works, the driver can be optimized.

Unfortunately, this isn't as easy as it appears on the surface.  I tried a 
simple and dirty hack of making suspend perform the eject code and resume to 
perform the insert code (a cut and paste of just a few lines), but was 
unsuccessful.

Clues please!

-Justin


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-09-25  3:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-22 11:08 [Bluez-devel] dtl1_cs suspend bug Justin Karneges
2003-09-23 12:08 ` Justin Karneges
2003-09-23 12:19   ` Marcel Holtmann
2003-09-23 21:09     ` Justin Karneges
2003-09-23 21:37       ` Marcel Holtmann
2003-09-23 21:44         ` Justin Karneges
2003-09-23 22:17           ` Marcel Holtmann
2003-09-23 23:48             ` Justin Karneges
2003-09-24  1:35               ` Marcel Holtmann
2003-09-24  6:06                 ` Justin Karneges
2003-09-24  9:36                   ` Marcel Holtmann
2003-09-25  3:35                     ` Justin Karneges
2003-09-23 12:49   ` David Woodhouse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.