Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-09 Thread William L. Thomson Jr.
Hurry, progress. I finally got the drawer to open. Now knowing status would be great. Thank you very much Brad. Your write example was what got me up and running. Here is the modified version to open the drawer. It's sloppy, and not complete with regard to checking what drawer, manufacture, etc.

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-09 Thread William L. Thomson Jr.
On Tue, 2003-09-09 at 03:51, Brad Hards wrote: > OK, lets try this from the start. Ok, how bout a completely new start. Not sure if I just was not paying attention or performing the same tests once modules were loaded. Either way I can now access the cash drawer via /dev/usb/hiddev0 dmesg shows

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-09 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 09 Sep 2003 09:41 am, William L. Thomson Jr. wrote: > I tried both with the kernel and modules that RH ships, and with my own > custom kernel from the RH kernel sources. I do have HIDDEV support and > it and others were enabled in the kernel I

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-08 Thread William L. Thomson Jr.
On Mon, 2003-09-08 at 16:22, Brad Hards wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Tue, 09 Sep 2003 02:01 am, William L. Thomson Jr. wrote: > > 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

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-08 Thread William L. Thomson Jr.
On Mon, 2003-09-08 at 22:06, David Brownell wrote: > > > > 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? > > > > > You're clearly missing some of the setup. No doubt, but I am flying blind. I am open to

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-08 Thread William L. Thomson Jr.
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. > I

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-08 Thread William L. Thomson Jr.
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. > I

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-08 Thread William L. Thomson Jr.
On Mon, 2003-09-08 at 19:41, William L. Thomson Jr. 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 drawe

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-08 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 23 Aug 2003 03:29 am, David Brownell wrote: > > At this point I do not seem to have a choice but to develop a driver and > > Java API on my own. I am hoping some one out there has some kernel > > driver experience, hopefully with the USB HID in

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-04 Thread James Courtier-Dutton
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] root]# lsusb -v Unknown line at line 3340 Unknown line at line 3341 Unknown line at line 3342 Unknown line at line 3343 Unknown line at line 3344 Does anyone know what this is about? I get the samething on my systems? It is complaining about line numb

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-04 Thread Dwaine_Garden
[EMAIL PROTECTED] root]# lsusb -v Unknown line at line 3340 Unknown line at line 3341 Unknown line at line 3342 Unknown line at line 3343 Unknown line at line 3344 Does anyone know what this is about? I get the samething on my systems?

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-04 Thread William L. Thomson Jr.
On Thu, 2003-09-04 at 00:01, James Courtier-Dutton wrote: > > That output told me that the cash drawer was closed! > Was it? Yes > Please find the usb.ids file on your system, and replace it with the one > I attach. Done > The lsusb -v will be more descriptive then. > > Try opening the cash dr

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-03 Thread William L. Thomson Jr.
On Wed, 2003-09-03 at 17:50, James Courtier-Dutton wrote: > > I still need the output from lsusb -v Sorry. I sent it once but here it is again from the actual PC I will be running the POS on. The other one was from my laptop [EMAIL PROTECTED] root]# lsusb -v Unknown line at line 58 Unknown line a

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-03 Thread William L. Thomson Jr.
On Wed, 2003-09-03 at 11:24, James Courtier-Dutton wrote: > James Courtier-Dutton wrote: > > I have looked further at this, and also read the PDF files from the web > site. > It acts as a USB HID device. see /usr/src/linux/Documentation/usb/hiddev.txt Ok, read both the pdfs and the txt file. >

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-02 Thread William L. Thomson Jr.
On Tue, 2003-09-02 at 12:29, James Courtier-Dutton wrote: > > AGP Vesario USB Pro II > > > > http://www.agpcd.com > > www.agpcd.com does not seem to exist. > But www.apgcd.com does!! Sorry about that. Typing to fast and not checking myself. > Sorry, I meant "lsusb -v" > It is part of the usbuti

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-02 Thread William L. Thomson Jr.
On Fri, 2003-08-22 at 09:11, James Courtier-Dutton wrote: > Can you give more details on which drawer you intend to use, and what > interface it has etc. AGP Vesario USB Pro II http://www.agpcd.com > If it has a USB interface, please send me the output of "lspci -v" I have the drawer plugged

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-02 Thread William L. Thomson Jr.
On Fri, 2003-08-22 at 15:31, David Brownell wrote: > You can get significant functionality just by opening the > /dev/input/* files from Java and using them directly. > > But I'd not be surprised to know you also need ioctls of > some kind. > > Ideally it would be as simple as writing a HID report

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-08-27 Thread Alan Cox
On Iau, 2003-08-21 at 19:31, William L. Thomson Jr. wrote: > In fact I have not come across any so far that have support for Linux > regardless of interface. With the exceptions of cash drawers that are > triggered via the printer interface. Which require the use of a printer, > that will not be us

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-08-22 Thread Pete Zaitcev
> From: "William L. Thomson Jr." <[EMAIL PROTECTED]> > Date: 22 Aug 2003 14:34:57 -0400 > Bottom line at this point I just need a cash drawer that I can use with > Linux. Or one that has Linux drivers, which I have yet to be able to > find. With regard to having to write a driver for a cash drawer

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-08-22 Thread William L. Thomson Jr.
On Fri, 2003-08-22 at 13:29, David Brownell wrote: > William L. Thomson Jr. wrote: > > > > At this point I do not seem to have a choice but to develop a driver and > > Java API on my own. I am hoping some one out there has some kernel > > driver experience, hopefully with the USB HID interface. If

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-08-22 Thread William L. Thomson Jr.
On Fri, 2003-08-22 at 09:11, James Courtier-Dutton wrote: > > You say that drawer devices do not have USB interfaces. No I was planning to use one with a USB interface. > If you have a drawer device using the Parallel port, you do not have to > have a printer on that port. I will have to look i

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-08-22 Thread David Brownell
William L. Thomson Jr. wrote: At this point I do not seem to have a choice but to develop a driver and Java API on my own. I am hoping some one out there has some kernel driver experience, hopefully with the USB HID interface. If not could anyone point me in the direction of a how to, so I have a s

[linux-usb-devel] USB kernel driver for APG cash drawer

2003-08-21 Thread William L. Thomson Jr.
I am in the process of developing a POS (Point of Sale) app in Java to be deployed on Linux workstations. I tried my best to research cash drawers and could not find one that has a USB interface and support for Linux. In fact I have not come across any so far that have support for Linux regardles