userspace, but neither will be a drop-in replacement for the Windows
HID API.
http://libusb.sourceforge.net/
http://libhid.alioth.debian.org/
--
- Charles Lepple
---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
--
Charles Lepple
http://www.ghz.cc/charles/
---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
directory isn't being created.
Unless you're running devfs (which is deprecated in 2.6, IIRC), you may
have to create the HID device nodes by hand:
$ su
# cd /dev; ./MAKEDEV usb
Debian uses /dev/usb/hiddev* instead of /dev/usb/hid
--
Charles Lepple
http://www.ghz.cc/charles
(or something) is on.
--
Charles Lepple
http://www.ghz.cc/charles/
---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http
that; the exact name escapes me). That means only USB
keyboards and mice.
The basic idea is that the BIOS lets you use a USB kbd/mouse as though
they were attached to the PS/2 ports. The BIOS is not supposed to hold
onto the peripherals forever, but that seems to be a common problem.
--
Charles
Andreas Jellinghaus wrote:
did anyone write a ccid class driver, either in kernel or
userspace? und an open source license?
CCID is the chip/smart card interface.
See:
http://pcsclite.alioth.debian.org/ccid.html
--
Charles Lepple
http://www.ghz.cc/charles
Alan Stern wrote:
[...]
This patch re-initializes the UHCI Interrupt Enable register following a
PM resume. Apparently some systems clear the register during suspend,
which causes obvious problems later on.
Thanks, this fixes the UHCI resume problem on my ThinkPad 770 as well.
--
Charles
/libhid/doc/html/
--
Charles Lepple
http://www.ghz.cc/charles/
---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id
function to be helpful in getting past hiddev.
You can email the libhid development list if you have any questions
about the code.
[1] http://savannah.nongnu.org/projects/libhid
[2] http://cvs.ailab.ch/cgi-bin/viewcvs.cgi/libhid/src/
[3] https://ailab.ch/mailman/listinfo/libhid
--
Charles Lepple
http
for some ideas on how to use libusb to
directly perform HID transactions without the hiddev driver getting in
the way.
--
Charles Lepple
http://www.ghz.cc/charles/
---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open
things broke, but if it would help, I can send more
detailed logs or dumps of the PCI config space from /sys.
--
Charles Lepple
http://www.ghz.cc/charles/
---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools
tries to assign an address. Does this sound
familiar?
--
Charles Lepple
http://www.ghz.cc/charles/
---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse
(at
lists.sourceforge.net) where this is being discussed:
http://sourceforge.net/mailarchive/forum.php?thread_id=3636970forum_id=5425
--
Charles Lepple
http://www.ghz.cc/charles/
---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert
Alan Stern said:
Charles, this will probably fix up the problems you were having when you
tried to run usbtest a month ago.
It gets a big thumbs-up from me. I tried it on 2.6.0-test3 both with and
without preemption, and it works well. Thanks!
--
Charles Lepple [EMAIL PROTECTED]
http
.
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX
).
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual
Greg KH said:
On Thu, Jul 24, 2003 at 04:19:20PM -0400, Charles Lepple wrote:
I was looking at using the generic usb-serial driver as a debug console,
Hahaha, good luck :)
very reassuring :-) lemme clarify, it's probably not as bad as it sounds...
If you really want to do this, try the USB
tweaking the .config.in file?
...and implementing the new driver model, and sysfs, and basically
reinventing 2.6 in the 2.4 tree? :-)
Have you tried 2.6.0test1 itself?
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This SF.Net
).
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win
/share/usb.ids.
This looks very similar to a problem in the skeleton PIC 16C765
firmware when string descriptor zero got mangled. I don't know enough
about Netchip's products to offer any more help, though.
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles
-compatible header files floating around
the 'net. I have had success with this code:
http://people.omnigroup.com/wiml/soft/pic/keyspan.html
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This SF.net email is sponsored by: VM
(an APC UPS daemon) uses HID SET_REPORT functionality to tell the
UPS to shut down.
HTH,
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating
Alan Stern said:
On Fri, 18 Jul 2003, Charles Lepple wrote:
Same results on my laptop (Intel UHCI chip; the desktop uses a Via
chipset). I can send the logs, but it's just more of the same (test 10
failures, and the UHCI driver dumps its lists).
Maybe I can try running the test program
. But usbtest uses only bulk source
and sink mode tests for now, not loopback.
Well, you would certainly know much better than I would :-) I stand
corrected.
Googling for ep2_inout doesn't turn up any source code. Any ideas where
this came from?
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles
right, since without your
debug patch, uhci-hcd still does some printks, and usbtest reports errors.
However, the final result code from testusb is zero. Is this normal?
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/uhci: added urbp c577453c to complete_list
uhci: took urbp c577453c
,
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
happened when I didn't load firmware.
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux
). usbtest is currently wedged in
test_ctrl_queue (according to /proc/pid/wchan).
I was mistaken before when I said that usbtest would respond to signals
when the firmware was loaded; the only way I could see to terminate it was
to unplug the USB device.
--
Charles Lepple [EMAIL PROTECTED]
http
request at a time, so it's not entirely surprising that it works.) Using
-g{5,6,7} all fail similarly to -g4.
David: perhaps I'm overlooking something, since what I found doesn't quite
correlate with your predicted failure between -g6 and -g7. Do you want to
see full logs for -g6 as well?
--
Charles
, what is the recommended way of enabling debug output for usbtest?
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single
this at home with an OHCI controller, but before I do, any other
tips? Should I look at usbtest.c from one of the BK trees?
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/ksymoops 2.4.5 on i686 2.6.0-test1.1. Options used
-v /home/charles/dl/linux-2.6.0-test1/vmlinux (specified
EZ-USB register header files are meant to work with SDCC, so it
may require some hand-editing.
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing
-function device
with only one non-class-based interface, it would certainly be easier
for them to not reinvent the wheel for all of the other functions.
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This SF.net email
in the non-FX TRM for details.
HTH,
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
David Brownell said:
Charles Lepple wrote:
[...]
* cross-platform libusb support:
[...]
In general, it's worth avoiding multiple code paths. If libusb
will do the vendor control messages, just use it everywhere; it'll be
simpler to maintain/debug that way.
I am reminded of an Edsger
in this vein, but I'm
pretty sure that OS X doesn't have such a facility. Also, I don't think
libusb supports Windows yet (AFAIK, you would need a VxD to do anything
other than detect devices, and call HID functions), but I'd be happy to be
proven wrong on that count.
--
Charles Lepple [EMAIL
. Thanks for the input.
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning
or something).
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http
for recent 2.5 kernels.
thanks,
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles/
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
[EMAIL
guess that this is not affecting the
retrieval of the string descriptors, since the string descriptors listed
above are present in the device descriptor (and not at the interface
level).
Any ideas? Pointers to a usbutils-specific mailing list?
Thanks in advance,
--
Charles Lepple [EMAIL
David Brownell said:
Charles Lepple wrote:
While writing USB firmware for the PIC16C765, I noticed that lsusb
can't read the string descriptors from even the stock Microchip
firmware. This seems to be limited to lsusb, as the strings show up in
/proc/bus/usb/devices and in the HID driver's
is not new).
Do I have this backwards? Or is read() really doing interrupt in
transfers, and my PIC code is broken somewhere else? Also, would I be
better off trying this under 2.5?
--
Charles Lepple [EMAIL PROTECTED]
http://www.ghz.cc/charles
42 matches
Mail list logo