Re: [PATCH 2/6] net: can: xilinx_can: Fix flags field initialization for axi can and canps

2019-10-04 Thread Anssi Hannula
interrupt bit 14 but AXI CAN 5.0 seems to only go up to 11. Or maybe it is undocumented or there is a newer version somewhere? [1] https://www.xilinx.com/support/documentation/ip_documentation/can/v5_0/pg096-can.pdf -- Anssi Hannula / Bitwise Oy +358 503803997

fat: changed filesystem dirty bit behavior

2016-04-21 Thread Anssi Hannula
ernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b88a105802e9aeb6e234e8106659f5d1271081bb -- Anssi Hannula / Bitwise Oy

iio commit dates in future (was: Re: [PATCH] iio: adc: xilinx-xadc: assign auxiliary channels address correctly)

2014-10-03 Thread Anssi Hannula
nth and day got swapped for some reason. Not a big issue I guess, but worth looking into if it is something in your workflow causing this :) Noticed these strange Dates while looking at Greg's stable-queue repo. -- Anssi Hannula -- To unsubscribe from this list: send the line "

[PATCH] dm cache: fix race causing dirty blocks to be marked as clean

2014-09-04 Thread Anssi Hannula
efore calling cell_defer(). Incoming bios for that block will then be detained in the cell and released only after clear_dirty() has completed, so the race will not occur. Found by inspecting the code after noticing spurious dirty counts (scenario B). Signed-off-by: Anssi Hannula Cc: Joe Thor

Re: [PATCH] dm cache: fix race affecting dirty block count

2014-08-02 Thread Anssi Hannula
- >> Pranith >> >> -- Begin forwarded Message -- >> >> >> nr_dirty is updated without locking, causing it to drift so that it is >> non-zero (either a small positive integer, or a very large one when an >> underflow occurs) even when there are n

Re: [PATCH v2 1/4] Add ff-memless-next driver

2014-02-23 Thread Anssi Hannula
> Is there any guideline I should stick to I am > not aware of? Only "3.7 Dynamic update of an effect" of input/ff.txt. -- Anssi Hannula -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org M

Re: [PATCH v2 1/4] Add ff-memless-next driver

2014-02-23 Thread Anssi Hannula
to target userspace developers with this information, you should put it in generic documentation ("it is not guaranteed that X", etc.). If not, don't say "for userspace developers". [...] > diff --git a/drivers/input/ff-memless-next.c b/drivers/input/ff-memless-next.c

Re: [PATCH v2 0/4] Add ff-memless-next and make hid-lg4ff use it

2014-02-23 Thread Anssi Hannula
nput/Kconfig | 11 + > drivers/input/Makefile | 1 + > drivers/input/ff-memless-next.c | 789 > ++++ > include/linux/input/ff-memless-next.h | 32 ++ > 7 files changed, 1033 insertions(+), 36 deletions(-) &

Re: [PATCH 1/4] ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support

2013-11-01 Thread Anssi Hannula
01.11.2013 13:29, Rafał Miłecki kirjoitti: > 2013/11/1 Anssi Hannula : >>> Both are working for me. I've tested it using 2 movies: >>> 1) English TrueHD.5.1 @ 1417 kbps >>> 2) Audio >>> Codec: DTSHD-MA >>> Bitrate..

Re: [PATCH 1/4] ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support

2013-10-31 Thread Anssi Hannula
01.11.2013 01:51, Rafał Miłecki kirjoitti: > 2013/11/1 Anssi Hannula : >> Just to check, is the display mode 720p50 or higher (as per HDMI spec >> 7.3.3)? Though I guess too small mode would cause something else, not >> this... > > I'm using 1080p

Re: [PATCH 1/4] ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support

