Re: Unitech USB barcode scanner issues

"Bret Towe" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On 4/30/07, Jiri Kosina <[email protected]> wrote:
> On Mon, 30 Apr 2007, Bret Towe wrote:
>
> > where is your tree? or could I get a copy of the cleaned up patch?
>
> My tree is hid.git on git.kernel.org. The cleaned up patch is not yet
> there, I will send it to you when I commit it. I am waiting for more of
> your feedback so that I put support for all product ids that need that.
>
> > > Is this still the case with my patch applied to usbhid, or does this
> > > happen only with usbkbd module?
> > looks like it is working now (didnt have a barcode eariler to test)
>
> Great to hear that, thanks for testing.
>
> > > > Bus 001 Device 003: ID 04b4:de61 Cypress Semiconductor Corp.
> > > So this one worked even previously without the patch?
> > I stated that in a rather confusing way didn't I
> > the de61 had acted fine reguarding case, I was unable to test it to see
> > if the patch also fixed that models issue with using hid
>
> Is it possible that you will have chance to test it with patched
> hid-core.c in near future? (you will have to modify that if() condition
> trivially, so that it matches 0xde61 instead of 0xde64).

accutally as soon as i had sent off that previous email I went looking
for scanners
to make sure they all worked or not
the below is what i got with a 61

[  135.479986] usbhid 1-1:1.0: usb_probe_interface
[  135.479986] usbhid 1-1:1.0: usb_probe_interface - got id
[  135.479986] drivers/usb/input/hid-core.c: HID probe called for ifnum 0
[  135.493319] drivers/usb/input/hid-core.c: Not fixing Cypress report
descriptor
[  135.496653] drivers/usb/input/hid-core.c: report descriptor (size
64, read 64) =  05 01 09 06 a1 01 05 07 29 e7 19 e0 25 01 15 00 75 01
95 08 81 02 95 01 75 08 81 01 95 05 75 01 05 08 29 05 19 01 91 02 95
01 75 03 91 01 95 06 75 08 26 e7 00 15 00 05 07 29 e7 19 00 81 00 c0
[  135.496653] drivers/usb/input/hid-core.c: parsing report descriptor failed
[  135.496653] usbcore: registered new interface driver usbhid
[  135.496653] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
[  136.949986] hub 5-0:1.0: hub_suspend
[  136.949986] ehci_hcd 0000:00:1d.7: suspend root hub
[  136.949986] usb usb5: usb auto-suspend
[  137.496652] usb 1-1: usb auto-suspend
[  139.509986] hub 1-0:1.0: hub_suspend


and i did this for the hid-core.c bit

	if (le16_to_cpu(dev->descriptor.idVendor) == 0x04b4 &&
			(le16_to_cpu(dev->descriptor.idProduct == 0xde64) ||
			le16_to_cpu(dev->descriptor.idProduct == 0xde61)))

I thought this would be more handy

> Thanks,
>
> --
> Jiri Kosina
> SUSE Labs
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.