On Mon, 2003-09-08 at 07:52, Brad Hards wrote:

> I think that the drawer will have to use hiddev.

I have no problem with that but I am not able to access the drawer under
/dev/usb/hiddev*

I am not sure if there is something I must do to get the drawer
accessible under one of those devices.

>  Input events won't work 
> because of the Application page for POS. I've posted a little information, 
> but it isn't very good. 
> Try http://www.frogmouth.net/hid-doco/examples/hiddev-misc/dump-events.c and 
> http://www.frogmouth.net/hid-doco/examples/hiddev-misc/write-events.c as 
> examples.

Examples of what? Should I be looking at the code or compiling and
running it to see the output? I apologize if I am asking the obvious.

> I definitely recommend against writing a HID parser (in C or Java - its still 
> HIDeous).

I am not sure what you mean by that. For some reason I am still thinking
I will need a driver?

I have am building a driver based on the usb-skeleton driver.

So far I am able to map the device to my driver and to a character
device which I made an entry for in /dev/usb/apgcd. However I do not
know how to access the Report Descriptor via my driver. Nor do I know
how to send or receive data from the cash drawer.

It would be nice to do this in user space, but I do not know how to
access to drawer when it is not available via any device in /dev?

-- 
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios, Inc.
http://www.obsidian-studios.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to