2013-10-31 Thread Anssi Hannula
01.11.2013 01:25, Rafał Miłecki kirjoitti: > 2013/10/31 Anssi Hannula : >>> But I can hear sound for rear right and rear left only :( >>> >>> Is there anything more I can provide to help resolve this? Do you have >>> any idea how we can resolve this? >&g

Re: [PATCH 1/4] ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support

2013-10-31 Thread Anssi Hannula
31.10.2013 18:22, Rafał Miłecki kirjoitti: > 2013/10/30 Anssi Hannula : >> BTW, there is a newer version (which was actually applied) of this patchset >> in alsa-devel@, seems you were missing from CC on that one. > > I didn't try that updated version yet, but I&#x

Re: [PATCH 1/4] ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support

2013-10-30 Thread Anssi Hannula
Rafał Miłecki kirjoitti 2013-10-30 17:35: 2013/10/1 Anssi Hannula : ATI/AMD codecs do not support all the standard HDA HDMI/DP functions, instead various vendor-specific verbs are provided. I've just tried my HD6970M (BARTS, DCE5) in my Samsung NP700G7A-S01PL. cat /proc/asound/card1/el

Re: [alsa-devel] [RFC/RFT v2 0/4] ALSA: hda - hdmi: ATI/AMD multi-channel and HBR support

2013-10-06 Thread Anssi Hannula
speaker-test -D hdmi:CARD=Generic,DEV=0,AES0=0x06 -c2 -r48000 o Also, is there a difference in the beginning of these (maybe garbage sound and/or slightly slower startup?): aplay -Dhdmi:CARD=Generic,DEV=0,AES0=4 -r44100 -f s16_le -c2 testi.dts.cut.spdif aplay -Dhdmi:CARD=Generic,DEV=

Re: [RFC/RFT v2 0/4] ALSA: hda - hdmi: ATI/AMD multi-channel and HBR support

2013-10-04 Thread Anssi Hannula
o Contents of /proc/asound/cardX/eld#0. I'd like to see the contents >> both with radeon and with the proprietary fglrx driver in use >> > With fglrx 13.10 Beta 2: > > lano1106@whippet2 /proc/asound/card0 $ cat codec#0 Note I said eld#0, not codec#0 :) Though I

Re: [RFC/RFT v2 0/4] ALSA: hda - hdmi: ATI/AMD multi-channel and HBR support

2013-10-02 Thread Anssi Hannula
02.10.2013 17:34, Takashi Iwai kirjoitti: > At Tue, 1 Oct 2013 23:30:52 +0300, > Anssi Hannula wrote: [...] >> Anssi Hannula (4): >> ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support >> ALSA: hda - hdmi: Add ELD emulation for ATI/AMD codecs >>

[PATCH 3/4] ALSA: hda - hdmi: Add HBR bitstreaming support for ATI/AMD HDMI codecs

2013-10-01 Thread Anssi Hannula
/AMD_HDA_verbs_v2.pdf Signed-off-by: Anssi Hannula Tested-by: Peter Frühberger --- sound/pci/hda/patch_hdmi.c | 65 +- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 19adb01

[PATCH 2/4] ALSA: hda - hdmi: Add ELD emulation for ATI/AMD codecs

2013-10-01 Thread Anssi Hannula
providing more information than the previous revisions (but only if supported by the display driver). Generate ELD from the information provided by the vendor-specific verbs on ATI/AMD codecs. The specification is available at: http://www.x.org/docs/AMD/AMD_HDA_verbs_v2.pdf Signed-off-by: Anssi Hannula

[PATCH 1/4] ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support

2013-10-01 Thread Anssi Hannula
parameters are marked as supported. Support for multiple ports is also added to patch_atihdmi so that 0x1002aa01 codecs with multiple ports will work properly when switched back to that patch. Signed-off-by: Anssi Hannula Tested-by: Peter Frühberger --- sound/pci/hda/hda_local.h | 5 + sound/pci

[RFC/RFT v2 0/4] ALSA: hda - hdmi: ATI/AMD multi-channel and HBR support

2013-10-01 Thread Anssi Hannula
patchset can be found in combined form (for e.g. testing purposes) at: http://onse.fi/files/atihdmi5.patch The test file referenced above can be found at: http://onse.fi/files/testi.dts.cut.spdif.gz (just regular DTS) Anssi Hannula (4): ALSA: hda - hdmi: Add ATI/AMD multi-channel audio sup

[PATCH 4/4] ALSA: hda - hdmi: Disable ramp-up/down for non-PCM on AMD codecs

2013-10-01 Thread Anssi Hannula
. Apply the recommended values according to provided S/PDIF AES0 settings. Signed-off-by: Anssi Hannula --- sound/pci/hda/patch_hdmi.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index c0cd4ca..22f30fe 100644 --- a/sound

Re: [2.6.23-rc9 regression] commit 4f01a757 broke HAL input support

2007-10-05 Thread Anssi Hannula
re of input devices should be made compatible with both HAL and udev, with both CONFIG_SYSFS_DEPRECATED and without it, as in 2.6.22 and before. Is it possible to fall back to /class/input/inputX/eventY if SYSFS_DEPRECATED is set? Hopefully. -- Anssi Hannula - To unsubscribe from this list:

Re: sysfs change of input/event devices in 2.6.23rc breaks udev

2007-09-15 Thread Anssi Hannula
v wrote: On Sunday 09 September 2007 19:03, Kay Sievers wrote: On 9/8/07, Anssi Hannula <[EMAIL PROTECTED]> wrote: However, the change that broke id_path of udev is that /sys/class/input/event5/device is now a symlink to the inputX directory instead of being the same as the device symlink

Re: sysfs change of input/event devices in 2.6.23rc breaks udev

2007-09-08 Thread Anssi Hannula
Andrey Borzenkov wrote: Anssi Hannula wrote: Hi! There seem to be changes in sysfs input structure between 2.6.22 and 2.6.23-rc5 which cause some breakage. [...] There is no longer: /sys/class/input/eventX => /sys/class/input/inputX/eventX instead there is: /sys/class/inputX/input:eve

sysfs change of input/event devices in 2.6.23rc breaks udev

2007-09-08 Thread Anssi Hannula
rably more time to adapt udev for coming changes in sysfs. -- Anssi Hannula - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-30 Thread Anssi Hannula
hw could be quite easily done in ff-core.c or ff-memless.c. (I also don't know what the triggers are useful for) johann deneux also wrote in another message: > The > problem is to make an extension that does not duplicate the > capabilities of the existing API. We don't want t

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-14 Thread Anssi Hannula
; effect, I'd rather add real effect types. > Also yet another one such as FF_VECTOR or FF_3D could be considered as one > posibility, but it's still the same -- to have no more than 3 entries to > pass forces... > >> Do we have any idea if there any users of FF out the

[patch] hid: put usb_interface instead of usb_device into hid->dev

2007-01-19 Thread Anssi Hannula
nt- > E: ID_SERIAL=noserial > E: ID_PATH=pci-1-1- No ID_MODEL, ID_VENDOR, ID_REVISION, ID_TYPE etc etc. Fix this by assigning the intf->dev into hid->dev, and fixing all the users. Signed-off-by: Anssi Hannula <[EMAIL PROTECTED]> --- I recommend this fix to go to the stable tre

[patch 0/3] hid: series of patches for PantherLord USB/PS2 2in1 Adapter support

2007-01-11 Thread Anssi Hannula
These three patches fix PantherLord USB/PS2 2in1 Adapter support so that it appears as two input devices, and add force feedback support for it. -- Anssi Hannula - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

[patch 1/3] hid: allow force feedback for multi-input devices

2007-01-11 Thread Anssi Hannula
Allow hid devices with HID_QUIRK_MULTI_INPUT to have force feedback. This was previously disabled because there were not any force feedback drivers for such devices. This will change with my upcoming patch. Signed-off-by: Anssi Hannula <[EMAIL PROTECTED]> --- drivers/usb/input/hid-core.c

[patch 2/3] hid: quirk for multi-input devices with unneeded output reports

2007-01-11 Thread Anssi Hannula
0810:0001, and allow the force feedback driver to handle those. Signed-off-by: Anssi Hannula <[EMAIL PROTECTED]> --- drivers/hid/hid-input.c |6 +- drivers/usb/input/hid-core.c |5 + include/linux/hid.h |1 + 3 files changed, 11 insertions(+), 1 deletion(-)

[patch 3/3] hid: force feedback driver for PantherLord USB/PS2 2in1 Adapter

2007-01-11 Thread Anssi Hannula
Add a force feedback driver for PantherLord USB/PS2 2in1 Adapter, 0810:0001. The device identifies itself as "Twin USB Joystick". Signed-off-by: Anssi Hannula <[EMAIL PROTECTED]> --- drivers/usb/input/Kconfig|8 ++ drivers/usb/input/Makefile |3 + drivers/us

Re: segmentation fault in TOP command

2005-07-12 Thread Anssi Hannula
But this is; Reallocated sector count above zero indicates a failing harddrive. More information here: http://smartmontools.sourceforge.net/BadBlockHowTo.txt If the count is "very high", I think you should get a new harddrive. -- Anssi Hannula - To unsubscribe from this list: sen

Re: [PATCH] Add Force Feedback interface to joydev

2005-07-08 Thread Anssi Hannula
Vojtech Pavlik wrote: On Thu, Jul 07, 2005 at 05:20:59PM +0300, Anssi Hannula wrote: But I think we should not apply (with or without 64-bit) the patch (not yet, anyway), as I'm (slowly) working on restructuring the kernel FF interface and developing a user space library (and writ

Re: [PATCH] Add Force Feedback interface to joydev

2005-07-07 Thread Anssi Hannula
Vojtech Pavlik wrote: On Fri, Apr 08, 2005 at 08:29:52PM +0300, Anssi Hannula wrote: This patch adds Force Feedback interface to joydev. I felt this necessary because games usually don't run as root while evdev usually can't be read or written by anyone else. Patch is against 2.6.

[PATCH] Add Force Feedback interface to joydev

2005-04-08 Thread Anssi Hannula
say it :) If I have enough time and skills, I will start developing userspace Force Feedback library, which would do (among other things) all necessary force convertings between joystick, gamepad and wheel controllers. Does anyone have any thoughts about this? Signed-off-by: Anssi Hannula &l

Re: System beeper - no sound from mobo's own speaker

2005-01-23 Thread Anssi Hannula
oes help on one system, so I'm 50% better off - just need to find out where to put the command so that it loads it on startup...modules.conf would be it I guess. Put it on /etc/modprobe.preload -- Anssi Hannula - To unsubscribe from this list: send the line "unsubscribe linux-kernel&quo