RE: [PATCH] usbfs: Allow printer class 'get_device_id' without needing to claim the intf

2013-07-12 Thread Alan Stern
On Fri, 12 Jul 2013, Kumar, Sanjay wrote: > Hello Alan, > > Here is the sample device ID from HP Deskjet 2000 J210 series printer. > > MFG:HP;MDL:Deskjet 2000 J210 > series;CMD:PCL,DW-PCL,DESKJET,DYN;CLS:PRINTER;DES:CH390A;CID:HPIJVIPAV1;LEDMDIS:USB#07#01#02,USB#FF#04#01;SN:CN03N1C06M05HY;S:038

RE: [PATCH] usbfs: Allow printer class 'get_device_id' without needing to claim the intf

2013-07-12 Thread Kumar, Sanjay
more dynamic data Thanks, Sanjay -Original Message- From: Alan Stern [mailto:st...@rowland.harvard.edu] Sent: Friday, July 12, 2013 11:55 PM To: Hans de Goede Cc: USB list; Kumar, Sanjay Subject: Re: [PATCH] usbfs: Allow printer class 'get_device_id' without needing to

Re: [PATCH] usbfs: Allow printer class 'get_device_id' without needing to claim the intf

2013-07-12 Thread Alan Stern
On Fri, 12 Jul 2013, Hans de Goede wrote: > > Are there any security implications to allowing any user on the system > > to send a get_device_id request to a printer while it is in the middle > > of a print job? > > To the best of my (limited) knowledge, no. As you indicated in the thread > about

Re: [PATCH] usbfs: Allow printer class 'get_device_id' without needing to claim the intf

2013-07-12 Thread Hans de Goede
Hi, On 07/12/2013 04:50 PM, Alan Stern wrote: On Fri, 12 Jul 2013, Hans de Goede wrote: For certain (HP) printers the printer device_id does not only contain a static part identifying the printer, but it also contains a dynamic part giving printer status, ink level, etc. To get to this info v

Re: [PATCH] usbfs: Allow printer class 'get_device_id' without needing to claim the intf

2013-07-12 Thread Alan Stern
On Fri, 12 Jul 2013, Hans de Goede wrote: > For certain (HP) printers the printer device_id does not only contain a > static part identifying the printer, but it also contains a dynamic part > giving printer status, ink level, etc. > > To get to this info various userspace utilities need to be ab

[PATCH] usbfs: Allow printer class 'get_device_id' without needing to claim the intf

2013-07-12 Thread Hans de Goede
For certain (HP) printers the printer device_id does not only contain a static part identifying the printer, but it also contains a dynamic part giving printer status, ink level, etc. To get to this info various userspace utilities need to be able to make a printer class 'get_device_id' request wi