[App_rpt] issue with hid interface in chan_usbradio

hwstar at rodgers.sdcoxmail.com hwstar at rodgers.sdcoxmail.com
Fri Oct 19 23:17:32 EDT 2007


What you have uncovered is not suprising. Given that the /sys filesystem is accessed to find out where the USB device is, there are going to be issues running asterisk as a non-root user.

Steve.




> 
> From: K3XH <k3xh at embarqmail.com>
> Date: 2007/10/19 Fri AM 09:50:30 PDT
> To: app_rpt at lists.illiana.net
> Subject: [App_rpt] issue with hid interface in chan_usbradio
> 
> 
> Greetings everyone:
> 
> 
> Was curious if anyone has run into an issue with the usbradio channel 
> driver when running Asterisk under it's own user and group?

> 
> I have run up against what I think is a permissions issue of sorts.  I 
> did have everything running briefly when Asterisk was set up to run 
> under root access, but really want to avoid that if possible.
> 
> The chan_usbradio driver errors when claiming the (usb) hid interface 
> from the kernel.  Apparently, it's getting an error at what would be 
> line 791 in the chan_usbradio.c source code.  Which then results in a 
> call to 'usb_detach_kernel_driver_np', on line 793, in an attempt to 
> detach the kernel interface, where it ultimately fails.
> 
> I've tried a couple simple approaches to resolve this, like setting the 
> dsp and usb device to have asterisk as their owner/group and also set 
> permissions (with '666') for the devices.  I would look at modifiying 
> udev.rules and PAM configurations, but at this point, I'm clueless as to 
>   what is conflicting with the hid interface for the usb soundfob.  Whew!
> 
> Anyone have any suggestions?
> 
> 
> Thanks!
> Mike, K3XH
> _______________________________________________
> App_rpt mailing list
> App_rpt at lists.illiana.net
> http://lists.illiana.net/mailman/listinfo/app_rpt
> 




More information about the App_rpt-users mailing list