[CentOS] USB devices - libgphoto2 - PTP - hplip

2015-12-10 Thread Michael H
Hi, Posting this again as it has been drowned. can anybody assist? -- Hi All, I'm trying to disable USB storage devices in Centos7.1.1503. I've setup udev rules to block all usb devices and then additional rules to allow specific

Re: [CentOS] USB devices - libgphoto2 - PTP - hplip

2015-12-10 Thread Leon Fauster
Am 10.12.2015 um 09:37 schrieb Michael H : > > I'm trying to disable USB storage devices in Centos7.1.1503. on EL6 we use: # cat /etc/modprobe.d/usb-disabled.conf install usb-storage /bin/true # depmod -a -- LF ___ CentOS

Re: [CentOS] USB devices - libgphoto2 - PTP - hplip

2015-12-10 Thread Warren Young
On Dec 10, 2015, at 1:37 AM, Michael H wrote: > > I've setup udev rules to block all usb devices and then additional rules > to allow specific vendors / products to be used (mainly keyboards and > mice). It sounds like you’re reinventing the wheel:

Re: [CentOS] USB devices - libgphoto2 - PTP - hplip

2015-12-10 Thread Michael H
On 10/12/15 10:02, Leon Fauster wrote: > Am 10.12.2015 um 09:37 schrieb Michael H : >> >> I'm trying to disable USB storage devices in Centos7.1.1503. > > on EL6 we use: > > # cat /etc/modprobe.d/usb-disabled.conf > install usb-storage /bin/true > > # depmod -a

Re: [CentOS] USB devices - libgphoto2 - PTP - hplip

2015-12-10 Thread Leon Fauster
Am 10.12.2015 um 11:11 schrieb Michael H : > > > On 10/12/15 10:02, Leon Fauster wrote: >> Am 10.12.2015 um 09:37 schrieb Michael H : >>> >>> I'm trying to disable USB storage devices in Centos7.1.1503. >> >> on EL6 we use: >> >> # cat

Re: [CentOS] USB devices - libgphoto2 - PTP - hplip

2015-12-10 Thread Michael H
Please read my entire post! I need to allow specific devices, I am trying to combat PTP mounting. not completely disable all USB devices. On 10/12/15 15:17, Wes James wrote: > >> On Dec 10, 2015, at 1:37 AM, Michael H wrote: >> >> Hi, >> Posting this again as it has been

Re: [CentOS] USB devices - libgphoto2 - PTP - hplip

2015-12-10 Thread Michael H
On 10/12/15 15:49, Leon Fauster wrote: > Am 10.12.2015 um 11:11 schrieb Michael H : >> >> >> On 10/12/15 10:02, Leon Fauster wrote: >>> Am 10.12.2015 um 09:37 schrieb Michael H : I'm trying to disable USB storage devices in Centos7.1.1503. >>>

Re: [CentOS] USB devices - libgphoto2 - PTP - hplip

2015-12-10 Thread Wes James
> On Dec 10, 2015, at 1:37 AM, Michael H wrote: > > Hi, > Posting this again as it has been drowned. can anybody assist? > > > -- > > Hi All, > > I'm trying to disable USB storage devices in Centos7.1.1503.

Re: [CentOS] USB devices - libgphoto2 - PTP - hplip

2015-12-10 Thread Leon Fauster
Am 10.12.2015 um 17:02 schrieb Michael H : > > On 10/12/15 15:49, Leon Fauster wrote: >> Am 10.12.2015 um 11:11 schrieb Michael H : >>> >>> >>> On 10/12/15 10:02, Leon Fauster wrote: >>> I've achieved disabling USB devices and then allowing specific

[CentOS] USB devices - libgphoto2 - PTP - hplip

2015-12-09 Thread Michael H
Hi All, I'm trying to disable USB storage devices in Centos7.1.1503. I've setup udev rules to block all usb devices and then additional rules to allow specific vendors / products to be used (mainly keyboards and mice). This is all working perfectly. cat /etc/udev/rules.d/01-usblockdown.rules #