Re[2]: How to claim only some of USB interfaces of a composite USB device

2012-10-01 Thread geoffrey levand
Tested the patch with FreeBSD 9.1. It works. Thanks. Sun, 30 Sep 2012 21:33:31 +0200 от Hans Petter Selasky : > > > > >On Saturday 29 September 2012 11:25:21 geoffrey levand wrote: > > geoffr

Re[2]: How to claim only some of USB interfaces of a composite USB device

2012-09-29 Thread geoffrey levand
>On Sunday 23 September 2012 16:30:53 geoffrey levand wrote: > > Hi, > > > > i have the following problem. > > I have a composite USB device with multiple USB interfaces. Some of > > interfaces belong to the Blue

How to claim only some of USB interfaces of a composite USB device

2012-09-23 Thread geoffrey levand
Hi, i have the following problem. I have a composite  USB device with multiple USB interfaces. Some of interfaces belong to the Bluetooth device and other to the WLAN device. The problem is i want my WLAN driver to claim only the interfaces which belong to the WLAN device. But ng_ubt kernel driv

Re[2]: Rebooting/Halting system from kernel module

2012-01-23 Thread geoffrey levand
No, no hard reset but graceful shutdown/reboot. regards 23 января 2012, 06:31 от Julian Elischer : > On 1/22/12 2:19 AM, geoffrey levand wrote: > > Hi, > > > > how would i reboot/halt the system from a kernel module ? > > the answer is "that depends".. >

Re[2]: Rebooting/Halting system from kernel module

2012-01-23 Thread geoffrey levand
27;re a kernel mod, if you want to > do that just triple-fault. > > On Sun, Jan 22, 2012 at 9:32 PM, Julian Elischer wrote: > > > On 1/22/12 2:19 AM, geoffrey levand wrote: > > > >> Hi, > >> > >> how would i reboot/halt the system from a kernel mo

Re[2]: Rebooting/Halting system from kernel module

2012-01-23 Thread geoffrey levand
ACHED */ /* assuming reset worked */ > break; > > default: > return(EOPNOTSUPP); > break; > } > > return(ENXIO); > } > > > Makefile > KMOD = reset > SRCS = reset.c > > .include >

Re[2]: Rebooting/Halting system from kernel module

2012-01-22 Thread geoffrey levand
Thanks. shutdown_nice is working great. regards 22 января 2012, 21:07 от Ian Lepore : > On Sun, 2012-01-22 at 14:19 +0400, geoffrey levand wrote: > > Hi, > > > > how would i reboot/halt the system from a kernel module ? > > > > regards > > > > -- &g

Rebooting/Halting system from kernel module

2012-01-22 Thread geoffrey levand
Hi, how would i reboot/halt the system from a kernel module ? regards -- Почта@Mail.Ru в твоем мобильном! Просто зайди с телефона на m.mail.ru___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To uns

Re: SMP: stopping/restarting CPUs on powerpc arch

2011-12-27 Thread geoffrey levand
Nevermind. I changed something in IPI handling and that caused this problem. Now the CPUs can be stopped but KDB just hangs after it was entered. Thread ID and process ID are printed on the console but that's it. After that nothing works anymore. 26 декабря 2011, 06:24 от geoffrey l

SMP: stopping/restarting CPUs on powerpc arch

2011-12-25 Thread geoffrey levand
Hi, i was implementing and testing core dump feature of HDD driver on PS3 powerpc arch and tried to enter KDB manually with sysctl debug.kdb.panic=1. And i'm getting the following message from KDB: timeout stopping cpus. I took a look at generic_stop_cpus which sends IPI to every CPU. On power

Re[4]: Sharing device driver between kernel and user space

2011-09-23 Thread geoffrey levand
Thanks for your responses. The one with open/close seems to be the most reasonable. 23 сентября 2011, 23:06 от Jilles Tjoelker : > On Wed, Sep 21, 2011 at 04:23:28PM +0200, Ivan Voras wrote: > > On 21 September 2011 16:09, geoffrey levand wrote: > > > Sure i can use t

Re[2]: CAM framework for FLASH devices

2011-09-23 Thread geoffrey levand
size is 512 byte. But it doesn't support any ATA or SCSI commands except flush. 23 сентября 2011, 18:45 от "Daniel O'Connor" : > > On 23/09/2011, at 22:31, geoffrey levand wrote: > > Could CAM framework be used for devices which do not support SCSI or ATA &

CAM framework for FLASH devices

2011-09-23 Thread geoffrey levand
Could CAM framework be used for devices which do not support SCSI or ATA commands natively, e.g. FLASH devices ? I didn't find any examples for this case. I'm developing PS3 flash device driver. Or is disk framework better in this case ? I used CAM for PS3 CDROM driver but it supports SCSI comman

CAM framework for FLASH devices

2011-09-23 Thread geoffrey levand
Could CAM framework be used for devices which do not support SCSI or ATA commands natively, e.g. FLASH devices ? I didn't find any examples for this case. I'm developing PS3 flash device driver. Or is disk framework better in this case ? I used CAM for PS3 CDROM driver but it supports SC

Re[2]: Sharing device driver between kernel and user space

2011-09-21 Thread geoffrey levand
Ivan Voras : > On 21/09/2011 08:05, geoffrey levand wrote: > > I think you misunderstood what i need. If i got it right then cuse4bsd > allows user applications to create char devices, right ? > > I do not want to create character devices from user space. My VUART kernel > &

Re[2]: Sharing device driver between kernel and user space

2011-09-21 Thread geoffrey levand
simultaneously. 21 сентября 2011, 00:05 от Hans Petter Selasky : > On Tuesday 20 September 2011 20:35:57 geoffrey levand wrote: > > Currently i'm developing VUART device drivers for PS3 architecture. VUART > > is bi-directional FIFO queue between 2 logical partitions on PS3. I want &

Sharing device driver between kernel and user space

2011-09-20 Thread geoffrey levand
Currently i'm developing VUART device drivers for PS3 architecture. VUART is bi-directional FIFO queue between 2 logical partitions on PS3. I want to use the device in the kernel and user space. During system boot PS3 system has to read/write some data from/to the VUART devices and sometimes i w